Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-16 23:59:02.808616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_58_9645.jpg', 0), ('/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_49_10641.jpg', 0), ('/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_38_9615.jpg', 0), ('/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_29_10633.jpg', 0), ('/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_18_9622.jpg', 0), ('/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_08_9648.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_58_9645.jpg', '/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_49_10641.jpg', '/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_38_9615.jpg', '/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_29_10633.jpg', '/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_18_9622.jpg', '/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_08_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_58_9645.jpg
/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_49_10641.jpg
/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_38_9615.jpg
/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_29_10633.jpg
/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_18_9622.jpg
/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_08_9648.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7083234786987305 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-16 23:59:32.185376
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_58_9645.jpg', 0), ('/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_49_10641.jpg', 0), ('/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_38_9615.jpg', 0), ('/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_29_10633.jpg', 0), ('/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_18_9622.jpg', 0), ('/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_08_9648.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_58_9645.jpg', '/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_49_10641.jpg', '/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_38_9615.jpg', '/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_29_10633.jpg', '/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_18_9622.jpg', '/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_08_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_58_9645.jpg
/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_49_10641.jpg
/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_38_9615.jpg
/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_29_10633.jpg
/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_18_9622.jpg
/home/nano/Desktop/images/05022025/15/57/image_05022025_15_57_08_9648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338099284","1338099283","1338099286","1338099280","1338099282","1338099285"],"photo_ids_order":["1338099280","1338099282","1338099283","1338099284","1338099285","1338099286"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86cfefc482d0962fc37fd95f769074b4.jpg","text":"TemporaryFile(/tmp/multipartBody7947513164012052205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746833863,"filename":"image_05022025_15_57_29_10633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/11ee27d606389729f48c3766a85c7f10.jpg","text":"TemporaryFile(/tmp/multipartBody9036321527352548891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746833863,"filename":"image_05022025_15_57_38_9615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d7f0ef44b724ef723b94af8099813996.jpg","text":"TemporaryFile(/tmp/multipartBody7895860514386726935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746833863,"filename":"image_05022025_15_57_08_9648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/094d5a6fd67ab61ffe6a8a9c4e4a624d.jpg","text":"TemporaryFile(/tmp/multipartBody6608513071167391205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746833863,"filename":"image_05022025_15_57_58_9645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4aa941356397fa0c652d195a3b0849a0.jpg","text":"TemporaryFile(/tmp/multipartBody2965613032334504202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746833863,"filename":"image_05022025_15_57_49_10641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ddee2d9c4f325196131cc5e75f85c390.jpg","text":"TemporaryFile(/tmp/multipartBody2739358417173568884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746833863,"filename":"image_05022025_15_57_18_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338099283","file1":"1338099282","file0":"1338099280","file4":"1338099285","file5":"1338099286","file3":"1338099284"},"map_files_photo_id_array":[{"photo_id":"1338099286","filename":"file5"},{"photo_id":"1338099283","filename":"file2"},{"photo_id":"1338099285","filename":"file4"},{"photo_id":"1338099282","filename":"file1"},{"photo_id":"1338099280","filename":"file0"},{"photo_id":"1338099284","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338099284":["hashtag1","hashtag2"]},{"1338099283":["hashtag1","hashtag2"]},{"1338099286":["hashtag1","hashtag2"]},{"1338099280":["hashtag1","hashtag2"]},{"1338099282":["hashtag1","hashtag2"]},{"1338099285":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338099284, 1338099283, 1338099286, 1338099280, 1338099282, 1338099285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84601330757141 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:00:32.281763
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17022025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
0
2591981
0
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_54_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_44_9833.jpg', 0), ('/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_34_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_24_9782.jpg', 0), ('/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_14_10834.jpg', 0), ('/home/nano/Desktop/images/16022025/23/59/image_17022025_00_00_04_9792.jpg', 0)]
{'portfolio_id': 20593305, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1739746892000}
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_54_9776.jpg', '/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_44_9833.jpg', '/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_34_9779.jpg', '/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_24_9782.jpg', '/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_14_10834.jpg', '/home/nano/Desktop/images/16022025/23/59/image_17022025_00_00_04_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_54_9776.jpg
/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_44_9833.jpg
/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_34_9779.jpg
/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_24_9782.jpg
/home/nano/Desktop/images/17022025/00/00/image_17022025_00_00_14_10834.jpg
/home/nano/Desktop/images/16022025/23/59/image_17022025_00_00_04_9792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338099290","1338099287","1338099289","1338099292","1338099291","1338099288"],"photo_ids_order":["1338099287","1338099288","1338099289","1338099290","1338099291","1338099292"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0cc67f20ba546284d5947c661fd026f8.jpg","text":"TemporaryFile(/tmp/multipartBody1129304228953044032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746894656,"filename":"image_17022025_00_00_24_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1e0780ce7e4e66de0cd1704ae4e5e0d.jpg","text":"TemporaryFile(/tmp/multipartBody4152007664134565455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746894656,"filename":"image_17022025_00_00_54_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f17988d1e68f91648553e4f7c8bbe3a9.jpg","text":"TemporaryFile(/tmp/multipartBody1445141290517180056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746894656,"filename":"image_17022025_00_00_34_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f23ea71afaa44786bb890a5df8811a0.jpg","text":"TemporaryFile(/tmp/multipartBody4932769424790642230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746894656,"filename":"image_17022025_00_00_04_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0180286fbd313b92ca8a05d402841f23.jpg","text":"TemporaryFile(/tmp/multipartBody4964538545784753861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746894656,"filename":"image_17022025_00_00_14_10834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/875525de8552bfc36d117141c47b08e8.jpg","text":"TemporaryFile(/tmp/multipartBody519508835747139578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746894656,"filename":"image_17022025_00_00_44_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338099289","file1":"1338099288","file0":"1338099287","file4":"1338099291","file5":"1338099292","file3":"1338099290"},"map_files_photo_id_array":[{"photo_id":"1338099292","filename":"file5"},{"photo_id":"1338099289","filename":"file2"},{"photo_id":"1338099291","filename":"file4"},{"photo_id":"1338099288","filename":"file1"},{"photo_id":"1338099287","filename":"file0"},{"photo_id":"1338099290","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338099290":["hashtag1","hashtag2"]},{"1338099287":["hashtag1","hashtag2"]},{"1338099289":["hashtag1","hashtag2"]},{"1338099292":["hashtag1","hashtag2"]},{"1338099291":["hashtag1","hashtag2"]},{"1338099288":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338099290, 1338099287, 1338099289, 1338099292, 1338099291, 1338099288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.787086486816406 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:01:32.399172
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_54_10789.jpg', 0), ('/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_44_9799.jpg', 0), ('/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_34_9781.jpg', 0), ('/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_14_9851.jpg', 0), ('/home/nano/Desktop/images/17022025/00/00/image_17022025_00_01_04_10796.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_54_10789.jpg', '/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_44_9799.jpg', '/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_34_9781.jpg', '/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_24_9774.jpg', '/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_14_9851.jpg', '/home/nano/Desktop/images/17022025/00/00/image_17022025_00_01_04_10796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_54_10789.jpg
/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_44_9799.jpg
/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_34_9781.jpg
/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_24_9774.jpg
/home/nano/Desktop/images/17022025/00/01/image_17022025_00_01_14_9851.jpg
/home/nano/Desktop/images/17022025/00/00/image_17022025_00_01_04_10796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338099293","1338099296","1338099295","1338099298","1338099294","1338099297"],"photo_ids_order":["1338099293","1338099294","1338099295","1338099296","1338099297","1338099298"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c21889e886c0de57ef4656d7b40eb1d3.jpg","text":"TemporaryFile(/tmp/multipartBody7908740914143963066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746953942,"filename":"image_17022025_00_01_54_10789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/160d8d3ddecb01cb100b51f163e93df4.jpg","text":"TemporaryFile(/tmp/multipartBody98831992586266424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746953942,"filename":"image_17022025_00_01_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/02b515a024dd0852a4c03940a4d65e79.jpg","text":"TemporaryFile(/tmp/multipartBody7643588995255206502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746953942,"filename":"image_17022025_00_01_34_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/beae3eb67ead796768d38ecb83a401bd.jpg","text":"TemporaryFile(/tmp/multipartBody3286000392247244109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746953942,"filename":"image_17022025_00_01_04_10796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e9c31201de3f41586c3682087c79d619.jpg","text":"TemporaryFile(/tmp/multipartBody2676710035984867042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746953942,"filename":"image_17022025_00_01_44_9799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f4b01c14692b9d9ce172d1179df229b7.jpg","text":"TemporaryFile(/tmp/multipartBody8385986312915642737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739746953942,"filename":"image_17022025_00_01_14_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338099295","file1":"1338099294","file0":"1338099293","file4":"1338099297","file5":"1338099298","file3":"1338099296"},"map_files_photo_id_array":[{"photo_id":"1338099298","filename":"file5"},{"photo_id":"1338099295","filename":"file2"},{"photo_id":"1338099297","filename":"file4"},{"photo_id":"1338099294","filename":"file1"},{"photo_id":"1338099293","filename":"file0"},{"photo_id":"1338099296","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338099293":["hashtag1","hashtag2"]},{"1338099296":["hashtag1","hashtag2"]},{"1338099295":["hashtag1","hashtag2"]},{"1338099298":["hashtag1","hashtag2"]},{"1338099294":["hashtag1","hashtag2"]},{"1338099297":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338099293, 1338099296, 1338099295, 1338099298, 1338099294, 1338099297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.523935317993164 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:02:32.494350
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_54_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_44_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_34_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_24_9802.jpg', 0), ('/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_14_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/01/image_17022025_00_02_04_9781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_54_9776.jpg', '/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_44_9788.jpg', '/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_34_10783.jpg', '/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_24_9802.jpg', '/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_14_9776.jpg', '/home/nano/Desktop/images/17022025/00/01/image_17022025_00_02_04_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_54_9776.jpg
/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_44_9788.jpg
/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_34_10783.jpg
/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_24_9802.jpg
/home/nano/Desktop/images/17022025/00/02/image_17022025_00_02_14_9776.jpg
/home/nano/Desktop/images/17022025/00/01/image_17022025_00_02_04_9781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338099300","1338099299","1338099350","1338099302","1338099311","1338099301"],"photo_ids_order":["1338099299","1338099300","1338099301","1338099302","1338099311","1338099350"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2035f42e9ff1ca22ec7a64c9dc4ceb56.jpg","text":"TemporaryFile(/tmp/multipartBody5919693038984572914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747015787,"filename":"image_17022025_00_02_44_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cbfe285753486c6f54f8b7f742ff6356.jpg","text":"TemporaryFile(/tmp/multipartBody1216558658069133355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747015787,"filename":"image_17022025_00_02_54_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b71929cac9f8097203d6ed85207ce95.jpg","text":"TemporaryFile(/tmp/multipartBody673473205003022978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747015787,"filename":"image_17022025_00_02_04_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6fa008b8a3f03d046ef4fa513aea74b8.jpg","text":"TemporaryFile(/tmp/multipartBody4937360444935871707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747015787,"filename":"image_17022025_00_02_24_9802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d40fee3d2f4b4ff1de14b9581e823ef2.jpg","text":"TemporaryFile(/tmp/multipartBody3173651470525067211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747015787,"filename":"image_17022025_00_02_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aa5a8b3c533701f94c2e20ca267ebda3.jpg","text":"TemporaryFile(/tmp/multipartBody3068530112056946275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747015787,"filename":"image_17022025_00_02_34_10783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338099301","file1":"1338099300","file0":"1338099299","file4":"1338099311","file5":"1338099350","file3":"1338099302"},"map_files_photo_id_array":[{"photo_id":"1338099350","filename":"file5"},{"photo_id":"1338099301","filename":"file2"},{"photo_id":"1338099311","filename":"file4"},{"photo_id":"1338099300","filename":"file1"},{"photo_id":"1338099299","filename":"file0"},{"photo_id":"1338099302","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338099300":["hashtag1","hashtag2"]},{"1338099299":["hashtag1","hashtag2"]},{"1338099350":["hashtag1","hashtag2"]},{"1338099302":["hashtag1","hashtag2"]},{"1338099311":["hashtag1","hashtag2"]},{"1338099301":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338099300, 1338099299, 1338099350, 1338099302, 1338099311, 1338099301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71151375770569 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:03:32.590677
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_34_9792.jpg', 0), ('/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_24_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_14_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/02/image_17022025_00_03_04_9787.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_54_9774.jpg', '/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_44_9775.jpg', '/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_34_9792.jpg', '/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_24_10785.jpg', '/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_14_9774.jpg', '/home/nano/Desktop/images/17022025/00/02/image_17022025_00_03_04_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_54_9774.jpg
/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_44_9775.jpg
/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_34_9792.jpg
/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_24_10785.jpg
/home/nano/Desktop/images/17022025/00/03/image_17022025_00_03_14_9774.jpg
/home/nano/Desktop/images/17022025/00/02/image_17022025_00_03_04_9787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338099961","1338099778","1338099859","1338099817","1338099904","1338099732"],"photo_ids_order":["1338099732","1338099778","1338099817","1338099859","1338099904","1338099961"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7550371f652c404ec276234f3dbf192e.jpg","text":"TemporaryFile(/tmp/multipartBody1285421832554838245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747074188,"filename":"image_17022025_00_03_04_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b847060bdfe68f129d98c6ae47284f93.jpg","text":"TemporaryFile(/tmp/multipartBody6301626066890747774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747074188,"filename":"image_17022025_00_03_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b8b1a3f92f0d311d327c2875a89f6d5.jpg","text":"TemporaryFile(/tmp/multipartBody7067109570574051587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747074188,"filename":"image_17022025_00_03_24_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aa7da1270412022ba089c7057ad4632c.jpg","text":"TemporaryFile(/tmp/multipartBody4788219247494542061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747074188,"filename":"image_17022025_00_03_34_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/947e7e13416208effe32b47f9799845e.jpg","text":"TemporaryFile(/tmp/multipartBody5860735593945650176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747074188,"filename":"image_17022025_00_03_14_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d1cc3cc53c36ea81dcc8f50fbc156b2.jpg","text":"TemporaryFile(/tmp/multipartBody8634060173063375399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747074188,"filename":"image_17022025_00_03_54_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338099817","file1":"1338099778","file0":"1338099732","file4":"1338099904","file5":"1338099961","file3":"1338099859"},"map_files_photo_id_array":[{"photo_id":"1338099961","filename":"file5"},{"photo_id":"1338099817","filename":"file2"},{"photo_id":"1338099904","filename":"file4"},{"photo_id":"1338099778","filename":"file1"},{"photo_id":"1338099732","filename":"file0"},{"photo_id":"1338099859","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338099961":["hashtag1","hashtag2"]},{"1338099778":["hashtag1","hashtag2"]},{"1338099859":["hashtag1","hashtag2"]},{"1338099817":["hashtag1","hashtag2"]},{"1338099904":["hashtag1","hashtag2"]},{"1338099732":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338099961, 1338099778, 1338099859, 1338099817, 1338099904, 1338099732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82601714134216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:04:32.647396
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_54_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_44_9786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_34_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_24_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_14_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/00/03/image_17022025_00_04_04_9809.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_54_10782.jpg', '/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_44_9786.jpg', '/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_34_9776.jpg', '/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_24_9793.jpg', '/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_14_10783.jpg', '/home/nano/Desktop/images/17022025/00/03/image_17022025_00_04_04_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_54_10782.jpg
/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_44_9786.jpg
/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_34_9776.jpg
/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_24_9793.jpg
/home/nano/Desktop/images/17022025/00/04/image_17022025_00_04_14_10783.jpg
/home/nano/Desktop/images/17022025/00/03/image_17022025_00_04_04_9809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100142","1338100136","1338100141","1338100108","1338100140","1338100082"],"photo_ids_order":["1338100082","1338100108","1338100136","1338100140","1338100141","1338100142"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e023785081ec20c60784cdfc73576bdd.jpg","text":"TemporaryFile(/tmp/multipartBody6647189180203275935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747134073,"filename":"image_17022025_00_04_04_9809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c75744c93b72ebc9ad340203b37b813a.jpg","text":"TemporaryFile(/tmp/multipartBody4036421816751536218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747134073,"filename":"image_17022025_00_04_34_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e2b63ffd0e4e1afbe1e6b3f97c60f1a.jpg","text":"TemporaryFile(/tmp/multipartBody7276658769953456415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747134073,"filename":"image_17022025_00_04_14_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22e2519e4ae8feb9b97aeee510ecf654.jpg","text":"TemporaryFile(/tmp/multipartBody9214276973363265454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747134073,"filename":"image_17022025_00_04_44_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86bac1af41b76f4ba25d2b0b9c32f6e5.jpg","text":"TemporaryFile(/tmp/multipartBody5723615408024668002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747134073,"filename":"image_17022025_00_04_24_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/91a437476c48f0c94a8a00b16357b128.jpg","text":"TemporaryFile(/tmp/multipartBody1210319003054637095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747134073,"filename":"image_17022025_00_04_54_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100136","file1":"1338100108","file0":"1338100082","file4":"1338100141","file5":"1338100142","file3":"1338100140"},"map_files_photo_id_array":[{"photo_id":"1338100142","filename":"file5"},{"photo_id":"1338100136","filename":"file2"},{"photo_id":"1338100141","filename":"file4"},{"photo_id":"1338100108","filename":"file1"},{"photo_id":"1338100082","filename":"file0"},{"photo_id":"1338100140","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100142":["hashtag1","hashtag2"]},{"1338100136":["hashtag1","hashtag2"]},{"1338100141":["hashtag1","hashtag2"]},{"1338100108":["hashtag1","hashtag2"]},{"1338100140":["hashtag1","hashtag2"]},{"1338100082":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100142, 1338100136, 1338100141, 1338100108, 1338100140, 1338100082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.449090003967285 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:05:32.763457
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_54_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_44_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_24_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_14_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/00/04/image_17022025_00_05_04_9782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_54_9777.jpg', '/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_44_10783.jpg', '/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_34_9775.jpg', '/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_24_9776.jpg', '/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_14_9771.jpg', '/home/nano/Desktop/images/17022025/00/04/image_17022025_00_05_04_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_54_9777.jpg
/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_44_10783.jpg
/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_34_9775.jpg
/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_24_9776.jpg
/home/nano/Desktop/images/17022025/00/05/image_17022025_00_05_14_9771.jpg
/home/nano/Desktop/images/17022025/00/04/image_17022025_00_05_04_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100145","1338100148","1338100144","1338100147","1338100146","1338100143"],"photo_ids_order":["1338100143","1338100144","1338100145","1338100146","1338100147","1338100148"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6da4cc9b97d59d9ac0ddc728d238480b.jpg","text":"TemporaryFile(/tmp/multipartBody4459756413001831912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747194534,"filename":"image_17022025_00_05_34_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e806281ed8365c2da7c4d021d357a1e7.jpg","text":"TemporaryFile(/tmp/multipartBody3810836551941617418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747194534,"filename":"image_17022025_00_05_04_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ba6bad3eb7573bb034aca1dd04b8e5c.jpg","text":"TemporaryFile(/tmp/multipartBody7471939248358206764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747194534,"filename":"image_17022025_00_05_44_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6ed648a44b1114019cc22e7154bdbfe.jpg","text":"TemporaryFile(/tmp/multipartBody8050902310535526287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747194534,"filename":"image_17022025_00_05_14_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe683caa4711e59cd70387667d92e132.jpg","text":"TemporaryFile(/tmp/multipartBody5053620159654296639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747194534,"filename":"image_17022025_00_05_24_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ff3dca4bdc8611650bd189e863165ec.jpg","text":"TemporaryFile(/tmp/multipartBody2659600054092861724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747194534,"filename":"image_17022025_00_05_54_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100145","file1":"1338100144","file0":"1338100143","file4":"1338100147","file5":"1338100148","file3":"1338100146"},"map_files_photo_id_array":[{"photo_id":"1338100148","filename":"file5"},{"photo_id":"1338100145","filename":"file2"},{"photo_id":"1338100147","filename":"file4"},{"photo_id":"1338100144","filename":"file1"},{"photo_id":"1338100143","filename":"file0"},{"photo_id":"1338100146","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100145":["hashtag1","hashtag2"]},{"1338100148":["hashtag1","hashtag2"]},{"1338100144":["hashtag1","hashtag2"]},{"1338100147":["hashtag1","hashtag2"]},{"1338100146":["hashtag1","hashtag2"]},{"1338100143":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100145, 1338100148, 1338100144, 1338100147, 1338100146, 1338100143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.859156608581543 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:06:31.852916
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_54_9798.jpg', 0), ('/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_44_9798.jpg', 0), ('/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_34_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_24_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/05/image_17022025_00_06_04_9781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_54_9798.jpg', '/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_44_9798.jpg', '/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_34_9777.jpg', '/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_24_10785.jpg', '/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_14_9775.jpg', '/home/nano/Desktop/images/17022025/00/05/image_17022025_00_06_04_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_54_9798.jpg
/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_44_9798.jpg
/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_34_9777.jpg
/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_24_10785.jpg
/home/nano/Desktop/images/17022025/00/06/image_17022025_00_06_14_9775.jpg
/home/nano/Desktop/images/17022025/00/05/image_17022025_00_06_04_9781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100151","1338100154","1338100150","1338100153","1338100152","1338100149"],"photo_ids_order":["1338100149","1338100150","1338100151","1338100152","1338100153","1338100154"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e0cebb2387876cbc8c1f223db1070c9.jpg","text":"TemporaryFile(/tmp/multipartBody4785228356220543818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747253635,"filename":"image_17022025_00_06_34_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d219571fbc45e574ef81974068358aa6.jpg","text":"TemporaryFile(/tmp/multipartBody7170631612334159320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747253635,"filename":"image_17022025_00_06_04_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b8c71305d6f48a5f6432e9246bfbebc.jpg","text":"TemporaryFile(/tmp/multipartBody8069639047313460764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747253635,"filename":"image_17022025_00_06_44_9798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/738ebd3d9ba9c22c957fb7ccf5abaa56.jpg","text":"TemporaryFile(/tmp/multipartBody3030717087197393257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747253635,"filename":"image_17022025_00_06_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d325019e2bc06d2a44f417c64661fbef.jpg","text":"TemporaryFile(/tmp/multipartBody5292151303551417279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747253635,"filename":"image_17022025_00_06_24_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/322ffaea9395887fbfb173c17aab2b5d.jpg","text":"TemporaryFile(/tmp/multipartBody5908598648902705558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747253635,"filename":"image_17022025_00_06_54_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100151","file1":"1338100150","file0":"1338100149","file4":"1338100153","file5":"1338100154","file3":"1338100152"},"map_files_photo_id_array":[{"photo_id":"1338100154","filename":"file5"},{"photo_id":"1338100151","filename":"file2"},{"photo_id":"1338100153","filename":"file4"},{"photo_id":"1338100150","filename":"file1"},{"photo_id":"1338100149","filename":"file0"},{"photo_id":"1338100152","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100151":["hashtag1","hashtag2"]},{"1338100154":["hashtag1","hashtag2"]},{"1338100150":["hashtag1","hashtag2"]},{"1338100153":["hashtag1","hashtag2"]},{"1338100152":["hashtag1","hashtag2"]},{"1338100149":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100151, 1338100154, 1338100150, 1338100153, 1338100152, 1338100149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.61722230911255 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:07:31.952557
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_54_9794.jpg', 0), ('/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_44_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_14_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/06/image_17022025_00_07_04_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_54_9794.jpg', '/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_44_9793.jpg', '/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_34_9774.jpg', '/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_24_9772.jpg', '/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_14_10786.jpg', '/home/nano/Desktop/images/17022025/00/06/image_17022025_00_07_04_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_54_9794.jpg
/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_44_9793.jpg
/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_34_9774.jpg
/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_24_9772.jpg
/home/nano/Desktop/images/17022025/00/07/image_17022025_00_07_14_10786.jpg
/home/nano/Desktop/images/17022025/00/06/image_17022025_00_07_04_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100160","1338100156","1338100159","1338100155","1338100158","1338100157"],"photo_ids_order":["1338100155","1338100156","1338100157","1338100158","1338100159","1338100160"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/893b27d6c6fa0cd25d847d04c874b847.jpg","text":"TemporaryFile(/tmp/multipartBody7736127709751582384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747313476,"filename":"image_17022025_00_07_04_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/244228957e357e8ace5c58cbd1a10910.jpg","text":"TemporaryFile(/tmp/multipartBody1632380828923230966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747313476,"filename":"image_17022025_00_07_44_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3fafc83c9ee88312e901c15592d11f25.jpg","text":"TemporaryFile(/tmp/multipartBody3088005891500965009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747313476,"filename":"image_17022025_00_07_14_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b43efd1dc6a99de7b82d06c59d0726a0.jpg","text":"TemporaryFile(/tmp/multipartBody6725253620107590548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747313476,"filename":"image_17022025_00_07_54_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b21addf22fdb94ea1226fd6beeeaeb69.jpg","text":"TemporaryFile(/tmp/multipartBody2172079175639226367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747313476,"filename":"image_17022025_00_07_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31a18ef48251881f60c072cddbd146e3.jpg","text":"TemporaryFile(/tmp/multipartBody1400227997115757120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747313476,"filename":"image_17022025_00_07_34_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100157","file1":"1338100156","file0":"1338100155","file4":"1338100159","file5":"1338100160","file3":"1338100158"},"map_files_photo_id_array":[{"photo_id":"1338100160","filename":"file5"},{"photo_id":"1338100157","filename":"file2"},{"photo_id":"1338100159","filename":"file4"},{"photo_id":"1338100156","filename":"file1"},{"photo_id":"1338100155","filename":"file0"},{"photo_id":"1338100158","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100160":["hashtag1","hashtag2"]},{"1338100156":["hashtag1","hashtag2"]},{"1338100159":["hashtag1","hashtag2"]},{"1338100155":["hashtag1","hashtag2"]},{"1338100158":["hashtag1","hashtag2"]},{"1338100157":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100160, 1338100156, 1338100159, 1338100155, 1338100158, 1338100157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81692028045654 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:08:32.056795
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_44_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_24_9809.jpg', 0), ('/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_14_9800.jpg', 0), ('/home/nano/Desktop/images/17022025/00/07/image_17022025_00_08_04_10784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_54_9774.jpg', '/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_44_10786.jpg', '/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_34_9773.jpg', '/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_24_9809.jpg', '/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_14_9800.jpg', '/home/nano/Desktop/images/17022025/00/07/image_17022025_00_08_04_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_54_9774.jpg
/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_44_10786.jpg
/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_34_9773.jpg
/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_24_9809.jpg
/home/nano/Desktop/images/17022025/00/08/image_17022025_00_08_14_9800.jpg
/home/nano/Desktop/images/17022025/00/07/image_17022025_00_08_04_10784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100265","1338100162","1338100228","1338100266","1338100227","1338100161"],"photo_ids_order":["1338100161","1338100162","1338100227","1338100228","1338100265","1338100266"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e55e5ea3ec474e672904151354830fb1.jpg","text":"TemporaryFile(/tmp/multipartBody4306309403615621414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747373834,"filename":"image_17022025_00_08_14_9800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5bfae620b1118accb8b8b87d63846d3e.jpg","text":"TemporaryFile(/tmp/multipartBody2942213089764134539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747373834,"filename":"image_17022025_00_08_44_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22e3ab9638a197784a96f54e419866c0.jpg","text":"TemporaryFile(/tmp/multipartBody647738422623317445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747373834,"filename":"image_17022025_00_08_24_9809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce4b5629e3d4bed3bbc5b52566455f1a.jpg","text":"TemporaryFile(/tmp/multipartBody1060825026692690415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747373834,"filename":"image_17022025_00_08_04_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57b4eb23077be6a5b7b0ef5101deed43.jpg","text":"TemporaryFile(/tmp/multipartBody1716178540239411876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747373834,"filename":"image_17022025_00_08_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0492c5f7d9915691bdd9182a2afd9b1.jpg","text":"TemporaryFile(/tmp/multipartBody2686523853708189428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747373834,"filename":"image_17022025_00_08_54_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100227","file1":"1338100162","file0":"1338100161","file4":"1338100265","file5":"1338100266","file3":"1338100228"},"map_files_photo_id_array":[{"photo_id":"1338100266","filename":"file5"},{"photo_id":"1338100227","filename":"file2"},{"photo_id":"1338100265","filename":"file4"},{"photo_id":"1338100162","filename":"file1"},{"photo_id":"1338100161","filename":"file0"},{"photo_id":"1338100228","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100265":["hashtag1","hashtag2"]},{"1338100162":["hashtag1","hashtag2"]},{"1338100228":["hashtag1","hashtag2"]},{"1338100266":["hashtag1","hashtag2"]},{"1338100227":["hashtag1","hashtag2"]},{"1338100161":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100265, 1338100162, 1338100228, 1338100266, 1338100227, 1338100161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.035656213760376 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:09:32.161938
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_34_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_24_9796.jpg', 0), ('/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_14_9782.jpg', 0), ('/home/nano/Desktop/images/17022025/00/08/image_17022025_00_09_04_9794.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_54_9774.jpg', '/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_44_9775.jpg', '/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_34_10786.jpg', '/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_24_9796.jpg', '/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_14_9782.jpg', '/home/nano/Desktop/images/17022025/00/08/image_17022025_00_09_04_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_54_9774.jpg
/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_44_9775.jpg
/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_34_10786.jpg
/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_24_9796.jpg
/home/nano/Desktop/images/17022025/00/09/image_17022025_00_09_14_9782.jpg
/home/nano/Desktop/images/17022025/00/08/image_17022025_00_09_04_9794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100301","1338100303","1338100300","1338100299","1338100302","1338100298"],"photo_ids_order":["1338100298","1338100299","1338100300","1338100301","1338100302","1338100303"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/afc4215618fdf3df8bfce7091408a343.jpg","text":"TemporaryFile(/tmp/multipartBody8888641320885743313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747433555,"filename":"image_17022025_00_09_24_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b73d3aab1d913ede5b23bc42690c37e1.jpg","text":"TemporaryFile(/tmp/multipartBody2791445301905639411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747433555,"filename":"image_17022025_00_09_04_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e0134a11dfbd889fcdbf3baad39984d.jpg","text":"TemporaryFile(/tmp/multipartBody4036259985192730339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747433555,"filename":"image_17022025_00_09_34_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c184dc4e401e72d76eade715744f3ec1.jpg","text":"TemporaryFile(/tmp/multipartBody6631536088961742026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747433555,"filename":"image_17022025_00_09_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82f8663d8f7be04a5f8ac0f1f611f1d1.jpg","text":"TemporaryFile(/tmp/multipartBody2719060412248286253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747433555,"filename":"image_17022025_00_09_14_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/37e6a642aab4922a7b881fd6da1dbdff.jpg","text":"TemporaryFile(/tmp/multipartBody1358847870489196551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747433555,"filename":"image_17022025_00_09_54_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100300","file1":"1338100299","file0":"1338100298","file4":"1338100302","file5":"1338100303","file3":"1338100301"},"map_files_photo_id_array":[{"photo_id":"1338100303","filename":"file5"},{"photo_id":"1338100300","filename":"file2"},{"photo_id":"1338100302","filename":"file4"},{"photo_id":"1338100299","filename":"file1"},{"photo_id":"1338100298","filename":"file0"},{"photo_id":"1338100301","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100301":["hashtag1","hashtag2"]},{"1338100303":["hashtag1","hashtag2"]},{"1338100300":["hashtag1","hashtag2"]},{"1338100299":["hashtag1","hashtag2"]},{"1338100302":["hashtag1","hashtag2"]},{"1338100298":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100301, 1338100303, 1338100300, 1338100299, 1338100302, 1338100298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.152565479278564 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:10:32.262117
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_54_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_34_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_24_10788.jpg', 0), ('/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_14_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/09/image_17022025_00_10_04_9777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_54_9779.jpg', '/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_44_9775.jpg', '/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_34_9777.jpg', '/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_24_10788.jpg', '/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_14_9773.jpg', '/home/nano/Desktop/images/17022025/00/09/image_17022025_00_10_04_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_54_9779.jpg
/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_44_9775.jpg
/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_34_9777.jpg
/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_24_10788.jpg
/home/nano/Desktop/images/17022025/00/10/image_17022025_00_10_14_9773.jpg
/home/nano/Desktop/images/17022025/00/09/image_17022025_00_10_04_9777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100307","1338100304","1338100306","1338100309","1338100308","1338100305"],"photo_ids_order":["1338100304","1338100305","1338100306","1338100307","1338100308","1338100309"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e114d92d4294bce04ac59c4b732eecc6.jpg","text":"TemporaryFile(/tmp/multipartBody1712839136256139996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747493631,"filename":"image_17022025_00_10_24_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58d236301cf850d3d2dacc1c85dc4fd7.jpg","text":"TemporaryFile(/tmp/multipartBody5866253835591315745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747493631,"filename":"image_17022025_00_10_54_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d768f624ef6dd3b5a4595a4bdaf7267.jpg","text":"TemporaryFile(/tmp/multipartBody5863730344491520412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747493631,"filename":"image_17022025_00_10_34_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2aa79a50ac849c6bbd3754682f9e27e.jpg","text":"TemporaryFile(/tmp/multipartBody5071089562559421794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747493631,"filename":"image_17022025_00_10_04_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/96e67cc90213de133ce81fb0e78cc015.jpg","text":"TemporaryFile(/tmp/multipartBody4685279168030456759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747493631,"filename":"image_17022025_00_10_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9753a8fc6addac35f0477f21ac097094.jpg","text":"TemporaryFile(/tmp/multipartBody7912906523409305221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747493631,"filename":"image_17022025_00_10_44_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100306","file1":"1338100305","file0":"1338100304","file4":"1338100308","file5":"1338100309","file3":"1338100307"},"map_files_photo_id_array":[{"photo_id":"1338100309","filename":"file5"},{"photo_id":"1338100306","filename":"file2"},{"photo_id":"1338100308","filename":"file4"},{"photo_id":"1338100305","filename":"file1"},{"photo_id":"1338100304","filename":"file0"},{"photo_id":"1338100307","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100307":["hashtag1","hashtag2"]},{"1338100304":["hashtag1","hashtag2"]},{"1338100306":["hashtag1","hashtag2"]},{"1338100309":["hashtag1","hashtag2"]},{"1338100308":["hashtag1","hashtag2"]},{"1338100305":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100307, 1338100304, 1338100306, 1338100309, 1338100308, 1338100305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65287661552429 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:11:32.340659
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_54_10787.jpg', 0), ('/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_44_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_24_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_14_9784.jpg', 0), ('/home/nano/Desktop/images/17022025/00/10/image_17022025_00_11_04_10785.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_54_10787.jpg', '/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_44_9778.jpg', '/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_34_9772.jpg', '/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_24_9776.jpg', '/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_14_9784.jpg', '/home/nano/Desktop/images/17022025/00/10/image_17022025_00_11_04_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_54_10787.jpg
/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_44_9778.jpg
/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_34_9772.jpg
/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_24_9776.jpg
/home/nano/Desktop/images/17022025/00/11/image_17022025_00_11_14_9784.jpg
/home/nano/Desktop/images/17022025/00/10/image_17022025_00_11_04_10785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100310","1338100313","1338100315","1338100312","1338100314","1338100311"],"photo_ids_order":["1338100310","1338100311","1338100312","1338100313","1338100314","1338100315"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f99ac93ad57f6b0e948687d42937cd3.jpg","text":"TemporaryFile(/tmp/multipartBody6869238980569858924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747553911,"filename":"image_17022025_00_11_54_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/420ec87e35f311bd4838e81187b94fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4424221843395597311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747553911,"filename":"image_17022025_00_11_24_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bea9d9a3c959998fc509fff46eb4172a.jpg","text":"TemporaryFile(/tmp/multipartBody2811335956750027610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747553911,"filename":"image_17022025_00_11_04_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58d346fdbf8275fa9bd6ec1a39565c3e.jpg","text":"TemporaryFile(/tmp/multipartBody6397524826725574102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747553911,"filename":"image_17022025_00_11_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d3affd3abcc55b205e5d27b2904d565b.jpg","text":"TemporaryFile(/tmp/multipartBody6963586057570573811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747553911,"filename":"image_17022025_00_11_14_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7321cdbd09a74861b8c10411f64017c.jpg","text":"TemporaryFile(/tmp/multipartBody6962812155667545625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747553911,"filename":"image_17022025_00_11_44_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100312","file1":"1338100311","file0":"1338100310","file4":"1338100314","file5":"1338100315","file3":"1338100313"},"map_files_photo_id_array":[{"photo_id":"1338100315","filename":"file5"},{"photo_id":"1338100312","filename":"file2"},{"photo_id":"1338100314","filename":"file4"},{"photo_id":"1338100311","filename":"file1"},{"photo_id":"1338100310","filename":"file0"},{"photo_id":"1338100313","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100310":["hashtag1","hashtag2"]},{"1338100313":["hashtag1","hashtag2"]},{"1338100315":["hashtag1","hashtag2"]},{"1338100312":["hashtag1","hashtag2"]},{"1338100314":["hashtag1","hashtag2"]},{"1338100311":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100310, 1338100313, 1338100315, 1338100312, 1338100314, 1338100311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.410016298294067 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:12:32.452850
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_44_9781.jpg', 0), ('/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_34_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_24_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_14_9792.jpg', 0), ('/home/nano/Desktop/images/17022025/00/11/image_17022025_00_12_04_9798.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_54_9775.jpg', '/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_44_9781.jpg', '/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_34_10786.jpg', '/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_24_9779.jpg', '/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_14_9792.jpg', '/home/nano/Desktop/images/17022025/00/11/image_17022025_00_12_04_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_54_9775.jpg
/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_44_9781.jpg
/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_34_10786.jpg
/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_24_9779.jpg
/home/nano/Desktop/images/17022025/00/12/image_17022025_00_12_14_9792.jpg
/home/nano/Desktop/images/17022025/00/11/image_17022025_00_12_04_9798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100319","1338100316","1338100321","1338100318","1338100320","1338100317"],"photo_ids_order":["1338100316","1338100317","1338100318","1338100319","1338100320","1338100321"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28a3bf00b37e9345f567eb53cbd09ad0.jpg","text":"TemporaryFile(/tmp/multipartBody2817275359864717601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747613842,"filename":"image_17022025_00_12_24_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b77831eb8999a63c56c0841a9e09fcd.jpg","text":"TemporaryFile(/tmp/multipartBody7413362692942368138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747613842,"filename":"image_17022025_00_12_54_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/91ba813cf549fe0bf0ed9a7ae783f7c3.jpg","text":"TemporaryFile(/tmp/multipartBody4951468725875094548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747613842,"filename":"image_17022025_00_12_04_9798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f50223833f5575bb78816d56d02098a0.jpg","text":"TemporaryFile(/tmp/multipartBody7719799138069318803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747613842,"filename":"image_17022025_00_12_34_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea39c521fe3945be20260fb874197d54.jpg","text":"TemporaryFile(/tmp/multipartBody8743634573556130215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747613842,"filename":"image_17022025_00_12_14_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df67ef7aa0ff07dd50f837c52c713918.jpg","text":"TemporaryFile(/tmp/multipartBody1766301405553551191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747613842,"filename":"image_17022025_00_12_44_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100318","file1":"1338100317","file0":"1338100316","file4":"1338100320","file5":"1338100321","file3":"1338100319"},"map_files_photo_id_array":[{"photo_id":"1338100321","filename":"file5"},{"photo_id":"1338100318","filename":"file2"},{"photo_id":"1338100320","filename":"file4"},{"photo_id":"1338100317","filename":"file1"},{"photo_id":"1338100316","filename":"file0"},{"photo_id":"1338100319","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100319":["hashtag1","hashtag2"]},{"1338100316":["hashtag1","hashtag2"]},{"1338100321":["hashtag1","hashtag2"]},{"1338100318":["hashtag1","hashtag2"]},{"1338100320":["hashtag1","hashtag2"]},{"1338100317":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100319, 1338100316, 1338100321, 1338100318, 1338100320, 1338100317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.720449924468994 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:13:32.541939
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_34_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_24_10787.jpg', 0), ('/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_14_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/12/image_17022025_00_13_04_9788.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_54_9774.jpg', '/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_44_9772.jpg', '/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_34_9777.jpg', '/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_24_10787.jpg', '/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_14_9776.jpg', '/home/nano/Desktop/images/17022025/00/12/image_17022025_00_13_04_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_54_9774.jpg
/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_44_9772.jpg
/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_34_9777.jpg
/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_24_10787.jpg
/home/nano/Desktop/images/17022025/00/13/image_17022025_00_13_14_9776.jpg
/home/nano/Desktop/images/17022025/00/12/image_17022025_00_13_04_9788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100325","1338100322","1338100324","1338100327","1338100326","1338100323"],"photo_ids_order":["1338100322","1338100323","1338100324","1338100325","1338100326","1338100327"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f4a26a0b8285e616dd4ac6437cbc4f88.jpg","text":"TemporaryFile(/tmp/multipartBody7255794591821204951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747674343,"filename":"image_17022025_00_13_24_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1a8d2f13e258db81d6e93a17d666649.jpg","text":"TemporaryFile(/tmp/multipartBody4446548026462521361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747674343,"filename":"image_17022025_00_13_54_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53f62feb770c29888de3e8749f1fda2a.jpg","text":"TemporaryFile(/tmp/multipartBody6506465701963234715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747674343,"filename":"image_17022025_00_13_34_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e51ed56f3f5f35f22c34cc43b2d6318.jpg","text":"TemporaryFile(/tmp/multipartBody2899979602567100758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747674343,"filename":"image_17022025_00_13_04_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b16cd7ad6bb561b53b5b790f13269abc.jpg","text":"TemporaryFile(/tmp/multipartBody2065976614091926377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747674343,"filename":"image_17022025_00_13_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d3b94afa18a25fe02d8d9ab94a5b8930.jpg","text":"TemporaryFile(/tmp/multipartBody8446127890327487273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747674343,"filename":"image_17022025_00_13_44_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100324","file1":"1338100323","file0":"1338100322","file4":"1338100326","file5":"1338100327","file3":"1338100325"},"map_files_photo_id_array":[{"photo_id":"1338100327","filename":"file5"},{"photo_id":"1338100324","filename":"file2"},{"photo_id":"1338100326","filename":"file4"},{"photo_id":"1338100323","filename":"file1"},{"photo_id":"1338100322","filename":"file0"},{"photo_id":"1338100325","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100325":["hashtag1","hashtag2"]},{"1338100322":["hashtag1","hashtag2"]},{"1338100324":["hashtag1","hashtag2"]},{"1338100327":["hashtag1","hashtag2"]},{"1338100326":["hashtag1","hashtag2"]},{"1338100323":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100325, 1338100322, 1338100324, 1338100327, 1338100326, 1338100323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96264362335205 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:14:32.644796
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_54_10801.jpg', 0), ('/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_24_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_14_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/13/image_17022025_00_14_03_9770.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_54_10801.jpg', '/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_44_9772.jpg', '/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_34_9775.jpg', '/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_24_9776.jpg', '/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_14_10786.jpg', '/home/nano/Desktop/images/17022025/00/13/image_17022025_00_14_03_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_54_10801.jpg
/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_44_9772.jpg
/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_34_9775.jpg
/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_24_9776.jpg
/home/nano/Desktop/images/17022025/00/14/image_17022025_00_14_14_10786.jpg
/home/nano/Desktop/images/17022025/00/13/image_17022025_00_14_03_9770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100331","1338100334","1338100333","1338100336","1338100332","1338100335"],"photo_ids_order":["1338100331","1338100332","1338100333","1338100334","1338100335","1338100336"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b29ebc27c6e42f4dda6f5cca2d110389.jpg","text":"TemporaryFile(/tmp/multipartBody7930168715324698859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747734288,"filename":"image_17022025_00_14_54_10801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c0c6f4f8a9f2429a1c489d8f040d7cf.jpg","text":"TemporaryFile(/tmp/multipartBody1615453101000136902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747734288,"filename":"image_17022025_00_14_24_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99d912471e5e3e87de511b8a9e04e712.jpg","text":"TemporaryFile(/tmp/multipartBody6573935848500009980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747734288,"filename":"image_17022025_00_14_34_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/934f22918215de18c473e4ab2c981f87.jpg","text":"TemporaryFile(/tmp/multipartBody3825159555355958996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747734288,"filename":"image_17022025_00_14_03_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7d4d6573b8819b913f6b476d6dcd4bc.jpg","text":"TemporaryFile(/tmp/multipartBody4621926169630189516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747734288,"filename":"image_17022025_00_14_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9d79368f6008acbafd69768aaaddd84.jpg","text":"TemporaryFile(/tmp/multipartBody2316278270930073646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747734288,"filename":"image_17022025_00_14_14_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100333","file1":"1338100332","file0":"1338100331","file4":"1338100335","file5":"1338100336","file3":"1338100334"},"map_files_photo_id_array":[{"photo_id":"1338100336","filename":"file5"},{"photo_id":"1338100333","filename":"file2"},{"photo_id":"1338100335","filename":"file4"},{"photo_id":"1338100332","filename":"file1"},{"photo_id":"1338100331","filename":"file0"},{"photo_id":"1338100334","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100331":["hashtag1","hashtag2"]},{"1338100334":["hashtag1","hashtag2"]},{"1338100333":["hashtag1","hashtag2"]},{"1338100336":["hashtag1","hashtag2"]},{"1338100332":["hashtag1","hashtag2"]},{"1338100335":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100331, 1338100334, 1338100333, 1338100336, 1338100332, 1338100335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80041837692261 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:15:32.747836
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_44_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_34_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_14_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/00/14/image_17022025_00_15_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_54_9773.jpg', '/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_44_10780.jpg', '/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_34_9777.jpg', '/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_24_9773.jpg', '/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_14_9778.jpg', '/home/nano/Desktop/images/17022025/00/14/image_17022025_00_15_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_54_9773.jpg
/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_44_10780.jpg
/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_34_9777.jpg
/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_24_9773.jpg
/home/nano/Desktop/images/17022025/00/15/image_17022025_00_15_14_9778.jpg
/home/nano/Desktop/images/17022025/00/14/image_17022025_00_15_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100433","1338100471","1338100432","1338100470","1338100472","1338100466"],"photo_ids_order":["1338100432","1338100433","1338100466","1338100470","1338100471","1338100472"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50914c75175c51f1839ab0831b2f4ba0.jpg","text":"TemporaryFile(/tmp/multipartBody6119277717171418115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747794326,"filename":"image_17022025_00_15_44_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/755198099ac6c79985fc73d1948c50a3.jpg","text":"TemporaryFile(/tmp/multipartBody4226391788016243251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747794326,"filename":"image_17022025_00_15_14_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/69b5ed8bc89603b7775cf493356acb41.jpg","text":"TemporaryFile(/tmp/multipartBody2030923056038778989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747794326,"filename":"image_17022025_00_15_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2097b348b4d6bc919d8ae0fa0ad388a.jpg","text":"TemporaryFile(/tmp/multipartBody586719081249786540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747794326,"filename":"image_17022025_00_15_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e96e8b2218f1c906ef168ff05f854481.jpg","text":"TemporaryFile(/tmp/multipartBody5852942679173935637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747794326,"filename":"image_17022025_00_15_04_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7390b6ecc43e8e27fe4149834e021d81.jpg","text":"TemporaryFile(/tmp/multipartBody3237120034289348795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747794326,"filename":"image_17022025_00_15_34_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100466","file1":"1338100433","file0":"1338100432","file4":"1338100471","file5":"1338100472","file3":"1338100470"},"map_files_photo_id_array":[{"photo_id":"1338100472","filename":"file5"},{"photo_id":"1338100466","filename":"file2"},{"photo_id":"1338100471","filename":"file4"},{"photo_id":"1338100433","filename":"file1"},{"photo_id":"1338100432","filename":"file0"},{"photo_id":"1338100470","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100433":["hashtag1","hashtag2"]},{"1338100471":["hashtag1","hashtag2"]},{"1338100432":["hashtag1","hashtag2"]},{"1338100470":["hashtag1","hashtag2"]},{"1338100472":["hashtag1","hashtag2"]},{"1338100466":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100433, 1338100471, 1338100432, 1338100470, 1338100472, 1338100466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96462535858154 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:16:31.854511
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_34_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_24_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_14_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/00/15/image_17022025_00_16_04_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_54_9772.jpg', '/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_44_9774.jpg', '/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_34_9776.jpg', '/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_24_10784.jpg', '/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_14_9771.jpg', '/home/nano/Desktop/images/17022025/00/15/image_17022025_00_16_04_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_54_9772.jpg
/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_44_9774.jpg
/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_34_9776.jpg
/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_24_10784.jpg
/home/nano/Desktop/images/17022025/00/16/image_17022025_00_16_14_9771.jpg
/home/nano/Desktop/images/17022025/00/15/image_17022025_00_16_04_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100478","1338100477","1338100474","1338100476","1338100473","1338100475"],"photo_ids_order":["1338100473","1338100474","1338100475","1338100476","1338100477","1338100478"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/94db1654ca7b7f1e981e4b175d3edc6d.jpg","text":"TemporaryFile(/tmp/multipartBody7552882545012564870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747853671,"filename":"image_17022025_00_16_04_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a14c90f0a0fc1351e916e2b43c693633.jpg","text":"TemporaryFile(/tmp/multipartBody485540716854714441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747853671,"filename":"image_17022025_00_16_14_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe953cbb09e7545b4b803f5b01ab90de.jpg","text":"TemporaryFile(/tmp/multipartBody8837842906559931253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747853671,"filename":"image_17022025_00_16_44_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e3ef15f086ec9a18f625a4ee826d3f6.jpg","text":"TemporaryFile(/tmp/multipartBody3510842726360014874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747853671,"filename":"image_17022025_00_16_24_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8700823a1caf2fb2758e734cc956cd60.jpg","text":"TemporaryFile(/tmp/multipartBody4542795801043231003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747853671,"filename":"image_17022025_00_16_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a676f1320df327b1e3a718b63a60c15d.jpg","text":"TemporaryFile(/tmp/multipartBody4700261445871789152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747853671,"filename":"image_17022025_00_16_34_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100475","file1":"1338100474","file0":"1338100473","file4":"1338100477","file5":"1338100478","file3":"1338100476"},"map_files_photo_id_array":[{"photo_id":"1338100478","filename":"file5"},{"photo_id":"1338100475","filename":"file2"},{"photo_id":"1338100477","filename":"file4"},{"photo_id":"1338100474","filename":"file1"},{"photo_id":"1338100473","filename":"file0"},{"photo_id":"1338100476","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100478":["hashtag1","hashtag2"]},{"1338100477":["hashtag1","hashtag2"]},{"1338100474":["hashtag1","hashtag2"]},{"1338100476":["hashtag1","hashtag2"]},{"1338100473":["hashtag1","hashtag2"]},{"1338100475":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100478, 1338100477, 1338100474, 1338100476, 1338100473, 1338100475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.35313606262207 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:17:31.972886
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_54_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_24_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_14_10788.jpg', 0), ('/home/nano/Desktop/images/17022025/00/16/image_17022025_00_17_04_9770.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_54_10784.jpg', '/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_44_9773.jpg', '/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_34_9772.jpg', '/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_24_9776.jpg', '/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_14_10788.jpg', '/home/nano/Desktop/images/17022025/00/16/image_17022025_00_17_04_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_54_10784.jpg
/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_44_9773.jpg
/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_34_9772.jpg
/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_24_9776.jpg
/home/nano/Desktop/images/17022025/00/17/image_17022025_00_17_14_10788.jpg
/home/nano/Desktop/images/17022025/00/16/image_17022025_00_17_04_9770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100529","1338100706","1338100480","1338100482","1338100707","1338100481"],"photo_ids_order":["1338100480","1338100481","1338100482","1338100529","1338100706","1338100707"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/85626c64e2f9e084fd63a03ba718c1d7.jpg","text":"TemporaryFile(/tmp/multipartBody6990179742589848249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747913352,"filename":"image_17022025_00_17_24_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b2834e06070aeed1204cf45a5d99002.jpg","text":"TemporaryFile(/tmp/multipartBody6822784836801881929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747913352,"filename":"image_17022025_00_17_14_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aaee20376ce7ef1d61305939cb8101d8.jpg","text":"TemporaryFile(/tmp/multipartBody8688417978812292342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747913352,"filename":"image_17022025_00_17_54_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6b35f4533945512d8598111e58e6805a.jpg","text":"TemporaryFile(/tmp/multipartBody6875471967404017893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747913352,"filename":"image_17022025_00_17_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf716a13244cc6c88cae406b315f551f.jpg","text":"TemporaryFile(/tmp/multipartBody2784012062370641097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747913352,"filename":"image_17022025_00_17_04_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97e0cd58b32f7a6578998f059a2abe37.jpg","text":"TemporaryFile(/tmp/multipartBody8017614753080412341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747913352,"filename":"image_17022025_00_17_44_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100482","file1":"1338100481","file0":"1338100480","file4":"1338100706","file5":"1338100707","file3":"1338100529"},"map_files_photo_id_array":[{"photo_id":"1338100707","filename":"file5"},{"photo_id":"1338100482","filename":"file2"},{"photo_id":"1338100706","filename":"file4"},{"photo_id":"1338100481","filename":"file1"},{"photo_id":"1338100480","filename":"file0"},{"photo_id":"1338100529","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100529":["hashtag1","hashtag2"]},{"1338100706":["hashtag1","hashtag2"]},{"1338100480":["hashtag1","hashtag2"]},{"1338100482":["hashtag1","hashtag2"]},{"1338100707":["hashtag1","hashtag2"]},{"1338100481":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100529, 1338100706, 1338100480, 1338100482, 1338100707, 1338100481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.414095401763916 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:18:32.066503
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_44_10804.jpg', 0), ('/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_34_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_24_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_14_9783.jpg', 0), ('/home/nano/Desktop/images/17022025/00/17/image_17022025_00_18_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_54_9773.jpg', '/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_44_10804.jpg', '/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_34_9795.jpg', '/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_24_9776.jpg', '/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_14_9783.jpg', '/home/nano/Desktop/images/17022025/00/17/image_17022025_00_18_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_54_9773.jpg
/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_44_10804.jpg
/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_34_9795.jpg
/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_24_9776.jpg
/home/nano/Desktop/images/17022025/00/18/image_17022025_00_18_14_9783.jpg
/home/nano/Desktop/images/17022025/00/17/image_17022025_00_18_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338100817","1338100939","1338100816","1338100851","1338100818","1338100889"],"photo_ids_order":["1338100816","1338100817","1338100818","1338100851","1338100889","1338100939"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fcd7a93af942657a1ed50d1ab8c06b3b.jpg","text":"TemporaryFile(/tmp/multipartBody8343971448520940866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747973964,"filename":"image_17022025_00_18_44_10804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eee1cfca18748534dc07132959fc8a5f.jpg","text":"TemporaryFile(/tmp/multipartBody811130532491320322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747973964,"filename":"image_17022025_00_18_04_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f68307dad6a5a626a3c4a9b7c2251e93.jpg","text":"TemporaryFile(/tmp/multipartBody3579543845878833766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747973964,"filename":"image_17022025_00_18_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4fc2d20faba05dc1b1258e70d3b8270.jpg","text":"TemporaryFile(/tmp/multipartBody1704305001852972562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747973964,"filename":"image_17022025_00_18_24_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b63a037aebda5f4595686aa6569bd2c.jpg","text":"TemporaryFile(/tmp/multipartBody4165624046707357318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747973964,"filename":"image_17022025_00_18_34_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/09b38e8a651b3d49b26623933d38ec6d.jpg","text":"TemporaryFile(/tmp/multipartBody7215562527654886531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739747973964,"filename":"image_17022025_00_18_14_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338100818","file1":"1338100817","file0":"1338100816","file4":"1338100889","file5":"1338100939","file3":"1338100851"},"map_files_photo_id_array":[{"photo_id":"1338100939","filename":"file5"},{"photo_id":"1338100818","filename":"file2"},{"photo_id":"1338100889","filename":"file4"},{"photo_id":"1338100817","filename":"file1"},{"photo_id":"1338100816","filename":"file0"},{"photo_id":"1338100851","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338100817":["hashtag1","hashtag2"]},{"1338100939":["hashtag1","hashtag2"]},{"1338100816":["hashtag1","hashtag2"]},{"1338100851":["hashtag1","hashtag2"]},{"1338100818":["hashtag1","hashtag2"]},{"1338100889":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338100817, 1338100939, 1338100816, 1338100851, 1338100818, 1338100889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.206544399261475 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:19:32.203715
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_34_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_24_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_14_9780.jpg', 0), ('/home/nano/Desktop/images/17022025/00/18/image_17022025_00_19_04_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_54_9773.jpg', '/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_44_9775.jpg', '/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_34_9779.jpg', '/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_24_10786.jpg', '/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_14_9780.jpg', '/home/nano/Desktop/images/17022025/00/18/image_17022025_00_19_04_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_54_9773.jpg
/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_44_9775.jpg
/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_34_9779.jpg
/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_24_10786.jpg
/home/nano/Desktop/images/17022025/00/19/image_17022025_00_19_14_9780.jpg
/home/nano/Desktop/images/17022025/00/18/image_17022025_00_19_04_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338101606","1338101605","1338101608","1338101604","1338101607","1338101609"],"photo_ids_order":["1338101604","1338101605","1338101606","1338101607","1338101608","1338101609"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7e1a38f8f3cc2a73d1a9b787a12376c0.jpg","text":"TemporaryFile(/tmp/multipartBody5484973222435371848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748033624,"filename":"image_17022025_00_19_34_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05691c06550a6986e0d1a1b8590bc57a.jpg","text":"TemporaryFile(/tmp/multipartBody7997078858927714261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748033624,"filename":"image_17022025_00_19_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49223fb14e68a59dc61ed48f05fd265d.jpg","text":"TemporaryFile(/tmp/multipartBody6877384489453939837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748033624,"filename":"image_17022025_00_19_14_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/63943ea2e05541bb86d14217f221e8cb.jpg","text":"TemporaryFile(/tmp/multipartBody8163841587014989267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748033624,"filename":"image_17022025_00_19_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6de37a15b1477101fb7a353273d60066.jpg","text":"TemporaryFile(/tmp/multipartBody3601438583736844899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748033624,"filename":"image_17022025_00_19_24_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a917771f92955cb3fddf0adaa9e4e406.jpg","text":"TemporaryFile(/tmp/multipartBody8505751731698361131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748033624,"filename":"image_17022025_00_19_04_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338101606","file1":"1338101605","file0":"1338101604","file4":"1338101608","file5":"1338101609","file3":"1338101607"},"map_files_photo_id_array":[{"photo_id":"1338101609","filename":"file5"},{"photo_id":"1338101606","filename":"file2"},{"photo_id":"1338101608","filename":"file4"},{"photo_id":"1338101605","filename":"file1"},{"photo_id":"1338101604","filename":"file0"},{"photo_id":"1338101607","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338101606":["hashtag1","hashtag2"]},{"1338101605":["hashtag1","hashtag2"]},{"1338101608":["hashtag1","hashtag2"]},{"1338101604":["hashtag1","hashtag2"]},{"1338101607":["hashtag1","hashtag2"]},{"1338101609":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338101606, 1338101605, 1338101608, 1338101604, 1338101607, 1338101609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16738724708557 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:20:32.308215
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_54_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_44_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_24_9798.jpg', 0), ('/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_14_10894.jpg', 0), ('/home/nano/Desktop/images/17022025/00/19/image_17022025_00_20_04_9777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_54_9793.jpg', '/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_44_9777.jpg', '/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_34_9773.jpg', '/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_24_9798.jpg', '/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_14_10894.jpg', '/home/nano/Desktop/images/17022025/00/19/image_17022025_00_20_04_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_54_9793.jpg
/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_44_9777.jpg
/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_34_9773.jpg
/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_24_9798.jpg
/home/nano/Desktop/images/17022025/00/20/image_17022025_00_20_14_10894.jpg
/home/nano/Desktop/images/17022025/00/19/image_17022025_00_20_04_9777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338101950","1338101905","1338101949","1338101916","1338101948","1338101906"],"photo_ids_order":["1338101905","1338101906","1338101916","1338101948","1338101949","1338101950"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bfbae67d7c60fdc4e45f9c0ce33685ba.jpg","text":"TemporaryFile(/tmp/multipartBody6827361216708918984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748094518,"filename":"image_17022025_00_20_04_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d695d2d995e58481555e7193622d7f7.jpg","text":"TemporaryFile(/tmp/multipartBody1549552721329181735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748094518,"filename":"image_17022025_00_20_54_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2716e6f983edf9abf4a89db76418666d.jpg","text":"TemporaryFile(/tmp/multipartBody2754953758441391039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748094518,"filename":"image_17022025_00_20_14_10894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3169240fd667786be3287f48ccc4351.jpg","text":"TemporaryFile(/tmp/multipartBody6996013941956740259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748094518,"filename":"image_17022025_00_20_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82b893f36cd68709e4246713d23ab112.jpg","text":"TemporaryFile(/tmp/multipartBody5521459662501304110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748094518,"filename":"image_17022025_00_20_24_9798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6162418ab5aba9066bf4b515c99ad01f.jpg","text":"TemporaryFile(/tmp/multipartBody2540244630067056240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748094518,"filename":"image_17022025_00_20_44_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338101916","file1":"1338101906","file0":"1338101905","file4":"1338101949","file5":"1338101950","file3":"1338101948"},"map_files_photo_id_array":[{"photo_id":"1338101950","filename":"file5"},{"photo_id":"1338101916","filename":"file2"},{"photo_id":"1338101949","filename":"file4"},{"photo_id":"1338101906","filename":"file1"},{"photo_id":"1338101905","filename":"file0"},{"photo_id":"1338101948","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338101950":["hashtag1","hashtag2"]},{"1338101905":["hashtag1","hashtag2"]},{"1338101949":["hashtag1","hashtag2"]},{"1338101916":["hashtag1","hashtag2"]},{"1338101948":["hashtag1","hashtag2"]},{"1338101906":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338101950, 1338101905, 1338101949, 1338101916, 1338101948, 1338101906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41617941856384 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:21:32.384650
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_54_10801.jpg', 0), ('/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_34_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_14_9805.jpg', 0), ('/home/nano/Desktop/images/17022025/00/20/image_17022025_00_21_04_10792.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_54_10801.jpg', '/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_44_9775.jpg', '/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_34_9777.jpg', '/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_24_9775.jpg', '/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_14_9805.jpg', '/home/nano/Desktop/images/17022025/00/20/image_17022025_00_21_04_10792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_54_10801.jpg
/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_44_9775.jpg
/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_34_9777.jpg
/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_24_9775.jpg
/home/nano/Desktop/images/17022025/00/21/image_17022025_00_21_14_9805.jpg
/home/nano/Desktop/images/17022025/00/20/image_17022025_00_21_04_10792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338101953","1338102231","1338102027","1338101952","1338102230","1338101951"],"photo_ids_order":["1338101951","1338101952","1338101953","1338102027","1338102230","1338102231"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/538f13f39494af26e9e1b31a53d7eaaa.jpg","text":"TemporaryFile(/tmp/multipartBody2984624098360339181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748153569,"filename":"image_17022025_00_21_34_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/66f2c72b17a9e617f179b43c7cf8c46a.jpg","text":"TemporaryFile(/tmp/multipartBody2669924477849309703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748153569,"filename":"image_17022025_00_21_04_10792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a45d01ceb90d4f324c87464ced1a17a0.jpg","text":"TemporaryFile(/tmp/multipartBody896658296053972216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748153569,"filename":"image_17022025_00_21_24_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd8e68d5d5adc801472976dc61a7ca16.jpg","text":"TemporaryFile(/tmp/multipartBody2709810231374134596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748153569,"filename":"image_17022025_00_21_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b854be439b63a8518187fd95817ab4a.jpg","text":"TemporaryFile(/tmp/multipartBody8429651883979725368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748153569,"filename":"image_17022025_00_21_14_9805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b019176af8443e5948a0117539422c3.jpg","text":"TemporaryFile(/tmp/multipartBody8159572059354514294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748153569,"filename":"image_17022025_00_21_54_10801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338101953","file1":"1338101952","file0":"1338101951","file4":"1338102230","file5":"1338102231","file3":"1338102027"},"map_files_photo_id_array":[{"photo_id":"1338102231","filename":"file5"},{"photo_id":"1338101953","filename":"file2"},{"photo_id":"1338102230","filename":"file4"},{"photo_id":"1338101952","filename":"file1"},{"photo_id":"1338101951","filename":"file0"},{"photo_id":"1338102027","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338101953":["hashtag1","hashtag2"]},{"1338102231":["hashtag1","hashtag2"]},{"1338102027":["hashtag1","hashtag2"]},{"1338101952":["hashtag1","hashtag2"]},{"1338102230":["hashtag1","hashtag2"]},{"1338101951":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338101953, 1338102231, 1338102027, 1338101952, 1338102230, 1338101951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.415813207626343 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:22:32.484144
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_54_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_44_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_33_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_14_9801.jpg', 0), ('/home/nano/Desktop/images/17022025/00/21/image_17022025_00_22_04_9781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_54_9795.jpg', '/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_44_10786.jpg', '/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_33_9795.jpg', '/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_24_9774.jpg', '/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_14_9801.jpg', '/home/nano/Desktop/images/17022025/00/21/image_17022025_00_22_04_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_54_9795.jpg
/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_44_10786.jpg
/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_33_9795.jpg
/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_24_9774.jpg
/home/nano/Desktop/images/17022025/00/22/image_17022025_00_22_14_9801.jpg
/home/nano/Desktop/images/17022025/00/21/image_17022025_00_22_04_9781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102232","1338102235","1338102234","1338102237","1338102233","1338102236"],"photo_ids_order":["1338102232","1338102233","1338102234","1338102235","1338102236","1338102237"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ead03e97061d0c18b8474e7e21cdf9f0.jpg","text":"TemporaryFile(/tmp/multipartBody8968517263081652640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748214613,"filename":"image_17022025_00_22_54_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c01e0c17113bfdb06a4228786c19004.jpg","text":"TemporaryFile(/tmp/multipartBody4814459715235069554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748214613,"filename":"image_17022025_00_22_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79df573eb0f7b822b026781e56244b58.jpg","text":"TemporaryFile(/tmp/multipartBody4082886252629992064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748214613,"filename":"image_17022025_00_22_33_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ee1df67f9d726a0517f76f9ea74ffca.jpg","text":"TemporaryFile(/tmp/multipartBody4182878824725261042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748214613,"filename":"image_17022025_00_22_04_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/935ab33f182e77889f406e962f67ce6c.jpg","text":"TemporaryFile(/tmp/multipartBody413627870214299851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748214613,"filename":"image_17022025_00_22_44_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e5fbb08d8bf0bd0e6bc1beefcdb3a8c.jpg","text":"TemporaryFile(/tmp/multipartBody2853028463117496900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748214613,"filename":"image_17022025_00_22_14_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102234","file1":"1338102233","file0":"1338102232","file4":"1338102236","file5":"1338102237","file3":"1338102235"},"map_files_photo_id_array":[{"photo_id":"1338102237","filename":"file5"},{"photo_id":"1338102234","filename":"file2"},{"photo_id":"1338102236","filename":"file4"},{"photo_id":"1338102233","filename":"file1"},{"photo_id":"1338102232","filename":"file0"},{"photo_id":"1338102235","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102232":["hashtag1","hashtag2"]},{"1338102235":["hashtag1","hashtag2"]},{"1338102234":["hashtag1","hashtag2"]},{"1338102237":["hashtag1","hashtag2"]},{"1338102233":["hashtag1","hashtag2"]},{"1338102236":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102232, 1338102235, 1338102234, 1338102237, 1338102233, 1338102236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66211271286011 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:23:32.556990
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_24_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_14_9780.jpg', 0), ('/home/nano/Desktop/images/17022025/00/22/image_17022025_00_23_04_9802.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_54_9774.jpg', '/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_44_9775.jpg', '/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_34_9773.jpg', '/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_24_10782.jpg', '/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_14_9780.jpg', '/home/nano/Desktop/images/17022025/00/22/image_17022025_00_23_04_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_54_9774.jpg
/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_44_9775.jpg
/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_34_9773.jpg
/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_24_10782.jpg
/home/nano/Desktop/images/17022025/00/23/image_17022025_00_23_14_9780.jpg
/home/nano/Desktop/images/17022025/00/22/image_17022025_00_23_04_9802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102238","1338102240","1338102243","1338102242","1338102239","1338102241"],"photo_ids_order":["1338102238","1338102239","1338102240","1338102241","1338102242","1338102243"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c585d9be7d27fe1d5d765c74e6667d2.jpg","text":"TemporaryFile(/tmp/multipartBody2255174837885728418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748274190,"filename":"image_17022025_00_23_54_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efb9da4ff3333905c7a6bdfa26460890.jpg","text":"TemporaryFile(/tmp/multipartBody8808467867178450677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748274190,"filename":"image_17022025_00_23_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e277a57f8c924c8410172cd2d3fd3b44.jpg","text":"TemporaryFile(/tmp/multipartBody1943882005752277211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748274190,"filename":"image_17022025_00_23_04_9802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df3c655fa176b052ea3a021b4b2a57b6.jpg","text":"TemporaryFile(/tmp/multipartBody8765549419044357116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748274190,"filename":"image_17022025_00_23_14_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d3a12deab562a262650920d397306ce1.jpg","text":"TemporaryFile(/tmp/multipartBody789008409684278766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748274190,"filename":"image_17022025_00_23_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3073a911424297ad85d13cdb87e8a914.jpg","text":"TemporaryFile(/tmp/multipartBody5891022441414895509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748274190,"filename":"image_17022025_00_23_24_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102240","file1":"1338102239","file0":"1338102238","file4":"1338102242","file5":"1338102243","file3":"1338102241"},"map_files_photo_id_array":[{"photo_id":"1338102243","filename":"file5"},{"photo_id":"1338102240","filename":"file2"},{"photo_id":"1338102242","filename":"file4"},{"photo_id":"1338102239","filename":"file1"},{"photo_id":"1338102238","filename":"file0"},{"photo_id":"1338102241","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102238":["hashtag1","hashtag2"]},{"1338102240":["hashtag1","hashtag2"]},{"1338102243":["hashtag1","hashtag2"]},{"1338102242":["hashtag1","hashtag2"]},{"1338102239":["hashtag1","hashtag2"]},{"1338102241":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102238, 1338102240, 1338102243, 1338102242, 1338102239, 1338102241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18020844459534 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:24:32.672554
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_54_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_34_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_14_10787.jpg', 0), ('/home/nano/Desktop/images/17022025/00/23/image_17022025_00_24_04_9787.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_54_10786.jpg', '/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_44_9773.jpg', '/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_34_9793.jpg', '/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_24_9773.jpg', '/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_14_10787.jpg', '/home/nano/Desktop/images/17022025/00/23/image_17022025_00_24_04_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_54_10786.jpg
/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_44_9773.jpg
/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_34_9793.jpg
/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_24_9773.jpg
/home/nano/Desktop/images/17022025/00/24/image_17022025_00_24_14_10787.jpg
/home/nano/Desktop/images/17022025/00/23/image_17022025_00_24_04_9787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102244","1338102247","1338102249","1338102246","1338102245","1338102248"],"photo_ids_order":["1338102244","1338102245","1338102246","1338102247","1338102248","1338102249"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19f478cfd2e27f249c766143058017f5.jpg","text":"TemporaryFile(/tmp/multipartBody6022200270956477517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748334167,"filename":"image_17022025_00_24_54_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/73ea240cd8a66c84411f6a107b6988a4.jpg","text":"TemporaryFile(/tmp/multipartBody3941215221609490753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748334167,"filename":"image_17022025_00_24_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16c1519fac57178d79916e377da773a5.jpg","text":"TemporaryFile(/tmp/multipartBody6917984781690104299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748334167,"filename":"image_17022025_00_24_04_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ba80033ef3a27af3e01c8606a1a84d1.jpg","text":"TemporaryFile(/tmp/multipartBody5770279378099051645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748334167,"filename":"image_17022025_00_24_34_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ada8f7c4b70d9852cefb82994f5edf1.jpg","text":"TemporaryFile(/tmp/multipartBody8006646679975852440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748334167,"filename":"image_17022025_00_24_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3162cbcf8dab40d988131c82fde72d45.jpg","text":"TemporaryFile(/tmp/multipartBody1209317418679173324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748334167,"filename":"image_17022025_00_24_14_10787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102246","file1":"1338102245","file0":"1338102244","file4":"1338102248","file5":"1338102249","file3":"1338102247"},"map_files_photo_id_array":[{"photo_id":"1338102249","filename":"file5"},{"photo_id":"1338102246","filename":"file2"},{"photo_id":"1338102248","filename":"file4"},{"photo_id":"1338102245","filename":"file1"},{"photo_id":"1338102244","filename":"file0"},{"photo_id":"1338102247","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102244":["hashtag1","hashtag2"]},{"1338102247":["hashtag1","hashtag2"]},{"1338102249":["hashtag1","hashtag2"]},{"1338102246":["hashtag1","hashtag2"]},{"1338102245":["hashtag1","hashtag2"]},{"1338102248":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102244, 1338102247, 1338102249, 1338102246, 1338102245, 1338102248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02553701400757 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:25:31.781821
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_44_10798.jpg', 0), ('/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_14_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/24/image_17022025_00_25_04_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_54_9773.jpg', '/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_44_10798.jpg', '/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_34_9771.jpg', '/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_24_9773.jpg', '/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_14_9774.jpg', '/home/nano/Desktop/images/17022025/00/24/image_17022025_00_25_04_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_54_9773.jpg
/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_44_10798.jpg
/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_34_9771.jpg
/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_24_9773.jpg
/home/nano/Desktop/images/17022025/00/25/image_17022025_00_25_14_9774.jpg
/home/nano/Desktop/images/17022025/00/24/image_17022025_00_25_04_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102250","1338102253","1338102252","1338102255","1338102251","1338102254"],"photo_ids_order":["1338102250","1338102251","1338102252","1338102253","1338102254","1338102255"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60f2cd16ccd838233d768453be85471b.jpg","text":"TemporaryFile(/tmp/multipartBody4923165167439276365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748393632,"filename":"image_17022025_00_25_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59ebb3e59cc368cdba4b4b4440deeb56.jpg","text":"TemporaryFile(/tmp/multipartBody4669664015279729607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748393632,"filename":"image_17022025_00_25_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0eb25f074cec264e839a3cb66232ef88.jpg","text":"TemporaryFile(/tmp/multipartBody1861117977140710412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748393632,"filename":"image_17022025_00_25_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a0549156cae7a70b3c14a9b8f7c75f4.jpg","text":"TemporaryFile(/tmp/multipartBody2903787418192355833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748393632,"filename":"image_17022025_00_25_04_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c68385d27d91ffa729321ca977e6b5a1.jpg","text":"TemporaryFile(/tmp/multipartBody6297338643448725470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748393632,"filename":"image_17022025_00_25_44_10798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e2aa5b28658781e8dbc1223874e8d596.jpg","text":"TemporaryFile(/tmp/multipartBody936570138762360414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748393632,"filename":"image_17022025_00_25_14_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102252","file1":"1338102251","file0":"1338102250","file4":"1338102254","file5":"1338102255","file3":"1338102253"},"map_files_photo_id_array":[{"photo_id":"1338102255","filename":"file5"},{"photo_id":"1338102252","filename":"file2"},{"photo_id":"1338102254","filename":"file4"},{"photo_id":"1338102251","filename":"file1"},{"photo_id":"1338102250","filename":"file0"},{"photo_id":"1338102253","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102250":["hashtag1","hashtag2"]},{"1338102253":["hashtag1","hashtag2"]},{"1338102252":["hashtag1","hashtag2"]},{"1338102255":["hashtag1","hashtag2"]},{"1338102251":["hashtag1","hashtag2"]},{"1338102254":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102250, 1338102253, 1338102252, 1338102255, 1338102251, 1338102254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.562992811203003 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:26:31.877629
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_44_9792.jpg', 0), ('/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_34_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_23_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_14_9808.jpg', 0), ('/home/nano/Desktop/images/17022025/00/25/image_17022025_00_26_04_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_54_9773.jpg', '/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_44_9792.jpg', '/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_34_10783.jpg', '/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_23_9773.jpg', '/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_14_9808.jpg', '/home/nano/Desktop/images/17022025/00/25/image_17022025_00_26_04_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_54_9773.jpg
/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_44_9792.jpg
/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_34_10783.jpg
/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_23_9773.jpg
/home/nano/Desktop/images/17022025/00/26/image_17022025_00_26_14_9808.jpg
/home/nano/Desktop/images/17022025/00/25/image_17022025_00_26_04_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102259","1338102261","1338102258","1338102260","1338102257","1338102256"],"photo_ids_order":["1338102256","1338102257","1338102258","1338102259","1338102260","1338102261"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5628f428a82ac76071e0b40026c101a7.jpg","text":"TemporaryFile(/tmp/multipartBody957727516944964150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748453218,"filename":"image_17022025_00_26_23_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/978785c44766deb4b477374f27168879.jpg","text":"TemporaryFile(/tmp/multipartBody1420884562111345895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748453218,"filename":"image_17022025_00_26_04_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f16b0b41e70f7af52282858aa82821f9.jpg","text":"TemporaryFile(/tmp/multipartBody7766849251816779246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748453218,"filename":"image_17022025_00_26_34_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/25e02f329e73c6c35039e0f2901e2290.jpg","text":"TemporaryFile(/tmp/multipartBody5723803500414634544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748453218,"filename":"image_17022025_00_26_14_9808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f45f6d94a7cd916452f2d1110dbc5229.jpg","text":"TemporaryFile(/tmp/multipartBody1926663187632612452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748453218,"filename":"image_17022025_00_26_44_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81752a16f7778d7a45ffb36d57c54c66.jpg","text":"TemporaryFile(/tmp/multipartBody1799586602377972962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748453218,"filename":"image_17022025_00_26_54_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102258","file1":"1338102257","file0":"1338102256","file4":"1338102260","file5":"1338102261","file3":"1338102259"},"map_files_photo_id_array":[{"photo_id":"1338102261","filename":"file5"},{"photo_id":"1338102258","filename":"file2"},{"photo_id":"1338102260","filename":"file4"},{"photo_id":"1338102257","filename":"file1"},{"photo_id":"1338102256","filename":"file0"},{"photo_id":"1338102259","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102259":["hashtag1","hashtag2"]},{"1338102261":["hashtag1","hashtag2"]},{"1338102258":["hashtag1","hashtag2"]},{"1338102260":["hashtag1","hashtag2"]},{"1338102257":["hashtag1","hashtag2"]},{"1338102256":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102259, 1338102261, 1338102258, 1338102260, 1338102257, 1338102256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31864023208618 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:27:32.003060
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_34_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_24_9796.jpg', 0), ('/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_14_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/26/image_17022025_00_27_04_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_54_9775.jpg', '/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_44_9771.jpg', '/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_34_9777.jpg', '/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_24_9796.jpg', '/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_14_10786.jpg', '/home/nano/Desktop/images/17022025/00/26/image_17022025_00_27_04_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_54_9775.jpg
/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_44_9771.jpg
/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_34_9777.jpg
/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_24_9796.jpg
/home/nano/Desktop/images/17022025/00/27/image_17022025_00_27_14_10786.jpg
/home/nano/Desktop/images/17022025/00/26/image_17022025_00_27_04_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102265","1338102267","1338102264","1338102263","1338102266","1338102262"],"photo_ids_order":["1338102262","1338102263","1338102264","1338102265","1338102266","1338102267"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97dc501e73f8f7df16a2ec8209c2a0ff.jpg","text":"TemporaryFile(/tmp/multipartBody393281222561348859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748513270,"filename":"image_17022025_00_27_24_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6b03f9f9c414c1a17bb89e33af40702a.jpg","text":"TemporaryFile(/tmp/multipartBody8417217927136063328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748513270,"filename":"image_17022025_00_27_04_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b58da412a469127b80f9437f985135a.jpg","text":"TemporaryFile(/tmp/multipartBody8228084876454742951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748513270,"filename":"image_17022025_00_27_34_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/96c99b5337d55c96e650b5eb7dddf90f.jpg","text":"TemporaryFile(/tmp/multipartBody5297161130106797533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748513270,"filename":"image_17022025_00_27_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb7abbcceaae31b547738def0b385085.jpg","text":"TemporaryFile(/tmp/multipartBody4054774436384304558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748513270,"filename":"image_17022025_00_27_14_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40978ee425b49ced58f7841408a7dbe0.jpg","text":"TemporaryFile(/tmp/multipartBody3878449711850411943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748513270,"filename":"image_17022025_00_27_54_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102264","file1":"1338102263","file0":"1338102262","file4":"1338102266","file5":"1338102267","file3":"1338102265"},"map_files_photo_id_array":[{"photo_id":"1338102267","filename":"file5"},{"photo_id":"1338102264","filename":"file2"},{"photo_id":"1338102266","filename":"file4"},{"photo_id":"1338102263","filename":"file1"},{"photo_id":"1338102262","filename":"file0"},{"photo_id":"1338102265","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102265":["hashtag1","hashtag2"]},{"1338102267":["hashtag1","hashtag2"]},{"1338102264":["hashtag1","hashtag2"]},{"1338102263":["hashtag1","hashtag2"]},{"1338102266":["hashtag1","hashtag2"]},{"1338102262":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102265, 1338102267, 1338102264, 1338102263, 1338102266, 1338102262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.216241121292114 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:28:32.101738
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_54_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_44_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_14_9805.jpg', 0), ('/home/nano/Desktop/images/17022025/00/27/image_17022025_00_28_04_10797.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_54_9777.jpg', '/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_44_10786.jpg', '/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_34_9775.jpg', '/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_24_9775.jpg', '/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_14_9805.jpg', '/home/nano/Desktop/images/17022025/00/27/image_17022025_00_28_04_10797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_54_9777.jpg
/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_44_10786.jpg
/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_34_9775.jpg
/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_24_9775.jpg
/home/nano/Desktop/images/17022025/00/28/image_17022025_00_28_14_9805.jpg
/home/nano/Desktop/images/17022025/00/27/image_17022025_00_28_04_10797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102271","1338102270","1338102273","1338102272","1338102269","1338102268"],"photo_ids_order":["1338102268","1338102269","1338102270","1338102271","1338102272","1338102273"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/963dd8ef0335938997a1f968e0bea563.jpg","text":"TemporaryFile(/tmp/multipartBody724879166017829115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748573857,"filename":"image_17022025_00_28_24_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a32b6c43be72ded6e4a131dbc66a4fd1.jpg","text":"TemporaryFile(/tmp/multipartBody6379356029997656002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748573857,"filename":"image_17022025_00_28_34_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6359310b851e9e6723f4c81478b74b21.jpg","text":"TemporaryFile(/tmp/multipartBody6528442562099654136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748573857,"filename":"image_17022025_00_28_04_10797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/946ab5a10a726316b12e213edff2caf8.jpg","text":"TemporaryFile(/tmp/multipartBody2625360188221341733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748573857,"filename":"image_17022025_00_28_14_9805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efa916e4b4c717473a790f23a66ac05d.jpg","text":"TemporaryFile(/tmp/multipartBody7385218230406741271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748573857,"filename":"image_17022025_00_28_44_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8fc9229ba0ab381ceaaae83cfdb3a976.jpg","text":"TemporaryFile(/tmp/multipartBody7031281761893016863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748573857,"filename":"image_17022025_00_28_54_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102270","file1":"1338102269","file0":"1338102268","file4":"1338102272","file5":"1338102273","file3":"1338102271"},"map_files_photo_id_array":[{"photo_id":"1338102273","filename":"file5"},{"photo_id":"1338102270","filename":"file2"},{"photo_id":"1338102272","filename":"file4"},{"photo_id":"1338102269","filename":"file1"},{"photo_id":"1338102268","filename":"file0"},{"photo_id":"1338102271","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102271":["hashtag1","hashtag2"]},{"1338102270":["hashtag1","hashtag2"]},{"1338102273":["hashtag1","hashtag2"]},{"1338102272":["hashtag1","hashtag2"]},{"1338102269":["hashtag1","hashtag2"]},{"1338102268":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102271, 1338102270, 1338102273, 1338102272, 1338102269, 1338102268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01059913635254 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:29:32.314826
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_54_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_34_10787.jpg', 0), ('/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_14_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/00/28/image_17022025_00_29_04_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_54_9778.jpg', '/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_44_9774.jpg', '/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_34_10787.jpg', '/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_24_9774.jpg', '/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_14_9779.jpg', '/home/nano/Desktop/images/17022025/00/28/image_17022025_00_29_04_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_54_9778.jpg
/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_44_9774.jpg
/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_34_10787.jpg
/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_24_9774.jpg
/home/nano/Desktop/images/17022025/00/29/image_17022025_00_29_14_9779.jpg
/home/nano/Desktop/images/17022025/00/28/image_17022025_00_29_04_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102276","1338102281","1338102278","1338102280","1338102283","1338102277"],"photo_ids_order":["1338102276","1338102277","1338102278","1338102280","1338102281","1338102283"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc3c961b163e51e7181548ebc03e482f.jpg","text":"TemporaryFile(/tmp/multipartBody7306482563835858605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748633889,"filename":"image_17022025_00_29_54_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2375e5b02111838d102264a5673190e9.jpg","text":"TemporaryFile(/tmp/multipartBody4068547438837315609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748633889,"filename":"image_17022025_00_29_14_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c257bcf593548f13bf8e09b7045bad36.jpg","text":"TemporaryFile(/tmp/multipartBody5047417364763895259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748633889,"filename":"image_17022025_00_29_34_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be6c7057be62e720c502378e15567ccb.jpg","text":"TemporaryFile(/tmp/multipartBody5532240455581835864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748633889,"filename":"image_17022025_00_29_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6092b494fccc51485f3a829a820b8df0.jpg","text":"TemporaryFile(/tmp/multipartBody978020781654412321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748633889,"filename":"image_17022025_00_29_04_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ea8ec13dd3749bcb63946246cea5c9c.jpg","text":"TemporaryFile(/tmp/multipartBody2055583814217148753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748633889,"filename":"image_17022025_00_29_44_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102278","file1":"1338102277","file0":"1338102276","file4":"1338102281","file5":"1338102283","file3":"1338102280"},"map_files_photo_id_array":[{"photo_id":"1338102283","filename":"file5"},{"photo_id":"1338102278","filename":"file2"},{"photo_id":"1338102281","filename":"file4"},{"photo_id":"1338102277","filename":"file1"},{"photo_id":"1338102276","filename":"file0"},{"photo_id":"1338102280","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102276":["hashtag1","hashtag2"]},{"1338102281":["hashtag1","hashtag2"]},{"1338102278":["hashtag1","hashtag2"]},{"1338102280":["hashtag1","hashtag2"]},{"1338102283":["hashtag1","hashtag2"]},{"1338102277":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102276, 1338102281, 1338102278, 1338102280, 1338102283, 1338102277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57363438606262 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:30:32.426462
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_34_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_24_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_13_9787.jpg', 0), ('/home/nano/Desktop/images/17022025/00/29/image_17022025_00_30_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_54_9775.jpg', '/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_44_9773.jpg', '/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_34_9776.jpg', '/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_24_10785.jpg', '/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_13_9787.jpg', '/home/nano/Desktop/images/17022025/00/29/image_17022025_00_30_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_54_9775.jpg
/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_44_9773.jpg
/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_34_9776.jpg
/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_24_10785.jpg
/home/nano/Desktop/images/17022025/00/30/image_17022025_00_30_13_9787.jpg
/home/nano/Desktop/images/17022025/00/29/image_17022025_00_30_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102412","1338102415","1338102414","1338102417","1338102413","1338102416"],"photo_ids_order":["1338102412","1338102413","1338102414","1338102415","1338102416","1338102417"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee25d29ce86ba5977a29624aacd40b41.jpg","text":"TemporaryFile(/tmp/multipartBody4449530224270669295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748694001,"filename":"image_17022025_00_30_54_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f7cf67fbe3bd509f9c135d0ea777ea6.jpg","text":"TemporaryFile(/tmp/multipartBody4025379374364287687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748694001,"filename":"image_17022025_00_30_24_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cfe592e81c1c345add02d5e464ca4ace.jpg","text":"TemporaryFile(/tmp/multipartBody9051339504966022532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748694001,"filename":"image_17022025_00_30_34_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6069f7ac1585280803db54ffb249ba80.jpg","text":"TemporaryFile(/tmp/multipartBody162842784397519980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748694001,"filename":"image_17022025_00_30_04_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4360b63f09d117aa7c9c76b5f941937.jpg","text":"TemporaryFile(/tmp/multipartBody3159111169788264814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748694001,"filename":"image_17022025_00_30_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7528f67578b05feb5dd1162ff715e7b2.jpg","text":"TemporaryFile(/tmp/multipartBody2972175444506274859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748694001,"filename":"image_17022025_00_30_13_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102414","file1":"1338102413","file0":"1338102412","file4":"1338102416","file5":"1338102417","file3":"1338102415"},"map_files_photo_id_array":[{"photo_id":"1338102417","filename":"file5"},{"photo_id":"1338102414","filename":"file2"},{"photo_id":"1338102416","filename":"file4"},{"photo_id":"1338102413","filename":"file1"},{"photo_id":"1338102412","filename":"file0"},{"photo_id":"1338102415","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102412":["hashtag1","hashtag2"]},{"1338102415":["hashtag1","hashtag2"]},{"1338102414":["hashtag1","hashtag2"]},{"1338102417":["hashtag1","hashtag2"]},{"1338102413":["hashtag1","hashtag2"]},{"1338102416":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102412, 1338102415, 1338102414, 1338102417, 1338102413, 1338102416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7088565826416 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:31:32.533107
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_54_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_43_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_14_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/00/30/image_17022025_00_31_04_10786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_54_10781.jpg', '/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_43_9774.jpg', '/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_34_9775.jpg', '/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_24_9773.jpg', '/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_14_9778.jpg', '/home/nano/Desktop/images/17022025/00/30/image_17022025_00_31_04_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_54_10781.jpg
/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_43_9774.jpg
/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_34_9775.jpg
/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_24_9773.jpg
/home/nano/Desktop/images/17022025/00/31/image_17022025_00_31_14_9778.jpg
/home/nano/Desktop/images/17022025/00/30/image_17022025_00_31_04_10786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102421","1338102418","1338102420","1338102423","1338102419","1338102422"],"photo_ids_order":["1338102418","1338102419","1338102420","1338102421","1338102422","1338102423"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53eb0e55e8cc00e3bda4a159bfc7cbae.jpg","text":"TemporaryFile(/tmp/multipartBody9034945016185602751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748754167,"filename":"image_17022025_00_31_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8109495955e45b2c6a04d88d28955e2c.jpg","text":"TemporaryFile(/tmp/multipartBody2855972982693715854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748754167,"filename":"image_17022025_00_31_54_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f84a1938c36e5360fb349a53d2d0edf.jpg","text":"TemporaryFile(/tmp/multipartBody5638208514050658756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748754167,"filename":"image_17022025_00_31_34_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1a259fe6fefdd579071ec8fa81607fef.jpg","text":"TemporaryFile(/tmp/multipartBody5832971874643518277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748754167,"filename":"image_17022025_00_31_04_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab05be98235f2198d832c07062b86880.jpg","text":"TemporaryFile(/tmp/multipartBody911044761305516379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748754167,"filename":"image_17022025_00_31_43_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fbca55a85bf1820ac2376d32725e6b1b.jpg","text":"TemporaryFile(/tmp/multipartBody5425881009956601367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748754167,"filename":"image_17022025_00_31_14_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102420","file1":"1338102419","file0":"1338102418","file4":"1338102422","file5":"1338102423","file3":"1338102421"},"map_files_photo_id_array":[{"photo_id":"1338102423","filename":"file5"},{"photo_id":"1338102420","filename":"file2"},{"photo_id":"1338102422","filename":"file4"},{"photo_id":"1338102419","filename":"file1"},{"photo_id":"1338102418","filename":"file0"},{"photo_id":"1338102421","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102421":["hashtag1","hashtag2"]},{"1338102418":["hashtag1","hashtag2"]},{"1338102420":["hashtag1","hashtag2"]},{"1338102423":["hashtag1","hashtag2"]},{"1338102419":["hashtag1","hashtag2"]},{"1338102422":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102421, 1338102418, 1338102420, 1338102423, 1338102419, 1338102422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40516018867493 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:32:32.640499
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_54_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_44_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_34_10805.jpg', 0), ('/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/31/image_17022025_00_32_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_54_9791.jpg', '/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_44_9795.jpg', '/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_34_10805.jpg', '/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_24_9773.jpg', '/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_14_9777.jpg', '/home/nano/Desktop/images/17022025/00/31/image_17022025_00_32_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_54_9791.jpg
/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_44_9795.jpg
/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_34_10805.jpg
/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_24_9773.jpg
/home/nano/Desktop/images/17022025/00/32/image_17022025_00_32_14_9777.jpg
/home/nano/Desktop/images/17022025/00/31/image_17022025_00_32_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102424","1338102427","1338102429","1338102426","1338102425","1338102428"],"photo_ids_order":["1338102424","1338102425","1338102426","1338102427","1338102428","1338102429"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9da4e51475ad24cfb92aa60b386815d9.jpg","text":"TemporaryFile(/tmp/multipartBody6122437067962031300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748814199,"filename":"image_17022025_00_32_54_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77e35d1425fb22b5e7a11847b924d65c.jpg","text":"TemporaryFile(/tmp/multipartBody7727821153286408860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748814199,"filename":"image_17022025_00_32_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38f2128443f2ea51082a735123485617.jpg","text":"TemporaryFile(/tmp/multipartBody371462490832481857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748814199,"filename":"image_17022025_00_32_04_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/52f73a162c4aab9f963e47ecdcf813b4.jpg","text":"TemporaryFile(/tmp/multipartBody4618460409951568874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748814199,"filename":"image_17022025_00_32_34_10805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e8cdfe1712203cf17e711051d427d24.jpg","text":"TemporaryFile(/tmp/multipartBody1978448985752442166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748814199,"filename":"image_17022025_00_32_44_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d2161ab86b7c4aa351abcce6070fd4e.jpg","text":"TemporaryFile(/tmp/multipartBody4532282987857689273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748814199,"filename":"image_17022025_00_32_14_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102426","file1":"1338102425","file0":"1338102424","file4":"1338102428","file5":"1338102429","file3":"1338102427"},"map_files_photo_id_array":[{"photo_id":"1338102429","filename":"file5"},{"photo_id":"1338102426","filename":"file2"},{"photo_id":"1338102428","filename":"file4"},{"photo_id":"1338102425","filename":"file1"},{"photo_id":"1338102424","filename":"file0"},{"photo_id":"1338102427","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102424":["hashtag1","hashtag2"]},{"1338102427":["hashtag1","hashtag2"]},{"1338102429":["hashtag1","hashtag2"]},{"1338102426":["hashtag1","hashtag2"]},{"1338102425":["hashtag1","hashtag2"]},{"1338102428":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102424, 1338102427, 1338102429, 1338102426, 1338102425, 1338102428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25321078300476 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:33:32.746206
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_44_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_24_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_14_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/32/image_17022025_00_33_04_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_54_9773.jpg', '/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_44_9791.jpg', '/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_34_9773.jpg', '/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_24_10785.jpg', '/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_14_9774.jpg', '/home/nano/Desktop/images/17022025/00/32/image_17022025_00_33_04_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_54_9773.jpg
/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_44_9791.jpg
/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_34_9773.jpg
/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_24_10785.jpg
/home/nano/Desktop/images/17022025/00/33/image_17022025_00_33_14_9774.jpg
/home/nano/Desktop/images/17022025/00/32/image_17022025_00_33_04_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102430","1338102433","1338102432","1338102435","1338102431","1338102434"],"photo_ids_order":["1338102430","1338102431","1338102432","1338102433","1338102434","1338102435"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/35c43f5a57ad70aa107b86cae7964416.jpg","text":"TemporaryFile(/tmp/multipartBody743849628681561525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748874463,"filename":"image_17022025_00_33_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0efa26948fe2e78e59d6689e4e8a9a36.jpg","text":"TemporaryFile(/tmp/multipartBody6959910465807901939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748874463,"filename":"image_17022025_00_33_24_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff40164def698f3ea4958ca3ff1d5cfc.jpg","text":"TemporaryFile(/tmp/multipartBody3035397343431885896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748874463,"filename":"image_17022025_00_33_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5fc9d5811e7ed1c20b919e90c116233e.jpg","text":"TemporaryFile(/tmp/multipartBody107419776921415795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748874463,"filename":"image_17022025_00_33_04_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f09b4936da5324ba684f96fb50e1a1b9.jpg","text":"TemporaryFile(/tmp/multipartBody6103978248252054213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748874463,"filename":"image_17022025_00_33_44_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f81dfc81d00ebf574b979b09d7c9b943.jpg","text":"TemporaryFile(/tmp/multipartBody6442760577536179527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748874463,"filename":"image_17022025_00_33_14_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102432","file1":"1338102431","file0":"1338102430","file4":"1338102434","file5":"1338102435","file3":"1338102433"},"map_files_photo_id_array":[{"photo_id":"1338102435","filename":"file5"},{"photo_id":"1338102432","filename":"file2"},{"photo_id":"1338102434","filename":"file4"},{"photo_id":"1338102431","filename":"file1"},{"photo_id":"1338102430","filename":"file0"},{"photo_id":"1338102433","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102430":["hashtag1","hashtag2"]},{"1338102433":["hashtag1","hashtag2"]},{"1338102432":["hashtag1","hashtag2"]},{"1338102435":["hashtag1","hashtag2"]},{"1338102431":["hashtag1","hashtag2"]},{"1338102434":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102430, 1338102433, 1338102432, 1338102435, 1338102431, 1338102434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40309929847717 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:34:31.811159
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_54_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_14_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/33/image_17022025_00_34_04_10784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_54_10782.jpg', '/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_44_9773.jpg', '/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_34_9774.jpg', '/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_24_9774.jpg', '/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_14_9776.jpg', '/home/nano/Desktop/images/17022025/00/33/image_17022025_00_34_04_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_54_10782.jpg
/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_44_9773.jpg
/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_34_9774.jpg
/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_24_9774.jpg
/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_14_9776.jpg
/home/nano/Desktop/images/17022025/00/33/image_17022025_00_34_04_10784.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.328845500946045 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:35:02.392251
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_34_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/34/image_17022025_00_35_04_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_54_9771.jpg', '/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_44_9769.jpg', '/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_34_10783.jpg', '/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_24_9772.jpg', '/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_14_9777.jpg', '/home/nano/Desktop/images/17022025/00/34/image_17022025_00_35_04_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_54_9771.jpg
/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_44_9769.jpg
/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_34_10783.jpg
/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_24_9772.jpg
/home/nano/Desktop/images/17022025/00/35/image_17022025_00_35_14_9777.jpg
/home/nano/Desktop/images/17022025/00/34/image_17022025_00_35_04_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102442","1338102445","1338102441","1338102444","1338102443","1338102446"],"photo_ids_order":["1338102441","1338102442","1338102443","1338102444","1338102445","1338102446"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08567d3e69ad9f0763b4452b4ba21d64.jpg","text":"TemporaryFile(/tmp/multipartBody4465596188525076918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748963965,"filename":"image_17022025_00_35_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8c95eff05929a5f55cc95c533c76e30.jpg","text":"TemporaryFile(/tmp/multipartBody7882543436379278737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748963965,"filename":"image_17022025_00_35_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/999ea4e1dc90d44755eb36e888713abf.jpg","text":"TemporaryFile(/tmp/multipartBody3438662562419693388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748963965,"filename":"image_17022025_00_35_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24daa1a1d5ce00a71ae9b23fb956fd56.jpg","text":"TemporaryFile(/tmp/multipartBody1532985133473518969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748963965,"filename":"image_17022025_00_35_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b25902e8fee122d9b7088dad10cd9d57.jpg","text":"TemporaryFile(/tmp/multipartBody1645320926136918784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748963965,"filename":"image_17022025_00_35_34_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fdd3fc4b73442781f06a6280e1d3a7f9.jpg","text":"TemporaryFile(/tmp/multipartBody5122608783540827925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739748963965,"filename":"image_17022025_00_35_04_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102443","file1":"1338102442","file0":"1338102441","file4":"1338102445","file5":"1338102446","file3":"1338102444"},"map_files_photo_id_array":[{"photo_id":"1338102446","filename":"file5"},{"photo_id":"1338102443","filename":"file2"},{"photo_id":"1338102445","filename":"file4"},{"photo_id":"1338102442","filename":"file1"},{"photo_id":"1338102441","filename":"file0"},{"photo_id":"1338102444","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102442":["hashtag1","hashtag2"]},{"1338102445":["hashtag1","hashtag2"]},{"1338102441":["hashtag1","hashtag2"]},{"1338102444":["hashtag1","hashtag2"]},{"1338102443":["hashtag1","hashtag2"]},{"1338102446":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102442, 1338102445, 1338102441, 1338102444, 1338102443, 1338102446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.351438522338867 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:36:02.330346
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_54_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_24_10802.jpg', 0), ('/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_14_9801.jpg', 0), ('/home/nano/Desktop/images/17022025/00/35/image_17022025_00_36_04_9785.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_54_9778.jpg', '/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_44_9771.jpg', '/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_34_9773.jpg', '/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_24_10802.jpg', '/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_14_9801.jpg', '/home/nano/Desktop/images/17022025/00/35/image_17022025_00_36_04_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_54_9778.jpg
/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_44_9771.jpg
/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_34_9773.jpg
/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_24_10802.jpg
/home/nano/Desktop/images/17022025/00/36/image_17022025_00_36_14_9801.jpg
/home/nano/Desktop/images/17022025/00/35/image_17022025_00_36_04_9785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102451","1338102450","1338102453","1338102452","1338102449","1338102448"],"photo_ids_order":["1338102448","1338102449","1338102450","1338102451","1338102452","1338102453"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19d550d04031bed4a0892edc2123679d.jpg","text":"TemporaryFile(/tmp/multipartBody5454498097105288979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749023617,"filename":"image_17022025_00_36_24_10802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31a747e8e995deedc8dbbb4dda16d8ed.jpg","text":"TemporaryFile(/tmp/multipartBody4005238347357799869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749023617,"filename":"image_17022025_00_36_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/30f3ddd888107553be7add98de390ed6.jpg","text":"TemporaryFile(/tmp/multipartBody8999068930389072709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749023617,"filename":"image_17022025_00_36_04_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c57b9a296753e2c2b1a8339409385597.jpg","text":"TemporaryFile(/tmp/multipartBody7833209922479734802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749023617,"filename":"image_17022025_00_36_14_9801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5adb93ccc1cb6cf797210f9e4d637f92.jpg","text":"TemporaryFile(/tmp/multipartBody1450789735144483927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749023617,"filename":"image_17022025_00_36_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/783494e6f0808ee6ed7ca15a64e1df7a.jpg","text":"TemporaryFile(/tmp/multipartBody7822583760055193175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749023617,"filename":"image_17022025_00_36_54_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102450","file1":"1338102449","file0":"1338102448","file4":"1338102452","file5":"1338102453","file3":"1338102451"},"map_files_photo_id_array":[{"photo_id":"1338102453","filename":"file5"},{"photo_id":"1338102450","filename":"file2"},{"photo_id":"1338102452","filename":"file4"},{"photo_id":"1338102449","filename":"file1"},{"photo_id":"1338102448","filename":"file0"},{"photo_id":"1338102451","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102451":["hashtag1","hashtag2"]},{"1338102450":["hashtag1","hashtag2"]},{"1338102453":["hashtag1","hashtag2"]},{"1338102452":["hashtag1","hashtag2"]},{"1338102449":["hashtag1","hashtag2"]},{"1338102448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102451, 1338102450, 1338102453, 1338102452, 1338102449, 1338102448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.539278745651245 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:37:02.644367
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_54_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_44_9792.jpg', 0), ('/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_34_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_14_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/36/image_17022025_00_37_04_9784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_54_10786.jpg', '/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_44_9792.jpg', '/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_34_9789.jpg', '/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_24_9775.jpg', '/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_14_10786.jpg', '/home/nano/Desktop/images/17022025/00/36/image_17022025_00_37_04_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_54_10786.jpg
/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_44_9792.jpg
/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_34_9789.jpg
/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_24_9775.jpg
/home/nano/Desktop/images/17022025/00/37/image_17022025_00_37_14_10786.jpg
/home/nano/Desktop/images/17022025/00/36/image_17022025_00_37_04_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102457","1338102459","1338102456","1338102455","1338102458","1338102454"],"photo_ids_order":["1338102454","1338102455","1338102456","1338102457","1338102458","1338102459"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/132d11f0d27fcd80ce32f657af345838.jpg","text":"TemporaryFile(/tmp/multipartBody3583714040195533983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749084075,"filename":"image_17022025_00_37_24_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/369d4dc6e8c09c99bedbc08b8efe1781.jpg","text":"TemporaryFile(/tmp/multipartBody5596501931987651945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749084075,"filename":"image_17022025_00_37_04_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/959fccdd749a409f668e8587bdd30b6d.jpg","text":"TemporaryFile(/tmp/multipartBody8937324310872360234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749084075,"filename":"image_17022025_00_37_34_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67f534076c39f52a618ace84947a18c6.jpg","text":"TemporaryFile(/tmp/multipartBody5118269919069310060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749084075,"filename":"image_17022025_00_37_44_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2579e11de7676bd61d743bc88ffcedf7.jpg","text":"TemporaryFile(/tmp/multipartBody2721498060976327116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749084075,"filename":"image_17022025_00_37_14_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4cc7b3f2db3ad4e2429ea6bf6a92d75.jpg","text":"TemporaryFile(/tmp/multipartBody3594654203109029255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749084075,"filename":"image_17022025_00_37_54_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102456","file1":"1338102455","file0":"1338102454","file4":"1338102458","file5":"1338102459","file3":"1338102457"},"map_files_photo_id_array":[{"photo_id":"1338102459","filename":"file5"},{"photo_id":"1338102456","filename":"file2"},{"photo_id":"1338102458","filename":"file4"},{"photo_id":"1338102455","filename":"file1"},{"photo_id":"1338102454","filename":"file0"},{"photo_id":"1338102457","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102457":["hashtag1","hashtag2"]},{"1338102459":["hashtag1","hashtag2"]},{"1338102456":["hashtag1","hashtag2"]},{"1338102455":["hashtag1","hashtag2"]},{"1338102458":["hashtag1","hashtag2"]},{"1338102454":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102457, 1338102459, 1338102456, 1338102455, 1338102458, 1338102454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.573487520217896 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:38:02.482821
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_44_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_34_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_24_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/37/image_17022025_00_38_04_9808.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_54_9774.jpg', '/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_44_10783.jpg', '/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_34_9793.jpg', '/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_24_9777.jpg', '/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_14_9777.jpg', '/home/nano/Desktop/images/17022025/00/37/image_17022025_00_38_04_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_54_9774.jpg
/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_44_10783.jpg
/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_34_9793.jpg
/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_24_9777.jpg
/home/nano/Desktop/images/17022025/00/38/image_17022025_00_38_14_9777.jpg
/home/nano/Desktop/images/17022025/00/37/image_17022025_00_38_04_9808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102463","1338102465","1338102462","1338102461","1338102464","1338102460"],"photo_ids_order":["1338102460","1338102461","1338102462","1338102463","1338102464","1338102465"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c810300d8b1b02d27c6739b0864c8f97.jpg","text":"TemporaryFile(/tmp/multipartBody4164130518017107364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749143968,"filename":"image_17022025_00_38_24_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/534c0ed9d71dcf23a864f80855bc09bd.jpg","text":"TemporaryFile(/tmp/multipartBody8783169121324845159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749143968,"filename":"image_17022025_00_38_04_9808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/65961acb873f03368dede5308620fa64.jpg","text":"TemporaryFile(/tmp/multipartBody6366935947768701885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749143968,"filename":"image_17022025_00_38_34_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cd530044f23652c6b8ffb8485ee408b.jpg","text":"TemporaryFile(/tmp/multipartBody1607761141376110668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749143968,"filename":"image_17022025_00_38_44_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e8d403177db5c80a2ed51f0529819bc.jpg","text":"TemporaryFile(/tmp/multipartBody8901521107348182158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749143968,"filename":"image_17022025_00_38_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1a98e409b43e031efd2735f71b3cc37a.jpg","text":"TemporaryFile(/tmp/multipartBody4491478333713337828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749143968,"filename":"image_17022025_00_38_54_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102462","file1":"1338102461","file0":"1338102460","file4":"1338102464","file5":"1338102465","file3":"1338102463"},"map_files_photo_id_array":[{"photo_id":"1338102465","filename":"file5"},{"photo_id":"1338102462","filename":"file2"},{"photo_id":"1338102464","filename":"file4"},{"photo_id":"1338102461","filename":"file1"},{"photo_id":"1338102460","filename":"file0"},{"photo_id":"1338102463","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102463":["hashtag1","hashtag2"]},{"1338102465":["hashtag1","hashtag2"]},{"1338102462":["hashtag1","hashtag2"]},{"1338102461":["hashtag1","hashtag2"]},{"1338102464":["hashtag1","hashtag2"]},{"1338102460":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102463, 1338102465, 1338102462, 1338102461, 1338102464, 1338102460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96200227737427 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:39:02.900150
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_44_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_34_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_24_9796.jpg', 0), ('/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_14_9798.jpg', 0), ('/home/nano/Desktop/images/17022025/00/38/image_17022025_00_39_04_9780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_54_9775.jpg', '/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_44_9795.jpg', '/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_34_10784.jpg', '/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_24_9796.jpg', '/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_14_9798.jpg', '/home/nano/Desktop/images/17022025/00/38/image_17022025_00_39_04_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_54_9775.jpg
/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_44_9795.jpg
/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_34_10784.jpg
/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_24_9796.jpg
/home/nano/Desktop/images/17022025/00/39/image_17022025_00_39_14_9798.jpg
/home/nano/Desktop/images/17022025/00/38/image_17022025_00_39_04_9780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102471","1338102468","1338102470","1338102467","1338102466","1338102469"],"photo_ids_order":["1338102466","1338102467","1338102468","1338102469","1338102470","1338102471"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24ba99f6ebf703b5ee24e1aa029bbeb9.jpg","text":"TemporaryFile(/tmp/multipartBody4098615623814203839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749204744,"filename":"image_17022025_00_39_04_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f25f0170ceb91925e39166549d60a6e1.jpg","text":"TemporaryFile(/tmp/multipartBody1559585128305321924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749204744,"filename":"image_17022025_00_39_34_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8be458c32642b1dd7f6d346ecb536fa0.jpg","text":"TemporaryFile(/tmp/multipartBody6524309701762710600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749204744,"filename":"image_17022025_00_39_14_9798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e1bac52565605ec278e7b7af1bc85f2.jpg","text":"TemporaryFile(/tmp/multipartBody1509583690193943374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749204744,"filename":"image_17022025_00_39_44_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e6824a9ca9d0db27b094b50271ce0a69.jpg","text":"TemporaryFile(/tmp/multipartBody6791847660261549642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749204744,"filename":"image_17022025_00_39_54_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/10e52b7c8d77ee9b2c6402507d613d2d.jpg","text":"TemporaryFile(/tmp/multipartBody8512386066525083003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749204744,"filename":"image_17022025_00_39_24_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102468","file1":"1338102467","file0":"1338102466","file4":"1338102470","file5":"1338102471","file3":"1338102469"},"map_files_photo_id_array":[{"photo_id":"1338102471","filename":"file5"},{"photo_id":"1338102468","filename":"file2"},{"photo_id":"1338102470","filename":"file4"},{"photo_id":"1338102467","filename":"file1"},{"photo_id":"1338102466","filename":"file0"},{"photo_id":"1338102469","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102471":["hashtag1","hashtag2"]},{"1338102468":["hashtag1","hashtag2"]},{"1338102470":["hashtag1","hashtag2"]},{"1338102467":["hashtag1","hashtag2"]},{"1338102466":["hashtag1","hashtag2"]},{"1338102469":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102471, 1338102468, 1338102470, 1338102467, 1338102466, 1338102469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9455783367157 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:40:02.724451
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_54_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_34_9797.jpg', 0), ('/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_14_10828.jpg', 0), ('/home/nano/Desktop/images/17022025/00/39/image_17022025_00_40_04_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_54_9776.jpg', '/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_44_9775.jpg', '/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_34_9797.jpg', '/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_24_9774.jpg', '/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_14_10828.jpg', '/home/nano/Desktop/images/17022025/00/39/image_17022025_00_40_04_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_54_9776.jpg
/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_44_9775.jpg
/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_34_9797.jpg
/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_24_9774.jpg
/home/nano/Desktop/images/17022025/00/40/image_17022025_00_40_14_10828.jpg
/home/nano/Desktop/images/17022025/00/39/image_17022025_00_40_04_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102477","1338102474","1338102473","1338102476","1338102472","1338102475"],"photo_ids_order":["1338102472","1338102473","1338102474","1338102475","1338102476","1338102477"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/61d88b4e05429561b9c697cabed79d84.jpg","text":"TemporaryFile(/tmp/multipartBody5442643629541816350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749263889,"filename":"image_17022025_00_40_04_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c4f419b55dcad7c6b056f68ef3b9038.jpg","text":"TemporaryFile(/tmp/multipartBody825154640119986295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749263889,"filename":"image_17022025_00_40_34_9797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70a79076d386877c5c7a905156fc4eee.jpg","text":"TemporaryFile(/tmp/multipartBody835431711535130664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749263889,"filename":"image_17022025_00_40_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ee8c20a89de4cffa5db6b6447a182ba.jpg","text":"TemporaryFile(/tmp/multipartBody2163817496983397765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749263889,"filename":"image_17022025_00_40_14_10828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a65f8cea4941977ab4366f7d0451163.jpg","text":"TemporaryFile(/tmp/multipartBody7416409094204262773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749263889,"filename":"image_17022025_00_40_54_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b76dbec732acd445a28e8d4d17c5e1d.jpg","text":"TemporaryFile(/tmp/multipartBody5460713665709807801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749263889,"filename":"image_17022025_00_40_24_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102474","file1":"1338102473","file0":"1338102472","file4":"1338102476","file5":"1338102477","file3":"1338102475"},"map_files_photo_id_array":[{"photo_id":"1338102477","filename":"file5"},{"photo_id":"1338102474","filename":"file2"},{"photo_id":"1338102476","filename":"file4"},{"photo_id":"1338102473","filename":"file1"},{"photo_id":"1338102472","filename":"file0"},{"photo_id":"1338102475","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102477":["hashtag1","hashtag2"]},{"1338102474":["hashtag1","hashtag2"]},{"1338102473":["hashtag1","hashtag2"]},{"1338102476":["hashtag1","hashtag2"]},{"1338102472":["hashtag1","hashtag2"]},{"1338102475":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102477, 1338102474, 1338102473, 1338102476, 1338102472, 1338102475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.39415693283081 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:41:02.885699
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_54_10811.jpg', 0), ('/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_44_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_24_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_14_9781.jpg', 0), ('/home/nano/Desktop/images/17022025/00/40/image_17022025_00_41_04_10789.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_54_10811.jpg', '/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_44_9778.jpg', '/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_34_9772.jpg', '/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_24_9793.jpg', '/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_14_9781.jpg', '/home/nano/Desktop/images/17022025/00/40/image_17022025_00_41_04_10789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_54_10811.jpg
/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_44_9778.jpg
/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_34_9772.jpg
/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_24_9793.jpg
/home/nano/Desktop/images/17022025/00/41/image_17022025_00_41_14_9781.jpg
/home/nano/Desktop/images/17022025/00/40/image_17022025_00_41_04_10789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102478","1338102483","1338102480","1338102482","1338102479","1338102481"],"photo_ids_order":["1338102478","1338102479","1338102480","1338102481","1338102482","1338102483"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0778a853bf782f52a562f6c36436fc27.jpg","text":"TemporaryFile(/tmp/multipartBody955391695456492931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749324260,"filename":"image_17022025_00_41_54_10811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a03cb9e12721b2303ca80246fafa335d.jpg","text":"TemporaryFile(/tmp/multipartBody8199272942025040906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749324260,"filename":"image_17022025_00_41_04_10789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76dcb442c7213ff54251f0e3764bcee8.jpg","text":"TemporaryFile(/tmp/multipartBody4822517552396373427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749324260,"filename":"image_17022025_00_41_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/396e5845093e57c61d8e4f67fb6e61b2.jpg","text":"TemporaryFile(/tmp/multipartBody486816472272379408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749324260,"filename":"image_17022025_00_41_14_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5cbd69569fc7958352abd53977981c9c.jpg","text":"TemporaryFile(/tmp/multipartBody1249403287930505712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749324260,"filename":"image_17022025_00_41_44_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00be7a7b6c4c39776af533e09401731c.jpg","text":"TemporaryFile(/tmp/multipartBody4124342997663344792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749324260,"filename":"image_17022025_00_41_24_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102480","file1":"1338102479","file0":"1338102478","file4":"1338102482","file5":"1338102483","file3":"1338102481"},"map_files_photo_id_array":[{"photo_id":"1338102483","filename":"file5"},{"photo_id":"1338102480","filename":"file2"},{"photo_id":"1338102482","filename":"file4"},{"photo_id":"1338102479","filename":"file1"},{"photo_id":"1338102478","filename":"file0"},{"photo_id":"1338102481","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102478":["hashtag1","hashtag2"]},{"1338102483":["hashtag1","hashtag2"]},{"1338102480":["hashtag1","hashtag2"]},{"1338102482":["hashtag1","hashtag2"]},{"1338102479":["hashtag1","hashtag2"]},{"1338102481":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102478, 1338102483, 1338102480, 1338102482, 1338102479, 1338102481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.702919483184814 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:42:02.931685
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_34_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_24_9783.jpg', 0), ('/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_14_9787.jpg', 0), ('/home/nano/Desktop/images/17022025/00/41/image_17022025_00_42_04_9782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_54_9773.jpg', '/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_44_9775.jpg', '/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_34_10783.jpg', '/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_24_9783.jpg', '/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_14_9787.jpg', '/home/nano/Desktop/images/17022025/00/41/image_17022025_00_42_04_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_54_9773.jpg
/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_44_9775.jpg
/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_34_10783.jpg
/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_24_9783.jpg
/home/nano/Desktop/images/17022025/00/42/image_17022025_00_42_14_9787.jpg
/home/nano/Desktop/images/17022025/00/41/image_17022025_00_42_04_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102489","1338102486","1338102488","1338102485","1338102484","1338102487"],"photo_ids_order":["1338102484","1338102485","1338102486","1338102487","1338102488","1338102489"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b868971abfb32481f857a2712b140c0d.jpg","text":"TemporaryFile(/tmp/multipartBody8989850580740072239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749384346,"filename":"image_17022025_00_42_04_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/84a9b6c12e8bdb42b6ff85ba52d6f629.jpg","text":"TemporaryFile(/tmp/multipartBody1815776977968250089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749384346,"filename":"image_17022025_00_42_34_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc6fa84584158f2e8f86a87caabf75a5.jpg","text":"TemporaryFile(/tmp/multipartBody1070802885619740435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749384346,"filename":"image_17022025_00_42_14_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8beec09be3112986b226a65be2fefde6.jpg","text":"TemporaryFile(/tmp/multipartBody1560272204069612833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749384346,"filename":"image_17022025_00_42_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc579a41f0fb53e6c1b98604360c49b5.jpg","text":"TemporaryFile(/tmp/multipartBody7253026629546451944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749384346,"filename":"image_17022025_00_42_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/409f20a5078510ecd8ee9473a8d4bd25.jpg","text":"TemporaryFile(/tmp/multipartBody2712300177444689213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749384346,"filename":"image_17022025_00_42_24_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102486","file1":"1338102485","file0":"1338102484","file4":"1338102488","file5":"1338102489","file3":"1338102487"},"map_files_photo_id_array":[{"photo_id":"1338102489","filename":"file5"},{"photo_id":"1338102486","filename":"file2"},{"photo_id":"1338102488","filename":"file4"},{"photo_id":"1338102485","filename":"file1"},{"photo_id":"1338102484","filename":"file0"},{"photo_id":"1338102487","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102489":["hashtag1","hashtag2"]},{"1338102486":["hashtag1","hashtag2"]},{"1338102488":["hashtag1","hashtag2"]},{"1338102485":["hashtag1","hashtag2"]},{"1338102484":["hashtag1","hashtag2"]},{"1338102487":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102489, 1338102486, 1338102488, 1338102485, 1338102484, 1338102487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.388699531555176 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:43:03.218189
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_54_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_34_9783.jpg', 0), ('/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_24_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/42/image_17022025_00_43_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_54_9789.jpg', '/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_44_9775.jpg', '/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_34_9783.jpg', '/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_24_10781.jpg', '/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_14_9775.jpg', '/home/nano/Desktop/images/17022025/00/42/image_17022025_00_43_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_54_9789.jpg
/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_44_9775.jpg
/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_34_9783.jpg
/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_24_10781.jpg
/home/nano/Desktop/images/17022025/00/43/image_17022025_00_43_14_9775.jpg
/home/nano/Desktop/images/17022025/00/42/image_17022025_00_43_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102495","1338102492","1338102491","1338102494","1338102490","1338102493"],"photo_ids_order":["1338102490","1338102491","1338102492","1338102493","1338102494","1338102495"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75b0a26305b5c08a0d4a115a9a63d58a.jpg","text":"TemporaryFile(/tmp/multipartBody1295310377137303654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749444993,"filename":"image_17022025_00_43_04_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac27db96510687ec8e3cd386be515145.jpg","text":"TemporaryFile(/tmp/multipartBody5997770077576769594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749444993,"filename":"image_17022025_00_43_34_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53bd5a0eccebc1a5847934ff358302ef.jpg","text":"TemporaryFile(/tmp/multipartBody1744650160026973148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749444993,"filename":"image_17022025_00_43_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80989768e4f2363489592efeb7afabac.jpg","text":"TemporaryFile(/tmp/multipartBody6252435468657942932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749444993,"filename":"image_17022025_00_43_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07e77b9fd4b07293153be466e2ee950e.jpg","text":"TemporaryFile(/tmp/multipartBody670169754493552894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749444993,"filename":"image_17022025_00_43_54_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e12e376cae328f16c3ee9ec8fd829fea.jpg","text":"TemporaryFile(/tmp/multipartBody2466884867048899986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749444993,"filename":"image_17022025_00_43_24_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102492","file1":"1338102491","file0":"1338102490","file4":"1338102494","file5":"1338102495","file3":"1338102493"},"map_files_photo_id_array":[{"photo_id":"1338102495","filename":"file5"},{"photo_id":"1338102492","filename":"file2"},{"photo_id":"1338102494","filename":"file4"},{"photo_id":"1338102491","filename":"file1"},{"photo_id":"1338102490","filename":"file0"},{"photo_id":"1338102493","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102495":["hashtag1","hashtag2"]},{"1338102492":["hashtag1","hashtag2"]},{"1338102491":["hashtag1","hashtag2"]},{"1338102494":["hashtag1","hashtag2"]},{"1338102490":["hashtag1","hashtag2"]},{"1338102493":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102495, 1338102492, 1338102491, 1338102494, 1338102490, 1338102493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.358562231063843 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:44:02.266120
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_54_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_14_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/00/43/image_17022025_00_44_03_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_54_10784.jpg', '/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_44_9771.jpg', '/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_34_9773.jpg', '/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_24_9772.jpg', '/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_14_10781.jpg', '/home/nano/Desktop/images/17022025/00/43/image_17022025_00_44_03_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_54_10784.jpg
/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_44_9771.jpg
/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_34_9773.jpg
/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_24_9772.jpg
/home/nano/Desktop/images/17022025/00/44/image_17022025_00_44_14_10781.jpg
/home/nano/Desktop/images/17022025/00/43/image_17022025_00_44_03_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102502","1338102498","1338102501","1338102497","1338102500","1338102496"],"photo_ids_order":["1338102496","1338102497","1338102498","1338102500","1338102501","1338102502"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b65ad15796039a3c6ffeda332cb42ed.jpg","text":"TemporaryFile(/tmp/multipartBody4186325302359519931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749504391,"filename":"image_17022025_00_44_03_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/45ba52f3df681b5f7174349ce363d7b4.jpg","text":"TemporaryFile(/tmp/multipartBody5457920201716278365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749504391,"filename":"image_17022025_00_44_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/72ba47c17413c59300b9bb99608503ee.jpg","text":"TemporaryFile(/tmp/multipartBody5775814527462400421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749504391,"filename":"image_17022025_00_44_14_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f09dcc383fc06fe3812a4bfd0b7301d8.jpg","text":"TemporaryFile(/tmp/multipartBody1917705249373018453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749504391,"filename":"image_17022025_00_44_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ca929a3dfa2faf497ad0d17dd20f793.jpg","text":"TemporaryFile(/tmp/multipartBody6741666003401068766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749504391,"filename":"image_17022025_00_44_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76a2b6ee4fe092cf18de6e8b4bdcf853.jpg","text":"TemporaryFile(/tmp/multipartBody7043441143494630844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749504391,"filename":"image_17022025_00_44_54_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102498","file1":"1338102497","file0":"1338102496","file4":"1338102501","file5":"1338102502","file3":"1338102500"},"map_files_photo_id_array":[{"photo_id":"1338102502","filename":"file5"},{"photo_id":"1338102498","filename":"file2"},{"photo_id":"1338102501","filename":"file4"},{"photo_id":"1338102497","filename":"file1"},{"photo_id":"1338102496","filename":"file0"},{"photo_id":"1338102500","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102502":["hashtag1","hashtag2"]},{"1338102498":["hashtag1","hashtag2"]},{"1338102501":["hashtag1","hashtag2"]},{"1338102497":["hashtag1","hashtag2"]},{"1338102500":["hashtag1","hashtag2"]},{"1338102496":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102502, 1338102498, 1338102501, 1338102497, 1338102500, 1338102496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56955003738403 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:45:02.383180
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_44_10801.jpg', 0), ('/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_33_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_14_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/44/image_17022025_00_45_04_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_54_9775.jpg', '/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_44_10801.jpg', '/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_33_9772.jpg', '/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_24_9775.jpg', '/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_14_9776.jpg', '/home/nano/Desktop/images/17022025/00/44/image_17022025_00_45_04_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_54_9775.jpg
/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_44_10801.jpg
/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_33_9772.jpg
/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_24_9775.jpg
/home/nano/Desktop/images/17022025/00/45/image_17022025_00_45_14_9776.jpg
/home/nano/Desktop/images/17022025/00/44/image_17022025_00_45_04_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102505","1338102508","1338102504","1338102507","1338102506","1338102509"],"photo_ids_order":["1338102504","1338102505","1338102506","1338102507","1338102508","1338102509"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/137d6f7f07d859a00e015fcdf3ee01c8.jpg","text":"TemporaryFile(/tmp/multipartBody790500935482650884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749566166,"filename":"image_17022025_00_45_44_10801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc94c377ea45ba1f4757fa35f6d85e54.jpg","text":"TemporaryFile(/tmp/multipartBody7227572075053087809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749566166,"filename":"image_17022025_00_45_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9107c35d2449b643b65a6b1d950ca1f0.jpg","text":"TemporaryFile(/tmp/multipartBody1053772824456143617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749566166,"filename":"image_17022025_00_45_54_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e1e2a05826b532ed46003907ad3d60a.jpg","text":"TemporaryFile(/tmp/multipartBody7147739784744678508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749566166,"filename":"image_17022025_00_45_24_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/502055e6a2b4508a7c6d7fcc66257149.jpg","text":"TemporaryFile(/tmp/multipartBody8490710537272943572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749566166,"filename":"image_17022025_00_45_33_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1613c63890195bda341a1c56ed94737.jpg","text":"TemporaryFile(/tmp/multipartBody9213069455670904682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749566166,"filename":"image_17022025_00_45_04_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102506","file1":"1338102505","file0":"1338102504","file4":"1338102508","file5":"1338102509","file3":"1338102507"},"map_files_photo_id_array":[{"photo_id":"1338102509","filename":"file5"},{"photo_id":"1338102506","filename":"file2"},{"photo_id":"1338102508","filename":"file4"},{"photo_id":"1338102505","filename":"file1"},{"photo_id":"1338102504","filename":"file0"},{"photo_id":"1338102507","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102505":["hashtag1","hashtag2"]},{"1338102508":["hashtag1","hashtag2"]},{"1338102504":["hashtag1","hashtag2"]},{"1338102507":["hashtag1","hashtag2"]},{"1338102506":["hashtag1","hashtag2"]},{"1338102509":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102505, 1338102508, 1338102504, 1338102507, 1338102506, 1338102509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05622887611389 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:46:02.408654
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_24_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_14_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/00/45/image_17022025_00_46_04_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_54_9772.jpg', '/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_44_9774.jpg', '/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_34_9772.jpg', '/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_24_10783.jpg', '/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_14_9779.jpg', '/home/nano/Desktop/images/17022025/00/45/image_17022025_00_46_04_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_54_9772.jpg
/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_44_9774.jpg
/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_34_9772.jpg
/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_24_10783.jpg
/home/nano/Desktop/images/17022025/00/46/image_17022025_00_46_14_9779.jpg
/home/nano/Desktop/images/17022025/00/45/image_17022025_00_46_04_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102511","1338102514","1338102513","1338102510","1338102512","1338102515"],"photo_ids_order":["1338102510","1338102511","1338102512","1338102513","1338102514","1338102515"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/232c91d24b4b1bf77a8489fb31c764cf.jpg","text":"TemporaryFile(/tmp/multipartBody1928615524168368585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749623576,"filename":"image_17022025_00_46_44_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b1fc655fb081663425e8ec45b5fdcdb.jpg","text":"TemporaryFile(/tmp/multipartBody7118961436674281126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749623576,"filename":"image_17022025_00_46_14_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ad100abf84d774d7f6972bb4b645ac1.jpg","text":"TemporaryFile(/tmp/multipartBody5641177259737729571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749623576,"filename":"image_17022025_00_46_24_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac922ab2b26a3605aaabeb4397683bf1.jpg","text":"TemporaryFile(/tmp/multipartBody4645869251935494228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749623576,"filename":"image_17022025_00_46_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e69f836fdab129bd2f1d31c3e01fd2f.jpg","text":"TemporaryFile(/tmp/multipartBody4108549029824240943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749623576,"filename":"image_17022025_00_46_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4544593e4a4c566551bc5f656804b7c0.jpg","text":"TemporaryFile(/tmp/multipartBody689729268241070436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749623576,"filename":"image_17022025_00_46_04_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102512","file1":"1338102511","file0":"1338102510","file4":"1338102514","file5":"1338102515","file3":"1338102513"},"map_files_photo_id_array":[{"photo_id":"1338102515","filename":"file5"},{"photo_id":"1338102512","filename":"file2"},{"photo_id":"1338102514","filename":"file4"},{"photo_id":"1338102511","filename":"file1"},{"photo_id":"1338102510","filename":"file0"},{"photo_id":"1338102513","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102511":["hashtag1","hashtag2"]},{"1338102514":["hashtag1","hashtag2"]},{"1338102513":["hashtag1","hashtag2"]},{"1338102510":["hashtag1","hashtag2"]},{"1338102512":["hashtag1","hashtag2"]},{"1338102515":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102511, 1338102514, 1338102513, 1338102510, 1338102512, 1338102515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.288297176361084 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:47:02.507993
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_54_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_14_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/46/image_17022025_00_47_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_54_10786.jpg', '/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_44_9773.jpg', '/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_34_9774.jpg', '/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_24_9771.jpg', '/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_14_10786.jpg', '/home/nano/Desktop/images/17022025/00/46/image_17022025_00_47_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_54_10786.jpg
/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_44_9773.jpg
/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_34_9774.jpg
/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_24_9771.jpg
/home/nano/Desktop/images/17022025/00/47/image_17022025_00_47_14_10786.jpg
/home/nano/Desktop/images/17022025/00/46/image_17022025_00_47_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102520","1338102517","1338102522","1338102519","1338102518","1338102521"],"photo_ids_order":["1338102517","1338102518","1338102519","1338102520","1338102521","1338102522"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/afa573ebaae6cfbe4bc950cfd4fd5883.jpg","text":"TemporaryFile(/tmp/multipartBody354500325444790523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749684249,"filename":"image_17022025_00_47_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4f1d4c87452adb815fadcb0b8a7ed3c.jpg","text":"TemporaryFile(/tmp/multipartBody4412325030225504745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749684249,"filename":"image_17022025_00_47_54_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f32f86be80bdb2832d4c15fa92dbf910.jpg","text":"TemporaryFile(/tmp/multipartBody3040302342354857216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749684249,"filename":"image_17022025_00_47_04_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c43e09ee9d1e33b7bc57f319af893ba7.jpg","text":"TemporaryFile(/tmp/multipartBody6799516876344654879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749684249,"filename":"image_17022025_00_47_34_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/017a3ef5f99cd58ee90bbb4f53c669fa.jpg","text":"TemporaryFile(/tmp/multipartBody6350727466021351175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749684249,"filename":"image_17022025_00_47_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1746e912aaeee2bf6b9d3ceb670e0afc.jpg","text":"TemporaryFile(/tmp/multipartBody4979170111803369277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749684249,"filename":"image_17022025_00_47_14_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102519","file1":"1338102518","file0":"1338102517","file4":"1338102521","file5":"1338102522","file3":"1338102520"},"map_files_photo_id_array":[{"photo_id":"1338102522","filename":"file5"},{"photo_id":"1338102519","filename":"file2"},{"photo_id":"1338102521","filename":"file4"},{"photo_id":"1338102518","filename":"file1"},{"photo_id":"1338102517","filename":"file0"},{"photo_id":"1338102520","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102520":["hashtag1","hashtag2"]},{"1338102517":["hashtag1","hashtag2"]},{"1338102522":["hashtag1","hashtag2"]},{"1338102519":["hashtag1","hashtag2"]},{"1338102518":["hashtag1","hashtag2"]},{"1338102521":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102520, 1338102517, 1338102522, 1338102519, 1338102518, 1338102521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81125593185425 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:48:02.640424
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_54_9794.jpg', 0), ('/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_44_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_34_9790.jpg', 0), ('/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_14_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/00/47/image_17022025_00_48_04_9780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_54_9794.jpg', '/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_44_10783.jpg', '/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_34_9790.jpg', '/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_24_9775.jpg', '/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_14_9778.jpg', '/home/nano/Desktop/images/17022025/00/47/image_17022025_00_48_04_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_54_9794.jpg
/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_44_10783.jpg
/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_34_9790.jpg
/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_24_9775.jpg
/home/nano/Desktop/images/17022025/00/48/image_17022025_00_48_14_9778.jpg
/home/nano/Desktop/images/17022025/00/47/image_17022025_00_48_04_9780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102523","1338102526","1338102528","1338102525","1338102524","1338102527"],"photo_ids_order":["1338102523","1338102524","1338102525","1338102526","1338102527","1338102528"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4228e2d709f219c7437a3aae454da8e7.jpg","text":"TemporaryFile(/tmp/multipartBody4688076841592956347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749744216,"filename":"image_17022025_00_48_54_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/871148379a3556b8efac48452d4290b0.jpg","text":"TemporaryFile(/tmp/multipartBody5438655676152641409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749744216,"filename":"image_17022025_00_48_24_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c88d0ac110d0ed83507f71ebd1a2fd5.jpg","text":"TemporaryFile(/tmp/multipartBody1476956032794649170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749744216,"filename":"image_17022025_00_48_04_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26173a5fed01c5212fbc3bb405f21705.jpg","text":"TemporaryFile(/tmp/multipartBody4534164199910396600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749744216,"filename":"image_17022025_00_48_34_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc40a1a7f5ed35b9a5bab9d7f53f1e55.jpg","text":"TemporaryFile(/tmp/multipartBody9129744724619642525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749744216,"filename":"image_17022025_00_48_44_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de6e64b0c7d758e7df58a544cbec3f5a.jpg","text":"TemporaryFile(/tmp/multipartBody5856980137531702437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749744216,"filename":"image_17022025_00_48_14_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102525","file1":"1338102524","file0":"1338102523","file4":"1338102527","file5":"1338102528","file3":"1338102526"},"map_files_photo_id_array":[{"photo_id":"1338102528","filename":"file5"},{"photo_id":"1338102525","filename":"file2"},{"photo_id":"1338102527","filename":"file4"},{"photo_id":"1338102524","filename":"file1"},{"photo_id":"1338102523","filename":"file0"},{"photo_id":"1338102526","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102523":["hashtag1","hashtag2"]},{"1338102526":["hashtag1","hashtag2"]},{"1338102528":["hashtag1","hashtag2"]},{"1338102525":["hashtag1","hashtag2"]},{"1338102524":["hashtag1","hashtag2"]},{"1338102527":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102523, 1338102526, 1338102528, 1338102525, 1338102524, 1338102527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59881949424744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:49:03.337013
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_54_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_34_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_24_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_14_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/00/48/image_17022025_00_49_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_54_9791.jpg', '/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_44_9775.jpg', '/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_34_9789.jpg', '/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_24_10780.jpg', '/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_14_9795.jpg', '/home/nano/Desktop/images/17022025/00/48/image_17022025_00_49_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_54_9791.jpg
/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_44_9775.jpg
/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_34_9789.jpg
/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_24_10780.jpg
/home/nano/Desktop/images/17022025/00/49/image_17022025_00_49_14_9795.jpg
/home/nano/Desktop/images/17022025/00/48/image_17022025_00_49_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102529","1338102532","1338102531","1338102534","1338102530","1338102533"],"photo_ids_order":["1338102529","1338102530","1338102531","1338102532","1338102533","1338102534"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/293663e64978ecc63854ae1e1b35c84a.jpg","text":"TemporaryFile(/tmp/multipartBody2173189407188810943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749804945,"filename":"image_17022025_00_49_54_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/612392a47480fe24da5d2b5f9a68c510.jpg","text":"TemporaryFile(/tmp/multipartBody3462986916149450958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749804945,"filename":"image_17022025_00_49_24_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7db58550a8824dc3153bdb3ecfec4725.jpg","text":"TemporaryFile(/tmp/multipartBody1586224546587580808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749804945,"filename":"image_17022025_00_49_34_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c0fe438a112c47eadabf9207e6bb1f9.jpg","text":"TemporaryFile(/tmp/multipartBody35562138591024536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749804945,"filename":"image_17022025_00_49_04_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/444269d8e0c53cb4a42a9c050a7166bc.jpg","text":"TemporaryFile(/tmp/multipartBody2999623305854832730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749804945,"filename":"image_17022025_00_49_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aef6c220a81246e553153b48006cc5fe.jpg","text":"TemporaryFile(/tmp/multipartBody8256883053690857990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749804945,"filename":"image_17022025_00_49_14_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102531","file1":"1338102530","file0":"1338102529","file4":"1338102533","file5":"1338102534","file3":"1338102532"},"map_files_photo_id_array":[{"photo_id":"1338102534","filename":"file5"},{"photo_id":"1338102531","filename":"file2"},{"photo_id":"1338102533","filename":"file4"},{"photo_id":"1338102530","filename":"file1"},{"photo_id":"1338102529","filename":"file0"},{"photo_id":"1338102532","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102529":["hashtag1","hashtag2"]},{"1338102532":["hashtag1","hashtag2"]},{"1338102531":["hashtag1","hashtag2"]},{"1338102534":["hashtag1","hashtag2"]},{"1338102530":["hashtag1","hashtag2"]},{"1338102533":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102529, 1338102532, 1338102531, 1338102534, 1338102530, 1338102533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51050066947937 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:50:02.726211
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_14_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/00/49/image_17022025_00_50_04_9805.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_54_9772.jpg', '/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_44_9774.jpg', '/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_34_9773.jpg', '/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_24_9772.jpg', '/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_14_10786.jpg', '/home/nano/Desktop/images/17022025/00/49/image_17022025_00_50_04_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_54_9772.jpg
/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_44_9774.jpg
/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_34_9773.jpg
/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_24_9772.jpg
/home/nano/Desktop/images/17022025/00/50/image_17022025_00_50_14_10786.jpg
/home/nano/Desktop/images/17022025/00/49/image_17022025_00_50_04_9805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102541","1338102535","1338102538","1338102537","1338102536","1338102539"],"photo_ids_order":["1338102535","1338102536","1338102537","1338102538","1338102539","1338102541"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/96765f25a1e61a5289809236c8053cb9.jpg","text":"TemporaryFile(/tmp/multipartBody8893853901796840898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749864612,"filename":"image_17022025_00_50_04_9805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b793dda7923bad5ca57cc121b9e73aa6.jpg","text":"TemporaryFile(/tmp/multipartBody3803394629797260445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749864612,"filename":"image_17022025_00_50_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b68b9109b38cae3ee2fac2f1b0f8d072.jpg","text":"TemporaryFile(/tmp/multipartBody3721505484866760678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749864612,"filename":"image_17022025_00_50_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/005408fa04b8e9eed37acdcf5d246242.jpg","text":"TemporaryFile(/tmp/multipartBody5188937253445651969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749864612,"filename":"image_17022025_00_50_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0338e615e779f4f5463bae22bcc6eb7.jpg","text":"TemporaryFile(/tmp/multipartBody6216175832863490090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749864612,"filename":"image_17022025_00_50_44_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87da538b697326d49985c36525ddbbf5.jpg","text":"TemporaryFile(/tmp/multipartBody2724743409196930372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749864612,"filename":"image_17022025_00_50_14_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102537","file1":"1338102536","file0":"1338102535","file4":"1338102539","file5":"1338102541","file3":"1338102538"},"map_files_photo_id_array":[{"photo_id":"1338102541","filename":"file5"},{"photo_id":"1338102537","filename":"file2"},{"photo_id":"1338102539","filename":"file4"},{"photo_id":"1338102536","filename":"file1"},{"photo_id":"1338102535","filename":"file0"},{"photo_id":"1338102538","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102541":["hashtag1","hashtag2"]},{"1338102535":["hashtag1","hashtag2"]},{"1338102538":["hashtag1","hashtag2"]},{"1338102537":["hashtag1","hashtag2"]},{"1338102536":["hashtag1","hashtag2"]},{"1338102539":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102541, 1338102535, 1338102538, 1338102537, 1338102536, 1338102539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.487329721450806 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:51:03.070676
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_54_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_44_10808.jpg', 0), ('/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_14_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/50/image_17022025_00_51_04_10793.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_54_9791.jpg', '/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_44_10808.jpg', '/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_34_9771.jpg', '/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_24_9775.jpg', '/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_14_9776.jpg', '/home/nano/Desktop/images/17022025/00/50/image_17022025_00_51_04_10793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_54_9791.jpg
/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_44_10808.jpg
/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_34_9771.jpg
/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_24_9775.jpg
/home/nano/Desktop/images/17022025/00/51/image_17022025_00_51_14_9776.jpg
/home/nano/Desktop/images/17022025/00/50/image_17022025_00_51_04_10793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102544","1338102546","1338102543","1338102542","1338102545","1338102547"],"photo_ids_order":["1338102542","1338102543","1338102544","1338102545","1338102546","1338102547"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b9c5e8c5acf2b423a3f81500c047dcb.jpg","text":"TemporaryFile(/tmp/multipartBody6834129584581263925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749924750,"filename":"image_17022025_00_51_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b28cb58f17f3401f4247b5fd38487ad0.jpg","text":"TemporaryFile(/tmp/multipartBody3562608438647180702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749924750,"filename":"image_17022025_00_51_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/493986063aa400a7867cf787c962c3bc.jpg","text":"TemporaryFile(/tmp/multipartBody4544617276303382282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749924750,"filename":"image_17022025_00_51_44_10808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/825555166f8781a2ba0a613f7e7295fe.jpg","text":"TemporaryFile(/tmp/multipartBody1876070249216155550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749924750,"filename":"image_17022025_00_51_54_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7f3d1fa55c811e2812328bab9c804f5.jpg","text":"TemporaryFile(/tmp/multipartBody5297003035609625594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749924750,"filename":"image_17022025_00_51_24_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/65458dd39b4190eda8a897b08c12bdac.jpg","text":"TemporaryFile(/tmp/multipartBody2877009123502917345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749924750,"filename":"image_17022025_00_51_04_10793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102544","file1":"1338102543","file0":"1338102542","file4":"1338102546","file5":"1338102547","file3":"1338102545"},"map_files_photo_id_array":[{"photo_id":"1338102547","filename":"file5"},{"photo_id":"1338102544","filename":"file2"},{"photo_id":"1338102546","filename":"file4"},{"photo_id":"1338102543","filename":"file1"},{"photo_id":"1338102542","filename":"file0"},{"photo_id":"1338102545","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102544":["hashtag1","hashtag2"]},{"1338102546":["hashtag1","hashtag2"]},{"1338102543":["hashtag1","hashtag2"]},{"1338102542":["hashtag1","hashtag2"]},{"1338102545":["hashtag1","hashtag2"]},{"1338102547":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102544, 1338102546, 1338102543, 1338102542, 1338102545, 1338102547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.842045068740845 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:52:02.960914
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_54_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_44_9781.jpg', 0), ('/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_34_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_14_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/51/image_17022025_00_52_04_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_54_9789.jpg', '/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_44_9781.jpg', '/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_34_10782.jpg', '/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_24_9772.jpg', '/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_14_9772.jpg', '/home/nano/Desktop/images/17022025/00/51/image_17022025_00_52_04_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_54_9789.jpg
/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_44_9781.jpg
/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_34_10782.jpg
/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_24_9772.jpg
/home/nano/Desktop/images/17022025/00/52/image_17022025_00_52_14_9772.jpg
/home/nano/Desktop/images/17022025/00/51/image_17022025_00_52_04_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102550","1338102552","1338102549","1338102551","1338102548","1338102553"],"photo_ids_order":["1338102548","1338102549","1338102550","1338102551","1338102552","1338102553"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e4c29ab5c27ae7872cbcd6ae492cca5.jpg","text":"TemporaryFile(/tmp/multipartBody7609241053379181150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749984189,"filename":"image_17022025_00_52_34_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d81065e1dcc74aa8ca2819d60a80323.jpg","text":"TemporaryFile(/tmp/multipartBody608749271118119760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749984189,"filename":"image_17022025_00_52_14_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0585909c9d0959826264c0cb0e3c3044.jpg","text":"TemporaryFile(/tmp/multipartBody9025660989082175004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749984189,"filename":"image_17022025_00_52_44_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/468e9dd9edb1d51c57a462f7026140cd.jpg","text":"TemporaryFile(/tmp/multipartBody3444374417520474694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749984189,"filename":"image_17022025_00_52_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9dd9638e41733d94bfa32f995979b45e.jpg","text":"TemporaryFile(/tmp/multipartBody8419490123104705286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749984189,"filename":"image_17022025_00_52_54_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a130589a7d16744e56a37b0e106162d4.jpg","text":"TemporaryFile(/tmp/multipartBody1341500820882558330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739749984189,"filename":"image_17022025_00_52_04_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102550","file1":"1338102549","file0":"1338102548","file4":"1338102552","file5":"1338102553","file3":"1338102551"},"map_files_photo_id_array":[{"photo_id":"1338102553","filename":"file5"},{"photo_id":"1338102550","filename":"file2"},{"photo_id":"1338102552","filename":"file4"},{"photo_id":"1338102549","filename":"file1"},{"photo_id":"1338102548","filename":"file0"},{"photo_id":"1338102551","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102550":["hashtag1","hashtag2"]},{"1338102552":["hashtag1","hashtag2"]},{"1338102549":["hashtag1","hashtag2"]},{"1338102551":["hashtag1","hashtag2"]},{"1338102548":["hashtag1","hashtag2"]},{"1338102553":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102550, 1338102552, 1338102549, 1338102551, 1338102548, 1338102553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.558575868606567 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:53:02.282216
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_14_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/00/52/image_17022025_00_53_04_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_54_9775.jpg', '/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_44_9773.jpg', '/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_34_9775.jpg', '/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_24_9771.jpg', '/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_14_10779.jpg', '/home/nano/Desktop/images/17022025/00/52/image_17022025_00_53_04_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_54_9775.jpg
/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_44_9773.jpg
/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_34_9775.jpg
/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_24_9771.jpg
/home/nano/Desktop/images/17022025/00/53/image_17022025_00_53_14_10779.jpg
/home/nano/Desktop/images/17022025/00/52/image_17022025_00_53_04_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102556","1338102559","1338102558","1338102555","1338102554","1338102557"],"photo_ids_order":["1338102554","1338102555","1338102556","1338102557","1338102558","1338102559"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/524028559e8efebc5ef80a8e614ec601.jpg","text":"TemporaryFile(/tmp/multipartBody7565616635170658640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750043679,"filename":"image_17022025_00_53_34_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/521776666bcac827ecacd7d3c8c4e524.jpg","text":"TemporaryFile(/tmp/multipartBody2264617196762089360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750043679,"filename":"image_17022025_00_53_04_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac5b494c2fe602410c26a83efb738a90.jpg","text":"TemporaryFile(/tmp/multipartBody6857953497431589999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750043679,"filename":"image_17022025_00_53_14_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24ad1a84714479aca97070b3f2fcdd39.jpg","text":"TemporaryFile(/tmp/multipartBody8523823202489659001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750043679,"filename":"image_17022025_00_53_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/68b487764661264750dae5ab99f22442.jpg","text":"TemporaryFile(/tmp/multipartBody1681825462865394921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750043679,"filename":"image_17022025_00_53_54_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd9d8072bfdfcdab7313d15daa64facb.jpg","text":"TemporaryFile(/tmp/multipartBody6045626841293947754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750043679,"filename":"image_17022025_00_53_24_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102556","file1":"1338102555","file0":"1338102554","file4":"1338102558","file5":"1338102559","file3":"1338102557"},"map_files_photo_id_array":[{"photo_id":"1338102559","filename":"file5"},{"photo_id":"1338102556","filename":"file2"},{"photo_id":"1338102558","filename":"file4"},{"photo_id":"1338102555","filename":"file1"},{"photo_id":"1338102554","filename":"file0"},{"photo_id":"1338102557","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102556":["hashtag1","hashtag2"]},{"1338102559":["hashtag1","hashtag2"]},{"1338102558":["hashtag1","hashtag2"]},{"1338102555":["hashtag1","hashtag2"]},{"1338102554":["hashtag1","hashtag2"]},{"1338102557":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102556, 1338102559, 1338102558, 1338102555, 1338102554, 1338102557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.794214010238647 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:54:02.318195
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_54_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_44_10804.jpg', 0), ('/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_14_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/00/53/image_17022025_00_54_04_10788.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_54_9776.jpg', '/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_44_10804.jpg', '/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_34_9772.jpg', '/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_24_9773.jpg', '/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_14_9772.jpg', '/home/nano/Desktop/images/17022025/00/53/image_17022025_00_54_04_10788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_54_9776.jpg
/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_44_10804.jpg
/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_34_9772.jpg
/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_24_9773.jpg
/home/nano/Desktop/images/17022025/00/54/image_17022025_00_54_14_9772.jpg
/home/nano/Desktop/images/17022025/00/53/image_17022025_00_54_04_10788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102562","1338102564","1338102561","1338102560","1338102563","1338102565"],"photo_ids_order":["1338102560","1338102561","1338102562","1338102563","1338102564","1338102565"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e6cb42a1b240f03cbb1417cd75d4207.jpg","text":"TemporaryFile(/tmp/multipartBody7121444249561356039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750104156,"filename":"image_17022025_00_54_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eabda89c95d03b583afa0c40ed66390b.jpg","text":"TemporaryFile(/tmp/multipartBody773341521889612360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750104156,"filename":"image_17022025_00_54_14_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6987cb478a9afb3115f6fe3d203398f.jpg","text":"TemporaryFile(/tmp/multipartBody1767421971441792588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750104156,"filename":"image_17022025_00_54_44_10804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/184c9752c3ba91c1fb10ded3b708c36e.jpg","text":"TemporaryFile(/tmp/multipartBody4227744022767458758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750104156,"filename":"image_17022025_00_54_54_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1229caa2bf4dec8175c559c442893cb7.jpg","text":"TemporaryFile(/tmp/multipartBody8913605650488713822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750104156,"filename":"image_17022025_00_54_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8594ebd4e5c1070190ab4cc73291c02.jpg","text":"TemporaryFile(/tmp/multipartBody5445239163321646390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750104156,"filename":"image_17022025_00_54_04_10788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102562","file1":"1338102561","file0":"1338102560","file4":"1338102564","file5":"1338102565","file3":"1338102563"},"map_files_photo_id_array":[{"photo_id":"1338102565","filename":"file5"},{"photo_id":"1338102562","filename":"file2"},{"photo_id":"1338102564","filename":"file4"},{"photo_id":"1338102561","filename":"file1"},{"photo_id":"1338102560","filename":"file0"},{"photo_id":"1338102563","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102562":["hashtag1","hashtag2"]},{"1338102564":["hashtag1","hashtag2"]},{"1338102561":["hashtag1","hashtag2"]},{"1338102560":["hashtag1","hashtag2"]},{"1338102563":["hashtag1","hashtag2"]},{"1338102565":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102562, 1338102564, 1338102561, 1338102560, 1338102563, 1338102565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.811492919921875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:55:02.311824
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_44_9794.jpg', 0), ('/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_34_10787.jpg', 0), ('/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_14_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/00/54/image_17022025_00_55_04_9793.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_54_9774.jpg', '/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_44_9794.jpg', '/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_34_10787.jpg', '/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_24_9774.jpg', '/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_14_9779.jpg', '/home/nano/Desktop/images/17022025/00/54/image_17022025_00_55_04_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_54_9774.jpg
/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_44_9794.jpg
/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_34_10787.jpg
/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_24_9774.jpg
/home/nano/Desktop/images/17022025/00/55/image_17022025_00_55_14_9779.jpg
/home/nano/Desktop/images/17022025/00/54/image_17022025_00_55_04_9793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102570","1338102567","1338102569","1338102566","1338102571","1338102568"],"photo_ids_order":["1338102566","1338102567","1338102568","1338102569","1338102570","1338102571"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4edeca527305f4bb4035f2b2cca87969.jpg","text":"TemporaryFile(/tmp/multipartBody8098027155066592802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750163971,"filename":"image_17022025_00_55_14_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c595e0222bc1ee962e2210a6cf63da59.jpg","text":"TemporaryFile(/tmp/multipartBody2822273654804355064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750163971,"filename":"image_17022025_00_55_44_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b14400a7a39b0ceae7afb329c89aeb79.jpg","text":"TemporaryFile(/tmp/multipartBody7160640410837338245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750163971,"filename":"image_17022025_00_55_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2bf67c5e558df6df49c0b58bde7b4c14.jpg","text":"TemporaryFile(/tmp/multipartBody5309024805605626433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750163971,"filename":"image_17022025_00_55_54_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d254e0f0d65d7deb65151ea164ebd297.jpg","text":"TemporaryFile(/tmp/multipartBody6849448844872326658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750163971,"filename":"image_17022025_00_55_04_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/995c4b1830ccf527008087d2ada7d03c.jpg","text":"TemporaryFile(/tmp/multipartBody8223939283650730538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750163971,"filename":"image_17022025_00_55_34_10787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102568","file1":"1338102567","file0":"1338102566","file4":"1338102570","file5":"1338102571","file3":"1338102569"},"map_files_photo_id_array":[{"photo_id":"1338102571","filename":"file5"},{"photo_id":"1338102568","filename":"file2"},{"photo_id":"1338102570","filename":"file4"},{"photo_id":"1338102567","filename":"file1"},{"photo_id":"1338102566","filename":"file0"},{"photo_id":"1338102569","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102570":["hashtag1","hashtag2"]},{"1338102567":["hashtag1","hashtag2"]},{"1338102569":["hashtag1","hashtag2"]},{"1338102566":["hashtag1","hashtag2"]},{"1338102571":["hashtag1","hashtag2"]},{"1338102568":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102570, 1338102567, 1338102569, 1338102566, 1338102571, 1338102568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.948185205459595 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:56:02.401653
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_54_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_24_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/55/image_17022025_00_56_04_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_54_9778.jpg', '/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_44_9775.jpg', '/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_34_9774.jpg', '/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_24_10785.jpg', '/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_14_9775.jpg', '/home/nano/Desktop/images/17022025/00/55/image_17022025_00_56_04_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_54_9778.jpg
/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_44_9775.jpg
/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_34_9774.jpg
/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_24_10785.jpg
/home/nano/Desktop/images/17022025/00/56/image_17022025_00_56_14_9775.jpg
/home/nano/Desktop/images/17022025/00/55/image_17022025_00_56_04_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102576","1338102573","1338102572","1338102575","1338102578","1338102574"],"photo_ids_order":["1338102572","1338102573","1338102574","1338102575","1338102576","1338102578"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ac3fe785e04f282c860e2698e639b25.jpg","text":"TemporaryFile(/tmp/multipartBody330762924140717798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750224162,"filename":"image_17022025_00_56_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a480aa6c29399293f7d1fa134602d20a.jpg","text":"TemporaryFile(/tmp/multipartBody6079459287626984462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750224162,"filename":"image_17022025_00_56_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1315f318b2124b147240f34114b3b1ea.jpg","text":"TemporaryFile(/tmp/multipartBody7324197602232031559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750224162,"filename":"image_17022025_00_56_54_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/baaf5cf577c13c14f9a414fc300709d1.jpg","text":"TemporaryFile(/tmp/multipartBody5598295922922020463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750224162,"filename":"image_17022025_00_56_24_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50742f80aa73fe4000e5b60dd457501f.jpg","text":"TemporaryFile(/tmp/multipartBody3508115444607626776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750224162,"filename":"image_17022025_00_56_04_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57950793ca1dd87336ad598628233fa9.jpg","text":"TemporaryFile(/tmp/multipartBody5704798153139050957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750224162,"filename":"image_17022025_00_56_34_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102574","file1":"1338102573","file0":"1338102572","file4":"1338102576","file5":"1338102578","file3":"1338102575"},"map_files_photo_id_array":[{"photo_id":"1338102578","filename":"file5"},{"photo_id":"1338102574","filename":"file2"},{"photo_id":"1338102576","filename":"file4"},{"photo_id":"1338102573","filename":"file1"},{"photo_id":"1338102572","filename":"file0"},{"photo_id":"1338102575","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102576":["hashtag1","hashtag2"]},{"1338102573":["hashtag1","hashtag2"]},{"1338102572":["hashtag1","hashtag2"]},{"1338102575":["hashtag1","hashtag2"]},{"1338102578":["hashtag1","hashtag2"]},{"1338102574":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102576, 1338102573, 1338102572, 1338102575, 1338102578, 1338102574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.690176248550415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:57:02.640191
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_54_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_44_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_34_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_24_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_14_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/00/56/image_17022025_00_57_04_10798.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_54_10784.jpg', '/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_44_9777.jpg', '/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_34_9776.jpg', '/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_24_9777.jpg', '/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_14_9778.jpg', '/home/nano/Desktop/images/17022025/00/56/image_17022025_00_57_04_10798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_54_10784.jpg
/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_44_9777.jpg
/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_34_9776.jpg
/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_24_9777.jpg
/home/nano/Desktop/images/17022025/00/57/image_17022025_00_57_14_9778.jpg
/home/nano/Desktop/images/17022025/00/56/image_17022025_00_57_04_10798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102582","1338102579","1338102581","1338102632","1338102583","1338102580"],"photo_ids_order":["1338102579","1338102580","1338102581","1338102582","1338102583","1338102632"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a19943caa18772fa246c6478e85ac6e.jpg","text":"TemporaryFile(/tmp/multipartBody5545601176198055366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750284232,"filename":"image_17022025_00_57_24_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e47a710b348476380a8a8d34754c421.jpg","text":"TemporaryFile(/tmp/multipartBody7252541836864487164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750284232,"filename":"image_17022025_00_57_54_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12732b4c7cf6296f8faa90f1d23041bf.jpg","text":"TemporaryFile(/tmp/multipartBody2331357017159796185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750284232,"filename":"image_17022025_00_57_34_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/237362fe91b91a667391bb8eb64f305a.jpg","text":"TemporaryFile(/tmp/multipartBody4127282255952971661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750284232,"filename":"image_17022025_00_57_04_10798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/541c92081255ce2a7d9693469707a276.jpg","text":"TemporaryFile(/tmp/multipartBody7175754851619461590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750284232,"filename":"image_17022025_00_57_14_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24cfc1f6e13c8635475957b395899267.jpg","text":"TemporaryFile(/tmp/multipartBody8835216601929265887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750284232,"filename":"image_17022025_00_57_44_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102581","file1":"1338102580","file0":"1338102579","file4":"1338102583","file5":"1338102632","file3":"1338102582"},"map_files_photo_id_array":[{"photo_id":"1338102632","filename":"file5"},{"photo_id":"1338102581","filename":"file2"},{"photo_id":"1338102583","filename":"file4"},{"photo_id":"1338102580","filename":"file1"},{"photo_id":"1338102579","filename":"file0"},{"photo_id":"1338102582","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102582":["hashtag1","hashtag2"]},{"1338102579":["hashtag1","hashtag2"]},{"1338102581":["hashtag1","hashtag2"]},{"1338102632":["hashtag1","hashtag2"]},{"1338102583":["hashtag1","hashtag2"]},{"1338102580":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102582, 1338102579, 1338102581, 1338102632, 1338102583, 1338102580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.397942304611206 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:58:02.543869
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_34_10787.jpg', 0), ('/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_24_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_14_9787.jpg', 0), ('/home/nano/Desktop/images/17022025/00/57/image_17022025_00_58_04_9792.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_54_9774.jpg', '/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_44_9773.jpg', '/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_34_10787.jpg', '/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_24_9776.jpg', '/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_14_9787.jpg', '/home/nano/Desktop/images/17022025/00/57/image_17022025_00_58_04_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_54_9774.jpg
/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_44_9773.jpg
/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_34_10787.jpg
/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_24_9776.jpg
/home/nano/Desktop/images/17022025/00/58/image_17022025_00_58_14_9787.jpg
/home/nano/Desktop/images/17022025/00/57/image_17022025_00_58_04_9792.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102885","1338102882","1338102884","1338102887","1338102883","1338102886"],"photo_ids_order":["1338102882","1338102883","1338102884","1338102885","1338102886","1338102887"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f432d5cea252b72afc9015719e0b9498.jpg","text":"TemporaryFile(/tmp/multipartBody3370045566788682590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750345689,"filename":"image_17022025_00_58_24_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2210fd8a253534dba7a7fb97b836ac91.jpg","text":"TemporaryFile(/tmp/multipartBody6389998707289327038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750345689,"filename":"image_17022025_00_58_54_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6b260174bc11dd2fa9140da058e55780.jpg","text":"TemporaryFile(/tmp/multipartBody272984624941924104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750345689,"filename":"image_17022025_00_58_34_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78b5bf36531a616e63994f7375170ee9.jpg","text":"TemporaryFile(/tmp/multipartBody4796581154020679584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750345689,"filename":"image_17022025_00_58_04_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f45f35c573960daa03e8fb9de410fdd9.jpg","text":"TemporaryFile(/tmp/multipartBody7203218918555560901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750345689,"filename":"image_17022025_00_58_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac50d47848976ee3b8f26d7c5eef595d.jpg","text":"TemporaryFile(/tmp/multipartBody6065433742632534654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750345689,"filename":"image_17022025_00_58_14_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102884","file1":"1338102883","file0":"1338102882","file4":"1338102886","file5":"1338102887","file3":"1338102885"},"map_files_photo_id_array":[{"photo_id":"1338102887","filename":"file5"},{"photo_id":"1338102884","filename":"file2"},{"photo_id":"1338102886","filename":"file4"},{"photo_id":"1338102883","filename":"file1"},{"photo_id":"1338102882","filename":"file0"},{"photo_id":"1338102885","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102885":["hashtag1","hashtag2"]},{"1338102882":["hashtag1","hashtag2"]},{"1338102884":["hashtag1","hashtag2"]},{"1338102887":["hashtag1","hashtag2"]},{"1338102883":["hashtag1","hashtag2"]},{"1338102886":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102885, 1338102882, 1338102884, 1338102887, 1338102883, 1338102886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31893277168274 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 00:59:03.185289
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_34_9794.jpg', 0), ('/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_24_10807.jpg', 0), ('/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/00/58/image_17022025_00_59_04_9791.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_54_9775.jpg', '/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_44_9775.jpg', '/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_34_9794.jpg', '/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_24_10807.jpg', '/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_14_9777.jpg', '/home/nano/Desktop/images/17022025/00/58/image_17022025_00_59_04_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_54_9775.jpg
/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_44_9775.jpg
/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_34_9794.jpg
/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_24_10807.jpg
/home/nano/Desktop/images/17022025/00/59/image_17022025_00_59_14_9777.jpg
/home/nano/Desktop/images/17022025/00/58/image_17022025_00_59_04_9791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102891","1338102888","1338102893","1338102892","1338102895","1338102889"],"photo_ids_order":["1338102888","1338102889","1338102891","1338102892","1338102893","1338102895"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a7bb58d4fd95f02a70eae5a7e8cc33c.jpg","text":"TemporaryFile(/tmp/multipartBody2367625365318290507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750404853,"filename":"image_17022025_00_59_34_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a864e3ffd94cc37ddfcfca87cf6de38.jpg","text":"TemporaryFile(/tmp/multipartBody3420604126770012192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750404853,"filename":"image_17022025_00_59_54_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/390051e0649f5bb6e241aea68e837c0e.jpg","text":"TemporaryFile(/tmp/multipartBody142084677709151206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750404853,"filename":"image_17022025_00_59_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba72746bb7d7b2246e1204f302da9c44.jpg","text":"TemporaryFile(/tmp/multipartBody2132204688738988726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750404853,"filename":"image_17022025_00_59_24_10807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e1050281daeff62a6b0182faafd217d.jpg","text":"TemporaryFile(/tmp/multipartBody3178542177087645395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750404853,"filename":"image_17022025_00_59_04_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/144a1ee9a245da110ce2048afdd784c9.jpg","text":"TemporaryFile(/tmp/multipartBody4834866013875059106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750404853,"filename":"image_17022025_00_59_44_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102891","file1":"1338102889","file0":"1338102888","file4":"1338102893","file5":"1338102895","file3":"1338102892"},"map_files_photo_id_array":[{"photo_id":"1338102895","filename":"file5"},{"photo_id":"1338102891","filename":"file2"},{"photo_id":"1338102893","filename":"file4"},{"photo_id":"1338102889","filename":"file1"},{"photo_id":"1338102888","filename":"file0"},{"photo_id":"1338102892","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102891":["hashtag1","hashtag2"]},{"1338102888":["hashtag1","hashtag2"]},{"1338102893":["hashtag1","hashtag2"]},{"1338102892":["hashtag1","hashtag2"]},{"1338102895":["hashtag1","hashtag2"]},{"1338102889":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102891, 1338102888, 1338102893, 1338102892, 1338102895, 1338102889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94529604911804 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:00:03.053538
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_54_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_44_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_24_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_14_10788.jpg', 0), ('/home/nano/Desktop/images/17022025/00/59/image_17022025_01_00_04_9796.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_54_10783.jpg', '/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_44_9778.jpg', '/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_34_9774.jpg', '/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_24_9793.jpg', '/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_14_10788.jpg', '/home/nano/Desktop/images/17022025/00/59/image_17022025_01_00_04_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_54_10783.jpg
/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_44_9778.jpg
/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_34_9774.jpg
/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_24_9793.jpg
/home/nano/Desktop/images/17022025/01/00/image_17022025_01_00_14_10788.jpg
/home/nano/Desktop/images/17022025/00/59/image_17022025_01_00_04_9796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102901","1338102897","1338102896","1338102900","1338102899","1338102898"],"photo_ids_order":["1338102896","1338102897","1338102898","1338102899","1338102900","1338102901"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b46be039a598d9bd22bcfc11dbc2eccb.jpg","text":"TemporaryFile(/tmp/multipartBody7903825896965217102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750464199,"filename":"image_17022025_01_00_04_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d8e10aec9537087259db85fa9cbb868.jpg","text":"TemporaryFile(/tmp/multipartBody4146722536565307854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750464199,"filename":"image_17022025_01_00_44_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bb63394cc31d0149866cea8e84b39fc3.jpg","text":"TemporaryFile(/tmp/multipartBody1188028646741884510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750464199,"filename":"image_17022025_01_00_54_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4e158b2d93ce0070764c1bf4c180023.jpg","text":"TemporaryFile(/tmp/multipartBody9028409179906652895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750464199,"filename":"image_17022025_01_00_14_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ecad72a8c78019d03d2e62c0618b0471.jpg","text":"TemporaryFile(/tmp/multipartBody2689032826252877954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750464199,"filename":"image_17022025_01_00_24_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/635a7d9bbcdd453977d23603bd0f9d86.jpg","text":"TemporaryFile(/tmp/multipartBody7052491167783455953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750464199,"filename":"image_17022025_01_00_34_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102898","file1":"1338102897","file0":"1338102896","file4":"1338102900","file5":"1338102901","file3":"1338102899"},"map_files_photo_id_array":[{"photo_id":"1338102901","filename":"file5"},{"photo_id":"1338102898","filename":"file2"},{"photo_id":"1338102900","filename":"file4"},{"photo_id":"1338102897","filename":"file1"},{"photo_id":"1338102896","filename":"file0"},{"photo_id":"1338102899","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102901":["hashtag1","hashtag2"]},{"1338102897":["hashtag1","hashtag2"]},{"1338102896":["hashtag1","hashtag2"]},{"1338102900":["hashtag1","hashtag2"]},{"1338102899":["hashtag1","hashtag2"]},{"1338102898":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102901, 1338102897, 1338102896, 1338102900, 1338102899, 1338102898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.119882345199585 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:01:02.249145
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_44_10797.jpg', 0), ('/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_24_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_14_9780.jpg', 0), ('/home/nano/Desktop/images/17022025/01/00/image_17022025_01_01_04_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_54_9770.jpg', '/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_44_10797.jpg', '/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_34_9775.jpg', '/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_24_9777.jpg', '/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_14_9780.jpg', '/home/nano/Desktop/images/17022025/01/00/image_17022025_01_01_04_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_54_9770.jpg
/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_44_10797.jpg
/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_34_9775.jpg
/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_24_9777.jpg
/home/nano/Desktop/images/17022025/01/01/image_17022025_01_01_14_9780.jpg
/home/nano/Desktop/images/17022025/01/00/image_17022025_01_01_04_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102907","1338102904","1338102903","1338102906","1338102902","1338102905"],"photo_ids_order":["1338102902","1338102903","1338102904","1338102905","1338102906","1338102907"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/088688f3c3e937462222e8a80994d766.jpg","text":"TemporaryFile(/tmp/multipartBody658702891270450677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750523396,"filename":"image_17022025_01_01_04_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d7ddc756e2bbe8a0bf9d1aec844aaea.jpg","text":"TemporaryFile(/tmp/multipartBody8116063323428626141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750523396,"filename":"image_17022025_01_01_34_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c4addab9a79c27655b3b2171599b970.jpg","text":"TemporaryFile(/tmp/multipartBody7279243600536958604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750523396,"filename":"image_17022025_01_01_44_10797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5b5de6bfa542a26eff197ee942b8fcb.jpg","text":"TemporaryFile(/tmp/multipartBody2736585123296424936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750523396,"filename":"image_17022025_01_01_14_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1296d474843beb3a1e64724309a374cc.jpg","text":"TemporaryFile(/tmp/multipartBody5764497191830167428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750523396,"filename":"image_17022025_01_01_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4eab4325af29845e9bed39976f6ed1e.jpg","text":"TemporaryFile(/tmp/multipartBody9045909472654890770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750523396,"filename":"image_17022025_01_01_24_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102904","file1":"1338102903","file0":"1338102902","file4":"1338102906","file5":"1338102907","file3":"1338102905"},"map_files_photo_id_array":[{"photo_id":"1338102907","filename":"file5"},{"photo_id":"1338102904","filename":"file2"},{"photo_id":"1338102906","filename":"file4"},{"photo_id":"1338102903","filename":"file1"},{"photo_id":"1338102902","filename":"file0"},{"photo_id":"1338102905","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102907":["hashtag1","hashtag2"]},{"1338102904":["hashtag1","hashtag2"]},{"1338102903":["hashtag1","hashtag2"]},{"1338102906":["hashtag1","hashtag2"]},{"1338102902":["hashtag1","hashtag2"]},{"1338102905":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102907, 1338102904, 1338102903, 1338102906, 1338102902, 1338102905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27412486076355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:02:02.110441
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_24_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_14_9802.jpg', 0), ('/home/nano/Desktop/images/17022025/01/01/image_17022025_01_02_04_9784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_54_9773.jpg', '/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_44_9772.jpg', '/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_34_9773.jpg', '/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_24_10781.jpg', '/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_14_9802.jpg', '/home/nano/Desktop/images/17022025/01/01/image_17022025_01_02_04_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_54_9773.jpg
/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_44_9772.jpg
/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_34_9773.jpg
/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_24_10781.jpg
/home/nano/Desktop/images/17022025/01/02/image_17022025_01_02_14_9802.jpg
/home/nano/Desktop/images/17022025/01/01/image_17022025_01_02_04_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338102910","1338102913","1338102912","1338102909","1338102908","1338102911"],"photo_ids_order":["1338102908","1338102909","1338102910","1338102911","1338102912","1338102913"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e84a9b08dbc03d82bff1a0f3be7f1722.jpg","text":"TemporaryFile(/tmp/multipartBody5309245142717691631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750583876,"filename":"image_17022025_01_02_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b6449b2897da30e6549b090a4567c05.jpg","text":"TemporaryFile(/tmp/multipartBody1236557973286677665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750583876,"filename":"image_17022025_01_02_04_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/95725ed876a60184cbbb0e5c454ec2d5.jpg","text":"TemporaryFile(/tmp/multipartBody8552086709197215959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750583876,"filename":"image_17022025_01_02_14_9802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/52909e28c2e5fedaf5edfab1ae6e3631.jpg","text":"TemporaryFile(/tmp/multipartBody8440976401045128313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750583876,"filename":"image_17022025_01_02_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/066fdcb3f3947572fe0fbddec95a91e6.jpg","text":"TemporaryFile(/tmp/multipartBody3466340745897976604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750583876,"filename":"image_17022025_01_02_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b973e894a08c78236ed7eaf19c8f7025.jpg","text":"TemporaryFile(/tmp/multipartBody7054561244033681939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750583876,"filename":"image_17022025_01_02_24_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338102910","file1":"1338102909","file0":"1338102908","file4":"1338102912","file5":"1338102913","file3":"1338102911"},"map_files_photo_id_array":[{"photo_id":"1338102913","filename":"file5"},{"photo_id":"1338102910","filename":"file2"},{"photo_id":"1338102912","filename":"file4"},{"photo_id":"1338102909","filename":"file1"},{"photo_id":"1338102908","filename":"file0"},{"photo_id":"1338102911","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338102910":["hashtag1","hashtag2"]},{"1338102913":["hashtag1","hashtag2"]},{"1338102912":["hashtag1","hashtag2"]},{"1338102909":["hashtag1","hashtag2"]},{"1338102908":["hashtag1","hashtag2"]},{"1338102911":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338102910, 1338102913, 1338102912, 1338102909, 1338102908, 1338102911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.987002849578857 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:03:02.508707
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_54_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_44_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_14_10787.jpg', 0), ('/home/nano/Desktop/images/17022025/01/02/image_17022025_01_03_04_9784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_54_10782.jpg', '/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_44_9777.jpg', '/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_34_9774.jpg', '/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_24_9773.jpg', '/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_14_10787.jpg', '/home/nano/Desktop/images/17022025/01/02/image_17022025_01_03_04_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_54_10782.jpg
/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_44_9777.jpg
/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_34_9774.jpg
/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_24_9773.jpg
/home/nano/Desktop/images/17022025/01/03/image_17022025_01_03_14_10787.jpg
/home/nano/Desktop/images/17022025/01/02/image_17022025_01_03_04_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103431","1338103242","1338103070","1338103478","1338103477","1338102914"],"photo_ids_order":["1338102914","1338103070","1338103242","1338103431","1338103477","1338103478"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d00ae43605cbde8612bc2001c1d1c4f2.jpg","text":"TemporaryFile(/tmp/multipartBody7754531947673401494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750644603,"filename":"image_17022025_01_03_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0775831669fbb33967a3b2b101e91f4.jpg","text":"TemporaryFile(/tmp/multipartBody8360048359224262053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750644603,"filename":"image_17022025_01_03_34_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c1d61e0c1d399f87fc8fb8ab01766d1.jpg","text":"TemporaryFile(/tmp/multipartBody7891658525381936786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750644603,"filename":"image_17022025_01_03_44_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/711d7e0e0211f554567aaca280b5191c.jpg","text":"TemporaryFile(/tmp/multipartBody7797870875666366449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750644603,"filename":"image_17022025_01_03_04_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a53ff28bc185bd98dd4bb9f84123348.jpg","text":"TemporaryFile(/tmp/multipartBody8236257645019882687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750644603,"filename":"image_17022025_01_03_14_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc02f105baaa9cae6bba166d6cf12c6a.jpg","text":"TemporaryFile(/tmp/multipartBody7725944463560741442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750644603,"filename":"image_17022025_01_03_54_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103242","file1":"1338103070","file0":"1338102914","file4":"1338103477","file5":"1338103478","file3":"1338103431"},"map_files_photo_id_array":[{"photo_id":"1338103478","filename":"file5"},{"photo_id":"1338103242","filename":"file2"},{"photo_id":"1338103477","filename":"file4"},{"photo_id":"1338103070","filename":"file1"},{"photo_id":"1338102914","filename":"file0"},{"photo_id":"1338103431","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103431":["hashtag1","hashtag2"]},{"1338103242":["hashtag1","hashtag2"]},{"1338103070":["hashtag1","hashtag2"]},{"1338103478":["hashtag1","hashtag2"]},{"1338103477":["hashtag1","hashtag2"]},{"1338102914":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103431, 1338103242, 1338103070, 1338103478, 1338103477, 1338102914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8378643989563 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:04:02.561065
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_44_10804.jpg', 0), ('/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_14_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/01/03/image_17022025_01_04_04_9791.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_54_9772.jpg', '/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_44_10804.jpg', '/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_34_9773.jpg', '/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_24_9773.jpg', '/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_14_9795.jpg', '/home/nano/Desktop/images/17022025/01/03/image_17022025_01_04_04_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_54_9772.jpg
/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_44_10804.jpg
/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_34_9773.jpg
/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_24_9773.jpg
/home/nano/Desktop/images/17022025/01/04/image_17022025_01_04_14_9795.jpg
/home/nano/Desktop/images/17022025/01/03/image_17022025_01_04_04_9791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103596","1338103595","1338103598","1338103597","1338103600","1338103599"],"photo_ids_order":["1338103595","1338103596","1338103597","1338103598","1338103599","1338103600"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a225a27901177526ed77e65840dd964a.jpg","text":"TemporaryFile(/tmp/multipartBody6519122314681900601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750704094,"filename":"image_17022025_01_04_44_10804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d4eb0fc7f7c525f49630570e8f18ac1.jpg","text":"TemporaryFile(/tmp/multipartBody1785540231291669492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750704094,"filename":"image_17022025_01_04_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a49f47c3038051a3f61d74bdf81f36c.jpg","text":"TemporaryFile(/tmp/multipartBody3632406388622622185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750704094,"filename":"image_17022025_01_04_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c04a74a03ef81584ac60286c3cb8617.jpg","text":"TemporaryFile(/tmp/multipartBody3344816792546745043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750704094,"filename":"image_17022025_01_04_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d050edb83101312d97048e4fdb4638d2.jpg","text":"TemporaryFile(/tmp/multipartBody2267855065768532147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750704094,"filename":"image_17022025_01_04_04_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80ec97a22841157611d5e3fd5740d532.jpg","text":"TemporaryFile(/tmp/multipartBody7056824663551716006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750704094,"filename":"image_17022025_01_04_14_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103597","file1":"1338103596","file0":"1338103595","file4":"1338103599","file5":"1338103600","file3":"1338103598"},"map_files_photo_id_array":[{"photo_id":"1338103600","filename":"file5"},{"photo_id":"1338103597","filename":"file2"},{"photo_id":"1338103599","filename":"file4"},{"photo_id":"1338103596","filename":"file1"},{"photo_id":"1338103595","filename":"file0"},{"photo_id":"1338103598","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103596":["hashtag1","hashtag2"]},{"1338103595":["hashtag1","hashtag2"]},{"1338103598":["hashtag1","hashtag2"]},{"1338103597":["hashtag1","hashtag2"]},{"1338103600":["hashtag1","hashtag2"]},{"1338103599":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103596, 1338103595, 1338103598, 1338103597, 1338103600, 1338103599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53886294364929 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:05:02.597096
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_54_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_34_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/04/image_17022025_01_05_04_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_54_9779.jpg', '/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_44_9773.jpg', '/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_34_10785.jpg', '/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_24_9774.jpg', '/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_14_9777.jpg', '/home/nano/Desktop/images/17022025/01/04/image_17022025_01_05_04_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_54_9779.jpg
/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_44_9773.jpg
/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_34_10785.jpg
/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_24_9774.jpg
/home/nano/Desktop/images/17022025/01/05/image_17022025_01_05_14_9777.jpg
/home/nano/Desktop/images/17022025/01/04/image_17022025_01_05_04_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103603","1338103605","1338103602","1338103601","1338103604","1338103606"],"photo_ids_order":["1338103601","1338103602","1338103603","1338103604","1338103605","1338103606"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77ac8cc4a081be21d781f370cc06bd42.jpg","text":"TemporaryFile(/tmp/multipartBody2203263188013363738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750764523,"filename":"image_17022025_01_05_34_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c871d806c4510892de00346135963b6c.jpg","text":"TemporaryFile(/tmp/multipartBody8530649178057219580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750764523,"filename":"image_17022025_01_05_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07a50a4a406870b293926b8977dfdc3b.jpg","text":"TemporaryFile(/tmp/multipartBody6528830973019744069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750764523,"filename":"image_17022025_01_05_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0dd9c9c3707655d20c9f023588ef0172.jpg","text":"TemporaryFile(/tmp/multipartBody1775743436647583410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750764523,"filename":"image_17022025_01_05_54_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67ef1a6213e1d76ece1768a77b388098.jpg","text":"TemporaryFile(/tmp/multipartBody8992820385465776660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750764523,"filename":"image_17022025_01_05_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e80eee716b17744ee7afb0daab9cb96d.jpg","text":"TemporaryFile(/tmp/multipartBody3544692548347959429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750764523,"filename":"image_17022025_01_05_04_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103603","file1":"1338103602","file0":"1338103601","file4":"1338103605","file5":"1338103606","file3":"1338103604"},"map_files_photo_id_array":[{"photo_id":"1338103606","filename":"file5"},{"photo_id":"1338103603","filename":"file2"},{"photo_id":"1338103605","filename":"file4"},{"photo_id":"1338103602","filename":"file1"},{"photo_id":"1338103601","filename":"file0"},{"photo_id":"1338103604","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103603":["hashtag1","hashtag2"]},{"1338103605":["hashtag1","hashtag2"]},{"1338103602":["hashtag1","hashtag2"]},{"1338103601":["hashtag1","hashtag2"]},{"1338103604":["hashtag1","hashtag2"]},{"1338103606":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103603, 1338103605, 1338103602, 1338103601, 1338103604, 1338103606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.559338331222534 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:06:02.703374
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_44_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_24_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_14_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/01/05/image_17022025_01_06_04_9805.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_54_9772.jpg', '/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_44_9776.jpg', '/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_34_9775.jpg', '/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_24_9776.jpg', '/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_14_10786.jpg', '/home/nano/Desktop/images/17022025/01/05/image_17022025_01_06_04_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_54_9772.jpg
/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_44_9776.jpg
/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_34_9775.jpg
/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_24_9776.jpg
/home/nano/Desktop/images/17022025/01/06/image_17022025_01_06_14_10786.jpg
/home/nano/Desktop/images/17022025/01/05/image_17022025_01_06_04_9805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103611","1338103608","1338103610","1338103607","1338103612","1338103609"],"photo_ids_order":["1338103607","1338103608","1338103609","1338103610","1338103611","1338103612"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d2220fa2fdffdf1e7712c5354b3a4cf.jpg","text":"TemporaryFile(/tmp/multipartBody5069324521434216651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750824032,"filename":"image_17022025_01_06_14_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b341efdd9522a376f1e45b6243008370.jpg","text":"TemporaryFile(/tmp/multipartBody8062714180590684517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750824032,"filename":"image_17022025_01_06_44_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c04c8b673920b6d00ecdc39ee979110.jpg","text":"TemporaryFile(/tmp/multipartBody6696588161818447974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750824032,"filename":"image_17022025_01_06_24_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4227af288464c7c947ef0d6086f8e7b5.jpg","text":"TemporaryFile(/tmp/multipartBody3788847978742018277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750824032,"filename":"image_17022025_01_06_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67000bbe456d2a4c185c8bf3b2e4fa01.jpg","text":"TemporaryFile(/tmp/multipartBody5551053954456448609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750824032,"filename":"image_17022025_01_06_04_9805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3e656303e99f92f41ddb012d1f81f7f.jpg","text":"TemporaryFile(/tmp/multipartBody8781822433813457663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750824032,"filename":"image_17022025_01_06_34_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103609","file1":"1338103608","file0":"1338103607","file4":"1338103611","file5":"1338103612","file3":"1338103610"},"map_files_photo_id_array":[{"photo_id":"1338103612","filename":"file5"},{"photo_id":"1338103609","filename":"file2"},{"photo_id":"1338103611","filename":"file4"},{"photo_id":"1338103608","filename":"file1"},{"photo_id":"1338103607","filename":"file0"},{"photo_id":"1338103610","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103611":["hashtag1","hashtag2"]},{"1338103608":["hashtag1","hashtag2"]},{"1338103610":["hashtag1","hashtag2"]},{"1338103607":["hashtag1","hashtag2"]},{"1338103612":["hashtag1","hashtag2"]},{"1338103609":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103611, 1338103608, 1338103610, 1338103607, 1338103612, 1338103609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06680655479431 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:07:02.844525
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_54_10787.jpg', 0), ('/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_43_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_34_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_24_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_14_9806.jpg', 0), ('/home/nano/Desktop/images/17022025/01/06/image_17022025_01_07_04_10787.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_54_10787.jpg', '/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_43_9775.jpg', '/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_34_9776.jpg', '/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_24_9777.jpg', '/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_14_9806.jpg', '/home/nano/Desktop/images/17022025/01/06/image_17022025_01_07_04_10787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_54_10787.jpg
/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_43_9775.jpg
/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_34_9776.jpg
/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_24_9777.jpg
/home/nano/Desktop/images/17022025/01/07/image_17022025_01_07_14_9806.jpg
/home/nano/Desktop/images/17022025/01/06/image_17022025_01_07_04_10787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103618","1338103617","1338103614","1338103616","1338103613","1338103615"],"photo_ids_order":["1338103613","1338103614","1338103615","1338103616","1338103617","1338103618"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79958a840e74393a0b38bd755a0bcfe4.jpg","text":"TemporaryFile(/tmp/multipartBody2918828153836122638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750884001,"filename":"image_17022025_01_07_04_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba753a4ce723ebfa37d518ef203af15e.jpg","text":"TemporaryFile(/tmp/multipartBody1439356097338583579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750884001,"filename":"image_17022025_01_07_14_9806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d74f000c553761e5e4da713ee3d8a24.jpg","text":"TemporaryFile(/tmp/multipartBody5242449175579975722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750884001,"filename":"image_17022025_01_07_43_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/393fdc8fe2f7e11695b39641842787fc.jpg","text":"TemporaryFile(/tmp/multipartBody4801371219171865133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750884001,"filename":"image_17022025_01_07_24_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3ac50173890fad5029f3da02ffbfe22.jpg","text":"TemporaryFile(/tmp/multipartBody2283399159905479467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750884001,"filename":"image_17022025_01_07_54_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f06e900d01d5290fad529007719e3100.jpg","text":"TemporaryFile(/tmp/multipartBody2899721272096138410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750884001,"filename":"image_17022025_01_07_34_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103615","file1":"1338103614","file0":"1338103613","file4":"1338103617","file5":"1338103618","file3":"1338103616"},"map_files_photo_id_array":[{"photo_id":"1338103618","filename":"file5"},{"photo_id":"1338103615","filename":"file2"},{"photo_id":"1338103617","filename":"file4"},{"photo_id":"1338103614","filename":"file1"},{"photo_id":"1338103613","filename":"file0"},{"photo_id":"1338103616","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103618":["hashtag1","hashtag2"]},{"1338103617":["hashtag1","hashtag2"]},{"1338103614":["hashtag1","hashtag2"]},{"1338103616":["hashtag1","hashtag2"]},{"1338103613":["hashtag1","hashtag2"]},{"1338103615":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103618, 1338103617, 1338103614, 1338103616, 1338103613, 1338103615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.012167930603027 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:08:02.755144
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_54_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_34_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_24_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_14_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/01/07/image_17022025_01_08_04_9796.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_54_9777.jpg', '/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_44_9775.jpg', '/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_34_10784.jpg', '/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_24_9777.jpg', '/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_14_9778.jpg', '/home/nano/Desktop/images/17022025/01/07/image_17022025_01_08_04_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_54_9777.jpg
/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_44_9775.jpg
/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_34_10784.jpg
/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_24_9777.jpg
/home/nano/Desktop/images/17022025/01/08/image_17022025_01_08_14_9778.jpg
/home/nano/Desktop/images/17022025/01/07/image_17022025_01_08_04_9796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103623","1338103620","1338103622","1338103619","1338103624","1338103621"],"photo_ids_order":["1338103619","1338103620","1338103621","1338103622","1338103623","1338103624"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/765f819c3ebaeec0dc90b040ef8c013b.jpg","text":"TemporaryFile(/tmp/multipartBody181052001435536031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750944017,"filename":"image_17022025_01_08_14_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a8dd4f69b2b1f9ad955270a3f101db97.jpg","text":"TemporaryFile(/tmp/multipartBody2333956408489011653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750944017,"filename":"image_17022025_01_08_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a906271792c8a85b1cb0c466e1947cce.jpg","text":"TemporaryFile(/tmp/multipartBody4378822608963802058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750944017,"filename":"image_17022025_01_08_24_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce6878d441cee1ebfee5634165f11aa6.jpg","text":"TemporaryFile(/tmp/multipartBody9181044636681541422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750944017,"filename":"image_17022025_01_08_54_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e94ef6b89308d582a3d1723a50edaac9.jpg","text":"TemporaryFile(/tmp/multipartBody8768500607696438772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750944017,"filename":"image_17022025_01_08_04_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc8a977cd37c2b9ad570c506e9716a62.jpg","text":"TemporaryFile(/tmp/multipartBody428074252676358805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739750944017,"filename":"image_17022025_01_08_34_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103621","file1":"1338103620","file0":"1338103619","file4":"1338103623","file5":"1338103624","file3":"1338103622"},"map_files_photo_id_array":[{"photo_id":"1338103624","filename":"file5"},{"photo_id":"1338103621","filename":"file2"},{"photo_id":"1338103623","filename":"file4"},{"photo_id":"1338103620","filename":"file1"},{"photo_id":"1338103619","filename":"file0"},{"photo_id":"1338103622","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103623":["hashtag1","hashtag2"]},{"1338103620":["hashtag1","hashtag2"]},{"1338103622":["hashtag1","hashtag2"]},{"1338103619":["hashtag1","hashtag2"]},{"1338103624":["hashtag1","hashtag2"]},{"1338103621":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103623, 1338103620, 1338103622, 1338103619, 1338103624, 1338103621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.3447687625885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:09:03.146107
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_54_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_44_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_24_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/08/image_17022025_01_09_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_54_9777.jpg', '/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_44_9776.jpg', '/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_34_9773.jpg', '/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_24_10782.jpg', '/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_14_9777.jpg', '/home/nano/Desktop/images/17022025/01/08/image_17022025_01_09_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_54_9777.jpg
/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_44_9776.jpg
/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_34_9773.jpg
/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_24_10782.jpg
/home/nano/Desktop/images/17022025/01/09/image_17022025_01_09_14_9777.jpg
/home/nano/Desktop/images/17022025/01/08/image_17022025_01_09_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103626","1338103629","1338103628","1338103625","1338103630","1338103627"],"photo_ids_order":["1338103625","1338103626","1338103627","1338103628","1338103629","1338103630"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b932ba21c90d8a04b8769a0965a51628.jpg","text":"TemporaryFile(/tmp/multipartBody1698790660464544197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751004607,"filename":"image_17022025_01_09_44_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/393bec8b3e4df68772a6c7b64b320e8d.jpg","text":"TemporaryFile(/tmp/multipartBody4401046022135401328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751004607,"filename":"image_17022025_01_09_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efad65b5610aa8201575912c6f4c220e.jpg","text":"TemporaryFile(/tmp/multipartBody7546919819459250990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751004607,"filename":"image_17022025_01_09_24_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa5a53adba3ba91d8ac27ae5c5c8295e.jpg","text":"TemporaryFile(/tmp/multipartBody1008171067185375622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751004607,"filename":"image_17022025_01_09_54_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e930f592cc0b28bf32302b62abcfec0.jpg","text":"TemporaryFile(/tmp/multipartBody8273698159809294674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751004607,"filename":"image_17022025_01_09_04_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/304a8e66a2893df15a9bacf41d443704.jpg","text":"TemporaryFile(/tmp/multipartBody3511409165394874846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751004607,"filename":"image_17022025_01_09_34_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103627","file1":"1338103626","file0":"1338103625","file4":"1338103629","file5":"1338103630","file3":"1338103628"},"map_files_photo_id_array":[{"photo_id":"1338103630","filename":"file5"},{"photo_id":"1338103627","filename":"file2"},{"photo_id":"1338103629","filename":"file4"},{"photo_id":"1338103626","filename":"file1"},{"photo_id":"1338103625","filename":"file0"},{"photo_id":"1338103628","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103626":["hashtag1","hashtag2"]},{"1338103629":["hashtag1","hashtag2"]},{"1338103628":["hashtag1","hashtag2"]},{"1338103625":["hashtag1","hashtag2"]},{"1338103630":["hashtag1","hashtag2"]},{"1338103627":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103626, 1338103629, 1338103628, 1338103625, 1338103630, 1338103627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63486313819885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:10:02.933319
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_54_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/09/image_17022025_01_10_04_10787.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_54_10782.jpg', '/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_44_9771.jpg', '/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_34_9774.jpg', '/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_24_9774.jpg', '/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_14_9777.jpg', '/home/nano/Desktop/images/17022025/01/09/image_17022025_01_10_04_10787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_54_10782.jpg
/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_44_9771.jpg
/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_34_9774.jpg
/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_24_9774.jpg
/home/nano/Desktop/images/17022025/01/10/image_17022025_01_10_14_9777.jpg
/home/nano/Desktop/images/17022025/01/09/image_17022025_01_10_04_10787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103635","1338103632","1338103634","1338103637","1338103633","1338103636"],"photo_ids_order":["1338103632","1338103633","1338103634","1338103635","1338103636","1338103637"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d7f4e05fd2627d2de1f2a7b5677b0531.jpg","text":"TemporaryFile(/tmp/multipartBody180802261670841848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751064493,"filename":"image_17022025_01_10_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b66e182a8e402e9e771ab2cbb7d6f5c1.jpg","text":"TemporaryFile(/tmp/multipartBody6372952533062095352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751064493,"filename":"image_17022025_01_10_54_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00857c0f55497947556c8f06cf806f60.jpg","text":"TemporaryFile(/tmp/multipartBody5093102991812258088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751064493,"filename":"image_17022025_01_10_34_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/201471c1f618ba46d0a697669b526e3a.jpg","text":"TemporaryFile(/tmp/multipartBody8184326063900378698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751064493,"filename":"image_17022025_01_10_04_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f641107376a63323ead90ae17974aad.jpg","text":"TemporaryFile(/tmp/multipartBody7659911116943602579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751064493,"filename":"image_17022025_01_10_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/837cca64b39d3f6cfc89dd8f923b3d14.jpg","text":"TemporaryFile(/tmp/multipartBody3792635787290125939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751064493,"filename":"image_17022025_01_10_14_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103634","file1":"1338103633","file0":"1338103632","file4":"1338103636","file5":"1338103637","file3":"1338103635"},"map_files_photo_id_array":[{"photo_id":"1338103637","filename":"file5"},{"photo_id":"1338103634","filename":"file2"},{"photo_id":"1338103636","filename":"file4"},{"photo_id":"1338103633","filename":"file1"},{"photo_id":"1338103632","filename":"file0"},{"photo_id":"1338103635","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103635":["hashtag1","hashtag2"]},{"1338103632":["hashtag1","hashtag2"]},{"1338103634":["hashtag1","hashtag2"]},{"1338103637":["hashtag1","hashtag2"]},{"1338103633":["hashtag1","hashtag2"]},{"1338103636":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103635, 1338103632, 1338103634, 1338103637, 1338103633, 1338103636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04095792770386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:11:03.229186
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_34_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_14_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/10/image_17022025_01_11_04_9795.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_54_9771.jpg', '/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_44_9771.jpg', '/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_34_10779.jpg', '/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_24_9773.jpg', '/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_14_9771.jpg', '/home/nano/Desktop/images/17022025/01/10/image_17022025_01_11_04_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_54_9771.jpg
/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_44_9771.jpg
/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_34_10779.jpg
/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_24_9773.jpg
/home/nano/Desktop/images/17022025/01/11/image_17022025_01_11_14_9771.jpg
/home/nano/Desktop/images/17022025/01/10/image_17022025_01_11_04_9795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103641","1338103638","1338103640","1338103643","1338103642","1338103639"],"photo_ids_order":["1338103638","1338103639","1338103640","1338103641","1338103642","1338103643"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/041ceae316a4d75a527e61891d5aae29.jpg","text":"TemporaryFile(/tmp/multipartBody7382642252300857030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751124489,"filename":"image_17022025_01_11_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/44ca51a5f35c5419a8dd4ce48ee6dbbb.jpg","text":"TemporaryFile(/tmp/multipartBody7745846313663536570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751124489,"filename":"image_17022025_01_11_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f32881735cad2dc13c0feb001e98a7e3.jpg","text":"TemporaryFile(/tmp/multipartBody7450025827271400021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751124489,"filename":"image_17022025_01_11_34_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3cce47e4596b41ed8929cb78d95587a2.jpg","text":"TemporaryFile(/tmp/multipartBody1677676788406955651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751124489,"filename":"image_17022025_01_11_04_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d0a0d1d6b497aac9753902fa8c1e8c2.jpg","text":"TemporaryFile(/tmp/multipartBody7792213840190548137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751124489,"filename":"image_17022025_01_11_14_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e487b6e508603e05a87851c058538787.jpg","text":"TemporaryFile(/tmp/multipartBody6408953313141278745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751124489,"filename":"image_17022025_01_11_44_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103640","file1":"1338103639","file0":"1338103638","file4":"1338103642","file5":"1338103643","file3":"1338103641"},"map_files_photo_id_array":[{"photo_id":"1338103643","filename":"file5"},{"photo_id":"1338103640","filename":"file2"},{"photo_id":"1338103642","filename":"file4"},{"photo_id":"1338103639","filename":"file1"},{"photo_id":"1338103638","filename":"file0"},{"photo_id":"1338103641","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103641":["hashtag1","hashtag2"]},{"1338103638":["hashtag1","hashtag2"]},{"1338103640":["hashtag1","hashtag2"]},{"1338103643":["hashtag1","hashtag2"]},{"1338103642":["hashtag1","hashtag2"]},{"1338103639":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103641, 1338103638, 1338103640, 1338103643, 1338103642, 1338103639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.207931995391846 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:12:02.248046
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_24_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_14_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/01/11/image_17022025_01_12_04_9789.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_54_9770.jpg', '/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_44_9774.jpg', '/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_34_9771.jpg', '/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_24_10785.jpg', '/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_14_9795.jpg', '/home/nano/Desktop/images/17022025/01/11/image_17022025_01_12_04_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_54_9770.jpg
/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_44_9774.jpg
/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_34_9771.jpg
/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_24_10785.jpg
/home/nano/Desktop/images/17022025/01/12/image_17022025_01_12_14_9795.jpg
/home/nano/Desktop/images/17022025/01/11/image_17022025_01_12_04_9789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103644","1338103647","1338103646","1338103649","1338103645","1338103648"],"photo_ids_order":["1338103644","1338103645","1338103646","1338103647","1338103648","1338103649"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/73835512d9eaf3b5f0269c2abf12eac3.jpg","text":"TemporaryFile(/tmp/multipartBody4881904636630473380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751183420,"filename":"image_17022025_01_12_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a7b0e4d925f123ddc05f1226effe14d.jpg","text":"TemporaryFile(/tmp/multipartBody714679114220479011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751183420,"filename":"image_17022025_01_12_24_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/088135c403a54209577d695b1018aba3.jpg","text":"TemporaryFile(/tmp/multipartBody1214316068586564366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751183420,"filename":"image_17022025_01_12_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28f40bc4c498c1b8b31c865e25e10e9a.jpg","text":"TemporaryFile(/tmp/multipartBody4486597057576270423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751183420,"filename":"image_17022025_01_12_04_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aabdcb0bb5bcbab1842ab16df977e0d4.jpg","text":"TemporaryFile(/tmp/multipartBody6529836641439473264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751183420,"filename":"image_17022025_01_12_44_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24471f91d4010c1fc418a042d5b95580.jpg","text":"TemporaryFile(/tmp/multipartBody6815630781246248797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751183420,"filename":"image_17022025_01_12_14_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103646","file1":"1338103645","file0":"1338103644","file4":"1338103648","file5":"1338103649","file3":"1338103647"},"map_files_photo_id_array":[{"photo_id":"1338103649","filename":"file5"},{"photo_id":"1338103646","filename":"file2"},{"photo_id":"1338103648","filename":"file4"},{"photo_id":"1338103645","filename":"file1"},{"photo_id":"1338103644","filename":"file0"},{"photo_id":"1338103647","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103644":["hashtag1","hashtag2"]},{"1338103647":["hashtag1","hashtag2"]},{"1338103646":["hashtag1","hashtag2"]},{"1338103649":["hashtag1","hashtag2"]},{"1338103645":["hashtag1","hashtag2"]},{"1338103648":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103644, 1338103647, 1338103646, 1338103649, 1338103645, 1338103648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22935247421265 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:13:02.310027
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_54_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/12/image_17022025_01_13_04_10782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_54_10785.jpg', '/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_44_9771.jpg', '/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_34_9773.jpg', '/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_24_9772.jpg', '/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_14_9775.jpg', '/home/nano/Desktop/images/17022025/01/12/image_17022025_01_13_04_10782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_54_10785.jpg
/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_44_9771.jpg
/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_34_9773.jpg
/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_24_9772.jpg
/home/nano/Desktop/images/17022025/01/13/image_17022025_01_13_14_9775.jpg
/home/nano/Desktop/images/17022025/01/12/image_17022025_01_13_04_10782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103653","1338103650","1338103652","1338103655","1338103651","1338103654"],"photo_ids_order":["1338103650","1338103651","1338103652","1338103653","1338103654","1338103655"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b32ced7954d09b1ac6bf5f2f83778914.jpg","text":"TemporaryFile(/tmp/multipartBody5077985096995801929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751244071,"filename":"image_17022025_01_13_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e48b4ca1f477b7b41cf481aa7cc3fa5e.jpg","text":"TemporaryFile(/tmp/multipartBody6674888822196569045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751244071,"filename":"image_17022025_01_13_54_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17efd8dfb746e6a4e98f2fd2d9d116c7.jpg","text":"TemporaryFile(/tmp/multipartBody1527070079864408273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751244071,"filename":"image_17022025_01_13_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e43266523aa9b5cdb6f85fe4b045689.jpg","text":"TemporaryFile(/tmp/multipartBody131335606496167814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751244071,"filename":"image_17022025_01_13_04_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd70e0a847929ecd068f118f12c8776a.jpg","text":"TemporaryFile(/tmp/multipartBody1973711476809659832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751244071,"filename":"image_17022025_01_13_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4f84f3c6d38d1bd82d782d5dfee1c5b.jpg","text":"TemporaryFile(/tmp/multipartBody288898279529650643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751244071,"filename":"image_17022025_01_13_14_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103652","file1":"1338103651","file0":"1338103650","file4":"1338103654","file5":"1338103655","file3":"1338103653"},"map_files_photo_id_array":[{"photo_id":"1338103655","filename":"file5"},{"photo_id":"1338103652","filename":"file2"},{"photo_id":"1338103654","filename":"file4"},{"photo_id":"1338103651","filename":"file1"},{"photo_id":"1338103650","filename":"file0"},{"photo_id":"1338103653","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103653":["hashtag1","hashtag2"]},{"1338103650":["hashtag1","hashtag2"]},{"1338103652":["hashtag1","hashtag2"]},{"1338103655":["hashtag1","hashtag2"]},{"1338103651":["hashtag1","hashtag2"]},{"1338103654":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103653, 1338103650, 1338103652, 1338103655, 1338103651, 1338103654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.20450234413147 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:14:02.572060
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_34_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_24_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_14_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/13/image_17022025_01_14_04_9777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_54_9775.jpg', '/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_44_9772.jpg', '/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_34_10781.jpg', '/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_24_9777.jpg', '/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_14_9773.jpg', '/home/nano/Desktop/images/17022025/01/13/image_17022025_01_14_04_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_54_9775.jpg
/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_44_9772.jpg
/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_34_10781.jpg
/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_24_9777.jpg
/home/nano/Desktop/images/17022025/01/14/image_17022025_01_14_14_9773.jpg
/home/nano/Desktop/images/17022025/01/13/image_17022025_01_14_04_9777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103656","1338103659","1338103658","1338103661","1338103660","1338103663"],"photo_ids_order":["1338103656","1338103658","1338103659","1338103660","1338103661","1338103663"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ade0a4fcfd868f16dfb02bade8aa125.jpg","text":"TemporaryFile(/tmp/multipartBody3909375032183464562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751304240,"filename":"image_17022025_01_14_54_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cbe188b4bfab5c776d5d698bf69d7eda.jpg","text":"TemporaryFile(/tmp/multipartBody5076344924192935069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751304240,"filename":"image_17022025_01_14_34_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f9c527c968f30c157ffbf2658544aaa3.jpg","text":"TemporaryFile(/tmp/multipartBody6988347709311614828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751304240,"filename":"image_17022025_01_14_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/083eed4335523adfaebe9666bd716542.jpg","text":"TemporaryFile(/tmp/multipartBody2266746555512393737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751304240,"filename":"image_17022025_01_14_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a9f7a5c6d1b8bac42b1d38f1f61d2db.jpg","text":"TemporaryFile(/tmp/multipartBody3059123388210955614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751304240,"filename":"image_17022025_01_14_24_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/66634b1978c056492a691968267b42b2.jpg","text":"TemporaryFile(/tmp/multipartBody784627233098661496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751304240,"filename":"image_17022025_01_14_04_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103659","file1":"1338103658","file0":"1338103656","file4":"1338103661","file5":"1338103663","file3":"1338103660"},"map_files_photo_id_array":[{"photo_id":"1338103663","filename":"file5"},{"photo_id":"1338103659","filename":"file2"},{"photo_id":"1338103661","filename":"file4"},{"photo_id":"1338103658","filename":"file1"},{"photo_id":"1338103656","filename":"file0"},{"photo_id":"1338103660","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103656":["hashtag1","hashtag2"]},{"1338103659":["hashtag1","hashtag2"]},{"1338103658":["hashtag1","hashtag2"]},{"1338103661":["hashtag1","hashtag2"]},{"1338103660":["hashtag1","hashtag2"]},{"1338103663":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103656, 1338103659, 1338103658, 1338103661, 1338103660, 1338103663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83010792732239 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:15:02.570847
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_44_9794.jpg', 0), ('/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_24_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_14_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/14/image_17022025_01_15_04_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_54_9773.jpg', '/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_44_9794.jpg', '/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_34_9773.jpg', '/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_24_10782.jpg', '/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_14_9773.jpg', '/home/nano/Desktop/images/17022025/01/14/image_17022025_01_15_04_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_54_9773.jpg
/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_44_9794.jpg
/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_34_9773.jpg
/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_24_10782.jpg
/home/nano/Desktop/images/17022025/01/15/image_17022025_01_15_14_9773.jpg
/home/nano/Desktop/images/17022025/01/14/image_17022025_01_15_04_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103668","1338103665","1338103664","1338103667","1338103669","1338103666"],"photo_ids_order":["1338103664","1338103665","1338103666","1338103667","1338103668","1338103669"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/088fefae010c0d1962dad22031b9105f.jpg","text":"TemporaryFile(/tmp/multipartBody3126999082753859769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751364347,"filename":"image_17022025_01_15_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f2ad631824e8dddda621e6afc6043ae1.jpg","text":"TemporaryFile(/tmp/multipartBody9081412463025500950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751364347,"filename":"image_17022025_01_15_44_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d2e808843ce45d3cf9884ca8f674d1e4.jpg","text":"TemporaryFile(/tmp/multipartBody4642662372954165974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751364347,"filename":"image_17022025_01_15_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c18de378bb21ae979efe24b6bf7490e9.jpg","text":"TemporaryFile(/tmp/multipartBody4953937887265866766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751364347,"filename":"image_17022025_01_15_24_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d18cdf80bedf62dcd9f1262efb5fe08d.jpg","text":"TemporaryFile(/tmp/multipartBody639190650056319756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751364347,"filename":"image_17022025_01_15_04_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19eb69d6672f7cc7ce605742006d21e5.jpg","text":"TemporaryFile(/tmp/multipartBody5437278874493957181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751364347,"filename":"image_17022025_01_15_34_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103666","file1":"1338103665","file0":"1338103664","file4":"1338103668","file5":"1338103669","file3":"1338103667"},"map_files_photo_id_array":[{"photo_id":"1338103669","filename":"file5"},{"photo_id":"1338103666","filename":"file2"},{"photo_id":"1338103668","filename":"file4"},{"photo_id":"1338103665","filename":"file1"},{"photo_id":"1338103664","filename":"file0"},{"photo_id":"1338103667","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103668":["hashtag1","hashtag2"]},{"1338103665":["hashtag1","hashtag2"]},{"1338103664":["hashtag1","hashtag2"]},{"1338103667":["hashtag1","hashtag2"]},{"1338103669":["hashtag1","hashtag2"]},{"1338103666":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103668, 1338103665, 1338103664, 1338103667, 1338103669, 1338103666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.93110489845276 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:16:02.397508
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_54_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/15/image_17022025_01_16_04_10787.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_54_10784.jpg', '/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_44_9775.jpg', '/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_34_9775.jpg', '/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_24_9773.jpg', '/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_14_9777.jpg', '/home/nano/Desktop/images/17022025/01/15/image_17022025_01_16_04_10787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_54_10784.jpg
/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_44_9775.jpg
/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_34_9775.jpg
/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_24_9773.jpg
/home/nano/Desktop/images/17022025/01/16/image_17022025_01_16_14_9777.jpg
/home/nano/Desktop/images/17022025/01/15/image_17022025_01_16_04_10787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103671","1338103674","1338103670","1338103673","1338103675","1338103672"],"photo_ids_order":["1338103670","1338103671","1338103672","1338103673","1338103674","1338103675"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/95ec69e8e5c806468e0f1c8188b66f29.jpg","text":"TemporaryFile(/tmp/multipartBody4685343584472441050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751424077,"filename":"image_17022025_01_16_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9553f9f4516eec68775d3bf1f4ca20b1.jpg","text":"TemporaryFile(/tmp/multipartBody195638897627518874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751424077,"filename":"image_17022025_01_16_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e3db0ba5841e4a4820466a42e2d8825.jpg","text":"TemporaryFile(/tmp/multipartBody6430611592620654868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751424077,"filename":"image_17022025_01_16_54_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a660b5c322a35940a4bef7612041fb21.jpg","text":"TemporaryFile(/tmp/multipartBody5755821359619363833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751424077,"filename":"image_17022025_01_16_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60b675a91b3b6d165fcd6b3bbb19dbec.jpg","text":"TemporaryFile(/tmp/multipartBody8411079108391100894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751424077,"filename":"image_17022025_01_16_04_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/68c286be2f4642ed805d6755c878e0b0.jpg","text":"TemporaryFile(/tmp/multipartBody6637432218782441304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751424077,"filename":"image_17022025_01_16_34_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103672","file1":"1338103671","file0":"1338103670","file4":"1338103674","file5":"1338103675","file3":"1338103673"},"map_files_photo_id_array":[{"photo_id":"1338103675","filename":"file5"},{"photo_id":"1338103672","filename":"file2"},{"photo_id":"1338103674","filename":"file4"},{"photo_id":"1338103671","filename":"file1"},{"photo_id":"1338103670","filename":"file0"},{"photo_id":"1338103673","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103671":["hashtag1","hashtag2"]},{"1338103674":["hashtag1","hashtag2"]},{"1338103670":["hashtag1","hashtag2"]},{"1338103673":["hashtag1","hashtag2"]},{"1338103675":["hashtag1","hashtag2"]},{"1338103672":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103671, 1338103674, 1338103670, 1338103673, 1338103675, 1338103672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.89500331878662 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:17:02.756509
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_34_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_14_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/01/16/image_17022025_01_17_04_9785.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_54_9773.jpg', '/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_44_9775.jpg', '/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_34_10782.jpg', '/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_24_9774.jpg', '/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_14_9795.jpg', '/home/nano/Desktop/images/17022025/01/16/image_17022025_01_17_04_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_54_9773.jpg
/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_44_9775.jpg
/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_34_10782.jpg
/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_24_9774.jpg
/home/nano/Desktop/images/17022025/01/17/image_17022025_01_17_14_9795.jpg
/home/nano/Desktop/images/17022025/01/16/image_17022025_01_17_04_9785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103680","1338103677","1338103676","1338103679","1338103681","1338103678"],"photo_ids_order":["1338103676","1338103677","1338103678","1338103679","1338103680","1338103681"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7fa1d1c496a448fb883a4d0dda3c81cb.jpg","text":"TemporaryFile(/tmp/multipartBody6679842232252553606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751484151,"filename":"image_17022025_01_17_14_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2fef2a5f0082dd523251772493fc8cf1.jpg","text":"TemporaryFile(/tmp/multipartBody4048553789529487380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751484151,"filename":"image_17022025_01_17_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad6158a161bedada445d14730f701a49.jpg","text":"TemporaryFile(/tmp/multipartBody8122559202989964587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751484151,"filename":"image_17022025_01_17_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13cf3e39f282b8dc3f16c2604416e28f.jpg","text":"TemporaryFile(/tmp/multipartBody1672140883700155451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751484151,"filename":"image_17022025_01_17_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/73de71b2aa0b9c2cc3de34fd44b60cbe.jpg","text":"TemporaryFile(/tmp/multipartBody4542753472595448373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751484151,"filename":"image_17022025_01_17_04_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a8f946ddf6fdc700044531adc8051f0.jpg","text":"TemporaryFile(/tmp/multipartBody5756929119235558798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751484151,"filename":"image_17022025_01_17_34_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103678","file1":"1338103677","file0":"1338103676","file4":"1338103680","file5":"1338103681","file3":"1338103679"},"map_files_photo_id_array":[{"photo_id":"1338103681","filename":"file5"},{"photo_id":"1338103678","filename":"file2"},{"photo_id":"1338103680","filename":"file4"},{"photo_id":"1338103677","filename":"file1"},{"photo_id":"1338103676","filename":"file0"},{"photo_id":"1338103679","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103680":["hashtag1","hashtag2"]},{"1338103677":["hashtag1","hashtag2"]},{"1338103676":["hashtag1","hashtag2"]},{"1338103679":["hashtag1","hashtag2"]},{"1338103681":["hashtag1","hashtag2"]},{"1338103678":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103680, 1338103677, 1338103676, 1338103679, 1338103681, 1338103678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.27733612060547 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:18:02.757514
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_24_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_14_9845.jpg', 0), ('/home/nano/Desktop/images/17022025/01/17/image_17022025_01_18_04_9772.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_54_9770.jpg', '/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_44_9774.jpg', '/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_34_9770.jpg', '/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_24_10778.jpg', '/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_14_9845.jpg', '/home/nano/Desktop/images/17022025/01/17/image_17022025_01_18_04_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_54_9770.jpg
/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_44_9774.jpg
/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_34_9770.jpg
/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_24_10778.jpg
/home/nano/Desktop/images/17022025/01/18/image_17022025_01_18_14_9845.jpg
/home/nano/Desktop/images/17022025/01/17/image_17022025_01_18_04_9772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103686","1338103683","1338103682","1338103685","1338103687","1338103684"],"photo_ids_order":["1338103682","1338103683","1338103684","1338103685","1338103686","1338103687"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c921b9396432e9c3d4ab8b6bedbaedf3.jpg","text":"TemporaryFile(/tmp/multipartBody7738465234277653532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751544222,"filename":"image_17022025_01_18_14_9845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/47cf2ee3383fafb4cb4ae4a11337d2db.jpg","text":"TemporaryFile(/tmp/multipartBody7803115795391137043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751544222,"filename":"image_17022025_01_18_44_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a079159d1c9c4cc6c1321e296d0321c1.jpg","text":"TemporaryFile(/tmp/multipartBody8438181063497228508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751544222,"filename":"image_17022025_01_18_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/42408ab87dae4eac5e79dea6f1954eed.jpg","text":"TemporaryFile(/tmp/multipartBody8290059096500967745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751544222,"filename":"image_17022025_01_18_24_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de7080e04155e99d5a73beec21694c26.jpg","text":"TemporaryFile(/tmp/multipartBody5587208943081956813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751544222,"filename":"image_17022025_01_18_04_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05f7dd252623094309e7f1db5dacc0ef.jpg","text":"TemporaryFile(/tmp/multipartBody4228768185337926642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751544222,"filename":"image_17022025_01_18_34_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103684","file1":"1338103683","file0":"1338103682","file4":"1338103686","file5":"1338103687","file3":"1338103685"},"map_files_photo_id_array":[{"photo_id":"1338103687","filename":"file5"},{"photo_id":"1338103684","filename":"file2"},{"photo_id":"1338103686","filename":"file4"},{"photo_id":"1338103683","filename":"file1"},{"photo_id":"1338103682","filename":"file0"},{"photo_id":"1338103685","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103686":["hashtag1","hashtag2"]},{"1338103683":["hashtag1","hashtag2"]},{"1338103682":["hashtag1","hashtag2"]},{"1338103685":["hashtag1","hashtag2"]},{"1338103687":["hashtag1","hashtag2"]},{"1338103684":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103686, 1338103683, 1338103682, 1338103685, 1338103687, 1338103684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.68119931221008 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:19:03.188188
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_54_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_44_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_24_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_14_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/01/18/image_17022025_01_19_03_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_54_10781.jpg', '/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_44_9770.jpg', '/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_34_9771.jpg', '/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_24_9770.jpg', '/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_14_10780.jpg', '/home/nano/Desktop/images/17022025/01/18/image_17022025_01_19_03_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_54_10781.jpg
/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_44_9770.jpg
/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_34_9771.jpg
/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_24_9770.jpg
/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_14_10780.jpg
/home/nano/Desktop/images/17022025/01/18/image_17022025_01_19_03_9773.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6118965148925781 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:19:32.531260
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_54_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_44_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_24_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_14_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/01/18/image_17022025_01_19_03_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_54_10781.jpg', '/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_44_9770.jpg', '/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_34_9771.jpg', '/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_24_9770.jpg', '/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_14_10780.jpg', '/home/nano/Desktop/images/17022025/01/18/image_17022025_01_19_03_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_54_10781.jpg
/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_44_9770.jpg
/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_34_9771.jpg
/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_24_9770.jpg
/home/nano/Desktop/images/17022025/01/19/image_17022025_01_19_14_10780.jpg
/home/nano/Desktop/images/17022025/01/18/image_17022025_01_19_03_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103695","1338103694","1338103697","1338103693","1338103696","1338103698"],"photo_ids_order":["1338103693","1338103694","1338103695","1338103696","1338103697","1338103698"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f29cc2d06fafc8f909e8459d8d76ee7.jpg","text":"TemporaryFile(/tmp/multipartBody7414220314093248842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751634100,"filename":"image_17022025_01_19_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2861269f168a5891f547ebf4b1ef703d.jpg","text":"TemporaryFile(/tmp/multipartBody2571245143834543020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751634100,"filename":"image_17022025_01_19_44_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5fbb8371d1af8cf8adb9be982cbfa638.jpg","text":"TemporaryFile(/tmp/multipartBody2673313548761180568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751634100,"filename":"image_17022025_01_19_14_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6243b74e89bc2aa3a45c05940f2f173a.jpg","text":"TemporaryFile(/tmp/multipartBody5225939650514317678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751634100,"filename":"image_17022025_01_19_54_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2be5b7e1c401d2f93de567a677b05bea.jpg","text":"TemporaryFile(/tmp/multipartBody7287426192417174287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751634100,"filename":"image_17022025_01_19_24_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f3add8a316cb9afb5a06692bcab70c6.jpg","text":"TemporaryFile(/tmp/multipartBody5406528103501670200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751634100,"filename":"image_17022025_01_19_03_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103695","file1":"1338103694","file0":"1338103693","file4":"1338103697","file5":"1338103698","file3":"1338103696"},"map_files_photo_id_array":[{"photo_id":"1338103698","filename":"file5"},{"photo_id":"1338103695","filename":"file2"},{"photo_id":"1338103697","filename":"file4"},{"photo_id":"1338103694","filename":"file1"},{"photo_id":"1338103693","filename":"file0"},{"photo_id":"1338103696","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103695":["hashtag1","hashtag2"]},{"1338103694":["hashtag1","hashtag2"]},{"1338103697":["hashtag1","hashtag2"]},{"1338103693":["hashtag1","hashtag2"]},{"1338103696":["hashtag1","hashtag2"]},{"1338103698":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103695, 1338103694, 1338103697, 1338103693, 1338103696, 1338103698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.264365911483765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:20:32.620123
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_34_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_24_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_14_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/01/19/image_17022025_01_20_04_9797.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_54_9771.jpg', '/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_44_9769.jpg', '/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_34_10778.jpg', '/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_24_9767.jpg', '/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_14_9769.jpg', '/home/nano/Desktop/images/17022025/01/19/image_17022025_01_20_04_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_54_9771.jpg
/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_44_9769.jpg
/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_34_10778.jpg
/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_24_9767.jpg
/home/nano/Desktop/images/17022025/01/20/image_17022025_01_20_14_9769.jpg
/home/nano/Desktop/images/17022025/01/19/image_17022025_01_20_04_9797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103702","1338103704","1338103701","1338103700","1338103703","1338103699"],"photo_ids_order":["1338103699","1338103700","1338103701","1338103702","1338103703","1338103704"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/970a91babc046bd5db8ce8b280c77daa.jpg","text":"TemporaryFile(/tmp/multipartBody5701078924285158561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751694040,"filename":"image_17022025_01_20_24_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e504e8b3ef0f7e1309773c7bb1b1e4d.jpg","text":"TemporaryFile(/tmp/multipartBody9046382789768546660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751694040,"filename":"image_17022025_01_20_04_9797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/69061ab5405365d78ff2aae882db72ca.jpg","text":"TemporaryFile(/tmp/multipartBody3883033840584416471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751694040,"filename":"image_17022025_01_20_34_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3df7a4db62aa2491e77e2ca02a3619e3.jpg","text":"TemporaryFile(/tmp/multipartBody177649197908575408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751694040,"filename":"image_17022025_01_20_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/69f9c9f6d63dd782c7212bea002228bf.jpg","text":"TemporaryFile(/tmp/multipartBody6357350299985103844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751694040,"filename":"image_17022025_01_20_14_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d5984723f22cc79c3ceafe07ced7a7b.jpg","text":"TemporaryFile(/tmp/multipartBody6974221176106456971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751694040,"filename":"image_17022025_01_20_54_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103701","file1":"1338103700","file0":"1338103699","file4":"1338103703","file5":"1338103704","file3":"1338103702"},"map_files_photo_id_array":[{"photo_id":"1338103704","filename":"file5"},{"photo_id":"1338103701","filename":"file2"},{"photo_id":"1338103703","filename":"file4"},{"photo_id":"1338103700","filename":"file1"},{"photo_id":"1338103699","filename":"file0"},{"photo_id":"1338103702","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103702":["hashtag1","hashtag2"]},{"1338103704":["hashtag1","hashtag2"]},{"1338103701":["hashtag1","hashtag2"]},{"1338103700":["hashtag1","hashtag2"]},{"1338103703":["hashtag1","hashtag2"]},{"1338103699":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103702, 1338103704, 1338103701, 1338103700, 1338103703, 1338103699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96525311470032 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:21:32.743906
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_54_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_34_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_24_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_14_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/20/image_17022025_01_21_04_9767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_54_9769.jpg', '/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_44_9772.jpg', '/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_34_9768.jpg', '/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_24_10778.jpg', '/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_14_9771.jpg', '/home/nano/Desktop/images/17022025/01/20/image_17022025_01_21_04_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_54_9769.jpg
/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_44_9772.jpg
/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_34_9768.jpg
/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_24_10778.jpg
/home/nano/Desktop/images/17022025/01/21/image_17022025_01_21_14_9771.jpg
/home/nano/Desktop/images/17022025/01/20/image_17022025_01_21_04_9767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103710","1338103707","1338103709","1338103706","1338103705","1338103708"],"photo_ids_order":["1338103705","1338103706","1338103707","1338103708","1338103709","1338103710"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a5ac1fc785334b2e85b57e721e6d7fa0.jpg","text":"TemporaryFile(/tmp/multipartBody712451226359677508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751753952,"filename":"image_17022025_01_21_04_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c99bc9caf319209dd6901f62b6437100.jpg","text":"TemporaryFile(/tmp/multipartBody2070091050456849004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751753952,"filename":"image_17022025_01_21_34_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6c8cffe724477c5941317a88b5c8935.jpg","text":"TemporaryFile(/tmp/multipartBody9006441316423490566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751753952,"filename":"image_17022025_01_21_14_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a1ea517c642b1d38a89bcb5fefc79c0.jpg","text":"TemporaryFile(/tmp/multipartBody4061527044424622036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751753952,"filename":"image_17022025_01_21_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/816de2511504acf80fba201b716a8f42.jpg","text":"TemporaryFile(/tmp/multipartBody5019735565872095331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751753952,"filename":"image_17022025_01_21_54_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1647d1917443ee7fcf58089bab71592a.jpg","text":"TemporaryFile(/tmp/multipartBody4624993226830629112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751753952,"filename":"image_17022025_01_21_24_10778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103707","file1":"1338103706","file0":"1338103705","file4":"1338103709","file5":"1338103710","file3":"1338103708"},"map_files_photo_id_array":[{"photo_id":"1338103710","filename":"file5"},{"photo_id":"1338103707","filename":"file2"},{"photo_id":"1338103709","filename":"file4"},{"photo_id":"1338103706","filename":"file1"},{"photo_id":"1338103705","filename":"file0"},{"photo_id":"1338103708","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103710":["hashtag1","hashtag2"]},{"1338103707":["hashtag1","hashtag2"]},{"1338103709":["hashtag1","hashtag2"]},{"1338103706":["hashtag1","hashtag2"]},{"1338103705":["hashtag1","hashtag2"]},{"1338103708":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103710, 1338103707, 1338103709, 1338103706, 1338103705, 1338103708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.814311504364014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:22:31.807330
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_54_10777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_14_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/21/image_17022025_01_22_04_10777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_54_10777.jpg', '/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_44_9771.jpg', '/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_34_9772.jpg', '/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_24_9769.jpg', '/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_14_9774.jpg', '/home/nano/Desktop/images/17022025/01/21/image_17022025_01_22_04_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_54_10777.jpg
/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_44_9771.jpg
/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_34_9772.jpg
/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_24_9769.jpg
/home/nano/Desktop/images/17022025/01/22/image_17022025_01_22_14_9774.jpg
/home/nano/Desktop/images/17022025/01/21/image_17022025_01_22_04_10777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103716","1338103713","1338103712","1338103715","1338103711","1338103714"],"photo_ids_order":["1338103711","1338103712","1338103713","1338103714","1338103715","1338103716"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d7de8cb0bc4379d60fae85a5385ecfbb.jpg","text":"TemporaryFile(/tmp/multipartBody8252605276042578157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751813441,"filename":"image_17022025_01_22_04_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3f0851f93278468e396df93f25c9f95.jpg","text":"TemporaryFile(/tmp/multipartBody7945818038270027719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751813441,"filename":"image_17022025_01_22_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/94eea0c6d846729a76a4346b7b439945.jpg","text":"TemporaryFile(/tmp/multipartBody6073424412337469091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751813441,"filename":"image_17022025_01_22_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/282f896fbc03b08f615525f9452b76c4.jpg","text":"TemporaryFile(/tmp/multipartBody5890073765453559832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751813441,"filename":"image_17022025_01_22_14_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/36d8b55f954fddea491c1d08cf9e61b0.jpg","text":"TemporaryFile(/tmp/multipartBody1484410316936449493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751813441,"filename":"image_17022025_01_22_54_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f129d87b22dbf141820392c1299ac39f.jpg","text":"TemporaryFile(/tmp/multipartBody4910454912837019234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751813441,"filename":"image_17022025_01_22_24_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103713","file1":"1338103712","file0":"1338103711","file4":"1338103715","file5":"1338103716","file3":"1338103714"},"map_files_photo_id_array":[{"photo_id":"1338103716","filename":"file5"},{"photo_id":"1338103713","filename":"file2"},{"photo_id":"1338103715","filename":"file4"},{"photo_id":"1338103712","filename":"file1"},{"photo_id":"1338103711","filename":"file0"},{"photo_id":"1338103714","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103716":["hashtag1","hashtag2"]},{"1338103713":["hashtag1","hashtag2"]},{"1338103712":["hashtag1","hashtag2"]},{"1338103715":["hashtag1","hashtag2"]},{"1338103711":["hashtag1","hashtag2"]},{"1338103714":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103716, 1338103713, 1338103712, 1338103715, 1338103711, 1338103714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.060280084609985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:23:31.916986
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_44_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_34_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_24_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/22/image_17022025_01_23_04_9771.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_54_9772.jpg', '/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_44_9770.jpg', '/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_34_10779.jpg', '/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_24_9791.jpg', '/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_14_9777.jpg', '/home/nano/Desktop/images/17022025/01/22/image_17022025_01_23_04_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_54_9772.jpg
/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_44_9770.jpg
/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_34_10779.jpg
/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_24_9791.jpg
/home/nano/Desktop/images/17022025/01/23/image_17022025_01_23_14_9777.jpg
/home/nano/Desktop/images/17022025/01/22/image_17022025_01_23_04_9771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103717","1338103722","1338103719","1338103721","1338103718","1338103720"],"photo_ids_order":["1338103717","1338103718","1338103719","1338103720","1338103721","1338103722"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fca5bd674f32db620cf0d2d34555ad50.jpg","text":"TemporaryFile(/tmp/multipartBody7751048717230704282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751873695,"filename":"image_17022025_01_23_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/96caacb8a56d22a3adc077a92083c895.jpg","text":"TemporaryFile(/tmp/multipartBody4184745478820589316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751873695,"filename":"image_17022025_01_23_04_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f26252281931cd7282ed29239c923dc7.jpg","text":"TemporaryFile(/tmp/multipartBody3025613108977360504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751873695,"filename":"image_17022025_01_23_34_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54fcb5c24faedbdafffc240dde61fdb4.jpg","text":"TemporaryFile(/tmp/multipartBody5793678543605400731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751873695,"filename":"image_17022025_01_23_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/515423476a4c1225a51ba9b0a30895a5.jpg","text":"TemporaryFile(/tmp/multipartBody2112017972163859637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751873695,"filename":"image_17022025_01_23_44_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/06fae0153b0665e640c0e0efce3fed15.jpg","text":"TemporaryFile(/tmp/multipartBody318309592027400298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751873695,"filename":"image_17022025_01_23_24_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103719","file1":"1338103718","file0":"1338103717","file4":"1338103721","file5":"1338103722","file3":"1338103720"},"map_files_photo_id_array":[{"photo_id":"1338103722","filename":"file5"},{"photo_id":"1338103719","filename":"file2"},{"photo_id":"1338103721","filename":"file4"},{"photo_id":"1338103718","filename":"file1"},{"photo_id":"1338103717","filename":"file0"},{"photo_id":"1338103720","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103717":["hashtag1","hashtag2"]},{"1338103722":["hashtag1","hashtag2"]},{"1338103719":["hashtag1","hashtag2"]},{"1338103721":["hashtag1","hashtag2"]},{"1338103718":["hashtag1","hashtag2"]},{"1338103720":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103717, 1338103722, 1338103719, 1338103721, 1338103718, 1338103720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.452052354812622 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:24:32.015153
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_54_9785.jpg', 0), ('/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_24_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_14_9781.jpg', 0), ('/home/nano/Desktop/images/17022025/01/23/image_17022025_01_24_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_54_9785.jpg', '/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_44_9772.jpg', '/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_34_9771.jpg', '/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_24_10779.jpg', '/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_14_9781.jpg', '/home/nano/Desktop/images/17022025/01/23/image_17022025_01_24_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_54_9785.jpg
/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_44_9772.jpg
/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_34_9771.jpg
/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_24_10779.jpg
/home/nano/Desktop/images/17022025/01/24/image_17022025_01_24_14_9781.jpg
/home/nano/Desktop/images/17022025/01/23/image_17022025_01_24_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103725","1338103728","1338103727","1338103724","1338103726","1338103729"],"photo_ids_order":["1338103724","1338103725","1338103726","1338103727","1338103728","1338103729"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c411747bb4c8b1a07d36311cc48eb8f.jpg","text":"TemporaryFile(/tmp/multipartBody258558251698254935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751933463,"filename":"image_17022025_01_24_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/44a8a15c197ae41166c152ad1c007527.jpg","text":"TemporaryFile(/tmp/multipartBody10372917085279406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751933463,"filename":"image_17022025_01_24_14_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7cdd50e3815e76c1d89e4a2f4c257950.jpg","text":"TemporaryFile(/tmp/multipartBody6168536645674694759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751933463,"filename":"image_17022025_01_24_24_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cec96ce3e71d8bde821764f82d082fc6.jpg","text":"TemporaryFile(/tmp/multipartBody7797611462572202038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751933463,"filename":"image_17022025_01_24_54_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/278ad3b5ff460c2c925ea7d9907bba69.jpg","text":"TemporaryFile(/tmp/multipartBody2958965691858489122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751933463,"filename":"image_17022025_01_24_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3571c03c45572e559fec2699c6e23a6.jpg","text":"TemporaryFile(/tmp/multipartBody5939074241051485970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751933463,"filename":"image_17022025_01_24_04_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103726","file1":"1338103725","file0":"1338103724","file4":"1338103728","file5":"1338103729","file3":"1338103727"},"map_files_photo_id_array":[{"photo_id":"1338103729","filename":"file5"},{"photo_id":"1338103726","filename":"file2"},{"photo_id":"1338103728","filename":"file4"},{"photo_id":"1338103725","filename":"file1"},{"photo_id":"1338103724","filename":"file0"},{"photo_id":"1338103727","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103725":["hashtag1","hashtag2"]},{"1338103728":["hashtag1","hashtag2"]},{"1338103727":["hashtag1","hashtag2"]},{"1338103724":["hashtag1","hashtag2"]},{"1338103726":["hashtag1","hashtag2"]},{"1338103729":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103725, 1338103728, 1338103727, 1338103724, 1338103726, 1338103729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31620192527771 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:25:32.116009
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_54_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_34_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/24/image_17022025_01_25_04_10788.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_54_10783.jpg', '/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_44_9771.jpg', '/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_34_9776.jpg', '/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_24_9773.jpg', '/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_14_9777.jpg', '/home/nano/Desktop/images/17022025/01/24/image_17022025_01_25_04_10788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_54_10783.jpg
/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_44_9771.jpg
/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_34_9776.jpg
/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_24_9773.jpg
/home/nano/Desktop/images/17022025/01/25/image_17022025_01_25_14_9777.jpg
/home/nano/Desktop/images/17022025/01/24/image_17022025_01_25_04_10788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103734","1338103731","1338103730","1338103733","1338103732","1338103735"],"photo_ids_order":["1338103730","1338103731","1338103732","1338103733","1338103734","1338103735"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aa5298ee61c5747f065f72afbd103479.jpg","text":"TemporaryFile(/tmp/multipartBody8301592470775044543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751994139,"filename":"image_17022025_01_25_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b9e910bb805fc422c4f4d58d5a7c27d2.jpg","text":"TemporaryFile(/tmp/multipartBody8925081703649520416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751994139,"filename":"image_17022025_01_25_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a013ad8222dc8688851c0b9a90c3262.jpg","text":"TemporaryFile(/tmp/multipartBody9012116097890482836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751994139,"filename":"image_17022025_01_25_54_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81f3f7f6e07a68ffbc5aa14b42f4a41a.jpg","text":"TemporaryFile(/tmp/multipartBody4344518025630557011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751994139,"filename":"image_17022025_01_25_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d93dd0d6c2aab02bfb4ee31c3af1706.jpg","text":"TemporaryFile(/tmp/multipartBody8043097725578852365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751994139,"filename":"image_17022025_01_25_34_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/017de49c1ca386c7736b7b7af09b9f8e.jpg","text":"TemporaryFile(/tmp/multipartBody7987789001417636899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739751994139,"filename":"image_17022025_01_25_04_10788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103732","file1":"1338103731","file0":"1338103730","file4":"1338103734","file5":"1338103735","file3":"1338103733"},"map_files_photo_id_array":[{"photo_id":"1338103735","filename":"file5"},{"photo_id":"1338103732","filename":"file2"},{"photo_id":"1338103734","filename":"file4"},{"photo_id":"1338103731","filename":"file1"},{"photo_id":"1338103730","filename":"file0"},{"photo_id":"1338103733","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103734":["hashtag1","hashtag2"]},{"1338103731":["hashtag1","hashtag2"]},{"1338103730":["hashtag1","hashtag2"]},{"1338103733":["hashtag1","hashtag2"]},{"1338103732":["hashtag1","hashtag2"]},{"1338103735":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103734, 1338103731, 1338103730, 1338103733, 1338103732, 1338103735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.532975673675537 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:26:32.204334
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_34_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_14_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/01/25/image_17022025_01_26_04_9799.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_54_9775.jpg', '/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_44_9773.jpg', '/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_34_10781.jpg', '/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_24_9774.jpg', '/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_14_9779.jpg', '/home/nano/Desktop/images/17022025/01/25/image_17022025_01_26_04_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_54_9775.jpg
/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_44_9773.jpg
/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_34_10781.jpg
/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_24_9774.jpg
/home/nano/Desktop/images/17022025/01/26/image_17022025_01_26_14_9779.jpg
/home/nano/Desktop/images/17022025/01/25/image_17022025_01_26_04_9799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103740","1338103737","1338103739","1338103736","1338103741","1338103738"],"photo_ids_order":["1338103736","1338103737","1338103738","1338103739","1338103740","1338103741"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ff93f47afb490282e4d337c2cde5530.jpg","text":"TemporaryFile(/tmp/multipartBody3226421228118211636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752053988,"filename":"image_17022025_01_26_14_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d4a1f73c22dec1ddb9bdfeee2d5abec.jpg","text":"TemporaryFile(/tmp/multipartBody1276320918379398920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752053988,"filename":"image_17022025_01_26_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5c81547755e0a204d59061bf250b508.jpg","text":"TemporaryFile(/tmp/multipartBody6386342997207300011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752053988,"filename":"image_17022025_01_26_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b58cc74f097392f6909c9d78938fa794.jpg","text":"TemporaryFile(/tmp/multipartBody7775718652317751630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752053988,"filename":"image_17022025_01_26_54_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d4cc684ce51c4dae9b13e3ab5f048ee.jpg","text":"TemporaryFile(/tmp/multipartBody467309027339886152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752053988,"filename":"image_17022025_01_26_04_9799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7321e9a719c961b1428f02e23452378.jpg","text":"TemporaryFile(/tmp/multipartBody2845201065724667973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752053988,"filename":"image_17022025_01_26_34_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103738","file1":"1338103737","file0":"1338103736","file4":"1338103740","file5":"1338103741","file3":"1338103739"},"map_files_photo_id_array":[{"photo_id":"1338103741","filename":"file5"},{"photo_id":"1338103738","filename":"file2"},{"photo_id":"1338103740","filename":"file4"},{"photo_id":"1338103737","filename":"file1"},{"photo_id":"1338103736","filename":"file0"},{"photo_id":"1338103739","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103740":["hashtag1","hashtag2"]},{"1338103737":["hashtag1","hashtag2"]},{"1338103739":["hashtag1","hashtag2"]},{"1338103736":["hashtag1","hashtag2"]},{"1338103741":["hashtag1","hashtag2"]},{"1338103738":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103740, 1338103737, 1338103739, 1338103736, 1338103741, 1338103738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65630555152893 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:27:32.304501
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_54_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_24_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_14_9796.jpg', 0), ('/home/nano/Desktop/images/17022025/01/26/image_17022025_01_27_04_9772.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_54_9769.jpg', '/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_44_9772.jpg', '/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_34_9771.jpg', '/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_24_10782.jpg', '/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_14_9796.jpg', '/home/nano/Desktop/images/17022025/01/26/image_17022025_01_27_04_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_54_9769.jpg
/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_44_9772.jpg
/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_34_9771.jpg
/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_24_10782.jpg
/home/nano/Desktop/images/17022025/01/27/image_17022025_01_27_14_9796.jpg
/home/nano/Desktop/images/17022025/01/26/image_17022025_01_27_04_9772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103746","1338103743","1338103745","1338103742","1338103744","1338103747"],"photo_ids_order":["1338103742","1338103743","1338103744","1338103745","1338103746","1338103747"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e1aa9e7fb077fc291f874ea6ef1f593d.jpg","text":"TemporaryFile(/tmp/multipartBody4128596752018348730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752114049,"filename":"image_17022025_01_27_14_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/426de975b091093961adb31103c0ec92.jpg","text":"TemporaryFile(/tmp/multipartBody6375313181043556882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752114049,"filename":"image_17022025_01_27_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/acb081342aac230c93e70fc4915fa001.jpg","text":"TemporaryFile(/tmp/multipartBody3358913826639433517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752114049,"filename":"image_17022025_01_27_24_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed0610f34fd3f975461c16da6af46aec.jpg","text":"TemporaryFile(/tmp/multipartBody4307330163454356493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752114049,"filename":"image_17022025_01_27_54_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e1d02d681c3d54995a750b8e0d8bdca8.jpg","text":"TemporaryFile(/tmp/multipartBody9207721618420292124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752114049,"filename":"image_17022025_01_27_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f9181bf50cea94340744287e9178b52.jpg","text":"TemporaryFile(/tmp/multipartBody5540699311458714608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752114049,"filename":"image_17022025_01_27_04_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103744","file1":"1338103743","file0":"1338103742","file4":"1338103746","file5":"1338103747","file3":"1338103745"},"map_files_photo_id_array":[{"photo_id":"1338103747","filename":"file5"},{"photo_id":"1338103744","filename":"file2"},{"photo_id":"1338103746","filename":"file4"},{"photo_id":"1338103743","filename":"file1"},{"photo_id":"1338103742","filename":"file0"},{"photo_id":"1338103745","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103746":["hashtag1","hashtag2"]},{"1338103743":["hashtag1","hashtag2"]},{"1338103745":["hashtag1","hashtag2"]},{"1338103742":["hashtag1","hashtag2"]},{"1338103744":["hashtag1","hashtag2"]},{"1338103747":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103746, 1338103743, 1338103745, 1338103742, 1338103744, 1338103747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.534181118011475 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:28:32.378123
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_54_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_14_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/01/27/image_17022025_01_28_04_10782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_54_10784.jpg', '/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_44_9771.jpg', '/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_34_9772.jpg', '/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_24_9771.jpg', '/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_14_9791.jpg', '/home/nano/Desktop/images/17022025/01/27/image_17022025_01_28_04_10782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_54_10784.jpg
/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_44_9771.jpg
/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_34_9772.jpg
/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_24_9771.jpg
/home/nano/Desktop/images/17022025/01/28/image_17022025_01_28_14_9791.jpg
/home/nano/Desktop/images/17022025/01/27/image_17022025_01_28_04_10782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103752","1338103749","1338103751","1338103748","1338103750","1338103753"],"photo_ids_order":["1338103748","1338103749","1338103750","1338103751","1338103752","1338103753"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82eb96c840479ae4d153ef972391e580.jpg","text":"TemporaryFile(/tmp/multipartBody4228190359296642729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752174137,"filename":"image_17022025_01_28_14_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/665009abd7b57efb9e39d332870063ff.jpg","text":"TemporaryFile(/tmp/multipartBody963129758424808539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752174137,"filename":"image_17022025_01_28_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8327b78cbfc1bca13fee1d31e3931252.jpg","text":"TemporaryFile(/tmp/multipartBody3391689381540767991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752174137,"filename":"image_17022025_01_28_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d541b94668eed9e61fe02f811d449c0.jpg","text":"TemporaryFile(/tmp/multipartBody6671804834843218623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752174137,"filename":"image_17022025_01_28_54_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2bcd82064490fdbd10eb5c35cde30d0f.jpg","text":"TemporaryFile(/tmp/multipartBody7375734704262955260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752174137,"filename":"image_17022025_01_28_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86d22b9d180605b3995afd0b62fce51f.jpg","text":"TemporaryFile(/tmp/multipartBody7802566828121807441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752174137,"filename":"image_17022025_01_28_04_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103750","file1":"1338103749","file0":"1338103748","file4":"1338103752","file5":"1338103753","file3":"1338103751"},"map_files_photo_id_array":[{"photo_id":"1338103753","filename":"file5"},{"photo_id":"1338103750","filename":"file2"},{"photo_id":"1338103752","filename":"file4"},{"photo_id":"1338103749","filename":"file1"},{"photo_id":"1338103748","filename":"file0"},{"photo_id":"1338103751","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103752":["hashtag1","hashtag2"]},{"1338103749":["hashtag1","hashtag2"]},{"1338103751":["hashtag1","hashtag2"]},{"1338103748":["hashtag1","hashtag2"]},{"1338103750":["hashtag1","hashtag2"]},{"1338103753":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103752, 1338103749, 1338103751, 1338103748, 1338103750, 1338103753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.20974063873291 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:29:32.498578
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_54_9792.jpg', 0), ('/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_34_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/28/image_17022025_01_29_04_9772.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_54_9792.jpg', '/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_44_9771.jpg', '/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_34_10782.jpg', '/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_24_9775.jpg', '/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_14_9775.jpg', '/home/nano/Desktop/images/17022025/01/28/image_17022025_01_29_04_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_54_9792.jpg
/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_44_9771.jpg
/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_34_10782.jpg
/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_24_9775.jpg
/home/nano/Desktop/images/17022025/01/29/image_17022025_01_29_14_9775.jpg
/home/nano/Desktop/images/17022025/01/28/image_17022025_01_29_04_9772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103761","1338103758","1338103757","1338103760","1338103756","1338103759"],"photo_ids_order":["1338103756","1338103757","1338103758","1338103759","1338103760","1338103761"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3e20ee5cc724b83b956b561f3158263.jpg","text":"TemporaryFile(/tmp/multipartBody4571896648214349892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752234228,"filename":"image_17022025_01_29_04_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a9c2363b75ffc8f12002300a4453ade.jpg","text":"TemporaryFile(/tmp/multipartBody925626622000503116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752234228,"filename":"image_17022025_01_29_34_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3c355beb422d6d52617fcdd3673b2fc.jpg","text":"TemporaryFile(/tmp/multipartBody677919127349105330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752234228,"filename":"image_17022025_01_29_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f5cc6f08355918923f81b8f1b7e91b5.jpg","text":"TemporaryFile(/tmp/multipartBody7034467393619354282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752234228,"filename":"image_17022025_01_29_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/203360ffe3de052de88ee50f48bdc9d8.jpg","text":"TemporaryFile(/tmp/multipartBody1673565593363455055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752234228,"filename":"image_17022025_01_29_54_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a998f5c8ef3191b3b563fdbcdc9a54b7.jpg","text":"TemporaryFile(/tmp/multipartBody4578444490975568170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752234228,"filename":"image_17022025_01_29_24_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103758","file1":"1338103757","file0":"1338103756","file4":"1338103760","file5":"1338103761","file3":"1338103759"},"map_files_photo_id_array":[{"photo_id":"1338103761","filename":"file5"},{"photo_id":"1338103758","filename":"file2"},{"photo_id":"1338103760","filename":"file4"},{"photo_id":"1338103757","filename":"file1"},{"photo_id":"1338103756","filename":"file0"},{"photo_id":"1338103759","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103761":["hashtag1","hashtag2"]},{"1338103758":["hashtag1","hashtag2"]},{"1338103757":["hashtag1","hashtag2"]},{"1338103760":["hashtag1","hashtag2"]},{"1338103756":["hashtag1","hashtag2"]},{"1338103759":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103761, 1338103758, 1338103757, 1338103760, 1338103756, 1338103759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.446791410446167 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:30:32.625197
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_34_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_24_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_14_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/29/image_17022025_01_30_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_54_9771.jpg', '/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_44_9773.jpg', '/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_34_9769.jpg', '/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_24_10780.jpg', '/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_14_9773.jpg', '/home/nano/Desktop/images/17022025/01/29/image_17022025_01_30_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_54_9771.jpg
/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_44_9773.jpg
/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_34_9769.jpg
/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_24_10780.jpg
/home/nano/Desktop/images/17022025/01/30/image_17022025_01_30_14_9773.jpg
/home/nano/Desktop/images/17022025/01/29/image_17022025_01_30_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103764","1338103767","1338103763","1338103766","1338103762","1338103765"],"photo_ids_order":["1338103762","1338103763","1338103764","1338103765","1338103766","1338103767"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6af633b52eeb02b90736bb80443a28d5.jpg","text":"TemporaryFile(/tmp/multipartBody7299530503844727590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752295361,"filename":"image_17022025_01_30_34_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/23494be7c4376c5d3a52ec978081d1fd.jpg","text":"TemporaryFile(/tmp/multipartBody3388678496340575612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752295361,"filename":"image_17022025_01_30_04_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b1ebc8201d0a215ff16fb7c937eb8f6.jpg","text":"TemporaryFile(/tmp/multipartBody7336064596237131995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752295361,"filename":"image_17022025_01_30_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f20badc40315897e3e327818a74c3567.jpg","text":"TemporaryFile(/tmp/multipartBody6331751086157213114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752295361,"filename":"image_17022025_01_30_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0949b909ff9ea56077ba37d9c0b7d57.jpg","text":"TemporaryFile(/tmp/multipartBody7077184178409617716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752295361,"filename":"image_17022025_01_30_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea5b0548cca3e31685ebf76f82c9a68a.jpg","text":"TemporaryFile(/tmp/multipartBody2351584993524125927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752295361,"filename":"image_17022025_01_30_24_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103764","file1":"1338103763","file0":"1338103762","file4":"1338103766","file5":"1338103767","file3":"1338103765"},"map_files_photo_id_array":[{"photo_id":"1338103767","filename":"file5"},{"photo_id":"1338103764","filename":"file2"},{"photo_id":"1338103766","filename":"file4"},{"photo_id":"1338103763","filename":"file1"},{"photo_id":"1338103762","filename":"file0"},{"photo_id":"1338103765","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103764":["hashtag1","hashtag2"]},{"1338103767":["hashtag1","hashtag2"]},{"1338103763":["hashtag1","hashtag2"]},{"1338103766":["hashtag1","hashtag2"]},{"1338103762":["hashtag1","hashtag2"]},{"1338103765":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103764, 1338103767, 1338103763, 1338103766, 1338103762, 1338103765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40642189979553 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:31:32.695397
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_54_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_34_9787.jpg', 0), ('/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/30/image_17022025_01_31_04_10785.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_54_10784.jpg', '/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_44_9771.jpg', '/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_34_9787.jpg', '/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_24_9771.jpg', '/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_14_9775.jpg', '/home/nano/Desktop/images/17022025/01/30/image_17022025_01_31_04_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_54_10784.jpg
/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_44_9771.jpg
/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_34_9787.jpg
/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_24_9771.jpg
/home/nano/Desktop/images/17022025/01/31/image_17022025_01_31_14_9775.jpg
/home/nano/Desktop/images/17022025/01/30/image_17022025_01_31_04_10785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103770","1338103773","1338103772","1338103769","1338103768","1338103771"],"photo_ids_order":["1338103768","1338103769","1338103770","1338103771","1338103772","1338103773"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7e84bfa0577f990e601a068aae446ff.jpg","text":"TemporaryFile(/tmp/multipartBody1173094839832198287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752354293,"filename":"image_17022025_01_31_34_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/66a4ce1a9afaab1214d2db7108b41d58.jpg","text":"TemporaryFile(/tmp/multipartBody3234942097831742318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752354293,"filename":"image_17022025_01_31_04_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ded6f82b316fc6056cf0e300dd7a6005.jpg","text":"TemporaryFile(/tmp/multipartBody2218868880427186896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752354293,"filename":"image_17022025_01_31_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40fe4de3e8c43fc83fc5980daf5665bc.jpg","text":"TemporaryFile(/tmp/multipartBody1590277789884748586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752354293,"filename":"image_17022025_01_31_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c65ccf8a9d91b2129cbda9b52160c48.jpg","text":"TemporaryFile(/tmp/multipartBody2873056471297408197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752354293,"filename":"image_17022025_01_31_54_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff941811fdb218e08cd4fe915a3a9d52.jpg","text":"TemporaryFile(/tmp/multipartBody2596073175566708085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752354293,"filename":"image_17022025_01_31_24_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103770","file1":"1338103769","file0":"1338103768","file4":"1338103772","file5":"1338103773","file3":"1338103771"},"map_files_photo_id_array":[{"photo_id":"1338103773","filename":"file5"},{"photo_id":"1338103770","filename":"file2"},{"photo_id":"1338103772","filename":"file4"},{"photo_id":"1338103769","filename":"file1"},{"photo_id":"1338103768","filename":"file0"},{"photo_id":"1338103771","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103770":["hashtag1","hashtag2"]},{"1338103773":["hashtag1","hashtag2"]},{"1338103772":["hashtag1","hashtag2"]},{"1338103769":["hashtag1","hashtag2"]},{"1338103768":["hashtag1","hashtag2"]},{"1338103771":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103770, 1338103773, 1338103772, 1338103769, 1338103768, 1338103771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04045867919922 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:32:31.797152
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_34_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_14_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/31/image_17022025_01_32_04_9774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_54_9775.jpg', '/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_44_9773.jpg', '/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_34_10782.jpg', '/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_24_9773.jpg', '/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_14_9774.jpg', '/home/nano/Desktop/images/17022025/01/31/image_17022025_01_32_04_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_54_9775.jpg
/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_44_9773.jpg
/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_34_10782.jpg
/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_24_9773.jpg
/home/nano/Desktop/images/17022025/01/32/image_17022025_01_32_14_9774.jpg
/home/nano/Desktop/images/17022025/01/31/image_17022025_01_32_04_9774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103779","1338103776","1338103775","1338103778","1338103774","1338103777"],"photo_ids_order":["1338103774","1338103775","1338103776","1338103777","1338103778","1338103779"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd17b696b38e85f7c582f6d96b43d061.jpg","text":"TemporaryFile(/tmp/multipartBody641656584703622366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752413545,"filename":"image_17022025_01_32_04_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f258f7138d79ca0e392249fe78cd3c9b.jpg","text":"TemporaryFile(/tmp/multipartBody2370789758299488016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752413545,"filename":"image_17022025_01_32_34_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dff20908db507841726e4e2f97e6b0e7.jpg","text":"TemporaryFile(/tmp/multipartBody5873116303526302594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752413545,"filename":"image_17022025_01_32_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/41971e93adb4251533e6bad681cd955c.jpg","text":"TemporaryFile(/tmp/multipartBody4304968326660593225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752413545,"filename":"image_17022025_01_32_14_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/56305e4d1c5cbc283b0693a2b6aa9f19.jpg","text":"TemporaryFile(/tmp/multipartBody9160418302161068284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752413545,"filename":"image_17022025_01_32_54_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/72e69da099d75adab4345ede8de86156.jpg","text":"TemporaryFile(/tmp/multipartBody2244805880800140287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752413545,"filename":"image_17022025_01_32_24_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103776","file1":"1338103775","file0":"1338103774","file4":"1338103778","file5":"1338103779","file3":"1338103777"},"map_files_photo_id_array":[{"photo_id":"1338103779","filename":"file5"},{"photo_id":"1338103776","filename":"file2"},{"photo_id":"1338103778","filename":"file4"},{"photo_id":"1338103775","filename":"file1"},{"photo_id":"1338103774","filename":"file0"},{"photo_id":"1338103777","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103779":["hashtag1","hashtag2"]},{"1338103776":["hashtag1","hashtag2"]},{"1338103775":["hashtag1","hashtag2"]},{"1338103778":["hashtag1","hashtag2"]},{"1338103774":["hashtag1","hashtag2"]},{"1338103777":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103779, 1338103776, 1338103775, 1338103778, 1338103774, 1338103777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.844559907913208 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:33:31.900439
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_44_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_34_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_24_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_14_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/32/image_17022025_01_33_04_9803.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_54_9771.jpg', '/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_44_9791.jpg', '/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_34_9776.jpg', '/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_24_10784.jpg', '/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_14_9773.jpg', '/home/nano/Desktop/images/17022025/01/32/image_17022025_01_33_04_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_54_9771.jpg
/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_44_9791.jpg
/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_34_9776.jpg
/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_24_10784.jpg
/home/nano/Desktop/images/17022025/01/33/image_17022025_01_33_14_9773.jpg
/home/nano/Desktop/images/17022025/01/32/image_17022025_01_33_04_9803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103785","1338103781","1338103784","1338103786","1338103783","1338103782"],"photo_ids_order":["1338103781","1338103782","1338103783","1338103784","1338103785","1338103786"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b0e6c5dd607247655f28b5c15a759f4.jpg","text":"TemporaryFile(/tmp/multipartBody3191044104064454916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752473569,"filename":"image_17022025_01_33_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa1980755088fda5e7bec5c92f8445fd.jpg","text":"TemporaryFile(/tmp/multipartBody7110180762194867561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752473569,"filename":"image_17022025_01_33_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28fc8b64b24a5e1674e94efe231a1560.jpg","text":"TemporaryFile(/tmp/multipartBody1765685043405871295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752473569,"filename":"image_17022025_01_33_24_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3fe8a761ee388e20c45a5a93121050f4.jpg","text":"TemporaryFile(/tmp/multipartBody399281062233590055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752473569,"filename":"image_17022025_01_33_04_9803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90b0b4a0fc979064551af9109f318920.jpg","text":"TemporaryFile(/tmp/multipartBody1904401537819460923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752473569,"filename":"image_17022025_01_33_34_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e1deceaf297ffccc12d347e6a21b3f6d.jpg","text":"TemporaryFile(/tmp/multipartBody7534177054837504621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752473569,"filename":"image_17022025_01_33_44_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103783","file1":"1338103782","file0":"1338103781","file4":"1338103785","file5":"1338103786","file3":"1338103784"},"map_files_photo_id_array":[{"photo_id":"1338103786","filename":"file5"},{"photo_id":"1338103783","filename":"file2"},{"photo_id":"1338103785","filename":"file4"},{"photo_id":"1338103782","filename":"file1"},{"photo_id":"1338103781","filename":"file0"},{"photo_id":"1338103784","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103785":["hashtag1","hashtag2"]},{"1338103781":["hashtag1","hashtag2"]},{"1338103784":["hashtag1","hashtag2"]},{"1338103786":["hashtag1","hashtag2"]},{"1338103783":["hashtag1","hashtag2"]},{"1338103782":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103785, 1338103781, 1338103784, 1338103786, 1338103783, 1338103782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.820621728897095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:34:31.996577
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_54_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_44_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_34_9797.jpg', 0), ('/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_24_9796.jpg', 0), ('/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_14_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/01/33/image_17022025_01_34_04_10798.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_54_10785.jpg', '/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_44_9793.jpg', '/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_34_9797.jpg', '/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_24_9796.jpg', '/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_14_9778.jpg', '/home/nano/Desktop/images/17022025/01/33/image_17022025_01_34_04_10798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_54_10785.jpg
/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_44_9793.jpg
/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_34_9797.jpg
/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_24_9796.jpg
/home/nano/Desktop/images/17022025/01/34/image_17022025_01_34_14_9778.jpg
/home/nano/Desktop/images/17022025/01/33/image_17022025_01_34_04_10798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103791","1338103788","1338103790","1338103787","1338103792","1338103789"],"photo_ids_order":["1338103787","1338103788","1338103789","1338103790","1338103791","1338103792"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2613cbd813ff1c8d86cdb814e647124.jpg","text":"TemporaryFile(/tmp/multipartBody3764122641021351473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752533661,"filename":"image_17022025_01_34_14_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f2af2a4bbfa800ed80466bbb97be66f3.jpg","text":"TemporaryFile(/tmp/multipartBody4612234793877881959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752533661,"filename":"image_17022025_01_34_44_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c9070125a8e778596fe5d749888da68.jpg","text":"TemporaryFile(/tmp/multipartBody8476250910437321735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752533661,"filename":"image_17022025_01_34_24_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7acc6f130724fce6ce68692c3edd3444.jpg","text":"TemporaryFile(/tmp/multipartBody2838560740817591394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752533661,"filename":"image_17022025_01_34_54_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ff8c1ee92d679f5e7e2af2939577d1d.jpg","text":"TemporaryFile(/tmp/multipartBody2337204408021453006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752533661,"filename":"image_17022025_01_34_04_10798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6cce1e7113e9aa03784f674d4355fb6.jpg","text":"TemporaryFile(/tmp/multipartBody7995102619546973369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752533661,"filename":"image_17022025_01_34_34_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103789","file1":"1338103788","file0":"1338103787","file4":"1338103791","file5":"1338103792","file3":"1338103790"},"map_files_photo_id_array":[{"photo_id":"1338103792","filename":"file5"},{"photo_id":"1338103789","filename":"file2"},{"photo_id":"1338103791","filename":"file4"},{"photo_id":"1338103788","filename":"file1"},{"photo_id":"1338103787","filename":"file0"},{"photo_id":"1338103790","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103791":["hashtag1","hashtag2"]},{"1338103788":["hashtag1","hashtag2"]},{"1338103790":["hashtag1","hashtag2"]},{"1338103787":["hashtag1","hashtag2"]},{"1338103792":["hashtag1","hashtag2"]},{"1338103789":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103791, 1338103788, 1338103790, 1338103787, 1338103792, 1338103789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.29811954498291 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:35:32.111835
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_44_10805.jpg', 0), ('/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_34_9794.jpg', 0), ('/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_14_9780.jpg', 0), ('/home/nano/Desktop/images/17022025/01/34/image_17022025_01_35_04_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_54_9773.jpg', '/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_44_10805.jpg', '/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_34_9794.jpg', '/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_24_9774.jpg', '/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_14_9780.jpg', '/home/nano/Desktop/images/17022025/01/34/image_17022025_01_35_04_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_54_9773.jpg
/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_44_10805.jpg
/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_34_9794.jpg
/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_24_9774.jpg
/home/nano/Desktop/images/17022025/01/35/image_17022025_01_35_14_9780.jpg
/home/nano/Desktop/images/17022025/01/34/image_17022025_01_35_04_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103794","1338103793","1338103796","1338103795","1338103798","1338103797"],"photo_ids_order":["1338103793","1338103794","1338103795","1338103796","1338103797","1338103798"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97f8db185be4cbeba7f5cf88aca0abc6.jpg","text":"TemporaryFile(/tmp/multipartBody165401879448390367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752593710,"filename":"image_17022025_01_35_44_10805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d985028b47f3150791c4ea8ea7d9b1a9.jpg","text":"TemporaryFile(/tmp/multipartBody2923576637649794657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752593710,"filename":"image_17022025_01_35_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d41096d6ccb5cdc42ef0702aefe564d.jpg","text":"TemporaryFile(/tmp/multipartBody6712830749529786440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752593710,"filename":"image_17022025_01_35_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e2bf6da45aa852ee310157f87cc82a0.jpg","text":"TemporaryFile(/tmp/multipartBody6444778078978702556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752593710,"filename":"image_17022025_01_35_34_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b2922f3171bfcde658886dbac169eae.jpg","text":"TemporaryFile(/tmp/multipartBody3172767981089605589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752593710,"filename":"image_17022025_01_35_04_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aa467eebf0322c07d6db99fcf5e96187.jpg","text":"TemporaryFile(/tmp/multipartBody3571198300600661795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752593710,"filename":"image_17022025_01_35_14_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103795","file1":"1338103794","file0":"1338103793","file4":"1338103797","file5":"1338103798","file3":"1338103796"},"map_files_photo_id_array":[{"photo_id":"1338103798","filename":"file5"},{"photo_id":"1338103795","filename":"file2"},{"photo_id":"1338103797","filename":"file4"},{"photo_id":"1338103794","filename":"file1"},{"photo_id":"1338103793","filename":"file0"},{"photo_id":"1338103796","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103794":["hashtag1","hashtag2"]},{"1338103793":["hashtag1","hashtag2"]},{"1338103796":["hashtag1","hashtag2"]},{"1338103795":["hashtag1","hashtag2"]},{"1338103798":["hashtag1","hashtag2"]},{"1338103797":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103794, 1338103793, 1338103796, 1338103795, 1338103798, 1338103797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.242882251739502 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:36:32.183475
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_54_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_34_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_14_9796.jpg', 0), ('/home/nano/Desktop/images/17022025/01/35/image_17022025_01_36_04_9785.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_54_9767.jpg', '/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_44_9772.jpg', '/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_34_10785.jpg', '/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_24_9775.jpg', '/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_14_9796.jpg', '/home/nano/Desktop/images/17022025/01/35/image_17022025_01_36_04_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_54_9767.jpg
/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_44_9772.jpg
/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_34_10785.jpg
/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_24_9775.jpg
/home/nano/Desktop/images/17022025/01/36/image_17022025_01_36_14_9796.jpg
/home/nano/Desktop/images/17022025/01/35/image_17022025_01_36_04_9785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103801","1338103803","1338103800","1338103799","1338103802","1338103804"],"photo_ids_order":["1338103799","1338103800","1338103801","1338103802","1338103803","1338103804"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a86628a784e63744a5cb415347a4f52.jpg","text":"TemporaryFile(/tmp/multipartBody8789953235081270852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752653502,"filename":"image_17022025_01_36_34_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e98cad05bfa5cfafa01c7b9fc6e98916.jpg","text":"TemporaryFile(/tmp/multipartBody4223661198876739224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752653502,"filename":"image_17022025_01_36_14_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce603398ec7913eb9072a69a3dee2665.jpg","text":"TemporaryFile(/tmp/multipartBody4653739361300821362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752653502,"filename":"image_17022025_01_36_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c857a9c1872f9cfe2fe1a32ef2f7191.jpg","text":"TemporaryFile(/tmp/multipartBody6541916704499717647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752653502,"filename":"image_17022025_01_36_54_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d186d2085b00a8362f9dd8c793f4f132.jpg","text":"TemporaryFile(/tmp/multipartBody5612631786532233794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752653502,"filename":"image_17022025_01_36_24_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50fe0fc4709cafb7a50aa1f9415871e3.jpg","text":"TemporaryFile(/tmp/multipartBody2125978798771222924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752653502,"filename":"image_17022025_01_36_04_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103801","file1":"1338103800","file0":"1338103799","file4":"1338103803","file5":"1338103804","file3":"1338103802"},"map_files_photo_id_array":[{"photo_id":"1338103804","filename":"file5"},{"photo_id":"1338103801","filename":"file2"},{"photo_id":"1338103803","filename":"file4"},{"photo_id":"1338103800","filename":"file1"},{"photo_id":"1338103799","filename":"file0"},{"photo_id":"1338103802","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103801":["hashtag1","hashtag2"]},{"1338103803":["hashtag1","hashtag2"]},{"1338103800":["hashtag1","hashtag2"]},{"1338103799":["hashtag1","hashtag2"]},{"1338103802":["hashtag1","hashtag2"]},{"1338103804":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103801, 1338103803, 1338103800, 1338103799, 1338103802, 1338103804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82995009422302 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:37:32.277975
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_53_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_24_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_14_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/01/36/image_17022025_01_37_04_9779.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_53_9773.jpg', '/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_44_9772.jpg', '/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_34_9773.jpg', '/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_24_9770.jpg', '/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_14_10785.jpg', '/home/nano/Desktop/images/17022025/01/36/image_17022025_01_37_04_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_53_9773.jpg
/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_44_9772.jpg
/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_34_9773.jpg
/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_24_9770.jpg
/home/nano/Desktop/images/17022025/01/37/image_17022025_01_37_14_10785.jpg
/home/nano/Desktop/images/17022025/01/36/image_17022025_01_37_04_9779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103809","1338103806","1338103808","1338103805","1338103810","1338103807"],"photo_ids_order":["1338103805","1338103806","1338103807","1338103808","1338103809","1338103810"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f80dbb9efaa077fa581fabec2b69b91a.jpg","text":"TemporaryFile(/tmp/multipartBody5339215264576752510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752713903,"filename":"image_17022025_01_37_14_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e0086af64bcd941f005ace10e8dd26f5.jpg","text":"TemporaryFile(/tmp/multipartBody5073577295169663981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752713903,"filename":"image_17022025_01_37_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53a82a53b03a0841191ec61576d2daf0.jpg","text":"TemporaryFile(/tmp/multipartBody4009900896363477272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752713903,"filename":"image_17022025_01_37_24_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1af75a618ab5854089b248117321094e.jpg","text":"TemporaryFile(/tmp/multipartBody3778722572897812878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752713903,"filename":"image_17022025_01_37_53_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d520fce855a9ce7e40430efa572e1109.jpg","text":"TemporaryFile(/tmp/multipartBody4334426477395806630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752713903,"filename":"image_17022025_01_37_04_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/864c1c33b1445381db400928a2e2d913.jpg","text":"TemporaryFile(/tmp/multipartBody6998008000546470855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752713903,"filename":"image_17022025_01_37_34_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103807","file1":"1338103806","file0":"1338103805","file4":"1338103809","file5":"1338103810","file3":"1338103808"},"map_files_photo_id_array":[{"photo_id":"1338103810","filename":"file5"},{"photo_id":"1338103807","filename":"file2"},{"photo_id":"1338103809","filename":"file4"},{"photo_id":"1338103806","filename":"file1"},{"photo_id":"1338103805","filename":"file0"},{"photo_id":"1338103808","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103809":["hashtag1","hashtag2"]},{"1338103806":["hashtag1","hashtag2"]},{"1338103808":["hashtag1","hashtag2"]},{"1338103805":["hashtag1","hashtag2"]},{"1338103810":["hashtag1","hashtag2"]},{"1338103807":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103809, 1338103806, 1338103808, 1338103805, 1338103810, 1338103807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.22384214401245 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:38:32.374226
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_44_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_34_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/37/image_17022025_01_38_04_10802.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_54_9774.jpg', '/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_44_10781.jpg', '/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_34_9768.jpg', '/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_24_9773.jpg', '/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_14_9777.jpg', '/home/nano/Desktop/images/17022025/01/37/image_17022025_01_38_04_10802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_54_9774.jpg
/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_44_10781.jpg
/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_34_9768.jpg
/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_24_9773.jpg
/home/nano/Desktop/images/17022025/01/38/image_17022025_01_38_14_9777.jpg
/home/nano/Desktop/images/17022025/01/37/image_17022025_01_38_04_10802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103816","1338103815","1338103812","1338103811","1338103814","1338103813"],"photo_ids_order":["1338103811","1338103812","1338103813","1338103814","1338103815","1338103816"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/62f60573e59c0bf48ea0404ddf4fe9b4.jpg","text":"TemporaryFile(/tmp/multipartBody2391892525001455930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752773957,"filename":"image_17022025_01_38_04_10802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e9f087bc20d25ca9c817e49cb6a79024.jpg","text":"TemporaryFile(/tmp/multipartBody4233614867025780718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752773957,"filename":"image_17022025_01_38_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0cd98549c2c670678a0801dabbc8a268.jpg","text":"TemporaryFile(/tmp/multipartBody6519932845963688050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752773957,"filename":"image_17022025_01_38_44_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ca304e4fc6837cda82017cb48cf6b1b.jpg","text":"TemporaryFile(/tmp/multipartBody1101933015441316526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752773957,"filename":"image_17022025_01_38_54_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2957727323703b2c4685c0de23bbc404.jpg","text":"TemporaryFile(/tmp/multipartBody8876870101839874786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752773957,"filename":"image_17022025_01_38_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/43c4487469c72f960bacb8ebfe12d8ae.jpg","text":"TemporaryFile(/tmp/multipartBody3561851089618340878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752773957,"filename":"image_17022025_01_38_34_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103813","file1":"1338103812","file0":"1338103811","file4":"1338103815","file5":"1338103816","file3":"1338103814"},"map_files_photo_id_array":[{"photo_id":"1338103816","filename":"file5"},{"photo_id":"1338103813","filename":"file2"},{"photo_id":"1338103815","filename":"file4"},{"photo_id":"1338103812","filename":"file1"},{"photo_id":"1338103811","filename":"file0"},{"photo_id":"1338103814","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103816":["hashtag1","hashtag2"]},{"1338103815":["hashtag1","hashtag2"]},{"1338103812":["hashtag1","hashtag2"]},{"1338103811":["hashtag1","hashtag2"]},{"1338103814":["hashtag1","hashtag2"]},{"1338103813":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103816, 1338103815, 1338103812, 1338103811, 1338103814, 1338103813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80502676963806 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:39:32.474552
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_44_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_34_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_24_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_14_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/01/38/image_17022025_01_39_04_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_54_9772.jpg', '/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_44_9770.jpg', '/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_34_10780.jpg', '/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_24_9789.jpg', '/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_14_9778.jpg', '/home/nano/Desktop/images/17022025/01/38/image_17022025_01_39_04_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_54_9772.jpg
/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_44_9770.jpg
/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_34_10780.jpg
/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_24_9789.jpg
/home/nano/Desktop/images/17022025/01/39/image_17022025_01_39_14_9778.jpg
/home/nano/Desktop/images/17022025/01/38/image_17022025_01_39_04_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103821","1338103818","1338103820","1338103823","1338103822","1338103819"],"photo_ids_order":["1338103818","1338103819","1338103820","1338103821","1338103822","1338103823"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/549a47fc47d6c3461cb8e6aa6357e859.jpg","text":"TemporaryFile(/tmp/multipartBody106836214650449391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752833634,"filename":"image_17022025_01_39_24_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b928bf2fd9ac557f1fec56dd05566d34.jpg","text":"TemporaryFile(/tmp/multipartBody4604324043713183790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752833634,"filename":"image_17022025_01_39_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8d33f7bb3e525ac3d0bd1a3d75b50ef.jpg","text":"TemporaryFile(/tmp/multipartBody8506232782482515217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752833634,"filename":"image_17022025_01_39_34_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d48084d7dca99414744d87eaecb5db03.jpg","text":"TemporaryFile(/tmp/multipartBody6884462135806709177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752833634,"filename":"image_17022025_01_39_04_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4493e312d3849c0501b158fac516f223.jpg","text":"TemporaryFile(/tmp/multipartBody5073793719187701961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752833634,"filename":"image_17022025_01_39_14_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a2903a12174cbf435577e4b82fed55f.jpg","text":"TemporaryFile(/tmp/multipartBody579541962214127723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752833634,"filename":"image_17022025_01_39_44_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103820","file1":"1338103819","file0":"1338103818","file4":"1338103822","file5":"1338103823","file3":"1338103821"},"map_files_photo_id_array":[{"photo_id":"1338103823","filename":"file5"},{"photo_id":"1338103820","filename":"file2"},{"photo_id":"1338103822","filename":"file4"},{"photo_id":"1338103819","filename":"file1"},{"photo_id":"1338103818","filename":"file0"},{"photo_id":"1338103821","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103821":["hashtag1","hashtag2"]},{"1338103818":["hashtag1","hashtag2"]},{"1338103820":["hashtag1","hashtag2"]},{"1338103823":["hashtag1","hashtag2"]},{"1338103822":["hashtag1","hashtag2"]},{"1338103819":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103821, 1338103818, 1338103820, 1338103823, 1338103822, 1338103819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.18248462677002 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:40:32.587894
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_54_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_14_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/01/39/image_17022025_01_40_04_9792.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_54_9788.jpg', '/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_44_9771.jpg', '/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_34_9772.jpg', '/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_24_9771.jpg', '/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_14_10782.jpg', '/home/nano/Desktop/images/17022025/01/39/image_17022025_01_40_04_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_54_9788.jpg
/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_44_9771.jpg
/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_34_9772.jpg
/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_24_9771.jpg
/home/nano/Desktop/images/17022025/01/40/image_17022025_01_40_14_10782.jpg
/home/nano/Desktop/images/17022025/01/39/image_17022025_01_40_04_9792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103827","1338103824","1338103826","1338103829","1338103825","1338103828"],"photo_ids_order":["1338103824","1338103825","1338103826","1338103827","1338103828","1338103829"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9feb19c42ad7738b1d1399ce35c90276.jpg","text":"TemporaryFile(/tmp/multipartBody1136768840432828302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752893826,"filename":"image_17022025_01_40_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7342821c199893268677df973b3c9901.jpg","text":"TemporaryFile(/tmp/multipartBody205602196668015345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752893826,"filename":"image_17022025_01_40_54_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cdeca4025c83738ef4088869dc0c5fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3673504200325798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752893826,"filename":"image_17022025_01_40_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d30d0c952c4e5718d938122e6cfca60.jpg","text":"TemporaryFile(/tmp/multipartBody2295495654903207544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752893826,"filename":"image_17022025_01_40_04_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c65042d03471fa5fcdcbba98ffb410e6.jpg","text":"TemporaryFile(/tmp/multipartBody716793524635228135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752893826,"filename":"image_17022025_01_40_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c79defd6c2ccb6bb26f4225972a02832.jpg","text":"TemporaryFile(/tmp/multipartBody2591828510069846084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752893826,"filename":"image_17022025_01_40_14_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103826","file1":"1338103825","file0":"1338103824","file4":"1338103828","file5":"1338103829","file3":"1338103827"},"map_files_photo_id_array":[{"photo_id":"1338103829","filename":"file5"},{"photo_id":"1338103826","filename":"file2"},{"photo_id":"1338103828","filename":"file4"},{"photo_id":"1338103825","filename":"file1"},{"photo_id":"1338103824","filename":"file0"},{"photo_id":"1338103827","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103827":["hashtag1","hashtag2"]},{"1338103824":["hashtag1","hashtag2"]},{"1338103826":["hashtag1","hashtag2"]},{"1338103829":["hashtag1","hashtag2"]},{"1338103825":["hashtag1","hashtag2"]},{"1338103828":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103827, 1338103824, 1338103826, 1338103829, 1338103825, 1338103828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.935911417007446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:41:32.676929
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_44_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_14_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/40/image_17022025_01_41_04_10781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_54_9770.jpg', '/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_44_10781.jpg', '/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_34_9770.jpg', '/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_24_9773.jpg', '/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_14_9771.jpg', '/home/nano/Desktop/images/17022025/01/40/image_17022025_01_41_04_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_54_9770.jpg
/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_44_10781.jpg
/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_34_9770.jpg
/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_24_9773.jpg
/home/nano/Desktop/images/17022025/01/41/image_17022025_01_41_14_9771.jpg
/home/nano/Desktop/images/17022025/01/40/image_17022025_01_41_04_10781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103833","1338103836","1338103832","1338103835","1338103831","1338103834"],"photo_ids_order":["1338103831","1338103832","1338103833","1338103834","1338103835","1338103836"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/25b94fb06a56d79894df4f501a0ebfff.jpg","text":"TemporaryFile(/tmp/multipartBody4275230793026913961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752954243,"filename":"image_17022025_01_41_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a7b80f3db2f90dff2610805c1503c99d.jpg","text":"TemporaryFile(/tmp/multipartBody3706691738252569100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752954243,"filename":"image_17022025_01_41_04_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5c6a71189e96c2f5bf223d7e60fd980.jpg","text":"TemporaryFile(/tmp/multipartBody6068055505263871142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752954243,"filename":"image_17022025_01_41_44_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90d3f49c38626e7ac79de26c714d0ce7.jpg","text":"TemporaryFile(/tmp/multipartBody542235479811207329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752954243,"filename":"image_17022025_01_41_14_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c52157e858c3b1f3f812ac4d807ae498.jpg","text":"TemporaryFile(/tmp/multipartBody8645786882642175514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752954243,"filename":"image_17022025_01_41_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce90ca0a1ba000ea06ce9dbdcb321802.jpg","text":"TemporaryFile(/tmp/multipartBody7833426813813154139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739752954243,"filename":"image_17022025_01_41_24_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103833","file1":"1338103832","file0":"1338103831","file4":"1338103835","file5":"1338103836","file3":"1338103834"},"map_files_photo_id_array":[{"photo_id":"1338103836","filename":"file5"},{"photo_id":"1338103833","filename":"file2"},{"photo_id":"1338103835","filename":"file4"},{"photo_id":"1338103832","filename":"file1"},{"photo_id":"1338103831","filename":"file0"},{"photo_id":"1338103834","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103833":["hashtag1","hashtag2"]},{"1338103836":["hashtag1","hashtag2"]},{"1338103832":["hashtag1","hashtag2"]},{"1338103835":["hashtag1","hashtag2"]},{"1338103831":["hashtag1","hashtag2"]},{"1338103834":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103833, 1338103836, 1338103832, 1338103835, 1338103831, 1338103834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.121705770492554 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:42:31.768344
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_54_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_34_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_24_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_14_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/01/41/image_17022025_01_42_04_9768.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_54_9789.jpg', '/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_44_9775.jpg', '/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_34_10783.jpg', '/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_24_9788.jpg', '/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_14_9791.jpg', '/home/nano/Desktop/images/17022025/01/41/image_17022025_01_42_04_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_54_9789.jpg
/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_44_9775.jpg
/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_34_10783.jpg
/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_24_9788.jpg
/home/nano/Desktop/images/17022025/01/42/image_17022025_01_42_14_9791.jpg
/home/nano/Desktop/images/17022025/01/41/image_17022025_01_42_04_9768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103842","1338103839","1338103838","1338103841","1338103840","1338103837"],"photo_ids_order":["1338103837","1338103838","1338103839","1338103840","1338103841","1338103842"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57eb9cc5b90ace88635bf8c66068d9f1.jpg","text":"TemporaryFile(/tmp/multipartBody2242242471843268966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753013179,"filename":"image_17022025_01_42_04_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4bca2d8d877789fd0da77476f47beb50.jpg","text":"TemporaryFile(/tmp/multipartBody4549341779983112736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753013179,"filename":"image_17022025_01_42_34_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60229e7345319db0093503a6b191d5a7.jpg","text":"TemporaryFile(/tmp/multipartBody4705679172842221638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753013179,"filename":"image_17022025_01_42_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb02129804f27e12c4612972a2ec123d.jpg","text":"TemporaryFile(/tmp/multipartBody7505487443508395361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753013179,"filename":"image_17022025_01_42_14_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/200fb4768fa02281af1b292a407d327e.jpg","text":"TemporaryFile(/tmp/multipartBody3920045075143548433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753013179,"filename":"image_17022025_01_42_24_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e21f481354501d6978d7f4dc198fc7ec.jpg","text":"TemporaryFile(/tmp/multipartBody2448523726988422919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753013179,"filename":"image_17022025_01_42_54_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103839","file1":"1338103838","file0":"1338103837","file4":"1338103841","file5":"1338103842","file3":"1338103840"},"map_files_photo_id_array":[{"photo_id":"1338103842","filename":"file5"},{"photo_id":"1338103839","filename":"file2"},{"photo_id":"1338103841","filename":"file4"},{"photo_id":"1338103838","filename":"file1"},{"photo_id":"1338103837","filename":"file0"},{"photo_id":"1338103840","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103842":["hashtag1","hashtag2"]},{"1338103839":["hashtag1","hashtag2"]},{"1338103838":["hashtag1","hashtag2"]},{"1338103841":["hashtag1","hashtag2"]},{"1338103840":["hashtag1","hashtag2"]},{"1338103837":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103842, 1338103839, 1338103838, 1338103841, 1338103840, 1338103837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.260396718978882 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:43:31.850858
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_44_9794.jpg', 0), ('/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_34_9798.jpg', 0), ('/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_14_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/01/42/image_17022025_01_43_04_9782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_54_9773.jpg', '/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_44_9794.jpg', '/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_34_9798.jpg', '/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_24_9771.jpg', '/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_14_10784.jpg', '/home/nano/Desktop/images/17022025/01/42/image_17022025_01_43_04_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_54_9773.jpg
/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_44_9794.jpg
/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_34_9798.jpg
/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_24_9771.jpg
/home/nano/Desktop/images/17022025/01/43/image_17022025_01_43_14_10784.jpg
/home/nano/Desktop/images/17022025/01/42/image_17022025_01_43_04_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103845","1338103848","1338103844","1338103847","1338103843","1338103846"],"photo_ids_order":["1338103843","1338103844","1338103845","1338103846","1338103847","1338103848"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ebd18da5fbab44b44228a099cd4f1ef.jpg","text":"TemporaryFile(/tmp/multipartBody6931363899881359441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753073329,"filename":"image_17022025_01_43_34_9798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86b3211c173f82530f83cc49594ae0b6.jpg","text":"TemporaryFile(/tmp/multipartBody3993949097280135957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753073329,"filename":"image_17022025_01_43_04_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80170e7d8d669bb3e6af3d4e3d3ab0ea.jpg","text":"TemporaryFile(/tmp/multipartBody8423486590810458192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753073329,"filename":"image_17022025_01_43_44_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c11af8782e8f03f753dac010d735edb.jpg","text":"TemporaryFile(/tmp/multipartBody1083197464745733604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753073329,"filename":"image_17022025_01_43_14_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de764b413ca391487c327e48e4165e81.jpg","text":"TemporaryFile(/tmp/multipartBody5035449702725981136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753073329,"filename":"image_17022025_01_43_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b6260ee3e1e9f74409d1dee5a907cb6.jpg","text":"TemporaryFile(/tmp/multipartBody8825621869288895574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753073329,"filename":"image_17022025_01_43_24_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103845","file1":"1338103844","file0":"1338103843","file4":"1338103847","file5":"1338103848","file3":"1338103846"},"map_files_photo_id_array":[{"photo_id":"1338103848","filename":"file5"},{"photo_id":"1338103845","filename":"file2"},{"photo_id":"1338103847","filename":"file4"},{"photo_id":"1338103844","filename":"file1"},{"photo_id":"1338103843","filename":"file0"},{"photo_id":"1338103846","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103845":["hashtag1","hashtag2"]},{"1338103848":["hashtag1","hashtag2"]},{"1338103844":["hashtag1","hashtag2"]},{"1338103847":["hashtag1","hashtag2"]},{"1338103843":["hashtag1","hashtag2"]},{"1338103846":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103845, 1338103848, 1338103844, 1338103847, 1338103843, 1338103846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.30791187286377 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:44:31.953499
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_54_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_44_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/43/image_17022025_01_44_04_10789.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_54_9791.jpg', '/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_44_10784.jpg', '/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_34_9773.jpg', '/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_24_9775.jpg', '/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_14_9775.jpg', '/home/nano/Desktop/images/17022025/01/43/image_17022025_01_44_04_10789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_54_9791.jpg
/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_44_10784.jpg
/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_34_9773.jpg
/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_24_9775.jpg
/home/nano/Desktop/images/17022025/01/44/image_17022025_01_44_14_9775.jpg
/home/nano/Desktop/images/17022025/01/43/image_17022025_01_44_04_10789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103851","1338103854","1338103856","1338103853","1338103855","1338103852"],"photo_ids_order":["1338103851","1338103852","1338103853","1338103854","1338103855","1338103856"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d005c59e96abf0aaf4c7f85307ceb04.jpg","text":"TemporaryFile(/tmp/multipartBody927571885831517186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753133482,"filename":"image_17022025_01_44_54_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/42b8b708d832aecb832d28547a3942ca.jpg","text":"TemporaryFile(/tmp/multipartBody4911023152563675935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753133482,"filename":"image_17022025_01_44_24_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ccb23901f671a164b16a1950d930539.jpg","text":"TemporaryFile(/tmp/multipartBody6318382553869753242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753133482,"filename":"image_17022025_01_44_04_10789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7007294460ed846e45773e5ee0fdf9f2.jpg","text":"TemporaryFile(/tmp/multipartBody1349829998631864133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753133482,"filename":"image_17022025_01_44_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d331c275c682ed12469377b6948e5b7b.jpg","text":"TemporaryFile(/tmp/multipartBody8327636923404175654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753133482,"filename":"image_17022025_01_44_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f163d0c9e8e02c8ebae86182788255b8.jpg","text":"TemporaryFile(/tmp/multipartBody6921333529568909050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753133482,"filename":"image_17022025_01_44_44_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103853","file1":"1338103852","file0":"1338103851","file4":"1338103855","file5":"1338103856","file3":"1338103854"},"map_files_photo_id_array":[{"photo_id":"1338103856","filename":"file5"},{"photo_id":"1338103853","filename":"file2"},{"photo_id":"1338103855","filename":"file4"},{"photo_id":"1338103852","filename":"file1"},{"photo_id":"1338103851","filename":"file0"},{"photo_id":"1338103854","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103851":["hashtag1","hashtag2"]},{"1338103854":["hashtag1","hashtag2"]},{"1338103856":["hashtag1","hashtag2"]},{"1338103853":["hashtag1","hashtag2"]},{"1338103855":["hashtag1","hashtag2"]},{"1338103852":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103851, 1338103854, 1338103856, 1338103853, 1338103855, 1338103852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.750462293624878 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:45:32.083068
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_54_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_44_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_34_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/01/44/image_17022025_01_45_04_9780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_54_9795.jpg', '/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_44_9776.jpg', '/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_34_10785.jpg', '/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_24_9773.jpg', '/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_14_9777.jpg', '/home/nano/Desktop/images/17022025/01/44/image_17022025_01_45_04_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_54_9795.jpg
/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_44_9776.jpg
/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_34_10785.jpg
/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_24_9773.jpg
/home/nano/Desktop/images/17022025/01/45/image_17022025_01_45_14_9777.jpg
/home/nano/Desktop/images/17022025/01/44/image_17022025_01_45_04_9780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103860","1338103857","1338103862","1338103859","1338103861","1338103858"],"photo_ids_order":["1338103857","1338103858","1338103859","1338103860","1338103861","1338103862"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/954011fa274f47349115c7ea6db7229a.jpg","text":"TemporaryFile(/tmp/multipartBody23762348585342534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753193825,"filename":"image_17022025_01_45_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75f81c48ac9ecd39464736a3ccfbe26e.jpg","text":"TemporaryFile(/tmp/multipartBody3493177742536498002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753193825,"filename":"image_17022025_01_45_54_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa5dc0e929fcad371c0e1c2ca5240c6a.jpg","text":"TemporaryFile(/tmp/multipartBody2351978324506220134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753193825,"filename":"image_17022025_01_45_04_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d890c963393a312e7e3745b58ed23030.jpg","text":"TemporaryFile(/tmp/multipartBody9158842524208361741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753193825,"filename":"image_17022025_01_45_34_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f1dc51dcbc87222fcbd3a37ad1a8444.jpg","text":"TemporaryFile(/tmp/multipartBody4045987520937454113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753193825,"filename":"image_17022025_01_45_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9945629bdf3031e98e40242676157745.jpg","text":"TemporaryFile(/tmp/multipartBody1880775137280667313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753193825,"filename":"image_17022025_01_45_44_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103859","file1":"1338103858","file0":"1338103857","file4":"1338103861","file5":"1338103862","file3":"1338103860"},"map_files_photo_id_array":[{"photo_id":"1338103862","filename":"file5"},{"photo_id":"1338103859","filename":"file2"},{"photo_id":"1338103861","filename":"file4"},{"photo_id":"1338103858","filename":"file1"},{"photo_id":"1338103857","filename":"file0"},{"photo_id":"1338103860","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103860":["hashtag1","hashtag2"]},{"1338103857":["hashtag1","hashtag2"]},{"1338103862":["hashtag1","hashtag2"]},{"1338103859":["hashtag1","hashtag2"]},{"1338103861":["hashtag1","hashtag2"]},{"1338103858":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103860, 1338103857, 1338103862, 1338103859, 1338103861, 1338103858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83409929275513 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:46:32.145466
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_24_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_14_9806.jpg', 0), ('/home/nano/Desktop/images/17022025/01/45/image_17022025_01_46_04_9790.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_54_9773.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_44_9771.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_34_9775.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_24_10785.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_14_9806.jpg', '/home/nano/Desktop/images/17022025/01/45/image_17022025_01_46_04_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_54_9773.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_44_9771.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_34_9775.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_24_10785.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_14_9806.jpg
/home/nano/Desktop/images/17022025/01/45/image_17022025_01_46_04_9790.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.367405652999878 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:47:02.808448
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_54_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_24_9794.jpg', 0), ('/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_14_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_47_04_10791.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_54_10781.jpg', '/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_44_9773.jpg', '/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_34_9771.jpg', '/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_24_9794.jpg', '/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_14_9778.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_47_04_10791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_54_10781.jpg
/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_44_9773.jpg
/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_34_9771.jpg
/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_24_9794.jpg
/home/nano/Desktop/images/17022025/01/47/image_17022025_01_47_14_9778.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_47_04_10791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103872","1338103869","1338103871","1338103868","1338103873","1338103870"],"photo_ids_order":["1338103868","1338103869","1338103870","1338103871","1338103872","1338103873"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/674282053f0bfa62debb20d640c9cb43.jpg","text":"TemporaryFile(/tmp/multipartBody5055710742783562121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753284338,"filename":"image_17022025_01_47_14_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e0baed8d7858f6be0ba09b76c5284383.jpg","text":"TemporaryFile(/tmp/multipartBody3205609591513895214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753284338,"filename":"image_17022025_01_47_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f132b9a2ad111becd6d9c6945bada1ac.jpg","text":"TemporaryFile(/tmp/multipartBody7095100265982623639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753284338,"filename":"image_17022025_01_47_24_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1df867f74898d816ab068e3b52b61c7.jpg","text":"TemporaryFile(/tmp/multipartBody5227942728057212368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753284338,"filename":"image_17022025_01_47_54_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/966d2a4b205ae69c816864894c2abbc1.jpg","text":"TemporaryFile(/tmp/multipartBody3282095706411665832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753284338,"filename":"image_17022025_01_47_04_10791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/91e98b71da8206c6998bc22cd912becf.jpg","text":"TemporaryFile(/tmp/multipartBody1292601851940622481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753284338,"filename":"image_17022025_01_47_34_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103870","file1":"1338103869","file0":"1338103868","file4":"1338103872","file5":"1338103873","file3":"1338103871"},"map_files_photo_id_array":[{"photo_id":"1338103873","filename":"file5"},{"photo_id":"1338103870","filename":"file2"},{"photo_id":"1338103872","filename":"file4"},{"photo_id":"1338103869","filename":"file1"},{"photo_id":"1338103868","filename":"file0"},{"photo_id":"1338103871","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103872":["hashtag1","hashtag2"]},{"1338103869":["hashtag1","hashtag2"]},{"1338103871":["hashtag1","hashtag2"]},{"1338103868":["hashtag1","hashtag2"]},{"1338103873":["hashtag1","hashtag2"]},{"1338103870":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103872, 1338103869, 1338103871, 1338103868, 1338103873, 1338103870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.504456758499146 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:48:02.621356
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_34_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_14_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/47/image_17022025_01_48_04_9794.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_54_9771.jpg', '/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_44_9774.jpg', '/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_34_10779.jpg', '/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_24_9769.jpg', '/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_14_9774.jpg', '/home/nano/Desktop/images/17022025/01/47/image_17022025_01_48_04_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_54_9771.jpg
/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_44_9774.jpg
/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_34_10779.jpg
/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_24_9769.jpg
/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_14_9774.jpg
/home/nano/Desktop/images/17022025/01/47/image_17022025_01_48_04_9794.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5059814453125 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:48:32.403617
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_34_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_14_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/47/image_17022025_01_48_04_9794.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_54_9771.jpg', '/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_44_9774.jpg', '/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_34_10779.jpg', '/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_24_9769.jpg', '/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_14_9774.jpg', '/home/nano/Desktop/images/17022025/01/47/image_17022025_01_48_04_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_54_9771.jpg
/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_44_9774.jpg
/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_34_10779.jpg
/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_24_9769.jpg
/home/nano/Desktop/images/17022025/01/48/image_17022025_01_48_14_9774.jpg
/home/nano/Desktop/images/17022025/01/47/image_17022025_01_48_04_9794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103884","1338103880","1338103883","1338103879","1338103882","1338103881"],"photo_ids_order":["1338103879","1338103880","1338103881","1338103882","1338103883","1338103884"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d11c6be88aa9d6a5a7d7e5168f532603.jpg","text":"TemporaryFile(/tmp/multipartBody3438186320043195272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753373565,"filename":"image_17022025_01_48_04_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc946777bc51df26a8245d3d71f4f7f2.jpg","text":"TemporaryFile(/tmp/multipartBody4603429424171714668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753373565,"filename":"image_17022025_01_48_44_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4a2076610455f1d5b8417e608be1a1f.jpg","text":"TemporaryFile(/tmp/multipartBody6162119248400677531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753373565,"filename":"image_17022025_01_48_14_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24fce701e58a5d3f575d5237b895d9ff.jpg","text":"TemporaryFile(/tmp/multipartBody6412908032597832384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753373565,"filename":"image_17022025_01_48_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/44b725d6b54cd05484fd6e6d2595b2e7.jpg","text":"TemporaryFile(/tmp/multipartBody375905650295720185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753373565,"filename":"image_17022025_01_48_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f0bf6def00f237362322448e79eb05f.jpg","text":"TemporaryFile(/tmp/multipartBody6742580520306126289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753373565,"filename":"image_17022025_01_48_34_10779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103881","file1":"1338103880","file0":"1338103879","file4":"1338103883","file5":"1338103884","file3":"1338103882"},"map_files_photo_id_array":[{"photo_id":"1338103884","filename":"file5"},{"photo_id":"1338103881","filename":"file2"},{"photo_id":"1338103883","filename":"file4"},{"photo_id":"1338103880","filename":"file1"},{"photo_id":"1338103879","filename":"file0"},{"photo_id":"1338103882","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103884":["hashtag1","hashtag2"]},{"1338103880":["hashtag1","hashtag2"]},{"1338103883":["hashtag1","hashtag2"]},{"1338103879":["hashtag1","hashtag2"]},{"1338103882":["hashtag1","hashtag2"]},{"1338103881":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103884, 1338103880, 1338103883, 1338103879, 1338103882, 1338103881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.006001710891724 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:49:32.527359
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_24_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_14_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/01/48/image_17022025_01_49_04_9784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_54_9774.jpg', '/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_44_9772.jpg', '/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_34_9771.jpg', '/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_24_10784.jpg', '/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_14_9769.jpg', '/home/nano/Desktop/images/17022025/01/48/image_17022025_01_49_04_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_54_9774.jpg
/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_44_9772.jpg
/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_34_9771.jpg
/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_24_10784.jpg
/home/nano/Desktop/images/17022025/01/49/image_17022025_01_49_14_9769.jpg
/home/nano/Desktop/images/17022025/01/48/image_17022025_01_49_04_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103890","1338103887","1338103889","1338103886","1338103885","1338103888"],"photo_ids_order":["1338103885","1338103886","1338103887","1338103888","1338103889","1338103890"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1700d30a364f8fd2cb720efe550ddbd.jpg","text":"TemporaryFile(/tmp/multipartBody6320088474732401937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753434138,"filename":"image_17022025_01_49_04_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5743493d1b02245b0525dac27d02f0f7.jpg","text":"TemporaryFile(/tmp/multipartBody2916697912263849231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753434138,"filename":"image_17022025_01_49_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d617bf66b5d1a3e593d41c2923b33b4b.jpg","text":"TemporaryFile(/tmp/multipartBody471174385278650502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753434138,"filename":"image_17022025_01_49_14_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d31261fc8c5cd31f8c854523e418a35.jpg","text":"TemporaryFile(/tmp/multipartBody2368442709617448420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753434138,"filename":"image_17022025_01_49_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/25742964c8a8876136c5e118dd7f4633.jpg","text":"TemporaryFile(/tmp/multipartBody6770908031914624546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753434138,"filename":"image_17022025_01_49_54_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd09b5f52426bcd6cea9f54ebcb4153e.jpg","text":"TemporaryFile(/tmp/multipartBody6925137420872221009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753434138,"filename":"image_17022025_01_49_24_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103887","file1":"1338103886","file0":"1338103885","file4":"1338103889","file5":"1338103890","file3":"1338103888"},"map_files_photo_id_array":[{"photo_id":"1338103890","filename":"file5"},{"photo_id":"1338103887","filename":"file2"},{"photo_id":"1338103889","filename":"file4"},{"photo_id":"1338103886","filename":"file1"},{"photo_id":"1338103885","filename":"file0"},{"photo_id":"1338103888","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103890":["hashtag1","hashtag2"]},{"1338103887":["hashtag1","hashtag2"]},{"1338103889":["hashtag1","hashtag2"]},{"1338103886":["hashtag1","hashtag2"]},{"1338103885":["hashtag1","hashtag2"]},{"1338103888":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103890, 1338103887, 1338103889, 1338103886, 1338103885, 1338103888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.561537742614746 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:50:32.613758
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_54_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_14_9802.jpg', 0), ('/home/nano/Desktop/images/17022025/01/49/image_17022025_01_50_04_10798.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_54_10781.jpg', '/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_44_9773.jpg', '/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_34_9772.jpg', '/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_24_9775.jpg', '/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_14_9802.jpg', '/home/nano/Desktop/images/17022025/01/49/image_17022025_01_50_04_10798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_54_10781.jpg
/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_44_9773.jpg
/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_34_9772.jpg
/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_24_9775.jpg
/home/nano/Desktop/images/17022025/01/50/image_17022025_01_50_14_9802.jpg
/home/nano/Desktop/images/17022025/01/49/image_17022025_01_50_04_10798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103893","1338103892","1338103895","1338103891","1338103894","1338103896"],"photo_ids_order":["1338103891","1338103892","1338103893","1338103894","1338103895","1338103896"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a9948964ac3cd43e8c8e2bd7102d74f.jpg","text":"TemporaryFile(/tmp/multipartBody8060456744768958347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753494172,"filename":"image_17022025_01_50_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/329810253eeaa45d939b84bb6e2e8ae0.jpg","text":"TemporaryFile(/tmp/multipartBody3061656570696705304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753494172,"filename":"image_17022025_01_50_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13d0e66c12bb18851440f0d2efbf2882.jpg","text":"TemporaryFile(/tmp/multipartBody1558741226827035900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753494172,"filename":"image_17022025_01_50_14_9802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/478ef8d0aa1427ee07a6e0b01ee332a0.jpg","text":"TemporaryFile(/tmp/multipartBody6509210266108489487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753494172,"filename":"image_17022025_01_50_54_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/18b51e58acf72715863ffb43f3028dc6.jpg","text":"TemporaryFile(/tmp/multipartBody7390663768797749486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753494172,"filename":"image_17022025_01_50_24_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9cb55f223d4ef9c269da2145c3ca45a5.jpg","text":"TemporaryFile(/tmp/multipartBody471982947790409614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753494172,"filename":"image_17022025_01_50_04_10798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103893","file1":"1338103892","file0":"1338103891","file4":"1338103895","file5":"1338103896","file3":"1338103894"},"map_files_photo_id_array":[{"photo_id":"1338103896","filename":"file5"},{"photo_id":"1338103893","filename":"file2"},{"photo_id":"1338103895","filename":"file4"},{"photo_id":"1338103892","filename":"file1"},{"photo_id":"1338103891","filename":"file0"},{"photo_id":"1338103894","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103893":["hashtag1","hashtag2"]},{"1338103892":["hashtag1","hashtag2"]},{"1338103895":["hashtag1","hashtag2"]},{"1338103891":["hashtag1","hashtag2"]},{"1338103894":["hashtag1","hashtag2"]},{"1338103896":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103893, 1338103892, 1338103895, 1338103891, 1338103894, 1338103896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28463625907898 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:51:32.732948
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_54_9798.jpg', 0), ('/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_34_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_14_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/01/50/image_17022025_01_51_04_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_54_9798.jpg', '/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_44_9775.jpg', '/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_34_10786.jpg', '/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_24_9772.jpg', '/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_14_9776.jpg', '/home/nano/Desktop/images/17022025/01/50/image_17022025_01_51_04_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_54_9798.jpg
/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_44_9775.jpg
/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_34_10786.jpg
/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_24_9772.jpg
/home/nano/Desktop/images/17022025/01/51/image_17022025_01_51_14_9776.jpg
/home/nano/Desktop/images/17022025/01/50/image_17022025_01_51_04_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103900","1338103899","1338103902","1338103898","1338103897","1338103901"],"photo_ids_order":["1338103897","1338103898","1338103899","1338103900","1338103901","1338103902"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/23ff642d43a30acb48aa67dbc30f854a.jpg","text":"TemporaryFile(/tmp/multipartBody6649446010426252433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753554388,"filename":"image_17022025_01_51_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1fd6a2abb616a30931d1da5d6b6ec9e.jpg","text":"TemporaryFile(/tmp/multipartBody3575852425465170855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753554388,"filename":"image_17022025_01_51_34_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bca4df63c07ab5bc4694af7c24e9aa83.jpg","text":"TemporaryFile(/tmp/multipartBody6190911958574575762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753554388,"filename":"image_17022025_01_51_04_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8fb5e2ac83656a70ab755447cfb28fd9.jpg","text":"TemporaryFile(/tmp/multipartBody8200655876351724749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753554388,"filename":"image_17022025_01_51_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/780c6f1ee017fbba41d3fbf0b49eaf7f.jpg","text":"TemporaryFile(/tmp/multipartBody43885908172056708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753554388,"filename":"image_17022025_01_51_54_9798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d131a53562f611d25b90b7a00da4e99d.jpg","text":"TemporaryFile(/tmp/multipartBody7465157022078676353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753554388,"filename":"image_17022025_01_51_14_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103899","file1":"1338103898","file0":"1338103897","file4":"1338103901","file5":"1338103902","file3":"1338103900"},"map_files_photo_id_array":[{"photo_id":"1338103902","filename":"file5"},{"photo_id":"1338103899","filename":"file2"},{"photo_id":"1338103901","filename":"file4"},{"photo_id":"1338103898","filename":"file1"},{"photo_id":"1338103897","filename":"file0"},{"photo_id":"1338103900","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103900":["hashtag1","hashtag2"]},{"1338103899":["hashtag1","hashtag2"]},{"1338103902":["hashtag1","hashtag2"]},{"1338103898":["hashtag1","hashtag2"]},{"1338103897":["hashtag1","hashtag2"]},{"1338103901":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103900, 1338103899, 1338103902, 1338103898, 1338103897, 1338103901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.663674354553223 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:52:31.821645
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_34_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_24_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_14_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/51/image_17022025_01_52_04_9779.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_54_9774.jpg', '/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_44_9774.jpg', '/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_34_9779.jpg', '/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_24_10785.jpg', '/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_14_9772.jpg', '/home/nano/Desktop/images/17022025/01/51/image_17022025_01_52_04_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_54_9774.jpg
/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_44_9774.jpg
/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_34_9779.jpg
/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_24_10785.jpg
/home/nano/Desktop/images/17022025/01/52/image_17022025_01_52_14_9772.jpg
/home/nano/Desktop/images/17022025/01/51/image_17022025_01_52_04_9779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103909","1338103908","1338103905","1338103910","1338103907","1338103906"],"photo_ids_order":["1338103905","1338103906","1338103907","1338103908","1338103909","1338103910"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8cd9b1d38d5e5f765cc944734f1a7df8.jpg","text":"TemporaryFile(/tmp/multipartBody4906252547926411779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753613458,"filename":"image_17022025_01_52_14_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/202e0bafd90c3a728de544befeac482e.jpg","text":"TemporaryFile(/tmp/multipartBody532730046108282069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753613458,"filename":"image_17022025_01_52_24_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/772db163b9ce4f10e8d84e0efb5131e1.jpg","text":"TemporaryFile(/tmp/multipartBody5808660586889912158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753613458,"filename":"image_17022025_01_52_54_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df31ce12c082eaaf826c7a42e860072e.jpg","text":"TemporaryFile(/tmp/multipartBody6214672889653574962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753613458,"filename":"image_17022025_01_52_04_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2840335cdb14e000546cc6db03f64d84.jpg","text":"TemporaryFile(/tmp/multipartBody799739590419032921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753613458,"filename":"image_17022025_01_52_34_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78aa41dea1cd4470d982ec568e1c6b6e.jpg","text":"TemporaryFile(/tmp/multipartBody6328391311791019228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753613458,"filename":"image_17022025_01_52_44_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103907","file1":"1338103906","file0":"1338103905","file4":"1338103909","file5":"1338103910","file3":"1338103908"},"map_files_photo_id_array":[{"photo_id":"1338103910","filename":"file5"},{"photo_id":"1338103907","filename":"file2"},{"photo_id":"1338103909","filename":"file4"},{"photo_id":"1338103906","filename":"file1"},{"photo_id":"1338103905","filename":"file0"},{"photo_id":"1338103908","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103909":["hashtag1","hashtag2"]},{"1338103908":["hashtag1","hashtag2"]},{"1338103905":["hashtag1","hashtag2"]},{"1338103910":["hashtag1","hashtag2"]},{"1338103907":["hashtag1","hashtag2"]},{"1338103906":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103909, 1338103908, 1338103905, 1338103910, 1338103907, 1338103906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.481861352920532 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:53:31.969726
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_54_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_44_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_34_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_24_9796.jpg', 0), ('/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_14_10793.jpg', 0), ('/home/nano/Desktop/images/17022025/01/52/image_17022025_01_53_03_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_54_10778.jpg', '/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_44_9795.jpg', '/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_34_9793.jpg', '/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_24_9796.jpg', '/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_14_10793.jpg', '/home/nano/Desktop/images/17022025/01/52/image_17022025_01_53_03_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_54_10778.jpg
/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_44_9795.jpg
/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_34_9793.jpg
/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_24_9796.jpg
/home/nano/Desktop/images/17022025/01/53/image_17022025_01_53_14_10793.jpg
/home/nano/Desktop/images/17022025/01/52/image_17022025_01_53_03_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103915","1338103914","1338103911","1338103913","1338103916","1338103912"],"photo_ids_order":["1338103911","1338103912","1338103913","1338103914","1338103915","1338103916"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f5bd2a2514c8c6c4fb6ba660d82b1dc.jpg","text":"TemporaryFile(/tmp/multipartBody3704082094433890207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753673716,"filename":"image_17022025_01_53_14_10793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6584ca6b8c52873076a9ff213089ab2d.jpg","text":"TemporaryFile(/tmp/multipartBody6969219830822688130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753673716,"filename":"image_17022025_01_53_24_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b75585c9eee332689e9c8542acabaac.jpg","text":"TemporaryFile(/tmp/multipartBody6264919674531336432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753673716,"filename":"image_17022025_01_53_54_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/305398e08c9070eddbcf0f8dff58cc05.jpg","text":"TemporaryFile(/tmp/multipartBody3369916247994407344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753673716,"filename":"image_17022025_01_53_34_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f051dd4bce848e58d5428700a76c64d4.jpg","text":"TemporaryFile(/tmp/multipartBody4991498334121356659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753673716,"filename":"image_17022025_01_53_03_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a509c09a4ecaf83287a479bbcc8cef9e.jpg","text":"TemporaryFile(/tmp/multipartBody4284596687308017168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753673716,"filename":"image_17022025_01_53_44_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103913","file1":"1338103912","file0":"1338103911","file4":"1338103915","file5":"1338103916","file3":"1338103914"},"map_files_photo_id_array":[{"photo_id":"1338103916","filename":"file5"},{"photo_id":"1338103913","filename":"file2"},{"photo_id":"1338103915","filename":"file4"},{"photo_id":"1338103912","filename":"file1"},{"photo_id":"1338103911","filename":"file0"},{"photo_id":"1338103914","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103915":["hashtag1","hashtag2"]},{"1338103914":["hashtag1","hashtag2"]},{"1338103911":["hashtag1","hashtag2"]},{"1338103913":["hashtag1","hashtag2"]},{"1338103916":["hashtag1","hashtag2"]},{"1338103912":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103915, 1338103914, 1338103911, 1338103913, 1338103916, 1338103912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52639937400818 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:54:32.052431
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_44_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_34_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_14_9792.jpg', 0), ('/home/nano/Desktop/images/17022025/01/53/image_17022025_01_54_04_9806.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_54_9770.jpg', '/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_44_10781.jpg', '/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_34_9776.jpg', '/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_24_9774.jpg', '/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_14_9792.jpg', '/home/nano/Desktop/images/17022025/01/53/image_17022025_01_54_04_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_54_9770.jpg
/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_44_10781.jpg
/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_34_9776.jpg
/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_24_9774.jpg
/home/nano/Desktop/images/17022025/01/54/image_17022025_01_54_14_9792.jpg
/home/nano/Desktop/images/17022025/01/53/image_17022025_01_54_04_9806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103920","1338103923","1338103919","1338103922","1338103921","1338103918"],"photo_ids_order":["1338103918","1338103919","1338103920","1338103921","1338103922","1338103923"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7e27c59936cbe5da7635c8bfc924b8b1.jpg","text":"TemporaryFile(/tmp/multipartBody4389969942225858941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753734566,"filename":"image_17022025_01_54_34_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d78efc9f53cb0ed188258722003ab494.jpg","text":"TemporaryFile(/tmp/multipartBody6158491075407429621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753734566,"filename":"image_17022025_01_54_04_9806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86223a644f1e7520129c0445e036bdb8.jpg","text":"TemporaryFile(/tmp/multipartBody1473214171774164038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753734566,"filename":"image_17022025_01_54_44_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e7eabbc837a2fd0b666b8d344fe40c4.jpg","text":"TemporaryFile(/tmp/multipartBody1158879864876610039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753734566,"filename":"image_17022025_01_54_14_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af12482913e5368e74971dbe77781081.jpg","text":"TemporaryFile(/tmp/multipartBody7202153242266944061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753734566,"filename":"image_17022025_01_54_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/acc09ac923eaa99b6dcca6383c1df4e4.jpg","text":"TemporaryFile(/tmp/multipartBody5248601593110636781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753734566,"filename":"image_17022025_01_54_54_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103920","file1":"1338103919","file0":"1338103918","file4":"1338103922","file5":"1338103923","file3":"1338103921"},"map_files_photo_id_array":[{"photo_id":"1338103923","filename":"file5"},{"photo_id":"1338103920","filename":"file2"},{"photo_id":"1338103922","filename":"file4"},{"photo_id":"1338103919","filename":"file1"},{"photo_id":"1338103918","filename":"file0"},{"photo_id":"1338103921","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103920":["hashtag1","hashtag2"]},{"1338103923":["hashtag1","hashtag2"]},{"1338103919":["hashtag1","hashtag2"]},{"1338103922":["hashtag1","hashtag2"]},{"1338103921":["hashtag1","hashtag2"]},{"1338103918":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103920, 1338103923, 1338103919, 1338103922, 1338103921, 1338103918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29274559020996 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:55:32.144661
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_54_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_34_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_24_9781.jpg', 0), ('/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_14_9798.jpg', 0), ('/home/nano/Desktop/images/17022025/01/54/image_17022025_01_55_04_9777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_54_9776.jpg', '/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_44_9772.jpg', '/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_34_10783.jpg', '/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_24_9781.jpg', '/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_14_9798.jpg', '/home/nano/Desktop/images/17022025/01/54/image_17022025_01_55_04_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_54_9776.jpg
/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_44_9772.jpg
/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_34_10783.jpg
/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_24_9781.jpg
/home/nano/Desktop/images/17022025/01/55/image_17022025_01_55_14_9798.jpg
/home/nano/Desktop/images/17022025/01/54/image_17022025_01_55_04_9777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103926","1338103929","1338103925","1338103928","1338103924","1338103927"],"photo_ids_order":["1338103924","1338103925","1338103926","1338103927","1338103928","1338103929"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/42f412d98fa346f6f32bcfbe97780e80.jpg","text":"TemporaryFile(/tmp/multipartBody4414365408808161172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753794034,"filename":"image_17022025_01_55_34_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/542d750b9354af47ef13d77eea482b35.jpg","text":"TemporaryFile(/tmp/multipartBody1137971210149127226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753794034,"filename":"image_17022025_01_55_04_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/823bc56884098c021879e632a46f9be4.jpg","text":"TemporaryFile(/tmp/multipartBody3331796549551069553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753794034,"filename":"image_17022025_01_55_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/559d6fa6c80e5ac2c4825313247c2dc6.jpg","text":"TemporaryFile(/tmp/multipartBody2855270556066303882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753794034,"filename":"image_17022025_01_55_14_9798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/27162bc12e42364ad8781184d613f858.jpg","text":"TemporaryFile(/tmp/multipartBody8239769979166987034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753794034,"filename":"image_17022025_01_55_54_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/967d3ba32592c5c1a295a2be49978e95.jpg","text":"TemporaryFile(/tmp/multipartBody4135334169343935051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753794034,"filename":"image_17022025_01_55_24_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103926","file1":"1338103925","file0":"1338103924","file4":"1338103928","file5":"1338103929","file3":"1338103927"},"map_files_photo_id_array":[{"photo_id":"1338103929","filename":"file5"},{"photo_id":"1338103926","filename":"file2"},{"photo_id":"1338103928","filename":"file4"},{"photo_id":"1338103925","filename":"file1"},{"photo_id":"1338103924","filename":"file0"},{"photo_id":"1338103927","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103926":["hashtag1","hashtag2"]},{"1338103929":["hashtag1","hashtag2"]},{"1338103925":["hashtag1","hashtag2"]},{"1338103928":["hashtag1","hashtag2"]},{"1338103924":["hashtag1","hashtag2"]},{"1338103927":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103926, 1338103929, 1338103925, 1338103928, 1338103924, 1338103927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.354318618774414 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:56:32.236181
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_14_10790.jpg', 0), ('/home/nano/Desktop/images/17022025/01/55/image_17022025_01_56_04_9784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_54_9771.jpg', '/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_44_9773.jpg', '/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_34_9774.jpg', '/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_24_9775.jpg', '/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_14_10790.jpg', '/home/nano/Desktop/images/17022025/01/55/image_17022025_01_56_04_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_54_9771.jpg
/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_44_9773.jpg
/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_34_9774.jpg
/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_24_9775.jpg
/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_14_10790.jpg
/home/nano/Desktop/images/17022025/01/55/image_17022025_01_56_04_9784.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4484622478485107 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:57:02.745150
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_54_9765.jpg', 0), ('/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_44_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_14_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/01/56/image_17022025_01_57_04_10787.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_54_9765.jpg', '/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_44_10778.jpg', '/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_34_9773.jpg', '/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_24_9772.jpg', '/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_14_9791.jpg', '/home/nano/Desktop/images/17022025/01/56/image_17022025_01_57_04_10787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_54_9765.jpg
/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_44_10778.jpg
/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_34_9773.jpg
/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_24_9772.jpg
/home/nano/Desktop/images/17022025/01/57/image_17022025_01_57_14_9791.jpg
/home/nano/Desktop/images/17022025/01/56/image_17022025_01_57_04_10787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103941","1338103938","1338103937","1338103940","1338103936","1338103939"],"photo_ids_order":["1338103936","1338103937","1338103938","1338103939","1338103940","1338103941"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb762f2170d44635c4caf0381fbac1ad.jpg","text":"TemporaryFile(/tmp/multipartBody5601451546694954452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753885480,"filename":"image_17022025_01_57_04_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13089d90df0960b5845c303dcf87ac1a.jpg","text":"TemporaryFile(/tmp/multipartBody1005929811969302703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753885480,"filename":"image_17022025_01_57_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9865194d698feb07a77840212333a585.jpg","text":"TemporaryFile(/tmp/multipartBody723832014831943690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753885480,"filename":"image_17022025_01_57_44_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d849344f1fc7fb62be6baa916a44662e.jpg","text":"TemporaryFile(/tmp/multipartBody3669780969513223645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753885480,"filename":"image_17022025_01_57_14_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/37914c0d919a270de10f20e301a8efa9.jpg","text":"TemporaryFile(/tmp/multipartBody8824074335161294590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753885480,"filename":"image_17022025_01_57_54_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f4e621aa23b89eda2a480f16e1645593.jpg","text":"TemporaryFile(/tmp/multipartBody941215671849974321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753885480,"filename":"image_17022025_01_57_24_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103938","file1":"1338103937","file0":"1338103936","file4":"1338103940","file5":"1338103941","file3":"1338103939"},"map_files_photo_id_array":[{"photo_id":"1338103941","filename":"file5"},{"photo_id":"1338103938","filename":"file2"},{"photo_id":"1338103940","filename":"file4"},{"photo_id":"1338103937","filename":"file1"},{"photo_id":"1338103936","filename":"file0"},{"photo_id":"1338103939","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103941":["hashtag1","hashtag2"]},{"1338103938":["hashtag1","hashtag2"]},{"1338103937":["hashtag1","hashtag2"]},{"1338103940":["hashtag1","hashtag2"]},{"1338103936":["hashtag1","hashtag2"]},{"1338103939":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103941, 1338103938, 1338103937, 1338103940, 1338103936, 1338103939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.95531129837036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:58:02.775464
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_44_9786.jpg', 0), ('/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_34_10799.jpg', 0), ('/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_23_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_14_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/01/57/image_17022025_01_58_04_9770.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_54_9771.jpg', '/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_44_9786.jpg', '/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_34_10799.jpg', '/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_23_9769.jpg', '/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_14_9770.jpg', '/home/nano/Desktop/images/17022025/01/57/image_17022025_01_58_04_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_54_9771.jpg
/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_44_9786.jpg
/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_34_10799.jpg
/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_23_9769.jpg
/home/nano/Desktop/images/17022025/01/58/image_17022025_01_58_14_9770.jpg
/home/nano/Desktop/images/17022025/01/57/image_17022025_01_58_04_9770.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338103944","1338103947","1338103943","1338103946","1338103942","1338103945"],"photo_ids_order":["1338103942","1338103943","1338103944","1338103945","1338103946","1338103947"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d68cf518065d649260360ff489f8522.jpg","text":"TemporaryFile(/tmp/multipartBody2184259684196644196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753944331,"filename":"image_17022025_01_58_34_10799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b42b1a96b155026cb26adaa221292a5a.jpg","text":"TemporaryFile(/tmp/multipartBody5667817274505582596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753944331,"filename":"image_17022025_01_58_04_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3cfd20c07537bdff83b978e2c3fa3481.jpg","text":"TemporaryFile(/tmp/multipartBody6015902455805656279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753944331,"filename":"image_17022025_01_58_44_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d74b822969bd6c7c4b0e0fa2487364c.jpg","text":"TemporaryFile(/tmp/multipartBody2017908880624509766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753944331,"filename":"image_17022025_01_58_14_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a779d5b2f30b11cb8d2ef2478da660c.jpg","text":"TemporaryFile(/tmp/multipartBody8254395284920959833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753944331,"filename":"image_17022025_01_58_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/73a19f24922bd2e6db9bd201cf2f41f1.jpg","text":"TemporaryFile(/tmp/multipartBody7577748610728096745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739753944331,"filename":"image_17022025_01_58_23_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338103944","file1":"1338103943","file0":"1338103942","file4":"1338103946","file5":"1338103947","file3":"1338103945"},"map_files_photo_id_array":[{"photo_id":"1338103947","filename":"file5"},{"photo_id":"1338103944","filename":"file2"},{"photo_id":"1338103946","filename":"file4"},{"photo_id":"1338103943","filename":"file1"},{"photo_id":"1338103942","filename":"file0"},{"photo_id":"1338103945","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338103944":["hashtag1","hashtag2"]},{"1338103947":["hashtag1","hashtag2"]},{"1338103943":["hashtag1","hashtag2"]},{"1338103946":["hashtag1","hashtag2"]},{"1338103942":["hashtag1","hashtag2"]},{"1338103945":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338103944, 1338103947, 1338103943, 1338103946, 1338103942, 1338103945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72084856033325 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 01:59:02.464684
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_24_9794.jpg', 0), ('/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_14_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/01/58/image_17022025_01_59_04_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_54_9771.jpg', '/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_44_9773.jpg', '/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_34_9772.jpg', '/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_24_9794.jpg', '/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_14_10781.jpg', '/home/nano/Desktop/images/17022025/01/58/image_17022025_01_59_04_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_54_9771.jpg
/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_44_9773.jpg
/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_34_9772.jpg
/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_24_9794.jpg
/home/nano/Desktop/images/17022025/01/59/image_17022025_01_59_14_10781.jpg
/home/nano/Desktop/images/17022025/01/58/image_17022025_01_59_04_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338104514","1338104457","1338104462","1338104461","1338104458","1338104460"],"photo_ids_order":["1338104457","1338104458","1338104460","1338104461","1338104462","1338104514"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a88c66f21bd62caa499f383ec18b6b3.jpg","text":"TemporaryFile(/tmp/multipartBody564661207523888256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754004339,"filename":"image_17022025_01_59_04_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c7b5f3b664dff27a8990c998db6b426.jpg","text":"TemporaryFile(/tmp/multipartBody5595123943505361318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754004339,"filename":"image_17022025_01_59_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/035c014388ffb89673a86aea536f5e3f.jpg","text":"TemporaryFile(/tmp/multipartBody5272325474422643782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754004339,"filename":"image_17022025_01_59_14_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ffecdee0d7209c6e4d307bd78b2b6dbf.jpg","text":"TemporaryFile(/tmp/multipartBody7549413323418251659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754004339,"filename":"image_17022025_01_59_24_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d9adf65e715420e50d2f4eb4afb8c71a.jpg","text":"TemporaryFile(/tmp/multipartBody1145955048527123257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754004339,"filename":"image_17022025_01_59_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e191a71f76bc9aa3e0b431da6f465072.jpg","text":"TemporaryFile(/tmp/multipartBody7443310470341991173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754004339,"filename":"image_17022025_01_59_34_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338104460","file1":"1338104458","file0":"1338104457","file4":"1338104462","file5":"1338104514","file3":"1338104461"},"map_files_photo_id_array":[{"photo_id":"1338104514","filename":"file5"},{"photo_id":"1338104460","filename":"file2"},{"photo_id":"1338104462","filename":"file4"},{"photo_id":"1338104458","filename":"file1"},{"photo_id":"1338104457","filename":"file0"},{"photo_id":"1338104461","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338104514":["hashtag1","hashtag2"]},{"1338104457":["hashtag1","hashtag2"]},{"1338104462":["hashtag1","hashtag2"]},{"1338104461":["hashtag1","hashtag2"]},{"1338104458":["hashtag1","hashtag2"]},{"1338104460":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338104514, 1338104457, 1338104462, 1338104461, 1338104458, 1338104460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58438014984131 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:00:02.218824
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_54_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_44_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_14_9781.jpg', 0), ('/home/nano/Desktop/images/17022025/01/59/image_17022025_02_00_04_10810.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_54_9769.jpg', '/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_44_10780.jpg', '/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_34_9772.jpg', '/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_24_9769.jpg', '/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_14_9781.jpg', '/home/nano/Desktop/images/17022025/01/59/image_17022025_02_00_04_10810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_54_9769.jpg
/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_44_10780.jpg
/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_34_9772.jpg
/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_24_9769.jpg
/home/nano/Desktop/images/17022025/02/00/image_17022025_02_00_14_9781.jpg
/home/nano/Desktop/images/17022025/01/59/image_17022025_02_00_04_10810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338104601","1338104600","1338104599","1338104603","1338104598","1338104602"],"photo_ids_order":["1338104598","1338104599","1338104600","1338104601","1338104602","1338104603"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c79a1811174ccbfe88e656746d5a90d1.jpg","text":"TemporaryFile(/tmp/multipartBody80240241442988268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754063741,"filename":"image_17022025_02_00_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/958facc021e3fc82247e063c5ddda78d.jpg","text":"TemporaryFile(/tmp/multipartBody1443309750142784306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754063741,"filename":"image_17022025_02_00_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/957410134aae641340667a3b4efee0ac.jpg","text":"TemporaryFile(/tmp/multipartBody181952493308130323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754063741,"filename":"image_17022025_02_00_44_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/227912720a620b8d6e950823b57612f6.jpg","text":"TemporaryFile(/tmp/multipartBody6408894566653229165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754063741,"filename":"image_17022025_02_00_04_10810.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2864bff7f0047a530bbe630a3025729a.jpg","text":"TemporaryFile(/tmp/multipartBody5568407529798497991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754063741,"filename":"image_17022025_02_00_54_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc80037d06267e845773e51cf2da6ecb.jpg","text":"TemporaryFile(/tmp/multipartBody6948242798740489766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754063741,"filename":"image_17022025_02_00_14_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338104600","file1":"1338104599","file0":"1338104598","file4":"1338104602","file5":"1338104603","file3":"1338104601"},"map_files_photo_id_array":[{"photo_id":"1338104603","filename":"file5"},{"photo_id":"1338104600","filename":"file2"},{"photo_id":"1338104602","filename":"file4"},{"photo_id":"1338104599","filename":"file1"},{"photo_id":"1338104598","filename":"file0"},{"photo_id":"1338104601","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338104601":["hashtag1","hashtag2"]},{"1338104600":["hashtag1","hashtag2"]},{"1338104599":["hashtag1","hashtag2"]},{"1338104603":["hashtag1","hashtag2"]},{"1338104598":["hashtag1","hashtag2"]},{"1338104602":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338104601, 1338104600, 1338104599, 1338104603, 1338104598, 1338104602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.75268244743347 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:01:02.472904
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_34_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_24_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_14_9794.jpg', 0), ('/home/nano/Desktop/images/17022025/02/00/image_17022025_02_01_04_9774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_54_9772.jpg', '/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_44_9775.jpg', '/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_34_10778.jpg', '/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_24_9770.jpg', '/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_14_9794.jpg', '/home/nano/Desktop/images/17022025/02/00/image_17022025_02_01_04_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_54_9772.jpg
/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_44_9775.jpg
/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_34_10778.jpg
/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_24_9770.jpg
/home/nano/Desktop/images/17022025/02/01/image_17022025_02_01_14_9794.jpg
/home/nano/Desktop/images/17022025/02/00/image_17022025_02_01_04_9774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338104760","1338104835","1338104687","1338104834","1338104609","1338104833"],"photo_ids_order":["1338104609","1338104687","1338104760","1338104833","1338104834","1338104835"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d4c18aefe0fb1becfb78a84855d38a5.jpg","text":"TemporaryFile(/tmp/multipartBody5774168823650060160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754124008,"filename":"image_17022025_02_01_34_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2cbb378dde78da33e5a62edcd6272168.jpg","text":"TemporaryFile(/tmp/multipartBody90499642903057177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754124008,"filename":"image_17022025_02_01_04_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/663a935abfe72eee0fe58b13ce81e421.jpg","text":"TemporaryFile(/tmp/multipartBody2349251070364227040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754124008,"filename":"image_17022025_02_01_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/63c1a2d3bd1ace3b10b44ce27c8ba82f.jpg","text":"TemporaryFile(/tmp/multipartBody1796451283887279922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754124008,"filename":"image_17022025_02_01_14_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3de6d6b1cc65445abebd49ac46b99c60.jpg","text":"TemporaryFile(/tmp/multipartBody2835727472547238813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754124008,"filename":"image_17022025_02_01_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/803cd3f3179cbf6438ade73d3db2e662.jpg","text":"TemporaryFile(/tmp/multipartBody4141799577962749101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754124008,"filename":"image_17022025_02_01_24_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338104760","file1":"1338104687","file0":"1338104609","file4":"1338104834","file5":"1338104835","file3":"1338104833"},"map_files_photo_id_array":[{"photo_id":"1338104835","filename":"file5"},{"photo_id":"1338104760","filename":"file2"},{"photo_id":"1338104834","filename":"file4"},{"photo_id":"1338104687","filename":"file1"},{"photo_id":"1338104609","filename":"file0"},{"photo_id":"1338104833","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338104760":["hashtag1","hashtag2"]},{"1338104835":["hashtag1","hashtag2"]},{"1338104687":["hashtag1","hashtag2"]},{"1338104834":["hashtag1","hashtag2"]},{"1338104609":["hashtag1","hashtag2"]},{"1338104833":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338104760, 1338104835, 1338104687, 1338104834, 1338104609, 1338104833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76638221740723 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:02:02.451523
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_14_10789.jpg', 0), ('/home/nano/Desktop/images/17022025/02/01/image_17022025_02_02_04_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_54_9772.jpg', '/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_44_9775.jpg', '/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_34_9770.jpg', '/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_24_9772.jpg', '/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_14_10789.jpg', '/home/nano/Desktop/images/17022025/02/01/image_17022025_02_02_04_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_54_9772.jpg
/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_44_9775.jpg
/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_34_9770.jpg
/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_24_9772.jpg
/home/nano/Desktop/images/17022025/02/02/image_17022025_02_02_14_10789.jpg
/home/nano/Desktop/images/17022025/02/01/image_17022025_02_02_04_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338104940","1338104942","1338104939","1338104944","1338104941","1338104943"],"photo_ids_order":["1338104939","1338104940","1338104941","1338104942","1338104943","1338104944"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/057e594d8a297a060d8db34ee5541d6e.jpg","text":"TemporaryFile(/tmp/multipartBody1369946558649147114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754184105,"filename":"image_17022025_02_02_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46cdbf47cb412cb59f9cf7c46b534495.jpg","text":"TemporaryFile(/tmp/multipartBody9198190112233662330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754184105,"filename":"image_17022025_02_02_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f94eed5779c6659bb006c4c122f7065.jpg","text":"TemporaryFile(/tmp/multipartBody1865715773288325683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754184105,"filename":"image_17022025_02_02_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40dd7575f5fdce8220c388ba67032f24.jpg","text":"TemporaryFile(/tmp/multipartBody1601339530191123928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754184105,"filename":"image_17022025_02_02_04_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a01103419bbb52d5f89d7ebc42708822.jpg","text":"TemporaryFile(/tmp/multipartBody5720040796276374971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754184105,"filename":"image_17022025_02_02_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5992ebd2bd03020db173979d5b1169b1.jpg","text":"TemporaryFile(/tmp/multipartBody4292879036465979191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754184105,"filename":"image_17022025_02_02_14_10789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338104941","file1":"1338104940","file0":"1338104939","file4":"1338104943","file5":"1338104944","file3":"1338104942"},"map_files_photo_id_array":[{"photo_id":"1338104944","filename":"file5"},{"photo_id":"1338104941","filename":"file2"},{"photo_id":"1338104943","filename":"file4"},{"photo_id":"1338104940","filename":"file1"},{"photo_id":"1338104939","filename":"file0"},{"photo_id":"1338104942","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338104940":["hashtag1","hashtag2"]},{"1338104942":["hashtag1","hashtag2"]},{"1338104939":["hashtag1","hashtag2"]},{"1338104944":["hashtag1","hashtag2"]},{"1338104941":["hashtag1","hashtag2"]},{"1338104943":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338104940, 1338104942, 1338104939, 1338104944, 1338104941, 1338104943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67009997367859 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:03:02.715576
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_44_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_14_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/02/02/image_17022025_02_03_04_10782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_54_9771.jpg', '/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_44_10779.jpg', '/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_34_9775.jpg', '/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_24_9773.jpg', '/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_14_9779.jpg', '/home/nano/Desktop/images/17022025/02/02/image_17022025_02_03_04_10782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_54_9771.jpg
/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_44_10779.jpg
/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_34_9775.jpg
/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_24_9773.jpg
/home/nano/Desktop/images/17022025/02/03/image_17022025_02_03_14_9779.jpg
/home/nano/Desktop/images/17022025/02/02/image_17022025_02_03_04_10782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338104946","1338104948","1338104945","1338104950","1338104947","1338104949"],"photo_ids_order":["1338104945","1338104946","1338104947","1338104948","1338104949","1338104950"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c15d92733f446460076d6b95a67db39.jpg","text":"TemporaryFile(/tmp/multipartBody5233773190065177590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754244256,"filename":"image_17022025_02_03_44_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4196229255f51697d365c1f8551746e.jpg","text":"TemporaryFile(/tmp/multipartBody692614240901009626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754244256,"filename":"image_17022025_02_03_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f8e8bd146c0cd0fa6000d9aa0920cf9.jpg","text":"TemporaryFile(/tmp/multipartBody8550826185411368354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754244256,"filename":"image_17022025_02_03_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/190a4f51894446c267baec94b7b116c2.jpg","text":"TemporaryFile(/tmp/multipartBody2547089848078942466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754244256,"filename":"image_17022025_02_03_04_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cab0e228fb01a5e3078891713bcb5f3c.jpg","text":"TemporaryFile(/tmp/multipartBody2911825964368535971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754244256,"filename":"image_17022025_02_03_34_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75d2180cd5badb0a43f274c74b8bbc96.jpg","text":"TemporaryFile(/tmp/multipartBody5437686659978381457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754244256,"filename":"image_17022025_02_03_14_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338104947","file1":"1338104946","file0":"1338104945","file4":"1338104949","file5":"1338104950","file3":"1338104948"},"map_files_photo_id_array":[{"photo_id":"1338104950","filename":"file5"},{"photo_id":"1338104947","filename":"file2"},{"photo_id":"1338104949","filename":"file4"},{"photo_id":"1338104946","filename":"file1"},{"photo_id":"1338104945","filename":"file0"},{"photo_id":"1338104948","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338104946":["hashtag1","hashtag2"]},{"1338104948":["hashtag1","hashtag2"]},{"1338104945":["hashtag1","hashtag2"]},{"1338104950":["hashtag1","hashtag2"]},{"1338104947":["hashtag1","hashtag2"]},{"1338104949":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338104946, 1338104948, 1338104945, 1338104950, 1338104947, 1338104949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.69594144821167 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:04:02.854547
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_34_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_24_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/02/03/image_17022025_02_04_04_9799.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_54_9771.jpg', '/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_44_9773.jpg', '/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_34_10780.jpg', '/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_24_9776.jpg', '/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_14_9777.jpg', '/home/nano/Desktop/images/17022025/02/03/image_17022025_02_04_04_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_54_9771.jpg
/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_44_9773.jpg
/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_34_10780.jpg
/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_24_9776.jpg
/home/nano/Desktop/images/17022025/02/04/image_17022025_02_04_14_9777.jpg
/home/nano/Desktop/images/17022025/02/03/image_17022025_02_04_04_9799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338105431","1338105260","1338104951","1338105841","1338105663","1338105078"],"photo_ids_order":["1338104951","1338105078","1338105260","1338105431","1338105663","1338105841"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/693ac9ccd580b153a4103211138fdcd4.jpg","text":"TemporaryFile(/tmp/multipartBody3477339857515216356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754304268,"filename":"image_17022025_02_04_24_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/34edc9cf62f3180ffd5d5179f29f1095.jpg","text":"TemporaryFile(/tmp/multipartBody8918629952743477658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754304268,"filename":"image_17022025_02_04_34_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7e8c4001295327edaaa4287829b49f3.jpg","text":"TemporaryFile(/tmp/multipartBody2883871052844921541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754304268,"filename":"image_17022025_02_04_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c67a4b0ef3ff16fe5100fe49110460db.jpg","text":"TemporaryFile(/tmp/multipartBody6961180505402378381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754304268,"filename":"image_17022025_02_04_04_9799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/499bab2e00a4c845a374a3437845682d.jpg","text":"TemporaryFile(/tmp/multipartBody6150331289196623468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754304268,"filename":"image_17022025_02_04_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/901a5a31c4af795f27c131430c8a4db4.jpg","text":"TemporaryFile(/tmp/multipartBody964026421360058236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754304268,"filename":"image_17022025_02_04_44_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338105260","file1":"1338105078","file0":"1338104951","file4":"1338105663","file5":"1338105841","file3":"1338105431"},"map_files_photo_id_array":[{"photo_id":"1338105841","filename":"file5"},{"photo_id":"1338105260","filename":"file2"},{"photo_id":"1338105663","filename":"file4"},{"photo_id":"1338105078","filename":"file1"},{"photo_id":"1338104951","filename":"file0"},{"photo_id":"1338105431","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338105431":["hashtag1","hashtag2"]},{"1338105260":["hashtag1","hashtag2"]},{"1338104951":["hashtag1","hashtag2"]},{"1338105841":["hashtag1","hashtag2"]},{"1338105663":["hashtag1","hashtag2"]},{"1338105078":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338105431, 1338105260, 1338104951, 1338105841, 1338105663, 1338105078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.518900871276855 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:05:02.771844
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_14_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/02/04/image_17022025_02_05_04_9792.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_54_9771.jpg', '/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_44_9774.jpg', '/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_34_9772.jpg', '/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_24_9774.jpg', '/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_14_10785.jpg', '/home/nano/Desktop/images/17022025/02/04/image_17022025_02_05_04_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_54_9771.jpg
/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_44_9774.jpg
/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_34_9772.jpg
/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_24_9774.jpg
/home/nano/Desktop/images/17022025/02/05/image_17022025_02_05_14_10785.jpg
/home/nano/Desktop/images/17022025/02/04/image_17022025_02_05_04_9792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338105998","1338105887","1338105851","1338105842","1338105844","1338105843"],"photo_ids_order":["1338105842","1338105843","1338105844","1338105851","1338105887","1338105998"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1415555ec0d2041c505a68abfa1e899a.jpg","text":"TemporaryFile(/tmp/multipartBody8235403629916827961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754364135,"filename":"image_17022025_02_05_04_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0df9d668ede637a115e15db137b72c33.jpg","text":"TemporaryFile(/tmp/multipartBody5890986236193567880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754364135,"filename":"image_17022025_02_05_14_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5fcd7816f17f44ee0f8320a67ffb452d.jpg","text":"TemporaryFile(/tmp/multipartBody5171962150555793366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754364135,"filename":"image_17022025_02_05_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f6392350927a368bb390d52b3c74033.jpg","text":"TemporaryFile(/tmp/multipartBody6325508311683867366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754364135,"filename":"image_17022025_02_05_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/679e583ffafbddf82ed732d8e462c897.jpg","text":"TemporaryFile(/tmp/multipartBody7360531326400356009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754364135,"filename":"image_17022025_02_05_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87981bed0d218ca7366a5e2685dfd0ef.jpg","text":"TemporaryFile(/tmp/multipartBody7972949897424292154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754364135,"filename":"image_17022025_02_05_44_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338105844","file1":"1338105843","file0":"1338105842","file4":"1338105887","file5":"1338105998","file3":"1338105851"},"map_files_photo_id_array":[{"photo_id":"1338105998","filename":"file5"},{"photo_id":"1338105844","filename":"file2"},{"photo_id":"1338105887","filename":"file4"},{"photo_id":"1338105843","filename":"file1"},{"photo_id":"1338105842","filename":"file0"},{"photo_id":"1338105851","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338105998":["hashtag1","hashtag2"]},{"1338105887":["hashtag1","hashtag2"]},{"1338105851":["hashtag1","hashtag2"]},{"1338105842":["hashtag1","hashtag2"]},{"1338105844":["hashtag1","hashtag2"]},{"1338105843":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338105998, 1338105887, 1338105851, 1338105842, 1338105844, 1338105843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.96160078048706 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:06:02.793374
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_54_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_44_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_14_9798.jpg', 0), ('/home/nano/Desktop/images/17022025/02/05/image_17022025_02_06_04_10787.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_54_9769.jpg', '/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_44_10785.jpg', '/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_34_9774.jpg', '/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_24_9771.jpg', '/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_14_9798.jpg', '/home/nano/Desktop/images/17022025/02/05/image_17022025_02_06_04_10787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_54_9769.jpg
/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_44_10785.jpg
/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_34_9774.jpg
/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_24_9771.jpg
/home/nano/Desktop/images/17022025/02/06/image_17022025_02_06_14_9798.jpg
/home/nano/Desktop/images/17022025/02/05/image_17022025_02_06_04_10787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338106211","1338106214","1338106210","1338106213","1338106212","1338106209"],"photo_ids_order":["1338106209","1338106210","1338106211","1338106212","1338106213","1338106214"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/233a284ef17c18ee0ed81fb520413721.jpg","text":"TemporaryFile(/tmp/multipartBody6752195310642782427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754424251,"filename":"image_17022025_02_06_34_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8455f9416facad8fcdb65710752cb823.jpg","text":"TemporaryFile(/tmp/multipartBody7786462919914344970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754424251,"filename":"image_17022025_02_06_04_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ed9293c0b1e4c07d49d6fbf25353c08.jpg","text":"TemporaryFile(/tmp/multipartBody3093061710223970153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754424251,"filename":"image_17022025_02_06_44_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a8df96943b6e9601addcc06a3c43389.jpg","text":"TemporaryFile(/tmp/multipartBody7828907909830231806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754424251,"filename":"image_17022025_02_06_14_9798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/18b799f843dad4c0fc150bc77005c6df.jpg","text":"TemporaryFile(/tmp/multipartBody6258145281959383996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754424251,"filename":"image_17022025_02_06_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/443d8e3269a389783677756e0ba27c8b.jpg","text":"TemporaryFile(/tmp/multipartBody6824956352007691407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754424251,"filename":"image_17022025_02_06_54_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338106211","file1":"1338106210","file0":"1338106209","file4":"1338106213","file5":"1338106214","file3":"1338106212"},"map_files_photo_id_array":[{"photo_id":"1338106214","filename":"file5"},{"photo_id":"1338106211","filename":"file2"},{"photo_id":"1338106213","filename":"file4"},{"photo_id":"1338106210","filename":"file1"},{"photo_id":"1338106209","filename":"file0"},{"photo_id":"1338106212","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338106211":["hashtag1","hashtag2"]},{"1338106214":["hashtag1","hashtag2"]},{"1338106210":["hashtag1","hashtag2"]},{"1338106213":["hashtag1","hashtag2"]},{"1338106212":["hashtag1","hashtag2"]},{"1338106209":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338106211, 1338106214, 1338106210, 1338106213, 1338106212, 1338106209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.099873304367065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:07:02.994620
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_54_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_34_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_14_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/02/06/image_17022025_02_07_04_9788.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_54_9793.jpg', '/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_44_9774.jpg', '/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_34_10782.jpg', '/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_24_9773.jpg', '/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_14_9776.jpg', '/home/nano/Desktop/images/17022025/02/06/image_17022025_02_07_04_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_54_9793.jpg
/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_44_9774.jpg
/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_34_10782.jpg
/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_24_9773.jpg
/home/nano/Desktop/images/17022025/02/07/image_17022025_02_07_14_9776.jpg
/home/nano/Desktop/images/17022025/02/06/image_17022025_02_07_04_9788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338106217","1338106220","1338106216","1338106219","1338106215","1338106218"],"photo_ids_order":["1338106215","1338106216","1338106217","1338106218","1338106219","1338106220"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3f64167621ca2f7f5039a0b26b2320d.jpg","text":"TemporaryFile(/tmp/multipartBody6914242258933807683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754484566,"filename":"image_17022025_02_07_34_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d00b12c86beeb511067bca61492533cc.jpg","text":"TemporaryFile(/tmp/multipartBody6984342533332449842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754484566,"filename":"image_17022025_02_07_04_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d18cc4e042e83b920d29b2430c09fb20.jpg","text":"TemporaryFile(/tmp/multipartBody8638695006836611773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754484566,"filename":"image_17022025_02_07_44_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a842ba33720d62afb97d869ae6f47cb.jpg","text":"TemporaryFile(/tmp/multipartBody2059735888808977705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754484566,"filename":"image_17022025_02_07_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2de65ffe1fa94b499239c68f5a7887f4.jpg","text":"TemporaryFile(/tmp/multipartBody5392010704741863669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754484566,"filename":"image_17022025_02_07_54_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/33a89dedf057a0582c4d33ef2ada227d.jpg","text":"TemporaryFile(/tmp/multipartBody7396313197363643987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754484566,"filename":"image_17022025_02_07_24_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338106217","file1":"1338106216","file0":"1338106215","file4":"1338106219","file5":"1338106220","file3":"1338106218"},"map_files_photo_id_array":[{"photo_id":"1338106220","filename":"file5"},{"photo_id":"1338106217","filename":"file2"},{"photo_id":"1338106219","filename":"file4"},{"photo_id":"1338106216","filename":"file1"},{"photo_id":"1338106215","filename":"file0"},{"photo_id":"1338106218","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338106217":["hashtag1","hashtag2"]},{"1338106220":["hashtag1","hashtag2"]},{"1338106216":["hashtag1","hashtag2"]},{"1338106219":["hashtag1","hashtag2"]},{"1338106215":["hashtag1","hashtag2"]},{"1338106218":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338106217, 1338106220, 1338106216, 1338106219, 1338106215, 1338106218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.034995317459106 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:08:03.014418
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_44_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_24_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_13_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/07/image_17022025_02_08_04_9805.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_54_9772.jpg', '/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_44_9795.jpg', '/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_34_9775.jpg', '/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_24_10784.jpg', '/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_13_9774.jpg', '/home/nano/Desktop/images/17022025/02/07/image_17022025_02_08_04_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_54_9772.jpg
/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_44_9795.jpg
/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_34_9775.jpg
/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_24_10784.jpg
/home/nano/Desktop/images/17022025/02/08/image_17022025_02_08_13_9774.jpg
/home/nano/Desktop/images/17022025/02/07/image_17022025_02_08_04_9805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338106502","1338106424","1338106720","1338106652","1338106574","1338106355"],"photo_ids_order":["1338106355","1338106424","1338106502","1338106574","1338106652","1338106720"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1e3744f953d8544518a1db2e85a7dca.jpg","text":"TemporaryFile(/tmp/multipartBody7087220028235325023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754544407,"filename":"image_17022025_02_08_34_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d9c7a3d2d04a388f9127aa579ea09a47.jpg","text":"TemporaryFile(/tmp/multipartBody1297216343930910710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754544407,"filename":"image_17022025_02_08_44_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a7a0fda4a77e28bcbc4e2b87dac9db3.jpg","text":"TemporaryFile(/tmp/multipartBody8545576300651107081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754544407,"filename":"image_17022025_02_08_04_9805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a1dcdd5bd0f978e64163e9aa4b506f3.jpg","text":"TemporaryFile(/tmp/multipartBody7608111727063860876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754544407,"filename":"image_17022025_02_08_13_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80162a4e01305a000f03cba99706dfcb.jpg","text":"TemporaryFile(/tmp/multipartBody6353495937090839343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754544407,"filename":"image_17022025_02_08_24_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cdcd100edc8a6cc6050945fc01cc12ec.jpg","text":"TemporaryFile(/tmp/multipartBody6708451422254717213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754544407,"filename":"image_17022025_02_08_54_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338106502","file1":"1338106424","file0":"1338106355","file4":"1338106652","file5":"1338106720","file3":"1338106574"},"map_files_photo_id_array":[{"photo_id":"1338106720","filename":"file5"},{"photo_id":"1338106502","filename":"file2"},{"photo_id":"1338106652","filename":"file4"},{"photo_id":"1338106424","filename":"file1"},{"photo_id":"1338106355","filename":"file0"},{"photo_id":"1338106574","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338106502":["hashtag1","hashtag2"]},{"1338106424":["hashtag1","hashtag2"]},{"1338106720":["hashtag1","hashtag2"]},{"1338106652":["hashtag1","hashtag2"]},{"1338106574":["hashtag1","hashtag2"]},{"1338106355":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338106502, 1338106424, 1338106720, 1338106652, 1338106574, 1338106355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.310600996017456 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:09:02.268158
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_54_10806.jpg', 0), ('/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_44_9781.jpg', 0), ('/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_34_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_14_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/02/08/image_17022025_02_09_04_10786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_54_10806.jpg', '/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_44_9781.jpg', '/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_34_9776.jpg', '/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_24_9771.jpg', '/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_14_9778.jpg', '/home/nano/Desktop/images/17022025/02/08/image_17022025_02_09_04_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_54_10806.jpg
/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_44_9781.jpg
/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_34_9776.jpg
/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_24_9771.jpg
/home/nano/Desktop/images/17022025/02/09/image_17022025_02_09_14_9778.jpg
/home/nano/Desktop/images/17022025/02/08/image_17022025_02_09_04_10786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338106963","1338106945","1338106924","1338106962","1338106926","1338106964"],"photo_ids_order":["1338106924","1338106926","1338106945","1338106962","1338106963","1338106964"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a7924d4b0c78cca61b0a0f29f342efcd.jpg","text":"TemporaryFile(/tmp/multipartBody676639683948343734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754603836,"filename":"image_17022025_02_09_14_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e12e8657b5726829ce873456349b663.jpg","text":"TemporaryFile(/tmp/multipartBody1592621474071322379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754603836,"filename":"image_17022025_02_09_34_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b379aff75631caf8f81042160b6fad1.jpg","text":"TemporaryFile(/tmp/multipartBody5324577452857602832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754603836,"filename":"image_17022025_02_09_54_10806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0fa2032648597d9a34aea87f248e4785.jpg","text":"TemporaryFile(/tmp/multipartBody2197264990458165159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754603836,"filename":"image_17022025_02_09_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a02bd487ed05204382d3286fff2783b.jpg","text":"TemporaryFile(/tmp/multipartBody5918457249313660029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754603836,"filename":"image_17022025_02_09_44_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d4dc9ac14570e4996b86feaf41763a4.jpg","text":"TemporaryFile(/tmp/multipartBody5515605936681620521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754603836,"filename":"image_17022025_02_09_04_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338106945","file1":"1338106926","file0":"1338106924","file4":"1338106963","file5":"1338106964","file3":"1338106962"},"map_files_photo_id_array":[{"photo_id":"1338106964","filename":"file5"},{"photo_id":"1338106945","filename":"file2"},{"photo_id":"1338106963","filename":"file4"},{"photo_id":"1338106926","filename":"file1"},{"photo_id":"1338106924","filename":"file0"},{"photo_id":"1338106962","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338106963":["hashtag1","hashtag2"]},{"1338106945":["hashtag1","hashtag2"]},{"1338106924":["hashtag1","hashtag2"]},{"1338106962":["hashtag1","hashtag2"]},{"1338106926":["hashtag1","hashtag2"]},{"1338106964":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338106963, 1338106945, 1338106924, 1338106962, 1338106926, 1338106964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08142423629761 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:10:02.054436
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_34_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_24_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_14_9784.jpg', 0), ('/home/nano/Desktop/images/17022025/02/09/image_17022025_02_10_04_9793.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_54_9773.jpg', '/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_44_9773.jpg', '/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_34_10784.jpg', '/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_24_9776.jpg', '/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_14_9784.jpg', '/home/nano/Desktop/images/17022025/02/09/image_17022025_02_10_04_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_54_9773.jpg
/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_44_9773.jpg
/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_34_10784.jpg
/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_24_9776.jpg
/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_14_9784.jpg
/home/nano/Desktop/images/17022025/02/09/image_17022025_02_10_04_9793.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.208519458770752 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:10:31.838032
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_34_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_24_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_14_9784.jpg', 0), ('/home/nano/Desktop/images/17022025/02/09/image_17022025_02_10_04_9793.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_54_9773.jpg', '/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_44_9773.jpg', '/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_34_10784.jpg', '/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_24_9776.jpg', '/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_14_9784.jpg', '/home/nano/Desktop/images/17022025/02/09/image_17022025_02_10_04_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_54_9773.jpg
/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_44_9773.jpg
/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_34_10784.jpg
/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_24_9776.jpg
/home/nano/Desktop/images/17022025/02/10/image_17022025_02_10_14_9784.jpg
/home/nano/Desktop/images/17022025/02/09/image_17022025_02_10_04_9793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338106972","1338106975","1338106974","1338106971","1338106973","1338106970"],"photo_ids_order":["1338106970","1338106971","1338106972","1338106973","1338106974","1338106975"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b07f1b2e4c8474613993476e1b75e40.jpg","text":"TemporaryFile(/tmp/multipartBody5748352986949387404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754693375,"filename":"image_17022025_02_10_34_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e2d7730a53fee7ba5f9f674d926f10b2.jpg","text":"TemporaryFile(/tmp/multipartBody6545938845192984180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754693375,"filename":"image_17022025_02_10_04_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81e1cb788263885a4355e0a7cb27a949.jpg","text":"TemporaryFile(/tmp/multipartBody8372504975870083262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754693375,"filename":"image_17022025_02_10_14_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7beea48ab0caf606e26dd7c84c043c3b.jpg","text":"TemporaryFile(/tmp/multipartBody1752398773611716461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754693375,"filename":"image_17022025_02_10_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/96d7c2c3850877a0505d2a23d88bbec5.jpg","text":"TemporaryFile(/tmp/multipartBody4894910357146516313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754693375,"filename":"image_17022025_02_10_24_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28897fb9709cdba01afe71bae4ee1a7d.jpg","text":"TemporaryFile(/tmp/multipartBody8734306393623304505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754693375,"filename":"image_17022025_02_10_54_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338106972","file1":"1338106971","file0":"1338106970","file4":"1338106974","file5":"1338106975","file3":"1338106973"},"map_files_photo_id_array":[{"photo_id":"1338106975","filename":"file5"},{"photo_id":"1338106972","filename":"file2"},{"photo_id":"1338106974","filename":"file4"},{"photo_id":"1338106971","filename":"file1"},{"photo_id":"1338106970","filename":"file0"},{"photo_id":"1338106973","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338106972":["hashtag1","hashtag2"]},{"1338106975":["hashtag1","hashtag2"]},{"1338106974":["hashtag1","hashtag2"]},{"1338106971":["hashtag1","hashtag2"]},{"1338106973":["hashtag1","hashtag2"]},{"1338106970":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338106972, 1338106975, 1338106974, 1338106971, 1338106973, 1338106970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.459619283676147 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:11:31.945735
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_24_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_14_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/02/10/image_17022025_02_11_04_9777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_54_9773.jpg', '/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_44_9775.jpg', '/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_34_9774.jpg', '/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_24_10782.jpg', '/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_14_9779.jpg', '/home/nano/Desktop/images/17022025/02/10/image_17022025_02_11_04_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_54_9773.jpg
/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_44_9775.jpg
/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_34_9774.jpg
/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_24_10782.jpg
/home/nano/Desktop/images/17022025/02/11/image_17022025_02_11_14_9779.jpg
/home/nano/Desktop/images/17022025/02/10/image_17022025_02_11_04_9777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338106978","1338106981","1338106980","1338106977","1338106976","1338106979"],"photo_ids_order":["1338106976","1338106977","1338106978","1338106979","1338106980","1338106981"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e655b454759cb59dcd97038e5ddd406.jpg","text":"TemporaryFile(/tmp/multipartBody6077289383105676275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754753458,"filename":"image_17022025_02_11_34_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d276710beb05e9137b74a39c55038a6.jpg","text":"TemporaryFile(/tmp/multipartBody3691031750610668538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754753458,"filename":"image_17022025_02_11_04_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60d22c951215320d732cce2de3fa63b1.jpg","text":"TemporaryFile(/tmp/multipartBody7967571576978410785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754753458,"filename":"image_17022025_02_11_14_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a1d5bd276d04a489a84930a1b2e9b9c.jpg","text":"TemporaryFile(/tmp/multipartBody2227263569336589912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754753458,"filename":"image_17022025_02_11_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca684430ad1fa40951395a62ed54ac9d.jpg","text":"TemporaryFile(/tmp/multipartBody5590323020018801121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754753458,"filename":"image_17022025_02_11_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fca823276def9cce57e9ae9840e86c45.jpg","text":"TemporaryFile(/tmp/multipartBody3562244540946754055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754753458,"filename":"image_17022025_02_11_24_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338106978","file1":"1338106977","file0":"1338106976","file4":"1338106980","file5":"1338106981","file3":"1338106979"},"map_files_photo_id_array":[{"photo_id":"1338106981","filename":"file5"},{"photo_id":"1338106978","filename":"file2"},{"photo_id":"1338106980","filename":"file4"},{"photo_id":"1338106977","filename":"file1"},{"photo_id":"1338106976","filename":"file0"},{"photo_id":"1338106979","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338106978":["hashtag1","hashtag2"]},{"1338106981":["hashtag1","hashtag2"]},{"1338106980":["hashtag1","hashtag2"]},{"1338106977":["hashtag1","hashtag2"]},{"1338106976":["hashtag1","hashtag2"]},{"1338106979":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338106978, 1338106981, 1338106980, 1338106977, 1338106976, 1338106979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.754909992218018 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:12:32.010779
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_54_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_24_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/11/image_17022025_02_12_04_10798.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_54_10780.jpg', '/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_44_9772.jpg', '/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_34_9770.jpg', '/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_24_9793.jpg', '/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_14_9775.jpg', '/home/nano/Desktop/images/17022025/02/11/image_17022025_02_12_04_10798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_54_10780.jpg
/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_44_9772.jpg
/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_34_9770.jpg
/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_24_9793.jpg
/home/nano/Desktop/images/17022025/02/12/image_17022025_02_12_14_9775.jpg
/home/nano/Desktop/images/17022025/02/11/image_17022025_02_12_04_10798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338106984","1338106987","1338106983","1338106986","1338106985","1338106982"],"photo_ids_order":["1338106982","1338106983","1338106984","1338106985","1338106986","1338106987"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ffea839d5f27fa470bd6a4a424f96bc.jpg","text":"TemporaryFile(/tmp/multipartBody7415165957246971956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754813700,"filename":"image_17022025_02_12_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38a68090ffc968b743e0ab1c0508f02e.jpg","text":"TemporaryFile(/tmp/multipartBody8093373951091857355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754813700,"filename":"image_17022025_02_12_04_10798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3aca896cdff0b8c697846d022cb952c.jpg","text":"TemporaryFile(/tmp/multipartBody5849985523456972235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754813700,"filename":"image_17022025_02_12_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec5608f3a3c63b1386f5d19abf08ffa3.jpg","text":"TemporaryFile(/tmp/multipartBody2768469827484689690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754813700,"filename":"image_17022025_02_12_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3192cc1d942b0637c0eefae64d8aeea.jpg","text":"TemporaryFile(/tmp/multipartBody6450086374146179315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754813700,"filename":"image_17022025_02_12_24_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a2245d55951b3c9e4852e79165df122.jpg","text":"TemporaryFile(/tmp/multipartBody343211834757711991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754813700,"filename":"image_17022025_02_12_54_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338106984","file1":"1338106983","file0":"1338106982","file4":"1338106986","file5":"1338106987","file3":"1338106985"},"map_files_photo_id_array":[{"photo_id":"1338106987","filename":"file5"},{"photo_id":"1338106984","filename":"file2"},{"photo_id":"1338106986","filename":"file4"},{"photo_id":"1338106983","filename":"file1"},{"photo_id":"1338106982","filename":"file0"},{"photo_id":"1338106985","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338106984":["hashtag1","hashtag2"]},{"1338106987":["hashtag1","hashtag2"]},{"1338106983":["hashtag1","hashtag2"]},{"1338106986":["hashtag1","hashtag2"]},{"1338106985":["hashtag1","hashtag2"]},{"1338106982":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338106984, 1338106987, 1338106983, 1338106986, 1338106985, 1338106982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.740339040756226 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:13:32.098632
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_44_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_34_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_14_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/02/12/image_17022025_02_13_04_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_54_9771.jpg', '/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_44_9770.jpg', '/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_34_10781.jpg', '/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_24_9772.jpg', '/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_14_9779.jpg', '/home/nano/Desktop/images/17022025/02/12/image_17022025_02_13_04_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_54_9771.jpg
/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_44_9770.jpg
/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_34_10781.jpg
/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_24_9772.jpg
/home/nano/Desktop/images/17022025/02/13/image_17022025_02_13_14_9779.jpg
/home/nano/Desktop/images/17022025/02/12/image_17022025_02_13_04_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338106990","1338106993","1338106992","1338106989","1338106991","1338106988"],"photo_ids_order":["1338106988","1338106989","1338106990","1338106991","1338106992","1338106993"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9efc7fba4fb735754b04c632b1fa508a.jpg","text":"TemporaryFile(/tmp/multipartBody1805026620970715684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754874020,"filename":"image_17022025_02_13_34_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/52f0bc02e40ab060d6bbb6ebd4d7989d.jpg","text":"TemporaryFile(/tmp/multipartBody9214125464362082704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754874020,"filename":"image_17022025_02_13_04_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19aeff025f54acf06b1b6509f8ee97be.jpg","text":"TemporaryFile(/tmp/multipartBody1408062364729938716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754874020,"filename":"image_17022025_02_13_14_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cab6cc20cf064d50bc3976280e5f3c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7080968315483482388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754874020,"filename":"image_17022025_02_13_44_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9727b68b997e9e07f8685a41339cccfc.jpg","text":"TemporaryFile(/tmp/multipartBody7539422196902296952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754874020,"filename":"image_17022025_02_13_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac68c622a3902f00e9d6b4db0e27b0ed.jpg","text":"TemporaryFile(/tmp/multipartBody778061998977040596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754874020,"filename":"image_17022025_02_13_54_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338106990","file1":"1338106989","file0":"1338106988","file4":"1338106992","file5":"1338106993","file3":"1338106991"},"map_files_photo_id_array":[{"photo_id":"1338106993","filename":"file5"},{"photo_id":"1338106990","filename":"file2"},{"photo_id":"1338106992","filename":"file4"},{"photo_id":"1338106989","filename":"file1"},{"photo_id":"1338106988","filename":"file0"},{"photo_id":"1338106991","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338106990":["hashtag1","hashtag2"]},{"1338106993":["hashtag1","hashtag2"]},{"1338106992":["hashtag1","hashtag2"]},{"1338106989":["hashtag1","hashtag2"]},{"1338106991":["hashtag1","hashtag2"]},{"1338106988":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338106990, 1338106993, 1338106992, 1338106989, 1338106991, 1338106988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.850176572799683 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:14:32.194739
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_54_9794.jpg', 0), ('/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_34_9787.jpg', 0), ('/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_24_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/13/image_17022025_02_14_04_9784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_54_9794.jpg', '/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_44_9773.jpg', '/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_34_9787.jpg', '/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_24_10779.jpg', '/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_14_9775.jpg', '/home/nano/Desktop/images/17022025/02/13/image_17022025_02_14_04_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_54_9794.jpg
/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_44_9773.jpg
/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_34_9787.jpg
/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_24_10779.jpg
/home/nano/Desktop/images/17022025/02/14/image_17022025_02_14_14_9775.jpg
/home/nano/Desktop/images/17022025/02/13/image_17022025_02_14_04_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107000","1338106996","1338106999","1338106995","1338106998","1338106997"],"photo_ids_order":["1338106995","1338106996","1338106997","1338106998","1338106999","1338107000"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6adf337fcc7dd3deb47051fef809014.jpg","text":"TemporaryFile(/tmp/multipartBody3800814488428500095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754933673,"filename":"image_17022025_02_14_04_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/abc8ef62696445d93988abf092b03aea.jpg","text":"TemporaryFile(/tmp/multipartBody178408910896599316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754933673,"filename":"image_17022025_02_14_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0dda21365b3cce6b47330cbebef9e108.jpg","text":"TemporaryFile(/tmp/multipartBody7223158310027059301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754933673,"filename":"image_17022025_02_14_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14d689f0e8f2ac05ba75aea24f2fd72f.jpg","text":"TemporaryFile(/tmp/multipartBody7926409479491737275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754933673,"filename":"image_17022025_02_14_54_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6814147848f9ed527d903e773b22df1b.jpg","text":"TemporaryFile(/tmp/multipartBody8793145589672584433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754933673,"filename":"image_17022025_02_14_24_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/534cefaa18c41427d10daba0aa222800.jpg","text":"TemporaryFile(/tmp/multipartBody5368292747609855663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754933673,"filename":"image_17022025_02_14_34_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338106997","file1":"1338106996","file0":"1338106995","file4":"1338106999","file5":"1338107000","file3":"1338106998"},"map_files_photo_id_array":[{"photo_id":"1338107000","filename":"file5"},{"photo_id":"1338106997","filename":"file2"},{"photo_id":"1338106999","filename":"file4"},{"photo_id":"1338106996","filename":"file1"},{"photo_id":"1338106995","filename":"file0"},{"photo_id":"1338106998","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107000":["hashtag1","hashtag2"]},{"1338106996":["hashtag1","hashtag2"]},{"1338106999":["hashtag1","hashtag2"]},{"1338106995":["hashtag1","hashtag2"]},{"1338106998":["hashtag1","hashtag2"]},{"1338106997":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107000, 1338106996, 1338106999, 1338106995, 1338106998, 1338106997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.697595834732056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:15:32.308966
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_54_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_44_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_24_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_14_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/02/14/image_17022025_02_15_04_9811.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_54_10781.jpg', '/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_44_9788.jpg', '/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_34_9771.jpg', '/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_24_9768.jpg', '/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_14_10780.jpg', '/home/nano/Desktop/images/17022025/02/14/image_17022025_02_15_04_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_54_10781.jpg
/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_44_9788.jpg
/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_34_9771.jpg
/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_24_9768.jpg
/home/nano/Desktop/images/17022025/02/15/image_17022025_02_15_14_10780.jpg
/home/nano/Desktop/images/17022025/02/14/image_17022025_02_15_04_9811.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107002","1338107005","1338107001","1338107004","1338107003","1338107006"],"photo_ids_order":["1338107001","1338107002","1338107003","1338107004","1338107005","1338107006"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a4668c5193daffcbac884a6cfc57c7c.jpg","text":"TemporaryFile(/tmp/multipartBody2729940273930013809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754993720,"filename":"image_17022025_02_15_44_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2f075254d6ebe6747e5d3bb5309b7d5.jpg","text":"TemporaryFile(/tmp/multipartBody580238439428508350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754993720,"filename":"image_17022025_02_15_14_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b85d3b5868bff9b0f67371d367709f1.jpg","text":"TemporaryFile(/tmp/multipartBody7340985271756413854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754993720,"filename":"image_17022025_02_15_54_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05e64e83c2f4eeaa50f04884e9503f7c.jpg","text":"TemporaryFile(/tmp/multipartBody739582951533286531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754993720,"filename":"image_17022025_02_15_24_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b02715885928def650f3799dd80260ea.jpg","text":"TemporaryFile(/tmp/multipartBody8766698981011778759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754993720,"filename":"image_17022025_02_15_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ba08b154688c94aa76ac397189f153a.jpg","text":"TemporaryFile(/tmp/multipartBody5031711793260801111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739754993720,"filename":"image_17022025_02_15_04_9811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107003","file1":"1338107002","file0":"1338107001","file4":"1338107005","file5":"1338107006","file3":"1338107004"},"map_files_photo_id_array":[{"photo_id":"1338107006","filename":"file5"},{"photo_id":"1338107003","filename":"file2"},{"photo_id":"1338107005","filename":"file4"},{"photo_id":"1338107002","filename":"file1"},{"photo_id":"1338107001","filename":"file0"},{"photo_id":"1338107004","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107002":["hashtag1","hashtag2"]},{"1338107005":["hashtag1","hashtag2"]},{"1338107001":["hashtag1","hashtag2"]},{"1338107004":["hashtag1","hashtag2"]},{"1338107003":["hashtag1","hashtag2"]},{"1338107006":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107002, 1338107005, 1338107001, 1338107004, 1338107003, 1338107006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67841291427612 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:16:32.382292
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_44_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_34_9783.jpg', 0), ('/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_24_9792.jpg', 0), ('/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_14_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/02/15/image_17022025_02_16_04_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_54_9770.jpg', '/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_44_10780.jpg', '/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_34_9783.jpg', '/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_24_9792.jpg', '/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_14_9795.jpg', '/home/nano/Desktop/images/17022025/02/15/image_17022025_02_16_04_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_54_9770.jpg
/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_44_10780.jpg
/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_34_9783.jpg
/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_24_9792.jpg
/home/nano/Desktop/images/17022025/02/16/image_17022025_02_16_14_9795.jpg
/home/nano/Desktop/images/17022025/02/15/image_17022025_02_16_04_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107009","1338107011","1338107008","1338107007","1338107010","1338107012"],"photo_ids_order":["1338107007","1338107008","1338107009","1338107010","1338107011","1338107012"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6eb862b735be8bf06de8d8bd57b1a8df.jpg","text":"TemporaryFile(/tmp/multipartBody3812359247334400297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755054249,"filename":"image_17022025_02_16_34_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/48fac91a545114b09eb2950212476149.jpg","text":"TemporaryFile(/tmp/multipartBody5491726579512196678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755054249,"filename":"image_17022025_02_16_14_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0695be97b7a4391fd59a177f966e373d.jpg","text":"TemporaryFile(/tmp/multipartBody8591624091393580316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755054249,"filename":"image_17022025_02_16_44_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98ac88ae5d4b1945ba845c464ea9d29d.jpg","text":"TemporaryFile(/tmp/multipartBody4235125725663104662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755054249,"filename":"image_17022025_02_16_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88e8875ecf700ff694829470cb602308.jpg","text":"TemporaryFile(/tmp/multipartBody9036498561168005640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755054249,"filename":"image_17022025_02_16_24_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1319a145d50104df070f3cd38cbfb53.jpg","text":"TemporaryFile(/tmp/multipartBody6588344373153305186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755054249,"filename":"image_17022025_02_16_04_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107009","file1":"1338107008","file0":"1338107007","file4":"1338107011","file5":"1338107012","file3":"1338107010"},"map_files_photo_id_array":[{"photo_id":"1338107012","filename":"file5"},{"photo_id":"1338107009","filename":"file2"},{"photo_id":"1338107011","filename":"file4"},{"photo_id":"1338107008","filename":"file1"},{"photo_id":"1338107007","filename":"file0"},{"photo_id":"1338107010","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107009":["hashtag1","hashtag2"]},{"1338107011":["hashtag1","hashtag2"]},{"1338107008":["hashtag1","hashtag2"]},{"1338107007":["hashtag1","hashtag2"]},{"1338107010":["hashtag1","hashtag2"]},{"1338107012":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107009, 1338107011, 1338107008, 1338107007, 1338107010, 1338107012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.366188764572144 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:17:32.485151
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_34_9790.jpg', 0), ('/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_24_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/16/image_17022025_02_17_04_9788.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_54_9771.jpg', '/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_44_9771.jpg', '/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_34_9790.jpg', '/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_24_10782.jpg', '/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_14_9775.jpg', '/home/nano/Desktop/images/17022025/02/16/image_17022025_02_17_04_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_54_9771.jpg
/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_44_9771.jpg
/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_34_9790.jpg
/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_24_10782.jpg
/home/nano/Desktop/images/17022025/02/17/image_17022025_02_17_14_9775.jpg
/home/nano/Desktop/images/17022025/02/16/image_17022025_02_17_04_9788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107015","1338107014","1338107017","1338107013","1338107016","1338107018"],"photo_ids_order":["1338107013","1338107014","1338107015","1338107016","1338107017","1338107018"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9684b4307cfb4883a6c3b2dc0c8de2b6.jpg","text":"TemporaryFile(/tmp/multipartBody3048321395709706903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755114198,"filename":"image_17022025_02_17_34_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78af48418b82b0a2e2a8765fb3d30cce.jpg","text":"TemporaryFile(/tmp/multipartBody7291781856228809003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755114198,"filename":"image_17022025_02_17_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/04cb17905add1383ed809182a0649a50.jpg","text":"TemporaryFile(/tmp/multipartBody5045524188321956705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755114198,"filename":"image_17022025_02_17_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1921de6c39eafb7ddfb049859b88cb90.jpg","text":"TemporaryFile(/tmp/multipartBody1852999634196692422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755114198,"filename":"image_17022025_02_17_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec7b3563597d5325ddba620061dab9bc.jpg","text":"TemporaryFile(/tmp/multipartBody6714788603997488562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755114198,"filename":"image_17022025_02_17_24_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dfd073ec9085cf8ff3fabfbaf987a6cf.jpg","text":"TemporaryFile(/tmp/multipartBody7418473040818928375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755114198,"filename":"image_17022025_02_17_04_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107015","file1":"1338107014","file0":"1338107013","file4":"1338107017","file5":"1338107018","file3":"1338107016"},"map_files_photo_id_array":[{"photo_id":"1338107018","filename":"file5"},{"photo_id":"1338107015","filename":"file2"},{"photo_id":"1338107017","filename":"file4"},{"photo_id":"1338107014","filename":"file1"},{"photo_id":"1338107013","filename":"file0"},{"photo_id":"1338107016","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107015":["hashtag1","hashtag2"]},{"1338107014":["hashtag1","hashtag2"]},{"1338107017":["hashtag1","hashtag2"]},{"1338107013":["hashtag1","hashtag2"]},{"1338107016":["hashtag1","hashtag2"]},{"1338107018":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107015, 1338107014, 1338107017, 1338107013, 1338107016, 1338107018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34717082977295 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:18:32.569519
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_54_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_44_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_14_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/02/17/image_17022025_02_18_04_9784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_54_10782.jpg', '/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_44_9770.jpg', '/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_34_9773.jpg', '/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_24_9771.jpg', '/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_14_10783.jpg', '/home/nano/Desktop/images/17022025/02/17/image_17022025_02_18_04_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_54_10782.jpg
/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_44_9770.jpg
/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_34_9773.jpg
/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_24_9771.jpg
/home/nano/Desktop/images/17022025/02/18/image_17022025_02_18_14_10783.jpg
/home/nano/Desktop/images/17022025/02/17/image_17022025_02_18_04_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107020","1338107023","1338107019","1338107022","1338107021","1338107024"],"photo_ids_order":["1338107019","1338107020","1338107021","1338107022","1338107023","1338107024"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b15b9e2d7a76bde0fd47a77ad772681.jpg","text":"TemporaryFile(/tmp/multipartBody2199322527469386951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755174371,"filename":"image_17022025_02_18_44_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e2fa9fa6a1f78db0b797c7a5706f602.jpg","text":"TemporaryFile(/tmp/multipartBody4317228825348887593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755174371,"filename":"image_17022025_02_18_14_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f80afadc1cfba26a05e7c0ccec12338c.jpg","text":"TemporaryFile(/tmp/multipartBody5119064648587889847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755174371,"filename":"image_17022025_02_18_54_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/945f3d927b560f25518343122b3563f5.jpg","text":"TemporaryFile(/tmp/multipartBody5904275274250817003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755174371,"filename":"image_17022025_02_18_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e6c72e37da13571eb258d34b2ea88176.jpg","text":"TemporaryFile(/tmp/multipartBody7931395777363534931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755174371,"filename":"image_17022025_02_18_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6db95b555544414a26ec9ede1a4d444f.jpg","text":"TemporaryFile(/tmp/multipartBody4309459510103653705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755174371,"filename":"image_17022025_02_18_04_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107021","file1":"1338107020","file0":"1338107019","file4":"1338107023","file5":"1338107024","file3":"1338107022"},"map_files_photo_id_array":[{"photo_id":"1338107024","filename":"file5"},{"photo_id":"1338107021","filename":"file2"},{"photo_id":"1338107023","filename":"file4"},{"photo_id":"1338107020","filename":"file1"},{"photo_id":"1338107019","filename":"file0"},{"photo_id":"1338107022","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107020":["hashtag1","hashtag2"]},{"1338107023":["hashtag1","hashtag2"]},{"1338107019":["hashtag1","hashtag2"]},{"1338107022":["hashtag1","hashtag2"]},{"1338107021":["hashtag1","hashtag2"]},{"1338107024":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107020, 1338107023, 1338107019, 1338107022, 1338107021, 1338107024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06923222541809 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:19:32.687208
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_44_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_14_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/18/image_17022025_02_19_04_9782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_54_9772.jpg', '/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_44_10784.jpg', '/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_34_9772.jpg', '/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_24_9773.jpg', '/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_14_9773.jpg', '/home/nano/Desktop/images/17022025/02/18/image_17022025_02_19_04_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_54_9772.jpg
/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_44_10784.jpg
/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_34_9772.jpg
/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_24_9773.jpg
/home/nano/Desktop/images/17022025/02/19/image_17022025_02_19_14_9773.jpg
/home/nano/Desktop/images/17022025/02/18/image_17022025_02_19_04_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107029","1338107026","1338107025","1338107028","1338107030","1338107027"],"photo_ids_order":["1338107025","1338107026","1338107027","1338107028","1338107029","1338107030"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/743f0d534add243bd6689d04e514d47f.jpg","text":"TemporaryFile(/tmp/multipartBody7025160612270497811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755234333,"filename":"image_17022025_02_19_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dad8f33c70cfd38de95f4a98bff9e4fe.jpg","text":"TemporaryFile(/tmp/multipartBody3731623725688662423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755234333,"filename":"image_17022025_02_19_44_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a7f4125e9bdd1846781de7f477e7eb3.jpg","text":"TemporaryFile(/tmp/multipartBody3524542651771974644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755234333,"filename":"image_17022025_02_19_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d799d5f904e11c0639fa34fcd2c478a5.jpg","text":"TemporaryFile(/tmp/multipartBody388027952535816866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755234333,"filename":"image_17022025_02_19_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1dcdc8e036cd66c3781908ae801fd01.jpg","text":"TemporaryFile(/tmp/multipartBody1876028953244707890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755234333,"filename":"image_17022025_02_19_04_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58814e1b666914aac27cf050f03a1cc6.jpg","text":"TemporaryFile(/tmp/multipartBody5468382982709983651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739755234333,"filename":"image_17022025_02_19_34_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107027","file1":"1338107026","file0":"1338107025","file4":"1338107029","file5":"1338107030","file3":"1338107028"},"map_files_photo_id_array":[{"photo_id":"1338107030","filename":"file5"},{"photo_id":"1338107027","filename":"file2"},{"photo_id":"1338107029","filename":"file4"},{"photo_id":"1338107026","filename":"file1"},{"photo_id":"1338107025","filename":"file0"},{"photo_id":"1338107028","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107029":["hashtag1","hashtag2"]},{"1338107026":["hashtag1","hashtag2"]},{"1338107025":["hashtag1","hashtag2"]},{"1338107028":["hashtag1","hashtag2"]},{"1338107030":["hashtag1","hashtag2"]},{"1338107027":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107029, 1338107026, 1338107025, 1338107028, 1338107030, 1338107027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93453764915466 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:20:31.765392
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_44_9766.jpg', 0), ('/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_34_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_24_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/19/image_17022025_02_20_04_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_54_9770.jpg', '/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_44_9766.jpg', '/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_34_9769.jpg', '/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_24_10778.jpg', '/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_14_9775.jpg', '/home/nano/Desktop/images/17022025/02/19/image_17022025_02_20_04_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_54_9770.jpg
/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_44_9766.jpg
/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_34_9769.jpg
/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_24_10778.jpg
/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_14_9775.jpg
/home/nano/Desktop/images/17022025/02/19/image_17022025_02_20_04_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 02:59:02.595223
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_34_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_24_9790.jpg', 0), ('/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_14_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/02/58/image_17022025_02_59_04_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_54_9771.jpg', '/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_44_9773.jpg', '/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_34_10781.jpg', '/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_24_9790.jpg', '/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_14_9779.jpg', '/home/nano/Desktop/images/17022025/02/58/image_17022025_02_59_04_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_54_9771.jpg
/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_44_9773.jpg
/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_34_10781.jpg
/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_24_9790.jpg
/home/nano/Desktop/images/17022025/02/59/image_17022025_02_59_14_9779.jpg
/home/nano/Desktop/images/17022025/02/58/image_17022025_02_59_04_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107335","1338107329","1338107334","1338107331","1338107333","1338107330"],"photo_ids_order":["1338107329","1338107330","1338107331","1338107333","1338107334","1338107335"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2ce8589aeeec8cdb4436126f52b8b3f.jpg","text":"TemporaryFile(/tmp/multipartBody1143153912493257903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757604047,"filename":"image_17022025_02_59_04_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf46007feb0366c4a14f09d6a03d2b76.jpg","text":"TemporaryFile(/tmp/multipartBody8265086912687621273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757604047,"filename":"image_17022025_02_59_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b79d641a2d9ee72c1799fb66dd0986c.jpg","text":"TemporaryFile(/tmp/multipartBody6778401887123716317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757604047,"filename":"image_17022025_02_59_14_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92cdd962ba013b2062636aa8ad2fd9e1.jpg","text":"TemporaryFile(/tmp/multipartBody8172015567624542978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757604047,"filename":"image_17022025_02_59_34_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f9a3531daef9dff5bc86a2e4834fc1b4.jpg","text":"TemporaryFile(/tmp/multipartBody7783146747269096271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757604047,"filename":"image_17022025_02_59_24_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/44cfc34bc8842ac258167494f6dd3f23.jpg","text":"TemporaryFile(/tmp/multipartBody6465856981954543508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757604047,"filename":"image_17022025_02_59_44_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107331","file1":"1338107330","file0":"1338107329","file4":"1338107334","file5":"1338107335","file3":"1338107333"},"map_files_photo_id_array":[{"photo_id":"1338107335","filename":"file5"},{"photo_id":"1338107331","filename":"file2"},{"photo_id":"1338107334","filename":"file4"},{"photo_id":"1338107330","filename":"file1"},{"photo_id":"1338107329","filename":"file0"},{"photo_id":"1338107333","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107335":["hashtag1","hashtag2"]},{"1338107329":["hashtag1","hashtag2"]},{"1338107334":["hashtag1","hashtag2"]},{"1338107331":["hashtag1","hashtag2"]},{"1338107333":["hashtag1","hashtag2"]},{"1338107330":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107335, 1338107329, 1338107334, 1338107331, 1338107333, 1338107330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.445520639419556 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:00:02.214753
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_44_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_24_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_14_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/59/image_17022025_03_00_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_54_9771.jpg', '/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_44_9788.jpg', '/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_34_9770.jpg', '/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_24_10781.jpg', '/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_14_9771.jpg', '/home/nano/Desktop/images/17022025/02/59/image_17022025_03_00_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_54_9771.jpg
/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_44_9788.jpg
/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_34_9770.jpg
/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_24_10781.jpg
/home/nano/Desktop/images/17022025/03/00/image_17022025_03_00_14_9771.jpg
/home/nano/Desktop/images/17022025/02/59/image_17022025_03_00_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107341","1338107338","1338107340","1338107337","1338107342","1338107339"],"photo_ids_order":["1338107337","1338107338","1338107339","1338107340","1338107341","1338107342"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e716c3a37609b80567cdd4dfbe66eca.jpg","text":"TemporaryFile(/tmp/multipartBody6759476997047812317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757664696,"filename":"image_17022025_03_00_14_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bb255a0ecd3f9ce5ae19c36736c8e88c.jpg","text":"TemporaryFile(/tmp/multipartBody3775507823958510474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757664696,"filename":"image_17022025_03_00_44_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e7ec451aa641c41a9a5b621de36a071.jpg","text":"TemporaryFile(/tmp/multipartBody8615686601880674221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757664696,"filename":"image_17022025_03_00_24_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e6fb16e6767ae471f5fe34a1658aceba.jpg","text":"TemporaryFile(/tmp/multipartBody1353171024306950467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757664696,"filename":"image_17022025_03_00_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a74d9612371d52e6c68936bdda35c43.jpg","text":"TemporaryFile(/tmp/multipartBody411768319673824557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757664696,"filename":"image_17022025_03_00_04_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e381d918e26fd09f47f93ef18344894.jpg","text":"TemporaryFile(/tmp/multipartBody2056925538814402565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757664696,"filename":"image_17022025_03_00_34_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107339","file1":"1338107338","file0":"1338107337","file4":"1338107341","file5":"1338107342","file3":"1338107340"},"map_files_photo_id_array":[{"photo_id":"1338107342","filename":"file5"},{"photo_id":"1338107339","filename":"file2"},{"photo_id":"1338107341","filename":"file4"},{"photo_id":"1338107338","filename":"file1"},{"photo_id":"1338107337","filename":"file0"},{"photo_id":"1338107340","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107341":["hashtag1","hashtag2"]},{"1338107338":["hashtag1","hashtag2"]},{"1338107340":["hashtag1","hashtag2"]},{"1338107337":["hashtag1","hashtag2"]},{"1338107342":["hashtag1","hashtag2"]},{"1338107339":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107341, 1338107338, 1338107340, 1338107337, 1338107342, 1338107339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.93967366218567 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:01:02.545892
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_54_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_44_9784.jpg', 0), ('/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_34_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_14_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/03/00/image_17022025_03_01_03_9784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_54_10780.jpg', '/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_44_9784.jpg', '/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_34_9788.jpg', '/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_24_9773.jpg', '/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_14_10784.jpg', '/home/nano/Desktop/images/17022025/03/00/image_17022025_03_01_03_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_54_10780.jpg
/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_44_9784.jpg
/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_34_9788.jpg
/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_24_9773.jpg
/home/nano/Desktop/images/17022025/03/01/image_17022025_03_01_14_10784.jpg
/home/nano/Desktop/images/17022025/03/00/image_17022025_03_01_03_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107344","1338107347","1338107343","1338107346","1338107345","1338107348"],"photo_ids_order":["1338107343","1338107344","1338107345","1338107346","1338107347","1338107348"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00f416c9a14a54c4f0e3c68571fd5ed6.jpg","text":"TemporaryFile(/tmp/multipartBody6746506558610186508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757723837,"filename":"image_17022025_03_01_44_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a69dcf8f53d62b2cd319ad9dc27620a.jpg","text":"TemporaryFile(/tmp/multipartBody7309739762308008381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757723837,"filename":"image_17022025_03_01_14_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/216bc679214077c5e763ed12788a155d.jpg","text":"TemporaryFile(/tmp/multipartBody7017147910514379961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757723837,"filename":"image_17022025_03_01_54_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/acbbb6d51e82f8996708a3c764bc1857.jpg","text":"TemporaryFile(/tmp/multipartBody6030798738752616138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757723837,"filename":"image_17022025_03_01_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/73efa1d1315d62339895af38f8b7efc3.jpg","text":"TemporaryFile(/tmp/multipartBody7398781235002066581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757723837,"filename":"image_17022025_03_01_34_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fbe91525a877cf95f940d5f8f79c1088.jpg","text":"TemporaryFile(/tmp/multipartBody317699783346743350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757723837,"filename":"image_17022025_03_01_03_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107345","file1":"1338107344","file0":"1338107343","file4":"1338107347","file5":"1338107348","file3":"1338107346"},"map_files_photo_id_array":[{"photo_id":"1338107348","filename":"file5"},{"photo_id":"1338107345","filename":"file2"},{"photo_id":"1338107347","filename":"file4"},{"photo_id":"1338107344","filename":"file1"},{"photo_id":"1338107343","filename":"file0"},{"photo_id":"1338107346","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107344":["hashtag1","hashtag2"]},{"1338107347":["hashtag1","hashtag2"]},{"1338107343":["hashtag1","hashtag2"]},{"1338107346":["hashtag1","hashtag2"]},{"1338107345":["hashtag1","hashtag2"]},{"1338107348":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107344, 1338107347, 1338107343, 1338107346, 1338107345, 1338107348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.49611759185791 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:02:02.611538
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_44_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_24_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_14_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/03/01/image_17022025_03_02_04_9772.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_54_9770.jpg', '/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_44_10779.jpg', '/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_34_9772.jpg', '/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_24_9788.jpg', '/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_14_9776.jpg', '/home/nano/Desktop/images/17022025/03/01/image_17022025_03_02_04_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_54_9770.jpg
/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_44_10779.jpg
/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_34_9772.jpg
/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_24_9788.jpg
/home/nano/Desktop/images/17022025/03/02/image_17022025_03_02_14_9776.jpg
/home/nano/Desktop/images/17022025/03/01/image_17022025_03_02_04_9772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107839","1338107842","1338107841","1338107838","1338107840","1338107837"],"photo_ids_order":["1338107837","1338107838","1338107839","1338107840","1338107841","1338107842"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90b95c3870b3543d65508c3d52bdfd39.jpg","text":"TemporaryFile(/tmp/multipartBody4141033153555109367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757784068,"filename":"image_17022025_03_02_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eacb419f87f97c167a7e1e3e5529ad53.jpg","text":"TemporaryFile(/tmp/multipartBody3657345127981232881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757784068,"filename":"image_17022025_03_02_04_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79461fb0a6d2cdb1e0be057d5b3b0581.jpg","text":"TemporaryFile(/tmp/multipartBody4757512732053605918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757784068,"filename":"image_17022025_03_02_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6eeff7db0bbce214eb1e64d2c401c5ff.jpg","text":"TemporaryFile(/tmp/multipartBody8890907768720248814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757784068,"filename":"image_17022025_03_02_44_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cef37aaa86e6baf51a48e594b381b37.jpg","text":"TemporaryFile(/tmp/multipartBody8939905421711170917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757784068,"filename":"image_17022025_03_02_24_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d3d63f0400d73a7e072c7770ce6e909.jpg","text":"TemporaryFile(/tmp/multipartBody7299591249894155220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757784068,"filename":"image_17022025_03_02_54_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107839","file1":"1338107838","file0":"1338107837","file4":"1338107841","file5":"1338107842","file3":"1338107840"},"map_files_photo_id_array":[{"photo_id":"1338107842","filename":"file5"},{"photo_id":"1338107839","filename":"file2"},{"photo_id":"1338107841","filename":"file4"},{"photo_id":"1338107838","filename":"file1"},{"photo_id":"1338107837","filename":"file0"},{"photo_id":"1338107840","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107839":["hashtag1","hashtag2"]},{"1338107842":["hashtag1","hashtag2"]},{"1338107841":["hashtag1","hashtag2"]},{"1338107838":["hashtag1","hashtag2"]},{"1338107840":["hashtag1","hashtag2"]},{"1338107837":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107839, 1338107842, 1338107841, 1338107838, 1338107840, 1338107837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.100168704986572 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:03:02.714472
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_54_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_44_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_24_10800.jpg', 0), ('/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_14_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/02/image_17022025_03_03_04_9774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_54_9788.jpg', '/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_44_9768.jpg', '/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_34_9770.jpg', '/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_24_10800.jpg', '/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_14_9772.jpg', '/home/nano/Desktop/images/17022025/03/02/image_17022025_03_03_04_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_54_9788.jpg
/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_44_9768.jpg
/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_34_9770.jpg
/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_24_10800.jpg
/home/nano/Desktop/images/17022025/03/03/image_17022025_03_03_14_9772.jpg
/home/nano/Desktop/images/17022025/03/02/image_17022025_03_03_04_9774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107845","1338107848","1338107844","1338107847","1338107843","1338107846"],"photo_ids_order":["1338107843","1338107844","1338107845","1338107846","1338107847","1338107848"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f2875dc46be5c8b247fbcfd1d8f446e.jpg","text":"TemporaryFile(/tmp/multipartBody3749768681180288259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757844061,"filename":"image_17022025_03_03_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3bfc1c1cc4abd4b2b43508c5231e48d9.jpg","text":"TemporaryFile(/tmp/multipartBody3544156233039941830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757844061,"filename":"image_17022025_03_03_04_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af311dc00fc42f6c6ae65f36603a9377.jpg","text":"TemporaryFile(/tmp/multipartBody239454176130086852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757844061,"filename":"image_17022025_03_03_44_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6dc3fdcb3a5829df19f0685f36d7e5c9.jpg","text":"TemporaryFile(/tmp/multipartBody5117927364541741626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757844061,"filename":"image_17022025_03_03_14_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed188c153da1fa12f4cb0711cf899fea.jpg","text":"TemporaryFile(/tmp/multipartBody5949457218079179503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757844061,"filename":"image_17022025_03_03_54_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86a408a4f474cbac4741556828ca2424.jpg","text":"TemporaryFile(/tmp/multipartBody7066737033759787357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757844061,"filename":"image_17022025_03_03_24_10800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107845","file1":"1338107844","file0":"1338107843","file4":"1338107847","file5":"1338107848","file3":"1338107846"},"map_files_photo_id_array":[{"photo_id":"1338107848","filename":"file5"},{"photo_id":"1338107845","filename":"file2"},{"photo_id":"1338107847","filename":"file4"},{"photo_id":"1338107844","filename":"file1"},{"photo_id":"1338107843","filename":"file0"},{"photo_id":"1338107846","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107845":["hashtag1","hashtag2"]},{"1338107848":["hashtag1","hashtag2"]},{"1338107844":["hashtag1","hashtag2"]},{"1338107847":["hashtag1","hashtag2"]},{"1338107843":["hashtag1","hashtag2"]},{"1338107846":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107845, 1338107848, 1338107844, 1338107847, 1338107843, 1338107846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.325798988342285 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:04:02.944284
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_54_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_14_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/03/03/image_17022025_03_04_04_9784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_54_10782.jpg', '/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_44_9772.jpg', '/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_34_9771.jpg', '/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_24_9769.jpg', '/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_14_10781.jpg', '/home/nano/Desktop/images/17022025/03/03/image_17022025_03_04_04_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_54_10782.jpg
/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_44_9772.jpg
/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_34_9771.jpg
/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_24_9769.jpg
/home/nano/Desktop/images/17022025/03/04/image_17022025_03_04_14_10781.jpg
/home/nano/Desktop/images/17022025/03/03/image_17022025_03_04_04_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107851","1338107854","1338107850","1338107853","1338107852","1338107855"],"photo_ids_order":["1338107850","1338107851","1338107852","1338107853","1338107854","1338107855"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a1784426b3e25b3168ce08d55c6e6a5.jpg","text":"TemporaryFile(/tmp/multipartBody7774799920624963626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757906212,"filename":"image_17022025_03_04_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c887360d3264b98a36c5e575991ec5d8.jpg","text":"TemporaryFile(/tmp/multipartBody4889571628654752196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757906212,"filename":"image_17022025_03_04_14_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/568400662dbcfe3396fdbd876f7b2f4b.jpg","text":"TemporaryFile(/tmp/multipartBody5708233964170144006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757906212,"filename":"image_17022025_03_04_54_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4202c0259c786dd95c772badd67d4425.jpg","text":"TemporaryFile(/tmp/multipartBody5295515883241422214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757906212,"filename":"image_17022025_03_04_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/56edddb0a898b5d650d2b2f83f0651ec.jpg","text":"TemporaryFile(/tmp/multipartBody6619634894504632801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757906212,"filename":"image_17022025_03_04_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/307b4b41cddaea98ab9bafaeee438162.jpg","text":"TemporaryFile(/tmp/multipartBody1945949745245819875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757906212,"filename":"image_17022025_03_04_04_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107852","file1":"1338107851","file0":"1338107850","file4":"1338107854","file5":"1338107855","file3":"1338107853"},"map_files_photo_id_array":[{"photo_id":"1338107855","filename":"file5"},{"photo_id":"1338107852","filename":"file2"},{"photo_id":"1338107854","filename":"file4"},{"photo_id":"1338107851","filename":"file1"},{"photo_id":"1338107850","filename":"file0"},{"photo_id":"1338107853","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107851":["hashtag1","hashtag2"]},{"1338107854":["hashtag1","hashtag2"]},{"1338107850":["hashtag1","hashtag2"]},{"1338107853":["hashtag1","hashtag2"]},{"1338107852":["hashtag1","hashtag2"]},{"1338107855":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107851, 1338107854, 1338107850, 1338107853, 1338107852, 1338107855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45260787010193 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:05:03.131762
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_44_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_33_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_14_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/04/image_17022025_03_05_04_9772.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_54_9770.jpg', '/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_44_10781.jpg', '/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_33_9770.jpg', '/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_24_9771.jpg', '/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_14_9772.jpg', '/home/nano/Desktop/images/17022025/03/04/image_17022025_03_05_04_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_54_9770.jpg
/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_44_10781.jpg
/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_33_9770.jpg
/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_24_9771.jpg
/home/nano/Desktop/images/17022025/03/05/image_17022025_03_05_14_9772.jpg
/home/nano/Desktop/images/17022025/03/04/image_17022025_03_05_04_9772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107857","1338107860","1338107856","1338107859","1338107861","1338107858"],"photo_ids_order":["1338107856","1338107857","1338107858","1338107859","1338107860","1338107861"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad7d7b889936e566aff3dc6b9d089d49.jpg","text":"TemporaryFile(/tmp/multipartBody3921587622217839947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757964462,"filename":"image_17022025_03_05_44_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a619afabb8d221604b4afc7dae860b88.jpg","text":"TemporaryFile(/tmp/multipartBody2804572814408206016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757964462,"filename":"image_17022025_03_05_14_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b318c9d77e2e72b764719c8b702eb4a5.jpg","text":"TemporaryFile(/tmp/multipartBody7917425841051301773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757964462,"filename":"image_17022025_03_05_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05056dccefb59422513d802e36ec95c7.jpg","text":"TemporaryFile(/tmp/multipartBody1195121246931017217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757964462,"filename":"image_17022025_03_05_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cac6d35cf2cb939302d531037dd533b1.jpg","text":"TemporaryFile(/tmp/multipartBody2958857575064816522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757964462,"filename":"image_17022025_03_05_04_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1869c62ff0b7918d82babcc9d2c74e10.jpg","text":"TemporaryFile(/tmp/multipartBody8283800825797765631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739757964462,"filename":"image_17022025_03_05_33_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107858","file1":"1338107857","file0":"1338107856","file4":"1338107860","file5":"1338107861","file3":"1338107859"},"map_files_photo_id_array":[{"photo_id":"1338107861","filename":"file5"},{"photo_id":"1338107858","filename":"file2"},{"photo_id":"1338107860","filename":"file4"},{"photo_id":"1338107857","filename":"file1"},{"photo_id":"1338107856","filename":"file0"},{"photo_id":"1338107859","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107857":["hashtag1","hashtag2"]},{"1338107860":["hashtag1","hashtag2"]},{"1338107856":["hashtag1","hashtag2"]},{"1338107859":["hashtag1","hashtag2"]},{"1338107861":["hashtag1","hashtag2"]},{"1338107858":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107857, 1338107860, 1338107856, 1338107859, 1338107861, 1338107858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72177267074585 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:06:02.900561
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_24_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_14_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/03/05/image_17022025_03_06_04_9780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_54_9773.jpg', '/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_44_9771.jpg', '/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_34_9773.jpg', '/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_24_10783.jpg', '/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_14_9789.jpg', '/home/nano/Desktop/images/17022025/03/05/image_17022025_03_06_04_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_54_9773.jpg
/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_44_9771.jpg
/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_34_9773.jpg
/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_24_10783.jpg
/home/nano/Desktop/images/17022025/03/06/image_17022025_03_06_14_9789.jpg
/home/nano/Desktop/images/17022025/03/05/image_17022025_03_06_04_9780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107863","1338107866","1338107862","1338107865","1338107867","1338107864"],"photo_ids_order":["1338107862","1338107863","1338107864","1338107865","1338107866","1338107867"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b26c4f1886177974e1bd7fb0e0550785.jpg","text":"TemporaryFile(/tmp/multipartBody1329361953006867213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758024291,"filename":"image_17022025_03_06_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e377ac732ca62073f3267786b414ba76.jpg","text":"TemporaryFile(/tmp/multipartBody8466774327519083199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758024291,"filename":"image_17022025_03_06_14_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/988a3dae942f2f9a6d8d80dc6780a860.jpg","text":"TemporaryFile(/tmp/multipartBody5900567313186717938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758024291,"filename":"image_17022025_03_06_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b408d24c6c23adcdf8db549aa9e21fa.jpg","text":"TemporaryFile(/tmp/multipartBody2456697511186003486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758024291,"filename":"image_17022025_03_06_24_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be7bbde5a3764a251000b06570ed5cdb.jpg","text":"TemporaryFile(/tmp/multipartBody4983712728500240085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758024291,"filename":"image_17022025_03_06_04_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd09200ca172b675f5e37419762a7296.jpg","text":"TemporaryFile(/tmp/multipartBody4443237935258071872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758024291,"filename":"image_17022025_03_06_34_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107864","file1":"1338107863","file0":"1338107862","file4":"1338107866","file5":"1338107867","file3":"1338107865"},"map_files_photo_id_array":[{"photo_id":"1338107867","filename":"file5"},{"photo_id":"1338107864","filename":"file2"},{"photo_id":"1338107866","filename":"file4"},{"photo_id":"1338107863","filename":"file1"},{"photo_id":"1338107862","filename":"file0"},{"photo_id":"1338107865","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107863":["hashtag1","hashtag2"]},{"1338107866":["hashtag1","hashtag2"]},{"1338107862":["hashtag1","hashtag2"]},{"1338107865":["hashtag1","hashtag2"]},{"1338107867":["hashtag1","hashtag2"]},{"1338107864":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107863, 1338107866, 1338107862, 1338107865, 1338107867, 1338107864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.636762619018555 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:07:03.303588
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_54_10801.jpg', 0), ('/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_44_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_14_10809.jpg', 0), ('/home/nano/Desktop/images/17022025/03/06/image_17022025_03_07_03_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_54_10801.jpg', '/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_44_9776.jpg', '/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_34_9771.jpg', '/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_24_9775.jpg', '/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_14_10809.jpg', '/home/nano/Desktop/images/17022025/03/06/image_17022025_03_07_03_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_54_10801.jpg
/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_44_9776.jpg
/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_34_9771.jpg
/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_24_9775.jpg
/home/nano/Desktop/images/17022025/03/07/image_17022025_03_07_14_10809.jpg
/home/nano/Desktop/images/17022025/03/06/image_17022025_03_07_03_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107872","1338107869","1338107874","1338107868","1338107871","1338107870"],"photo_ids_order":["1338107868","1338107869","1338107870","1338107871","1338107872","1338107874"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/01a821cd9df6cef35cec6a974f6b979b.jpg","text":"TemporaryFile(/tmp/multipartBody8817617403062718395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758084687,"filename":"image_17022025_03_07_14_10809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4ad8fb0f5794cc606d8989eb96ebacb.jpg","text":"TemporaryFile(/tmp/multipartBody1888518220084137355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758084687,"filename":"image_17022025_03_07_44_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed686a6e5152faeb10e728cd5fa591f2.jpg","text":"TemporaryFile(/tmp/multipartBody7128586872411275867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758084687,"filename":"image_17022025_03_07_03_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87de71c784cf9fc5c68c80b67ea53104.jpg","text":"TemporaryFile(/tmp/multipartBody5485906685749039376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758084687,"filename":"image_17022025_03_07_54_10801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab12253728e861532a041ea257886938.jpg","text":"TemporaryFile(/tmp/multipartBody5704236405828936577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758084687,"filename":"image_17022025_03_07_24_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b95db941e4275a2f41300205047b20e5.jpg","text":"TemporaryFile(/tmp/multipartBody7642521287255803041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758084687,"filename":"image_17022025_03_07_34_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107870","file1":"1338107869","file0":"1338107868","file4":"1338107872","file5":"1338107874","file3":"1338107871"},"map_files_photo_id_array":[{"photo_id":"1338107874","filename":"file5"},{"photo_id":"1338107870","filename":"file2"},{"photo_id":"1338107872","filename":"file4"},{"photo_id":"1338107869","filename":"file1"},{"photo_id":"1338107868","filename":"file0"},{"photo_id":"1338107871","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107872":["hashtag1","hashtag2"]},{"1338107869":["hashtag1","hashtag2"]},{"1338107874":["hashtag1","hashtag2"]},{"1338107868":["hashtag1","hashtag2"]},{"1338107871":["hashtag1","hashtag2"]},{"1338107870":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107872, 1338107869, 1338107874, 1338107868, 1338107871, 1338107870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.31846046447754 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:08:02.095976
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_44_10788.jpg', 0), ('/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/03/07/image_17022025_03_08_04_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_54_9775.jpg', '/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_44_10788.jpg', '/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_34_9772.jpg', '/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_24_9773.jpg', '/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_14_9777.jpg', '/home/nano/Desktop/images/17022025/03/07/image_17022025_03_08_04_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_54_9775.jpg
/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_44_10788.jpg
/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_34_9772.jpg
/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_24_9773.jpg
/home/nano/Desktop/images/17022025/03/08/image_17022025_03_08_14_9777.jpg
/home/nano/Desktop/images/17022025/03/07/image_17022025_03_08_04_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107878","1338107880","1338107877","1338107879","1338107876","1338107875"],"photo_ids_order":["1338107875","1338107876","1338107877","1338107878","1338107879","1338107880"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e2b9af2c87dc02f8c2705efff9e7a66f.jpg","text":"TemporaryFile(/tmp/multipartBody7566133498391263595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758143419,"filename":"image_17022025_03_08_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a82a7bbc8d4c7c96581e3474acbc88f.jpg","text":"TemporaryFile(/tmp/multipartBody7891035673774576264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758143419,"filename":"image_17022025_03_08_04_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9cbc8a862466c68c9b0d1a62565e2ed0.jpg","text":"TemporaryFile(/tmp/multipartBody8749989873660256269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758143419,"filename":"image_17022025_03_08_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5154001ecf0c969a7fef3a557a9b49dd.jpg","text":"TemporaryFile(/tmp/multipartBody5163732691150394107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758143419,"filename":"image_17022025_03_08_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17440792da4962cefc07b9f9e3ea6db7.jpg","text":"TemporaryFile(/tmp/multipartBody5075327334352468935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758143419,"filename":"image_17022025_03_08_44_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05eeeae294da1f9901e40e042130c8a8.jpg","text":"TemporaryFile(/tmp/multipartBody2130336237051960780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758143419,"filename":"image_17022025_03_08_54_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107877","file1":"1338107876","file0":"1338107875","file4":"1338107879","file5":"1338107880","file3":"1338107878"},"map_files_photo_id_array":[{"photo_id":"1338107880","filename":"file5"},{"photo_id":"1338107877","filename":"file2"},{"photo_id":"1338107879","filename":"file4"},{"photo_id":"1338107876","filename":"file1"},{"photo_id":"1338107875","filename":"file0"},{"photo_id":"1338107878","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107878":["hashtag1","hashtag2"]},{"1338107880":["hashtag1","hashtag2"]},{"1338107877":["hashtag1","hashtag2"]},{"1338107879":["hashtag1","hashtag2"]},{"1338107876":["hashtag1","hashtag2"]},{"1338107875":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107878, 1338107880, 1338107877, 1338107879, 1338107876, 1338107875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57455253601074 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:09:02.658234
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_34_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_24_10803.jpg', 0), ('/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_14_9782.jpg', 0), ('/home/nano/Desktop/images/17022025/03/08/image_17022025_03_09_04_9785.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_54_9775.jpg', '/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_44_9774.jpg', '/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_34_9776.jpg', '/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_24_10803.jpg', '/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_14_9782.jpg', '/home/nano/Desktop/images/17022025/03/08/image_17022025_03_09_04_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_54_9775.jpg
/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_44_9774.jpg
/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_34_9776.jpg
/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_24_10803.jpg
/home/nano/Desktop/images/17022025/03/09/image_17022025_03_09_14_9782.jpg
/home/nano/Desktop/images/17022025/03/08/image_17022025_03_09_04_9785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107884","1338107886","1338107883","1338107885","1338107882","1338107881"],"photo_ids_order":["1338107881","1338107882","1338107883","1338107884","1338107885","1338107886"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58c99d5893287c3ca1816a08d67bd8bf.jpg","text":"TemporaryFile(/tmp/multipartBody7122790688405508389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758204109,"filename":"image_17022025_03_09_24_10803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07eccff9408239216e67070b474ed0a7.jpg","text":"TemporaryFile(/tmp/multipartBody2116769970904581659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758204109,"filename":"image_17022025_03_09_04_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5566f2643cca283f1fad327db916a31d.jpg","text":"TemporaryFile(/tmp/multipartBody5816466572994277825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758204109,"filename":"image_17022025_03_09_34_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5382cc38cd99dadedcdda5044ecccfa3.jpg","text":"TemporaryFile(/tmp/multipartBody1255864498636765953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758204109,"filename":"image_17022025_03_09_14_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f82ea2463303c59f75b8d75d43b4215f.jpg","text":"TemporaryFile(/tmp/multipartBody5417525774686382887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758204109,"filename":"image_17022025_03_09_44_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e2bc3fb67ef8fe0b8ad4c4500ad302ca.jpg","text":"TemporaryFile(/tmp/multipartBody9007710949656776640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758204109,"filename":"image_17022025_03_09_54_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107883","file1":"1338107882","file0":"1338107881","file4":"1338107885","file5":"1338107886","file3":"1338107884"},"map_files_photo_id_array":[{"photo_id":"1338107886","filename":"file5"},{"photo_id":"1338107883","filename":"file2"},{"photo_id":"1338107885","filename":"file4"},{"photo_id":"1338107882","filename":"file1"},{"photo_id":"1338107881","filename":"file0"},{"photo_id":"1338107884","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107884":["hashtag1","hashtag2"]},{"1338107886":["hashtag1","hashtag2"]},{"1338107883":["hashtag1","hashtag2"]},{"1338107885":["hashtag1","hashtag2"]},{"1338107882":["hashtag1","hashtag2"]},{"1338107881":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107884, 1338107886, 1338107883, 1338107885, 1338107882, 1338107881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.963988304138184 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:10:02.372055
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_54_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_24_9796.jpg', 0), ('/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_14_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/03/09/image_17022025_03_10_04_9774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_54_10780.jpg', '/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_44_9775.jpg', '/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_34_9771.jpg', '/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_24_9796.jpg', '/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_14_10786.jpg', '/home/nano/Desktop/images/17022025/03/09/image_17022025_03_10_04_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_54_10780.jpg
/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_44_9775.jpg
/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_34_9771.jpg
/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_24_9796.jpg
/home/nano/Desktop/images/17022025/03/10/image_17022025_03_10_14_10786.jpg
/home/nano/Desktop/images/17022025/03/09/image_17022025_03_10_04_9774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107890","1338107887","1338107892","1338107889","1338107891","1338107888"],"photo_ids_order":["1338107887","1338107888","1338107889","1338107890","1338107891","1338107892"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b21939c09f6c4694ddae89b8748f9a8.jpg","text":"TemporaryFile(/tmp/multipartBody7783608530277109464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758264802,"filename":"image_17022025_03_10_24_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af52fa90da4ca7ff08a6d4ee10a56010.jpg","text":"TemporaryFile(/tmp/multipartBody8674448299492719218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758264802,"filename":"image_17022025_03_10_54_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/833f29ca951403703c37763859252a89.jpg","text":"TemporaryFile(/tmp/multipartBody60505825149798400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758264802,"filename":"image_17022025_03_10_04_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9cbb61b2342d1684ebf6cc49e10f118a.jpg","text":"TemporaryFile(/tmp/multipartBody4468961627213468031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758264802,"filename":"image_17022025_03_10_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0508a193630272e45ae910b5c26da4ed.jpg","text":"TemporaryFile(/tmp/multipartBody1455982290752997489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758264802,"filename":"image_17022025_03_10_14_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/18fe79793440fe0ced0216d0f9be33ec.jpg","text":"TemporaryFile(/tmp/multipartBody338316368954848072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758264802,"filename":"image_17022025_03_10_44_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107889","file1":"1338107888","file0":"1338107887","file4":"1338107891","file5":"1338107892","file3":"1338107890"},"map_files_photo_id_array":[{"photo_id":"1338107892","filename":"file5"},{"photo_id":"1338107889","filename":"file2"},{"photo_id":"1338107891","filename":"file4"},{"photo_id":"1338107888","filename":"file1"},{"photo_id":"1338107887","filename":"file0"},{"photo_id":"1338107890","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107890":["hashtag1","hashtag2"]},{"1338107887":["hashtag1","hashtag2"]},{"1338107892":["hashtag1","hashtag2"]},{"1338107889":["hashtag1","hashtag2"]},{"1338107891":["hashtag1","hashtag2"]},{"1338107888":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107890, 1338107887, 1338107892, 1338107889, 1338107891, 1338107888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.937519073486328 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:11:02.627604
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_44_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_24_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_14_9780.jpg', 0), ('/home/nano/Desktop/images/17022025/03/10/image_17022025_03_11_04_9784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_54_9771.jpg', '/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_44_10783.jpg', '/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_34_9773.jpg', '/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_24_9791.jpg', '/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_14_9780.jpg', '/home/nano/Desktop/images/17022025/03/10/image_17022025_03_11_04_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_54_9771.jpg
/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_44_10783.jpg
/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_34_9773.jpg
/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_24_9791.jpg
/home/nano/Desktop/images/17022025/03/11/image_17022025_03_11_14_9780.jpg
/home/nano/Desktop/images/17022025/03/10/image_17022025_03_11_04_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107895","1338107898","1338107897","1338107894","1338107893","1338107896"],"photo_ids_order":["1338107893","1338107894","1338107895","1338107896","1338107897","1338107898"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/29ee95d2aa8237433a23b6b3f97a68b6.jpg","text":"TemporaryFile(/tmp/multipartBody7867171291834335813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758323932,"filename":"image_17022025_03_11_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e0f059781f9f78302ad1a16820741ae3.jpg","text":"TemporaryFile(/tmp/multipartBody9168135993371002252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758323932,"filename":"image_17022025_03_11_04_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5cba3f14ad2472fc546fb019d580b991.jpg","text":"TemporaryFile(/tmp/multipartBody964680802744413225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758323932,"filename":"image_17022025_03_11_14_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/443010e32fdf4aaad67aa42d787cb22b.jpg","text":"TemporaryFile(/tmp/multipartBody5471348585809020579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758323932,"filename":"image_17022025_03_11_44_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/adc30df15a8dd7edde6cbfeff1d233af.jpg","text":"TemporaryFile(/tmp/multipartBody7323869340118916256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758323932,"filename":"image_17022025_03_11_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12c8d77d9744625b55919a7456a2476f.jpg","text":"TemporaryFile(/tmp/multipartBody5370999638954354590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758323932,"filename":"image_17022025_03_11_24_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107895","file1":"1338107894","file0":"1338107893","file4":"1338107897","file5":"1338107898","file3":"1338107896"},"map_files_photo_id_array":[{"photo_id":"1338107898","filename":"file5"},{"photo_id":"1338107895","filename":"file2"},{"photo_id":"1338107897","filename":"file4"},{"photo_id":"1338107894","filename":"file1"},{"photo_id":"1338107893","filename":"file0"},{"photo_id":"1338107896","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107895":["hashtag1","hashtag2"]},{"1338107898":["hashtag1","hashtag2"]},{"1338107897":["hashtag1","hashtag2"]},{"1338107894":["hashtag1","hashtag2"]},{"1338107893":["hashtag1","hashtag2"]},{"1338107896":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107895, 1338107898, 1338107897, 1338107894, 1338107893, 1338107896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.769113779067993 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:12:02.572129
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_34_10800.jpg', 0), ('/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_23_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_14_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/11/image_17022025_03_12_04_9788.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_54_9774.jpg', '/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_44_9771.jpg', '/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_34_10800.jpg', '/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_23_9772.jpg', '/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_14_9774.jpg', '/home/nano/Desktop/images/17022025/03/11/image_17022025_03_12_04_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_54_9774.jpg
/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_44_9771.jpg
/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_34_10800.jpg
/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_23_9772.jpg
/home/nano/Desktop/images/17022025/03/12/image_17022025_03_12_14_9774.jpg
/home/nano/Desktop/images/17022025/03/11/image_17022025_03_12_04_9788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107900","1338107899","1338107902","1338107904","1338107901","1338107903"],"photo_ids_order":["1338107899","1338107900","1338107901","1338107902","1338107903","1338107904"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7491c9025c48901145db800cd2b5e6e6.jpg","text":"TemporaryFile(/tmp/multipartBody4458263773061690748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758384032,"filename":"image_17022025_03_12_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df83024423bb75ed1a8cd1b75dd431ec.jpg","text":"TemporaryFile(/tmp/multipartBody3060216002181940895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758384032,"filename":"image_17022025_03_12_54_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cffe49cae7bae7976f91f9aabe929c7b.jpg","text":"TemporaryFile(/tmp/multipartBody6339091705236026545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758384032,"filename":"image_17022025_03_12_23_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8be167ca27a921b09e7ceae48cff76f1.jpg","text":"TemporaryFile(/tmp/multipartBody6563975824525149183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758384032,"filename":"image_17022025_03_12_04_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a014f17a1ad182a1c71cdd55439d7cdc.jpg","text":"TemporaryFile(/tmp/multipartBody5894883418082822438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758384032,"filename":"image_17022025_03_12_34_10800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2cc121b918db9f1c0e38cec28a7d77c3.jpg","text":"TemporaryFile(/tmp/multipartBody5738737441788511001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758384032,"filename":"image_17022025_03_12_14_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107901","file1":"1338107900","file0":"1338107899","file4":"1338107903","file5":"1338107904","file3":"1338107902"},"map_files_photo_id_array":[{"photo_id":"1338107904","filename":"file5"},{"photo_id":"1338107901","filename":"file2"},{"photo_id":"1338107903","filename":"file4"},{"photo_id":"1338107900","filename":"file1"},{"photo_id":"1338107899","filename":"file0"},{"photo_id":"1338107902","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107900":["hashtag1","hashtag2"]},{"1338107899":["hashtag1","hashtag2"]},{"1338107902":["hashtag1","hashtag2"]},{"1338107904":["hashtag1","hashtag2"]},{"1338107901":["hashtag1","hashtag2"]},{"1338107903":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107900, 1338107899, 1338107902, 1338107904, 1338107901, 1338107903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.91618537902832 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:13:02.718786
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_44_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_14_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/03/12/image_17022025_03_13_04_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_54_9770.jpg', '/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_44_9795.jpg', '/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_34_9771.jpg', '/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_24_9773.jpg', '/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_14_10781.jpg', '/home/nano/Desktop/images/17022025/03/12/image_17022025_03_13_04_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_54_9770.jpg
/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_44_9795.jpg
/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_34_9771.jpg
/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_24_9773.jpg
/home/nano/Desktop/images/17022025/03/13/image_17022025_03_13_14_10781.jpg
/home/nano/Desktop/images/17022025/03/12/image_17022025_03_13_04_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107909","1338107908","1338107905","1338107910","1338107907","1338107906"],"photo_ids_order":["1338107905","1338107906","1338107907","1338107908","1338107909","1338107910"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b72420a17e0ed61bf0e77367f573716.jpg","text":"TemporaryFile(/tmp/multipartBody2519509850195842799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758444036,"filename":"image_17022025_03_13_14_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ef632c518850d215981fae003999def4.jpg","text":"TemporaryFile(/tmp/multipartBody3845472571230157465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758444036,"filename":"image_17022025_03_13_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c1dc7d4d402b868f741cd09a40187dc.jpg","text":"TemporaryFile(/tmp/multipartBody1015170683601224958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758444036,"filename":"image_17022025_03_13_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ed0511c6ca67a1e863c2a5e187f53ed.jpg","text":"TemporaryFile(/tmp/multipartBody3907693161192766800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758444036,"filename":"image_17022025_03_13_04_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15e710760d5b401b0dfcb1361c4e119b.jpg","text":"TemporaryFile(/tmp/multipartBody7397768728145393080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758444036,"filename":"image_17022025_03_13_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d54270dea7cd37315e89ae3b43d3004a.jpg","text":"TemporaryFile(/tmp/multipartBody829137101140562533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758444036,"filename":"image_17022025_03_13_44_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107907","file1":"1338107906","file0":"1338107905","file4":"1338107909","file5":"1338107910","file3":"1338107908"},"map_files_photo_id_array":[{"photo_id":"1338107910","filename":"file5"},{"photo_id":"1338107907","filename":"file2"},{"photo_id":"1338107909","filename":"file4"},{"photo_id":"1338107906","filename":"file1"},{"photo_id":"1338107905","filename":"file0"},{"photo_id":"1338107908","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107909":["hashtag1","hashtag2"]},{"1338107908":["hashtag1","hashtag2"]},{"1338107905":["hashtag1","hashtag2"]},{"1338107910":["hashtag1","hashtag2"]},{"1338107907":["hashtag1","hashtag2"]},{"1338107906":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107909, 1338107908, 1338107905, 1338107910, 1338107907, 1338107906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.64515709877014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:14:02.962716
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_44_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_14_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/03/13/image_17022025_03_14_04_10802.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_54_9770.jpg', '/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_44_10779.jpg', '/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_34_9771.jpg', '/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_24_9769.jpg', '/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_14_9776.jpg', '/home/nano/Desktop/images/17022025/03/13/image_17022025_03_14_04_10802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_54_9770.jpg
/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_44_10779.jpg
/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_34_9771.jpg
/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_24_9769.jpg
/home/nano/Desktop/images/17022025/03/14/image_17022025_03_14_14_9776.jpg
/home/nano/Desktop/images/17022025/03/13/image_17022025_03_14_04_10802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107911","1338107914","1338107917","1338107915","1338107918","1338107912"],"photo_ids_order":["1338107911","1338107912","1338107914","1338107915","1338107917","1338107918"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a17c42db03148a8babd75f0c11243d9a.jpg","text":"TemporaryFile(/tmp/multipartBody5460485147264536092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758504631,"filename":"image_17022025_03_14_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d499d0c13aed7926f2be88f8ebeabd0.jpg","text":"TemporaryFile(/tmp/multipartBody7121513198337136931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758504631,"filename":"image_17022025_03_14_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77732755b5297798c0517f7d0211901f.jpg","text":"TemporaryFile(/tmp/multipartBody2898084923504572812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758504631,"filename":"image_17022025_03_14_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aa7ea4bbf53264419ccc73052272083d.jpg","text":"TemporaryFile(/tmp/multipartBody5572911029551927429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758504631,"filename":"image_17022025_03_14_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0af58932659dc86ef458ac8fd1f8f65.jpg","text":"TemporaryFile(/tmp/multipartBody4382352940913476812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758504631,"filename":"image_17022025_03_14_04_10802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/06b4d4339155c42807f5701b51c49634.jpg","text":"TemporaryFile(/tmp/multipartBody5721143210820551911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758504631,"filename":"image_17022025_03_14_44_10779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107914","file1":"1338107912","file0":"1338107911","file4":"1338107917","file5":"1338107918","file3":"1338107915"},"map_files_photo_id_array":[{"photo_id":"1338107918","filename":"file5"},{"photo_id":"1338107914","filename":"file2"},{"photo_id":"1338107917","filename":"file4"},{"photo_id":"1338107912","filename":"file1"},{"photo_id":"1338107911","filename":"file0"},{"photo_id":"1338107915","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107911":["hashtag1","hashtag2"]},{"1338107914":["hashtag1","hashtag2"]},{"1338107917":["hashtag1","hashtag2"]},{"1338107915":["hashtag1","hashtag2"]},{"1338107918":["hashtag1","hashtag2"]},{"1338107912":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107911, 1338107914, 1338107917, 1338107915, 1338107918, 1338107912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39570474624634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:15:03.159042
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_34_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_23_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_14_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/14/image_17022025_03_15_04_9772.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_54_9773.jpg', '/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_44_9771.jpg', '/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_34_10781.jpg', '/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_23_9774.jpg', '/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_14_9774.jpg', '/home/nano/Desktop/images/17022025/03/14/image_17022025_03_15_04_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_54_9773.jpg
/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_44_9771.jpg
/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_34_10781.jpg
/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_23_9774.jpg
/home/nano/Desktop/images/17022025/03/15/image_17022025_03_15_14_9774.jpg
/home/nano/Desktop/images/17022025/03/14/image_17022025_03_15_04_9772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107920","1338107923","1338107922","1338107919","1338107921","1338107924"],"photo_ids_order":["1338107919","1338107920","1338107921","1338107922","1338107923","1338107924"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3090280d4bb5a4f96f7ed188a6168803.jpg","text":"TemporaryFile(/tmp/multipartBody7296612907235990221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758564519,"filename":"image_17022025_03_15_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3e633d63950da6a0a8f3665c513b2f8.jpg","text":"TemporaryFile(/tmp/multipartBody7384097267451713012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758564519,"filename":"image_17022025_03_15_14_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d1f563c0dee0e7d92b39dac8911318e.jpg","text":"TemporaryFile(/tmp/multipartBody5091741617674011680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758564519,"filename":"image_17022025_03_15_23_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a8a2f69b6b6ce96ef48a89454bd8a42.jpg","text":"TemporaryFile(/tmp/multipartBody7059158243711428363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758564519,"filename":"image_17022025_03_15_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0044d9708eeff818a6b5b557ca5b2795.jpg","text":"TemporaryFile(/tmp/multipartBody8751717271367289182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758564519,"filename":"image_17022025_03_15_34_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d7f1ea5814dcd50312f5abc0dd3cdaae.jpg","text":"TemporaryFile(/tmp/multipartBody4265183693379466520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758564519,"filename":"image_17022025_03_15_04_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107921","file1":"1338107920","file0":"1338107919","file4":"1338107923","file5":"1338107924","file3":"1338107922"},"map_files_photo_id_array":[{"photo_id":"1338107924","filename":"file5"},{"photo_id":"1338107921","filename":"file2"},{"photo_id":"1338107923","filename":"file4"},{"photo_id":"1338107920","filename":"file1"},{"photo_id":"1338107919","filename":"file0"},{"photo_id":"1338107922","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107920":["hashtag1","hashtag2"]},{"1338107923":["hashtag1","hashtag2"]},{"1338107922":["hashtag1","hashtag2"]},{"1338107919":["hashtag1","hashtag2"]},{"1338107921":["hashtag1","hashtag2"]},{"1338107924":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107920, 1338107923, 1338107922, 1338107919, 1338107921, 1338107924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.482123136520386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:16:02.902501
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_53_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_14_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/03/15/image_17022025_03_16_04_9782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_53_9775.jpg', '/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_44_9775.jpg', '/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_34_9772.jpg', '/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_24_9775.jpg', '/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_14_10784.jpg', '/home/nano/Desktop/images/17022025/03/15/image_17022025_03_16_04_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_53_9775.jpg
/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_44_9775.jpg
/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_34_9772.jpg
/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_24_9775.jpg
/home/nano/Desktop/images/17022025/03/16/image_17022025_03_16_14_10784.jpg
/home/nano/Desktop/images/17022025/03/15/image_17022025_03_16_04_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107926","1338107929","1338107925","1338107928","1338107930","1338107927"],"photo_ids_order":["1338107925","1338107926","1338107927","1338107928","1338107929","1338107930"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1427b1345e47c210aa400a4756bc22c8.jpg","text":"TemporaryFile(/tmp/multipartBody842849561528301660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758624313,"filename":"image_17022025_03_16_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2b63516ee12b936620b3ec838e8780e.jpg","text":"TemporaryFile(/tmp/multipartBody5089067020378450183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758624313,"filename":"image_17022025_03_16_14_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f82dffa30fbd23b346f64d57e6893ab.jpg","text":"TemporaryFile(/tmp/multipartBody1463016544871932801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758624313,"filename":"image_17022025_03_16_53_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc04aee55c7cd6abc951db5a4dcfff4a.jpg","text":"TemporaryFile(/tmp/multipartBody5857757986280786252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758624313,"filename":"image_17022025_03_16_24_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad44186e38fe1ee4899f4509b7df30d0.jpg","text":"TemporaryFile(/tmp/multipartBody6479107615421392799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758624313,"filename":"image_17022025_03_16_04_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c54039326cea734694f2da80c7a4a7db.jpg","text":"TemporaryFile(/tmp/multipartBody2809489553353339810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758624313,"filename":"image_17022025_03_16_34_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107927","file1":"1338107926","file0":"1338107925","file4":"1338107929","file5":"1338107930","file3":"1338107928"},"map_files_photo_id_array":[{"photo_id":"1338107930","filename":"file5"},{"photo_id":"1338107927","filename":"file2"},{"photo_id":"1338107929","filename":"file4"},{"photo_id":"1338107926","filename":"file1"},{"photo_id":"1338107925","filename":"file0"},{"photo_id":"1338107928","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107926":["hashtag1","hashtag2"]},{"1338107929":["hashtag1","hashtag2"]},{"1338107925":["hashtag1","hashtag2"]},{"1338107928":["hashtag1","hashtag2"]},{"1338107930":["hashtag1","hashtag2"]},{"1338107927":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107926, 1338107929, 1338107925, 1338107928, 1338107930, 1338107927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83415746688843 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:17:02.312036
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_44_10802.jpg', 0), ('/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_34_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_24_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_14_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/03/16/image_17022025_03_17_04_10792.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_54_9773.jpg', '/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_44_10802.jpg', '/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_34_9795.jpg', '/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_24_9770.jpg', '/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_14_9779.jpg', '/home/nano/Desktop/images/17022025/03/16/image_17022025_03_17_04_10792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_54_9773.jpg
/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_44_10802.jpg
/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_34_9795.jpg
/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_24_9770.jpg
/home/nano/Desktop/images/17022025/03/17/image_17022025_03_17_14_9779.jpg
/home/nano/Desktop/images/17022025/03/16/image_17022025_03_17_04_10792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107932","1338107935","1338107931","1338107934","1338107933","1338107936"],"photo_ids_order":["1338107931","1338107932","1338107933","1338107934","1338107935","1338107936"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f7df085fda9e01a283ec34ffb7e53b1.jpg","text":"TemporaryFile(/tmp/multipartBody5315549922187641287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758683703,"filename":"image_17022025_03_17_44_10802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d41ad90eba8fc550af24eb6ea87bc098.jpg","text":"TemporaryFile(/tmp/multipartBody2799790377179842281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758683703,"filename":"image_17022025_03_17_14_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d123eecb6c21c675a0675357fd9a2bd.jpg","text":"TemporaryFile(/tmp/multipartBody7170833474428237318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758683703,"filename":"image_17022025_03_17_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3a5fd20a0b4469591dca20269970558.jpg","text":"TemporaryFile(/tmp/multipartBody6817955377268792572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758683703,"filename":"image_17022025_03_17_24_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba375c81ea2a6f052e19258d1a849e29.jpg","text":"TemporaryFile(/tmp/multipartBody7161045021380251741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758683703,"filename":"image_17022025_03_17_34_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c22f181e03c718b41ff4f155470cabf.jpg","text":"TemporaryFile(/tmp/multipartBody8401847045037780890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758683703,"filename":"image_17022025_03_17_04_10792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107933","file1":"1338107932","file0":"1338107931","file4":"1338107935","file5":"1338107936","file3":"1338107934"},"map_files_photo_id_array":[{"photo_id":"1338107936","filename":"file5"},{"photo_id":"1338107933","filename":"file2"},{"photo_id":"1338107935","filename":"file4"},{"photo_id":"1338107932","filename":"file1"},{"photo_id":"1338107931","filename":"file0"},{"photo_id":"1338107934","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107932":["hashtag1","hashtag2"]},{"1338107935":["hashtag1","hashtag2"]},{"1338107931":["hashtag1","hashtag2"]},{"1338107934":["hashtag1","hashtag2"]},{"1338107933":["hashtag1","hashtag2"]},{"1338107936":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107932, 1338107935, 1338107931, 1338107934, 1338107933, 1338107936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.02908229827881 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:18:02.162876
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_34_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_14_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/03/17/image_17022025_03_18_04_9777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_54_9775.jpg', '/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_44_9772.jpg', '/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_34_10782.jpg', '/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_24_9774.jpg', '/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_14_9776.jpg', '/home/nano/Desktop/images/17022025/03/17/image_17022025_03_18_04_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_54_9775.jpg
/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_44_9772.jpg
/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_34_10782.jpg
/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_24_9774.jpg
/home/nano/Desktop/images/17022025/03/18/image_17022025_03_18_14_9776.jpg
/home/nano/Desktop/images/17022025/03/17/image_17022025_03_18_04_9777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107938","1338107941","1338107940","1338107937","1338107942","1338107939"],"photo_ids_order":["1338107937","1338107938","1338107939","1338107940","1338107941","1338107942"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/307e89a8cad909aaed8d890c657246b7.jpg","text":"TemporaryFile(/tmp/multipartBody3736691680181784714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758743696,"filename":"image_17022025_03_18_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3986d903d326e6b2381a6df216b8cbcf.jpg","text":"TemporaryFile(/tmp/multipartBody2408016754112243564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758743696,"filename":"image_17022025_03_18_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f3c40adcff3630dc93231190d7668e5.jpg","text":"TemporaryFile(/tmp/multipartBody4070788659750007738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758743696,"filename":"image_17022025_03_18_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/323799f9e5c68e36d1c3a7849d3b5e29.jpg","text":"TemporaryFile(/tmp/multipartBody5731034744099830828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758743696,"filename":"image_17022025_03_18_54_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5aaf82f879c8e3492c9100d92f742a02.jpg","text":"TemporaryFile(/tmp/multipartBody7427071662542489019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758743696,"filename":"image_17022025_03_18_04_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d31dfe98ab3b88b982dc8db54f58b4f.jpg","text":"TemporaryFile(/tmp/multipartBody7172418009170381798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758743696,"filename":"image_17022025_03_18_34_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107939","file1":"1338107938","file0":"1338107937","file4":"1338107941","file5":"1338107942","file3":"1338107940"},"map_files_photo_id_array":[{"photo_id":"1338107942","filename":"file5"},{"photo_id":"1338107939","filename":"file2"},{"photo_id":"1338107941","filename":"file4"},{"photo_id":"1338107938","filename":"file1"},{"photo_id":"1338107937","filename":"file0"},{"photo_id":"1338107940","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107938":["hashtag1","hashtag2"]},{"1338107941":["hashtag1","hashtag2"]},{"1338107940":["hashtag1","hashtag2"]},{"1338107937":["hashtag1","hashtag2"]},{"1338107942":["hashtag1","hashtag2"]},{"1338107939":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107938, 1338107941, 1338107940, 1338107937, 1338107942, 1338107939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.295361042022705 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:19:02.786593
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_14_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/03/18/image_17022025_03_19_04_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_54_9772.jpg', '/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_44_9774.jpg', '/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_34_9772.jpg', '/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_24_9772.jpg', '/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_14_10786.jpg', '/home/nano/Desktop/images/17022025/03/18/image_17022025_03_19_04_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_54_9772.jpg
/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_44_9774.jpg
/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_34_9772.jpg
/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_24_9772.jpg
/home/nano/Desktop/images/17022025/03/19/image_17022025_03_19_14_10786.jpg
/home/nano/Desktop/images/17022025/03/18/image_17022025_03_19_04_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107944","1338107947","1338107943","1338107946","1338107948","1338107945"],"photo_ids_order":["1338107943","1338107944","1338107945","1338107946","1338107947","1338107948"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/884087e6d8c128e1267afea048213c09.jpg","text":"TemporaryFile(/tmp/multipartBody3617566262839864887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758804199,"filename":"image_17022025_03_19_44_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12747480d4e14e836e1c405d25d7c813.jpg","text":"TemporaryFile(/tmp/multipartBody6031519632255759455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758804199,"filename":"image_17022025_03_19_14_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aa54ce3b3446cc8ffcddd3f050da99d6.jpg","text":"TemporaryFile(/tmp/multipartBody7051225740637157134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758804199,"filename":"image_17022025_03_19_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ee04dabeb4e21673eea7b1f79f5601e.jpg","text":"TemporaryFile(/tmp/multipartBody6964946905193544738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758804199,"filename":"image_17022025_03_19_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c331371ef35152615ac4c0615d792f58.jpg","text":"TemporaryFile(/tmp/multipartBody5783403720683060978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758804199,"filename":"image_17022025_03_19_04_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2eadb37dc537575bdefe29749c8c2749.jpg","text":"TemporaryFile(/tmp/multipartBody7200178727441167480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758804199,"filename":"image_17022025_03_19_34_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107945","file1":"1338107944","file0":"1338107943","file4":"1338107947","file5":"1338107948","file3":"1338107946"},"map_files_photo_id_array":[{"photo_id":"1338107948","filename":"file5"},{"photo_id":"1338107945","filename":"file2"},{"photo_id":"1338107947","filename":"file4"},{"photo_id":"1338107944","filename":"file1"},{"photo_id":"1338107943","filename":"file0"},{"photo_id":"1338107946","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107944":["hashtag1","hashtag2"]},{"1338107947":["hashtag1","hashtag2"]},{"1338107943":["hashtag1","hashtag2"]},{"1338107946":["hashtag1","hashtag2"]},{"1338107948":["hashtag1","hashtag2"]},{"1338107945":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107944, 1338107947, 1338107943, 1338107946, 1338107948, 1338107945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85486030578613 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:20:02.360202
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_54_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_44_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_14_9797.jpg', 0), ('/home/nano/Desktop/images/17022025/03/19/image_17022025_03_20_04_10796.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_54_9768.jpg', '/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_44_10779.jpg', '/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_34_9773.jpg', '/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_24_9772.jpg', '/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_14_9797.jpg', '/home/nano/Desktop/images/17022025/03/19/image_17022025_03_20_04_10796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_54_9768.jpg
/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_44_10779.jpg
/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_34_9773.jpg
/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_24_9772.jpg
/home/nano/Desktop/images/17022025/03/20/image_17022025_03_20_14_9797.jpg
/home/nano/Desktop/images/17022025/03/19/image_17022025_03_20_04_10796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107950","1338107953","1338107955","1338107949","1338107952","1338107951"],"photo_ids_order":["1338107949","1338107950","1338107951","1338107952","1338107953","1338107955"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d21e16b2184ab9f3f7b0df5d994efdf7.jpg","text":"TemporaryFile(/tmp/multipartBody5467021115303263099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758863977,"filename":"image_17022025_03_20_44_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/96439679f112606313002a123a17ddb3.jpg","text":"TemporaryFile(/tmp/multipartBody4927239050344569290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758863977,"filename":"image_17022025_03_20_14_9797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/63bc00902c9c5d071b0424cf6a9234df.jpg","text":"TemporaryFile(/tmp/multipartBody2538099995168854901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758863977,"filename":"image_17022025_03_20_04_10796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53131aab33c688ea7b2c2d487fb829c2.jpg","text":"TemporaryFile(/tmp/multipartBody5129765988572581175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758863977,"filename":"image_17022025_03_20_54_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f83632da7f360823e092ffa086be789b.jpg","text":"TemporaryFile(/tmp/multipartBody6848480949248804548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758863977,"filename":"image_17022025_03_20_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76ada1bf2362db723dab092615d67aca.jpg","text":"TemporaryFile(/tmp/multipartBody3439519706678806462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758863977,"filename":"image_17022025_03_20_34_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107951","file1":"1338107950","file0":"1338107949","file4":"1338107953","file5":"1338107955","file3":"1338107952"},"map_files_photo_id_array":[{"photo_id":"1338107955","filename":"file5"},{"photo_id":"1338107951","filename":"file2"},{"photo_id":"1338107953","filename":"file4"},{"photo_id":"1338107950","filename":"file1"},{"photo_id":"1338107949","filename":"file0"},{"photo_id":"1338107952","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107950":["hashtag1","hashtag2"]},{"1338107953":["hashtag1","hashtag2"]},{"1338107955":["hashtag1","hashtag2"]},{"1338107949":["hashtag1","hashtag2"]},{"1338107952":["hashtag1","hashtag2"]},{"1338107951":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107950, 1338107953, 1338107955, 1338107949, 1338107952, 1338107951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.787003993988037 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:21:02.621495
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_54_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_44_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_34_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_14_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/03/20/image_17022025_03_21_04_9777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_54_9769.jpg', '/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_44_9768.jpg', '/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_34_10780.jpg', '/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_24_9772.jpg', '/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_14_9791.jpg', '/home/nano/Desktop/images/17022025/03/20/image_17022025_03_21_04_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_54_9769.jpg
/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_44_9768.jpg
/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_34_10780.jpg
/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_24_9772.jpg
/home/nano/Desktop/images/17022025/03/21/image_17022025_03_21_14_9791.jpg
/home/nano/Desktop/images/17022025/03/20/image_17022025_03_21_04_9777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107956","1338107959","1338107961","1338107958","1338107960","1338107957"],"photo_ids_order":["1338107956","1338107957","1338107958","1338107959","1338107960","1338107961"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/082246a3e2c106d86b8f54409bd81705.jpg","text":"TemporaryFile(/tmp/multipartBody6562592635669996715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758923914,"filename":"image_17022025_03_21_54_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab76b8cec97d06ab81fd6328f353c8c5.jpg","text":"TemporaryFile(/tmp/multipartBody6670368085962321900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758923914,"filename":"image_17022025_03_21_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df0a7143f384004a094dc311c462b16f.jpg","text":"TemporaryFile(/tmp/multipartBody4949781459954358101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758923914,"filename":"image_17022025_03_21_04_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e555cf5ed9b02d4d1d8d47494d896b9.jpg","text":"TemporaryFile(/tmp/multipartBody8280506186222192708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758923914,"filename":"image_17022025_03_21_34_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ccab16fe5537f4e286e3a04c96745c36.jpg","text":"TemporaryFile(/tmp/multipartBody8995634250299795099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758923914,"filename":"image_17022025_03_21_14_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6beac232153aa30528dd60440214b3a0.jpg","text":"TemporaryFile(/tmp/multipartBody7065802336037412675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758923914,"filename":"image_17022025_03_21_44_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107958","file1":"1338107957","file0":"1338107956","file4":"1338107960","file5":"1338107961","file3":"1338107959"},"map_files_photo_id_array":[{"photo_id":"1338107961","filename":"file5"},{"photo_id":"1338107958","filename":"file2"},{"photo_id":"1338107960","filename":"file4"},{"photo_id":"1338107957","filename":"file1"},{"photo_id":"1338107956","filename":"file0"},{"photo_id":"1338107959","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107956":["hashtag1","hashtag2"]},{"1338107959":["hashtag1","hashtag2"]},{"1338107961":["hashtag1","hashtag2"]},{"1338107958":["hashtag1","hashtag2"]},{"1338107960":["hashtag1","hashtag2"]},{"1338107957":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107956, 1338107959, 1338107961, 1338107958, 1338107960, 1338107957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.79926109313965 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:22:02.622797
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_24_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_14_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/03/21/image_17022025_03_22_04_9767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_54_9771.jpg', '/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_44_9773.jpg', '/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_34_9770.jpg', '/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_24_9791.jpg', '/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_14_10783.jpg', '/home/nano/Desktop/images/17022025/03/21/image_17022025_03_22_04_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_54_9771.jpg
/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_44_9773.jpg
/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_34_9770.jpg
/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_24_9791.jpg
/home/nano/Desktop/images/17022025/03/22/image_17022025_03_22_14_10783.jpg
/home/nano/Desktop/images/17022025/03/21/image_17022025_03_22_04_9767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107962","1338107965","1338107967","1338107964","1338107966","1338107963"],"photo_ids_order":["1338107962","1338107963","1338107964","1338107965","1338107966","1338107967"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59f12635806bb43ba2933d75d6b309a7.jpg","text":"TemporaryFile(/tmp/multipartBody7021888456369333978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758984046,"filename":"image_17022025_03_22_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a750a5f173d0fdb9e4589d584b34da2.jpg","text":"TemporaryFile(/tmp/multipartBody3630026584696723395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758984046,"filename":"image_17022025_03_22_24_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/daf940f64d9e7dab940f08074e27c044.jpg","text":"TemporaryFile(/tmp/multipartBody2514385657714681551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758984046,"filename":"image_17022025_03_22_04_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/482b36f9e907910a5795f4e2f116796a.jpg","text":"TemporaryFile(/tmp/multipartBody7726291364263944924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758984046,"filename":"image_17022025_03_22_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/95662c65f20476f2fa12f1f7ed0e927e.jpg","text":"TemporaryFile(/tmp/multipartBody7908396366022882748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758984046,"filename":"image_17022025_03_22_14_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f94a99ec7401f3f89d1f50ad7de429d.jpg","text":"TemporaryFile(/tmp/multipartBody1376898249942205470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739758984046,"filename":"image_17022025_03_22_44_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107964","file1":"1338107963","file0":"1338107962","file4":"1338107966","file5":"1338107967","file3":"1338107965"},"map_files_photo_id_array":[{"photo_id":"1338107967","filename":"file5"},{"photo_id":"1338107964","filename":"file2"},{"photo_id":"1338107966","filename":"file4"},{"photo_id":"1338107963","filename":"file1"},{"photo_id":"1338107962","filename":"file0"},{"photo_id":"1338107965","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107962":["hashtag1","hashtag2"]},{"1338107965":["hashtag1","hashtag2"]},{"1338107967":["hashtag1","hashtag2"]},{"1338107964":["hashtag1","hashtag2"]},{"1338107966":["hashtag1","hashtag2"]},{"1338107963":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107962, 1338107965, 1338107967, 1338107964, 1338107966, 1338107963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.802047967910767 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:23:02.785847
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_44_10797.jpg', 0), ('/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_34_9792.jpg', 0), ('/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_14_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/22/image_17022025_03_23_04_10793.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_54_9771.jpg', '/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_44_10797.jpg', '/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_34_9792.jpg', '/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_24_9771.jpg', '/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_14_9774.jpg', '/home/nano/Desktop/images/17022025/03/22/image_17022025_03_23_04_10793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_54_9771.jpg
/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_44_10797.jpg
/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_34_9792.jpg
/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_24_9771.jpg
/home/nano/Desktop/images/17022025/03/23/image_17022025_03_23_14_9774.jpg
/home/nano/Desktop/images/17022025/03/22/image_17022025_03_23_04_10793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107971","1338107968","1338107973","1338107970","1338107972","1338107969"],"photo_ids_order":["1338107968","1338107969","1338107970","1338107971","1338107972","1338107973"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81d442610c9a5f0165ec167285265cd9.jpg","text":"TemporaryFile(/tmp/multipartBody3704343734715571109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759044707,"filename":"image_17022025_03_23_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d3c842d9f6e96c3071a8e1b94427f6e.jpg","text":"TemporaryFile(/tmp/multipartBody8286058516668758159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759044707,"filename":"image_17022025_03_23_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8a329026568129bb2700c9780b27fd9.jpg","text":"TemporaryFile(/tmp/multipartBody871074848556188167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759044707,"filename":"image_17022025_03_23_04_10793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de0c183c867fbbef29a1da15ff34e623.jpg","text":"TemporaryFile(/tmp/multipartBody6122819756246366090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759044707,"filename":"image_17022025_03_23_34_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7cea99f93512150117a48e5aa20e8d68.jpg","text":"TemporaryFile(/tmp/multipartBody8283644135973669295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759044707,"filename":"image_17022025_03_23_14_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b6c0e5ae4304ad2b8b69bf15f42a8e42.jpg","text":"TemporaryFile(/tmp/multipartBody787091279339311735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759044707,"filename":"image_17022025_03_23_44_10797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107970","file1":"1338107969","file0":"1338107968","file4":"1338107972","file5":"1338107973","file3":"1338107971"},"map_files_photo_id_array":[{"photo_id":"1338107973","filename":"file5"},{"photo_id":"1338107970","filename":"file2"},{"photo_id":"1338107972","filename":"file4"},{"photo_id":"1338107969","filename":"file1"},{"photo_id":"1338107968","filename":"file0"},{"photo_id":"1338107971","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107971":["hashtag1","hashtag2"]},{"1338107968":["hashtag1","hashtag2"]},{"1338107973":["hashtag1","hashtag2"]},{"1338107970":["hashtag1","hashtag2"]},{"1338107972":["hashtag1","hashtag2"]},{"1338107969":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107971, 1338107968, 1338107973, 1338107970, 1338107972, 1338107969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.93245768547058 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:24:03.006567
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_44_9785.jpg', 0), ('/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_34_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_24_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_14_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/23/image_17022025_03_24_04_9770.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_54_9773.jpg', '/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_44_9785.jpg', '/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_34_10782.jpg', '/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_24_9770.jpg', '/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_14_9768.jpg', '/home/nano/Desktop/images/17022025/03/23/image_17022025_03_24_04_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_54_9773.jpg
/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_44_9785.jpg
/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_34_10782.jpg
/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_24_9770.jpg
/home/nano/Desktop/images/17022025/03/24/image_17022025_03_24_14_9768.jpg
/home/nano/Desktop/images/17022025/03/23/image_17022025_03_24_04_9770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107977","1338107976","1338107979","1338107978","1338107975","1338107974"],"photo_ids_order":["1338107974","1338107975","1338107976","1338107977","1338107978","1338107979"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1503ccc4ad394b1fd3396870c8caeeb5.jpg","text":"TemporaryFile(/tmp/multipartBody8254358456602929808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759111604,"filename":"image_17022025_03_24_24_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/27715967492b75ed222b97492fdc525c.jpg","text":"TemporaryFile(/tmp/multipartBody2804130541958822862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759111604,"filename":"image_17022025_03_24_34_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/06e7ea0bf7a91d6881d672f6b67eccba.jpg","text":"TemporaryFile(/tmp/multipartBody6654559104430455248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759111604,"filename":"image_17022025_03_24_04_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3446ba4d47c230dcb6d95e6189d17ab.jpg","text":"TemporaryFile(/tmp/multipartBody6585967249448511037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759111604,"filename":"image_17022025_03_24_14_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22beac54e02e0d5adc32b3ee4eebd9f0.jpg","text":"TemporaryFile(/tmp/multipartBody8750091917346136599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759111604,"filename":"image_17022025_03_24_44_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f97a53446bef5c7142c1cde187a02696.jpg","text":"TemporaryFile(/tmp/multipartBody687236711846832802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759111604,"filename":"image_17022025_03_24_54_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107976","file1":"1338107975","file0":"1338107974","file4":"1338107978","file5":"1338107979","file3":"1338107977"},"map_files_photo_id_array":[{"photo_id":"1338107979","filename":"file5"},{"photo_id":"1338107976","filename":"file2"},{"photo_id":"1338107978","filename":"file4"},{"photo_id":"1338107975","filename":"file1"},{"photo_id":"1338107974","filename":"file0"},{"photo_id":"1338107977","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107977":["hashtag1","hashtag2"]},{"1338107976":["hashtag1","hashtag2"]},{"1338107979":["hashtag1","hashtag2"]},{"1338107978":["hashtag1","hashtag2"]},{"1338107975":["hashtag1","hashtag2"]},{"1338107974":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107977, 1338107976, 1338107979, 1338107978, 1338107975, 1338107974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36812162399292 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:25:03.152274
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_44_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_34_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_14_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/03/24/image_17022025_03_25_04_9779.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_54_9770.jpg', '/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_44_9770.jpg', '/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_34_9769.jpg', '/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_24_9772.jpg', '/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_14_10780.jpg', '/home/nano/Desktop/images/17022025/03/24/image_17022025_03_25_04_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_54_9770.jpg
/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_44_9770.jpg
/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_34_9769.jpg
/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_24_9772.jpg
/home/nano/Desktop/images/17022025/03/25/image_17022025_03_25_14_10780.jpg
/home/nano/Desktop/images/17022025/03/24/image_17022025_03_25_04_9779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107983","1338107985","1338107982","1338107984","1338107981","1338107980"],"photo_ids_order":["1338107980","1338107981","1338107982","1338107983","1338107984","1338107985"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b64d2dde3c8a88a29e0f3ecb3204737.jpg","text":"TemporaryFile(/tmp/multipartBody2182517813747601200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759165828,"filename":"image_17022025_03_25_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9fc992e293341c814e833cc7dad46977.jpg","text":"TemporaryFile(/tmp/multipartBody7418655701604515759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759165828,"filename":"image_17022025_03_25_04_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec851abd8c15b2d85554114d78a6cebf.jpg","text":"TemporaryFile(/tmp/multipartBody5346224797582554590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759165828,"filename":"image_17022025_03_25_34_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/666a319f3d198a757cc74a3913b47aae.jpg","text":"TemporaryFile(/tmp/multipartBody6737968942117892979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759165828,"filename":"image_17022025_03_25_14_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bcb2a7c5ece4cfe24d00d7ab4d421cec.jpg","text":"TemporaryFile(/tmp/multipartBody1724628496770946606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759165828,"filename":"image_17022025_03_25_44_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d32b609feb032fb9c09797fdfa03f365.jpg","text":"TemporaryFile(/tmp/multipartBody5797254798734932991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759165828,"filename":"image_17022025_03_25_54_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107982","file1":"1338107981","file0":"1338107980","file4":"1338107984","file5":"1338107985","file3":"1338107983"},"map_files_photo_id_array":[{"photo_id":"1338107985","filename":"file5"},{"photo_id":"1338107982","filename":"file2"},{"photo_id":"1338107984","filename":"file4"},{"photo_id":"1338107981","filename":"file1"},{"photo_id":"1338107980","filename":"file0"},{"photo_id":"1338107983","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107983":["hashtag1","hashtag2"]},{"1338107985":["hashtag1","hashtag2"]},{"1338107982":["hashtag1","hashtag2"]},{"1338107984":["hashtag1","hashtag2"]},{"1338107981":["hashtag1","hashtag2"]},{"1338107980":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107983, 1338107985, 1338107982, 1338107984, 1338107981, 1338107980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.776045083999634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:26:02.984416
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_44_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_24_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/25/image_17022025_03_26_04_10784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_54_9771.jpg', '/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_44_10779.jpg', '/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_34_9772.jpg', '/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_24_9768.jpg', '/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_14_9775.jpg', '/home/nano/Desktop/images/17022025/03/25/image_17022025_03_26_04_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_54_9771.jpg
/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_44_10779.jpg
/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_34_9772.jpg
/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_24_9768.jpg
/home/nano/Desktop/images/17022025/03/26/image_17022025_03_26_14_9775.jpg
/home/nano/Desktop/images/17022025/03/25/image_17022025_03_26_04_10784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107986","1338107991","1338107988","1338107990","1338107987","1338107989"],"photo_ids_order":["1338107986","1338107987","1338107988","1338107989","1338107990","1338107991"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7196f545872532ba387aa5a69bc14296.jpg","text":"TemporaryFile(/tmp/multipartBody6531143027171507864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759224382,"filename":"image_17022025_03_26_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07e71c384d39a23fd209cd32760162e1.jpg","text":"TemporaryFile(/tmp/multipartBody2121068536249887673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759224382,"filename":"image_17022025_03_26_04_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb209a24675ead39320d34bfbf425c80.jpg","text":"TemporaryFile(/tmp/multipartBody5804613109120547504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759224382,"filename":"image_17022025_03_26_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f99df00fd4e9533f63d4797240694699.jpg","text":"TemporaryFile(/tmp/multipartBody1656532390835682376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759224382,"filename":"image_17022025_03_26_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/121076a716d99c6696951b181212a557.jpg","text":"TemporaryFile(/tmp/multipartBody6122918478228857772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759224382,"filename":"image_17022025_03_26_44_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d7271b7302f528004c83d8fad5be7d0b.jpg","text":"TemporaryFile(/tmp/multipartBody725226778140389967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759224382,"filename":"image_17022025_03_26_24_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107988","file1":"1338107987","file0":"1338107986","file4":"1338107990","file5":"1338107991","file3":"1338107989"},"map_files_photo_id_array":[{"photo_id":"1338107991","filename":"file5"},{"photo_id":"1338107988","filename":"file2"},{"photo_id":"1338107990","filename":"file4"},{"photo_id":"1338107987","filename":"file1"},{"photo_id":"1338107986","filename":"file0"},{"photo_id":"1338107989","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107986":["hashtag1","hashtag2"]},{"1338107991":["hashtag1","hashtag2"]},{"1338107988":["hashtag1","hashtag2"]},{"1338107990":["hashtag1","hashtag2"]},{"1338107987":["hashtag1","hashtag2"]},{"1338107989":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107986, 1338107991, 1338107988, 1338107990, 1338107987, 1338107989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32293915748596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:27:02.263704
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_34_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_14_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/26/image_17022025_03_27_04_9796.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_54_9773.jpg', '/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_44_9769.jpg', '/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_34_10778.jpg', '/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_24_9774.jpg', '/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_14_9772.jpg', '/home/nano/Desktop/images/17022025/03/26/image_17022025_03_27_04_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_54_9773.jpg
/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_44_9769.jpg
/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_34_10778.jpg
/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_24_9774.jpg
/home/nano/Desktop/images/17022025/03/27/image_17022025_03_27_14_9772.jpg
/home/nano/Desktop/images/17022025/03/26/image_17022025_03_27_04_9796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107994","1338107997","1338107996","1338107993","1338107992","1338107995"],"photo_ids_order":["1338107992","1338107993","1338107994","1338107995","1338107996","1338107997"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/735a46eb061cdb8c0a5b657c290197a7.jpg","text":"TemporaryFile(/tmp/multipartBody9087773294188055623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759284247,"filename":"image_17022025_03_27_34_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f99fef9002d78ae739dc1e01c840258c.jpg","text":"TemporaryFile(/tmp/multipartBody6104574995623902389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759284247,"filename":"image_17022025_03_27_04_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87ca1c95e8c4749534b2cfb63eed9795.jpg","text":"TemporaryFile(/tmp/multipartBody7932723860545280147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759284247,"filename":"image_17022025_03_27_14_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26a797b6b78e90983ffc88d1e20a4fbc.jpg","text":"TemporaryFile(/tmp/multipartBody4820665295074356741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759284247,"filename":"image_17022025_03_27_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/731d7c3710563ff371a64da9a1d03cf1.jpg","text":"TemporaryFile(/tmp/multipartBody1232504955603347493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759284247,"filename":"image_17022025_03_27_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64e587ad9e720f0bebe9db97341acade.jpg","text":"TemporaryFile(/tmp/multipartBody9091456309599965612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759284247,"filename":"image_17022025_03_27_24_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338107994","file1":"1338107993","file0":"1338107992","file4":"1338107996","file5":"1338107997","file3":"1338107995"},"map_files_photo_id_array":[{"photo_id":"1338107997","filename":"file5"},{"photo_id":"1338107994","filename":"file2"},{"photo_id":"1338107996","filename":"file4"},{"photo_id":"1338107993","filename":"file1"},{"photo_id":"1338107992","filename":"file0"},{"photo_id":"1338107995","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107994":["hashtag1","hashtag2"]},{"1338107997":["hashtag1","hashtag2"]},{"1338107996":["hashtag1","hashtag2"]},{"1338107993":["hashtag1","hashtag2"]},{"1338107992":["hashtag1","hashtag2"]},{"1338107995":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107994, 1338107997, 1338107996, 1338107993, 1338107992, 1338107995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07352256774902 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:28:02.218228
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_14_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/03/27/image_17022025_03_28_04_9789.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_54_9773.jpg', '/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_44_9771.jpg', '/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_34_9770.jpg', '/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_24_9773.jpg', '/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_14_10785.jpg', '/home/nano/Desktop/images/17022025/03/27/image_17022025_03_28_04_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_54_9773.jpg
/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_44_9771.jpg
/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_34_9770.jpg
/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_24_9773.jpg
/home/nano/Desktop/images/17022025/03/28/image_17022025_03_28_14_10785.jpg
/home/nano/Desktop/images/17022025/03/27/image_17022025_03_28_04_9789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338107998","1338108001","1338108003","1338108000","1338107999","1338108002"],"photo_ids_order":["1338107998","1338107999","1338108000","1338108001","1338108002","1338108003"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b62105209c92296475829c3eced5810f.jpg","text":"TemporaryFile(/tmp/multipartBody4649052137539817220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759344210,"filename":"image_17022025_03_28_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/04fc42008163ca0f05578cdf64c768cd.jpg","text":"TemporaryFile(/tmp/multipartBody5423171576397503030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759344210,"filename":"image_17022025_03_28_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f0bf9d7f7824ce75e85ffcd3361462c6.jpg","text":"TemporaryFile(/tmp/multipartBody5801600969589895013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759344210,"filename":"image_17022025_03_28_04_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/959c103ed30b38d2e9b0fe53290fb94a.jpg","text":"TemporaryFile(/tmp/multipartBody7905009445569017937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759344210,"filename":"image_17022025_03_28_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2da6a9820f2870f01bc96936847cbc92.jpg","text":"TemporaryFile(/tmp/multipartBody8354312421102384523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759344210,"filename":"image_17022025_03_28_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fab38fde972d0006dcc7528e781ae604.jpg","text":"TemporaryFile(/tmp/multipartBody7267775634730259040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759344210,"filename":"image_17022025_03_28_14_10785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108000","file1":"1338107999","file0":"1338107998","file4":"1338108002","file5":"1338108003","file3":"1338108001"},"map_files_photo_id_array":[{"photo_id":"1338108003","filename":"file5"},{"photo_id":"1338108000","filename":"file2"},{"photo_id":"1338108002","filename":"file4"},{"photo_id":"1338107999","filename":"file1"},{"photo_id":"1338107998","filename":"file0"},{"photo_id":"1338108001","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338107998":["hashtag1","hashtag2"]},{"1338108001":["hashtag1","hashtag2"]},{"1338108003":["hashtag1","hashtag2"]},{"1338108000":["hashtag1","hashtag2"]},{"1338107999":["hashtag1","hashtag2"]},{"1338108002":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338107998, 1338108001, 1338108003, 1338108000, 1338107999, 1338108002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.335060596466064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:29:02.870935
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_44_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/03/28/image_17022025_03_29_04_10777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_54_9770.jpg', '/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_44_10780.jpg', '/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_34_9772.jpg', '/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_24_9769.jpg', '/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_14_9777.jpg', '/home/nano/Desktop/images/17022025/03/28/image_17022025_03_29_04_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_54_9770.jpg
/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_44_10780.jpg
/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_34_9772.jpg
/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_24_9769.jpg
/home/nano/Desktop/images/17022025/03/29/image_17022025_03_29_14_9777.jpg
/home/nano/Desktop/images/17022025/03/28/image_17022025_03_29_04_10777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108010","1338108004","1338108006","1338108009","1338108005","1338108008"],"photo_ids_order":["1338108004","1338108005","1338108006","1338108008","1338108009","1338108010"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fec13654f9b01a7f1a4378f38be00a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4198560674812426756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759404307,"filename":"image_17022025_03_29_04_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/457ba38267c2afad6c74d097dec86507.jpg","text":"TemporaryFile(/tmp/multipartBody3308451057583355776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759404307,"filename":"image_17022025_03_29_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f68558f34cc449771c4c645905b8c78.jpg","text":"TemporaryFile(/tmp/multipartBody1775092037672778341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759404307,"filename":"image_17022025_03_29_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c41ce65d7795d40ead4279465a496a31.jpg","text":"TemporaryFile(/tmp/multipartBody7361141955914520368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759404307,"filename":"image_17022025_03_29_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64f429804f6a311a41a0b3b7121a59a5.jpg","text":"TemporaryFile(/tmp/multipartBody1933783088057484376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759404307,"filename":"image_17022025_03_29_44_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/66b81000c338474ebcee1afa89518ea9.jpg","text":"TemporaryFile(/tmp/multipartBody1527954961707040698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759404307,"filename":"image_17022025_03_29_24_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108006","file1":"1338108005","file0":"1338108004","file4":"1338108009","file5":"1338108010","file3":"1338108008"},"map_files_photo_id_array":[{"photo_id":"1338108010","filename":"file5"},{"photo_id":"1338108006","filename":"file2"},{"photo_id":"1338108009","filename":"file4"},{"photo_id":"1338108005","filename":"file1"},{"photo_id":"1338108004","filename":"file0"},{"photo_id":"1338108008","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108010":["hashtag1","hashtag2"]},{"1338108004":["hashtag1","hashtag2"]},{"1338108006":["hashtag1","hashtag2"]},{"1338108009":["hashtag1","hashtag2"]},{"1338108005":["hashtag1","hashtag2"]},{"1338108008":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108010, 1338108004, 1338108006, 1338108009, 1338108005, 1338108008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.483468055725098 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:30:02.402343
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_44_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_34_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_14_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/29/image_17022025_03_30_04_9812.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_54_9771.jpg', '/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_44_9768.jpg', '/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_34_10778.jpg', '/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_24_9769.jpg', '/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_14_9773.jpg', '/home/nano/Desktop/images/17022025/03/29/image_17022025_03_30_04_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_54_9771.jpg
/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_44_9768.jpg
/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_34_10778.jpg
/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_24_9769.jpg
/home/nano/Desktop/images/17022025/03/30/image_17022025_03_30_14_9773.jpg
/home/nano/Desktop/images/17022025/03/29/image_17022025_03_30_04_9812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108013","1338108016","1338108012","1338108015","1338108014","1338108017"],"photo_ids_order":["1338108012","1338108013","1338108014","1338108015","1338108016","1338108017"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc347e7e866ed97bd2b53fbf5c0d90b5.jpg","text":"TemporaryFile(/tmp/multipartBody8066930016449718171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759463715,"filename":"image_17022025_03_30_44_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/badaa21d4952ede3d98ba048399c3894.jpg","text":"TemporaryFile(/tmp/multipartBody3873749473653746848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759463715,"filename":"image_17022025_03_30_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21dda98baf9bb1122cc68e4eaaee50c3.jpg","text":"TemporaryFile(/tmp/multipartBody7050184933489249084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759463715,"filename":"image_17022025_03_30_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c3c2c664028fb4407d4bbfcc761af25.jpg","text":"TemporaryFile(/tmp/multipartBody5599637557047297445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759463715,"filename":"image_17022025_03_30_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d02663c8baac444b942764ad0a6d8f45.jpg","text":"TemporaryFile(/tmp/multipartBody7317867546110130326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759463715,"filename":"image_17022025_03_30_34_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9de1af37dc9cdbfafb4608be86b0b129.jpg","text":"TemporaryFile(/tmp/multipartBody7483280651051727143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759463715,"filename":"image_17022025_03_30_04_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108014","file1":"1338108013","file0":"1338108012","file4":"1338108016","file5":"1338108017","file3":"1338108015"},"map_files_photo_id_array":[{"photo_id":"1338108017","filename":"file5"},{"photo_id":"1338108014","filename":"file2"},{"photo_id":"1338108016","filename":"file4"},{"photo_id":"1338108013","filename":"file1"},{"photo_id":"1338108012","filename":"file0"},{"photo_id":"1338108015","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108013":["hashtag1","hashtag2"]},{"1338108016":["hashtag1","hashtag2"]},{"1338108012":["hashtag1","hashtag2"]},{"1338108015":["hashtag1","hashtag2"]},{"1338108014":["hashtag1","hashtag2"]},{"1338108017":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108013, 1338108016, 1338108012, 1338108015, 1338108014, 1338108017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.319467544555664 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:31:02.757204
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_54_10777.jpg', 0), ('/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_44_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_34_9765.jpg', 0), ('/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_14_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/03/30/image_17022025_03_31_04_9781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_54_10777.jpg', '/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_44_9770.jpg', '/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_34_9765.jpg', '/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_24_9769.jpg', '/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_14_10778.jpg', '/home/nano/Desktop/images/17022025/03/30/image_17022025_03_31_04_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_54_10777.jpg
/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_44_9770.jpg
/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_34_9765.jpg
/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_24_9769.jpg
/home/nano/Desktop/images/17022025/03/31/image_17022025_03_31_14_10778.jpg
/home/nano/Desktop/images/17022025/03/30/image_17022025_03_31_04_9781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108019","1338108022","1338108021","1338108018","1338108020","1338108023"],"photo_ids_order":["1338108018","1338108019","1338108020","1338108021","1338108022","1338108023"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/291b035a305868c031df73e0b71359d8.jpg","text":"TemporaryFile(/tmp/multipartBody1175588981125706326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759524018,"filename":"image_17022025_03_31_44_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb0ad6f0b45aa0f65e29bc7eeac43b55.jpg","text":"TemporaryFile(/tmp/multipartBody4013825001828045688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759524018,"filename":"image_17022025_03_31_14_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d11c71b2cd2cdf97e211948f8a2202f.jpg","text":"TemporaryFile(/tmp/multipartBody8749685917778280697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759524018,"filename":"image_17022025_03_31_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4b687baac27b8eac165f646bd69c0b8.jpg","text":"TemporaryFile(/tmp/multipartBody2158801959020112837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759524018,"filename":"image_17022025_03_31_54_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e060344ea4c807bee5c7c5c63926fe31.jpg","text":"TemporaryFile(/tmp/multipartBody1498504982363685261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759524018,"filename":"image_17022025_03_31_34_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7858b3beffc793123dd1b95f2a004234.jpg","text":"TemporaryFile(/tmp/multipartBody1888896476048236621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759524018,"filename":"image_17022025_03_31_04_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108020","file1":"1338108019","file0":"1338108018","file4":"1338108022","file5":"1338108023","file3":"1338108021"},"map_files_photo_id_array":[{"photo_id":"1338108023","filename":"file5"},{"photo_id":"1338108020","filename":"file2"},{"photo_id":"1338108022","filename":"file4"},{"photo_id":"1338108019","filename":"file1"},{"photo_id":"1338108018","filename":"file0"},{"photo_id":"1338108021","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108019":["hashtag1","hashtag2"]},{"1338108022":["hashtag1","hashtag2"]},{"1338108021":["hashtag1","hashtag2"]},{"1338108018":["hashtag1","hashtag2"]},{"1338108020":["hashtag1","hashtag2"]},{"1338108023":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108019, 1338108022, 1338108021, 1338108018, 1338108020, 1338108023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.28043031692505 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:32:02.563111
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_54_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_44_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_24_9786.jpg', 0), ('/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/31/image_17022025_03_32_04_9771.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_54_9767.jpg', '/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_44_10780.jpg', '/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_34_9770.jpg', '/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_24_9786.jpg', '/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_14_9775.jpg', '/home/nano/Desktop/images/17022025/03/31/image_17022025_03_32_04_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_54_9767.jpg
/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_44_10780.jpg
/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_34_9770.jpg
/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_24_9786.jpg
/home/nano/Desktop/images/17022025/03/32/image_17022025_03_32_14_9775.jpg
/home/nano/Desktop/images/17022025/03/31/image_17022025_03_32_04_9771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108025","1338108028","1338108024","1338108027","1338108029","1338108026"],"photo_ids_order":["1338108024","1338108025","1338108026","1338108027","1338108028","1338108029"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1bc7ef9fb78de64aee491921b7aef40d.jpg","text":"TemporaryFile(/tmp/multipartBody6339831524915550919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759583896,"filename":"image_17022025_03_32_44_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1fe24836dab4e325c3f85b0fabf5b72a.jpg","text":"TemporaryFile(/tmp/multipartBody3214622094643951958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759583896,"filename":"image_17022025_03_32_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f26be8f14b099ee13766f489c630325.jpg","text":"TemporaryFile(/tmp/multipartBody3573388113612642608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759583896,"filename":"image_17022025_03_32_54_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81ab4fc2f4e076cb4be83528545676ef.jpg","text":"TemporaryFile(/tmp/multipartBody6782077191735948070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759583896,"filename":"image_17022025_03_32_24_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0c7c42481094032db24c29aea07b764.jpg","text":"TemporaryFile(/tmp/multipartBody451006245526718642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759583896,"filename":"image_17022025_03_32_04_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2f31a59df31d5ef372163f636271678.jpg","text":"TemporaryFile(/tmp/multipartBody2052786387757467098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759583896,"filename":"image_17022025_03_32_34_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108026","file1":"1338108025","file0":"1338108024","file4":"1338108028","file5":"1338108029","file3":"1338108027"},"map_files_photo_id_array":[{"photo_id":"1338108029","filename":"file5"},{"photo_id":"1338108026","filename":"file2"},{"photo_id":"1338108028","filename":"file4"},{"photo_id":"1338108025","filename":"file1"},{"photo_id":"1338108024","filename":"file0"},{"photo_id":"1338108027","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108025":["hashtag1","hashtag2"]},{"1338108028":["hashtag1","hashtag2"]},{"1338108024":["hashtag1","hashtag2"]},{"1338108027":["hashtag1","hashtag2"]},{"1338108029":["hashtag1","hashtag2"]},{"1338108026":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108025, 1338108028, 1338108024, 1338108027, 1338108029, 1338108026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.503177881240845 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:33:02.761528
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_24_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_14_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/32/image_17022025_03_33_04_9782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_54_9772.jpg', '/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_44_9769.jpg', '/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_34_9770.jpg', '/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_24_10782.jpg', '/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_14_9772.jpg', '/home/nano/Desktop/images/17022025/03/32/image_17022025_03_33_04_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_54_9772.jpg
/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_44_9769.jpg
/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_34_9770.jpg
/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_24_10782.jpg
/home/nano/Desktop/images/17022025/03/33/image_17022025_03_33_14_9772.jpg
/home/nano/Desktop/images/17022025/03/32/image_17022025_03_33_04_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108031","1338108034","1338108030","1338108033","1338108032","1338108035"],"photo_ids_order":["1338108030","1338108031","1338108032","1338108033","1338108034","1338108035"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4bd64952f63801c89c409fd950b3bf9f.jpg","text":"TemporaryFile(/tmp/multipartBody2335704220810290590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759643985,"filename":"image_17022025_03_33_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ea4738c318b00db4348370d9c290c52.jpg","text":"TemporaryFile(/tmp/multipartBody7336560798330874005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759643985,"filename":"image_17022025_03_33_14_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/84650f6453df04bb6253b55c33378b8e.jpg","text":"TemporaryFile(/tmp/multipartBody4898806866656428477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759643985,"filename":"image_17022025_03_33_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bd46a38ef4759a6f5f67e824a9834c86.jpg","text":"TemporaryFile(/tmp/multipartBody3001389911834214949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759643985,"filename":"image_17022025_03_33_24_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/712b88e69644c8460155fd9adfac6710.jpg","text":"TemporaryFile(/tmp/multipartBody8435173244384652845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759643985,"filename":"image_17022025_03_33_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ed3e54215eeb4b2a4339655514ef61f.jpg","text":"TemporaryFile(/tmp/multipartBody8180688905204561502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759643985,"filename":"image_17022025_03_33_04_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108032","file1":"1338108031","file0":"1338108030","file4":"1338108034","file5":"1338108035","file3":"1338108033"},"map_files_photo_id_array":[{"photo_id":"1338108035","filename":"file5"},{"photo_id":"1338108032","filename":"file2"},{"photo_id":"1338108034","filename":"file4"},{"photo_id":"1338108031","filename":"file1"},{"photo_id":"1338108030","filename":"file0"},{"photo_id":"1338108033","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108031":["hashtag1","hashtag2"]},{"1338108034":["hashtag1","hashtag2"]},{"1338108030":["hashtag1","hashtag2"]},{"1338108033":["hashtag1","hashtag2"]},{"1338108032":["hashtag1","hashtag2"]},{"1338108035":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108031, 1338108034, 1338108030, 1338108033, 1338108032, 1338108035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.997831344604492 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:34:03.083201
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_54_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_34_9790.jpg', 0), ('/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_24_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_14_10803.jpg', 0), ('/home/nano/Desktop/images/17022025/03/33/image_17022025_03_34_04_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_54_10779.jpg', '/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_44_9772.jpg', '/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_34_9790.jpg', '/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_24_9793.jpg', '/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_14_10803.jpg', '/home/nano/Desktop/images/17022025/03/33/image_17022025_03_34_04_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_54_10779.jpg
/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_44_9772.jpg
/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_34_9790.jpg
/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_24_9793.jpg
/home/nano/Desktop/images/17022025/03/34/image_17022025_03_34_14_10803.jpg
/home/nano/Desktop/images/17022025/03/33/image_17022025_03_34_04_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108040","1338108042","1338108039","1338108041","1338108038","1338108037"],"photo_ids_order":["1338108037","1338108038","1338108039","1338108040","1338108041","1338108042"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db6a43bfc19191e19253e961f459bd21.jpg","text":"TemporaryFile(/tmp/multipartBody1894209847936093152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759704464,"filename":"image_17022025_03_34_24_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f39b4e9d2947dd8955a23179d50f5201.jpg","text":"TemporaryFile(/tmp/multipartBody9095237788209511799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759704464,"filename":"image_17022025_03_34_04_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c16d11de31549acaf284d158dd409ea.jpg","text":"TemporaryFile(/tmp/multipartBody3941851439611239014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759704464,"filename":"image_17022025_03_34_34_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf62ef9a3bfb411a47a3657520b44322.jpg","text":"TemporaryFile(/tmp/multipartBody2506039405474873425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759704464,"filename":"image_17022025_03_34_14_10803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b42d5de776877e7b9cfbd3be8e0331e.jpg","text":"TemporaryFile(/tmp/multipartBody5518831312175394303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759704464,"filename":"image_17022025_03_34_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f100f077e1fc39ec0af1ee815daeac8d.jpg","text":"TemporaryFile(/tmp/multipartBody1029478743716515917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759704464,"filename":"image_17022025_03_34_54_10779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108039","file1":"1338108038","file0":"1338108037","file4":"1338108041","file5":"1338108042","file3":"1338108040"},"map_files_photo_id_array":[{"photo_id":"1338108042","filename":"file5"},{"photo_id":"1338108039","filename":"file2"},{"photo_id":"1338108041","filename":"file4"},{"photo_id":"1338108038","filename":"file1"},{"photo_id":"1338108037","filename":"file0"},{"photo_id":"1338108040","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108040":["hashtag1","hashtag2"]},{"1338108042":["hashtag1","hashtag2"]},{"1338108039":["hashtag1","hashtag2"]},{"1338108041":["hashtag1","hashtag2"]},{"1338108038":["hashtag1","hashtag2"]},{"1338108037":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108040, 1338108042, 1338108039, 1338108041, 1338108038, 1338108037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.1762957572937 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:35:02.881242
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_54_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_44_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_34_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_24_9787.jpg', 0), ('/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_14_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/34/image_17022025_03_35_04_9794.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_54_9767.jpg', '/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_44_10779.jpg', '/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_34_9769.jpg', '/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_24_9787.jpg', '/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_14_9768.jpg', '/home/nano/Desktop/images/17022025/03/34/image_17022025_03_35_04_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_54_9767.jpg
/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_44_10779.jpg
/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_34_9769.jpg
/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_24_9787.jpg
/home/nano/Desktop/images/17022025/03/35/image_17022025_03_35_14_9768.jpg
/home/nano/Desktop/images/17022025/03/34/image_17022025_03_35_04_9794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108046","1338108048","1338108045","1338108047","1338108044","1338108043"],"photo_ids_order":["1338108043","1338108044","1338108045","1338108046","1338108047","1338108048"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/071a45dcbecf34efd3d6133c5cb62698.jpg","text":"TemporaryFile(/tmp/multipartBody2536284031826558464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759765125,"filename":"image_17022025_03_35_24_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac9478bae2f56305fa1abde8fd9f5e00.jpg","text":"TemporaryFile(/tmp/multipartBody4619905606279243098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759765125,"filename":"image_17022025_03_35_04_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c5c530dc7835695a56d1fc53d335a08.jpg","text":"TemporaryFile(/tmp/multipartBody2581642526582990116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759765125,"filename":"image_17022025_03_35_34_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6734283caf2da2d2dda78022ff99d6e2.jpg","text":"TemporaryFile(/tmp/multipartBody4198216530878897186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759765125,"filename":"image_17022025_03_35_14_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae9436ee3f1c96cb3bff552cd4c32028.jpg","text":"TemporaryFile(/tmp/multipartBody1439357492873637201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759765125,"filename":"image_17022025_03_35_44_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db843f63fda75c6db2f55a184357e860.jpg","text":"TemporaryFile(/tmp/multipartBody3189864128367400987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759765125,"filename":"image_17022025_03_35_54_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108045","file1":"1338108044","file0":"1338108043","file4":"1338108047","file5":"1338108048","file3":"1338108046"},"map_files_photo_id_array":[{"photo_id":"1338108048","filename":"file5"},{"photo_id":"1338108045","filename":"file2"},{"photo_id":"1338108047","filename":"file4"},{"photo_id":"1338108044","filename":"file1"},{"photo_id":"1338108043","filename":"file0"},{"photo_id":"1338108046","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108046":["hashtag1","hashtag2"]},{"1338108048":["hashtag1","hashtag2"]},{"1338108045":["hashtag1","hashtag2"]},{"1338108047":["hashtag1","hashtag2"]},{"1338108044":["hashtag1","hashtag2"]},{"1338108043":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108046, 1338108048, 1338108045, 1338108047, 1338108044, 1338108043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.788243770599365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:36:02.969733
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_44_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_24_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_14_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/35/image_17022025_03_36_04_9771.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_54_9771.jpg', '/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_44_9789.jpg', '/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_34_9771.jpg', '/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_24_10781.jpg', '/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_14_9773.jpg', '/home/nano/Desktop/images/17022025/03/35/image_17022025_03_36_04_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_54_9771.jpg
/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_44_9789.jpg
/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_34_9771.jpg
/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_24_10781.jpg
/home/nano/Desktop/images/17022025/03/36/image_17022025_03_36_14_9773.jpg
/home/nano/Desktop/images/17022025/03/35/image_17022025_03_36_04_9771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108052","1338108049","1338108057","1338108051","1338108050","1338108053"],"photo_ids_order":["1338108049","1338108050","1338108051","1338108052","1338108053","1338108057"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16cc42f584328776b4f1139d446568d4.jpg","text":"TemporaryFile(/tmp/multipartBody481497899129546620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759830699,"filename":"image_17022025_03_36_24_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c53e80e07c11c483d917795cabbf808.jpg","text":"TemporaryFile(/tmp/multipartBody2322992451447342599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759830699,"filename":"image_17022025_03_36_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3827719a575da7ed511ac85b81dda95d.jpg","text":"TemporaryFile(/tmp/multipartBody7645710114721030969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759830699,"filename":"image_17022025_03_36_04_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4cb925e70b85d0b6715010caf55c7e23.jpg","text":"TemporaryFile(/tmp/multipartBody6952605391354352147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759830699,"filename":"image_17022025_03_36_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05e582ace7665d254bf8e45ef59353f2.jpg","text":"TemporaryFile(/tmp/multipartBody215926925011541667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759830699,"filename":"image_17022025_03_36_44_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54ed1a1833dad3fd66db05c0b3b72ba6.jpg","text":"TemporaryFile(/tmp/multipartBody2307874604998714598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759830699,"filename":"image_17022025_03_36_14_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108051","file1":"1338108050","file0":"1338108049","file4":"1338108053","file5":"1338108057","file3":"1338108052"},"map_files_photo_id_array":[{"photo_id":"1338108057","filename":"file5"},{"photo_id":"1338108051","filename":"file2"},{"photo_id":"1338108053","filename":"file4"},{"photo_id":"1338108050","filename":"file1"},{"photo_id":"1338108049","filename":"file0"},{"photo_id":"1338108052","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108052":["hashtag1","hashtag2"]},{"1338108049":["hashtag1","hashtag2"]},{"1338108057":["hashtag1","hashtag2"]},{"1338108051":["hashtag1","hashtag2"]},{"1338108050":["hashtag1","hashtag2"]},{"1338108053":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108052, 1338108049, 1338108057, 1338108051, 1338108050, 1338108053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60360503196716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:37:02.250639
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_54_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_24_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_14_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/03/36/image_17022025_03_37_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_54_10778.jpg', '/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_44_9769.jpg', '/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_34_9770.jpg', '/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_24_9789.jpg', '/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_14_10781.jpg', '/home/nano/Desktop/images/17022025/03/36/image_17022025_03_37_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_54_10778.jpg
/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_44_9769.jpg
/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_34_9770.jpg
/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_24_9789.jpg
/home/nano/Desktop/images/17022025/03/37/image_17022025_03_37_14_10781.jpg
/home/nano/Desktop/images/17022025/03/36/image_17022025_03_37_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108072","1338108075","1338108102","1338108080","1338108073","1338108076"],"photo_ids_order":["1338108072","1338108073","1338108075","1338108076","1338108080","1338108102"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4b7c71c2a9f6da04670061a4974aaa1.jpg","text":"TemporaryFile(/tmp/multipartBody2356183381260309499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759883918,"filename":"image_17022025_03_37_54_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b5fe7861385f5d4bfbbe97c7b6296c0.jpg","text":"TemporaryFile(/tmp/multipartBody9154507555654719684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759883918,"filename":"image_17022025_03_37_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3973aea403ac40b27be1f84672290aa5.jpg","text":"TemporaryFile(/tmp/multipartBody1286932546453134412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759883918,"filename":"image_17022025_03_37_04_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf41029db173a406c01fa3424535c9dd.jpg","text":"TemporaryFile(/tmp/multipartBody6742107954102609213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759883918,"filename":"image_17022025_03_37_14_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/277233e97f2492cb3b188adce5149539.jpg","text":"TemporaryFile(/tmp/multipartBody8637460844857886017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759883918,"filename":"image_17022025_03_37_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b41204854c0ea8ff73cf1f094075f8d.jpg","text":"TemporaryFile(/tmp/multipartBody5148824451463458289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759883918,"filename":"image_17022025_03_37_24_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108075","file1":"1338108073","file0":"1338108072","file4":"1338108080","file5":"1338108102","file3":"1338108076"},"map_files_photo_id_array":[{"photo_id":"1338108102","filename":"file5"},{"photo_id":"1338108075","filename":"file2"},{"photo_id":"1338108080","filename":"file4"},{"photo_id":"1338108073","filename":"file1"},{"photo_id":"1338108072","filename":"file0"},{"photo_id":"1338108076","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108072":["hashtag1","hashtag2"]},{"1338108075":["hashtag1","hashtag2"]},{"1338108102":["hashtag1","hashtag2"]},{"1338108080":["hashtag1","hashtag2"]},{"1338108073":["hashtag1","hashtag2"]},{"1338108076":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108072, 1338108075, 1338108102, 1338108080, 1338108073, 1338108076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.707945823669434 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:38:02.220315
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_54_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_44_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_34_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_14_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/03/37/image_17022025_03_38_04_9808.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_54_9767.jpg', '/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_44_10778.jpg', '/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_34_9791.jpg', '/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_24_9773.jpg', '/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_14_9795.jpg', '/home/nano/Desktop/images/17022025/03/37/image_17022025_03_38_04_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_54_9767.jpg
/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_44_10778.jpg
/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_34_9791.jpg
/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_24_9773.jpg
/home/nano/Desktop/images/17022025/03/38/image_17022025_03_38_14_9795.jpg
/home/nano/Desktop/images/17022025/03/37/image_17022025_03_38_04_9808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108118","1338108115","1338108117","1338108114","1338108113","1338108116"],"photo_ids_order":["1338108113","1338108114","1338108115","1338108116","1338108117","1338108118"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bfe7be0104f92d7c093d38a6308c4a6b.jpg","text":"TemporaryFile(/tmp/multipartBody706718746401811250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759943503,"filename":"image_17022025_03_38_04_9808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3991474e8b89b94f899cc423a9dcd1f1.jpg","text":"TemporaryFile(/tmp/multipartBody3555010250467180867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759943503,"filename":"image_17022025_03_38_34_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7abe8a5936563813418f10cc0057333c.jpg","text":"TemporaryFile(/tmp/multipartBody2559412433833693276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759943503,"filename":"image_17022025_03_38_14_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9321e807ed253c8d7434b0fb4fb417f0.jpg","text":"TemporaryFile(/tmp/multipartBody2498493211927699737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759943503,"filename":"image_17022025_03_38_44_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c99ba21ecf16016ee4f5751bd3367c4.jpg","text":"TemporaryFile(/tmp/multipartBody654594518554194042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759943503,"filename":"image_17022025_03_38_54_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e36583145254f1ede07a8f716b3739f.jpg","text":"TemporaryFile(/tmp/multipartBody2289351705194183985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739759943503,"filename":"image_17022025_03_38_24_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108115","file1":"1338108114","file0":"1338108113","file4":"1338108117","file5":"1338108118","file3":"1338108116"},"map_files_photo_id_array":[{"photo_id":"1338108118","filename":"file5"},{"photo_id":"1338108115","filename":"file2"},{"photo_id":"1338108117","filename":"file4"},{"photo_id":"1338108114","filename":"file1"},{"photo_id":"1338108113","filename":"file0"},{"photo_id":"1338108116","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108118":["hashtag1","hashtag2"]},{"1338108115":["hashtag1","hashtag2"]},{"1338108117":["hashtag1","hashtag2"]},{"1338108114":["hashtag1","hashtag2"]},{"1338108113":["hashtag1","hashtag2"]},{"1338108116":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108118, 1338108115, 1338108117, 1338108114, 1338108113, 1338108116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.971792697906494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:39:02.770030
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_54_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_44_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_34_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_24_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/38/image_17022025_03_39_04_9789.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_54_9769.jpg', '/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_44_9768.jpg', '/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_34_10778.jpg', '/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_24_9791.jpg', '/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_14_9775.jpg', '/home/nano/Desktop/images/17022025/03/38/image_17022025_03_39_04_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_54_9769.jpg
/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_44_9768.jpg
/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_34_10778.jpg
/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_24_9791.jpg
/home/nano/Desktop/images/17022025/03/39/image_17022025_03_39_14_9775.jpg
/home/nano/Desktop/images/17022025/03/38/image_17022025_03_39_04_9789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108124","1338108127","1338108121","1338108125","1338108128","1338108122"],"photo_ids_order":["1338108121","1338108122","1338108124","1338108125","1338108127","1338108128"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fea75188560e09f4ee60d8c5134e556e.jpg","text":"TemporaryFile(/tmp/multipartBody3639107694244174500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760004800,"filename":"image_17022025_03_39_34_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7339bcfbe622447342eb72c63017f544.jpg","text":"TemporaryFile(/tmp/multipartBody5362146088294375033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760004800,"filename":"image_17022025_03_39_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92472ecd6e166e9d0d823fca980b7a31.jpg","text":"TemporaryFile(/tmp/multipartBody8007918228122985919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760004800,"filename":"image_17022025_03_39_54_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/430ec031c1c422537e8accf39090ecaf.jpg","text":"TemporaryFile(/tmp/multipartBody9203580096722976804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760004800,"filename":"image_17022025_03_39_24_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f94de9ee5b7ee495e000db4772c7cd0a.jpg","text":"TemporaryFile(/tmp/multipartBody2848967549938168653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760004800,"filename":"image_17022025_03_39_04_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/624c0faf20c3db7adde04915ff82d87a.jpg","text":"TemporaryFile(/tmp/multipartBody2179263273099173668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760004800,"filename":"image_17022025_03_39_44_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108124","file1":"1338108122","file0":"1338108121","file4":"1338108127","file5":"1338108128","file3":"1338108125"},"map_files_photo_id_array":[{"photo_id":"1338108128","filename":"file5"},{"photo_id":"1338108124","filename":"file2"},{"photo_id":"1338108127","filename":"file4"},{"photo_id":"1338108122","filename":"file1"},{"photo_id":"1338108121","filename":"file0"},{"photo_id":"1338108125","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108124":["hashtag1","hashtag2"]},{"1338108127":["hashtag1","hashtag2"]},{"1338108121":["hashtag1","hashtag2"]},{"1338108125":["hashtag1","hashtag2"]},{"1338108128":["hashtag1","hashtag2"]},{"1338108122":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108124, 1338108127, 1338108121, 1338108125, 1338108128, 1338108122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.073872327804565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:40:02.476406
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_34_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_24_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_14_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/03/39/image_17022025_03_40_04_9770.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_54_9772.jpg', '/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_44_9771.jpg', '/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_34_9769.jpg', '/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_24_9770.jpg', '/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_14_10785.jpg', '/home/nano/Desktop/images/17022025/03/39/image_17022025_03_40_04_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_54_9772.jpg
/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_44_9771.jpg
/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_34_9769.jpg
/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_24_9770.jpg
/home/nano/Desktop/images/17022025/03/40/image_17022025_03_40_14_10785.jpg
/home/nano/Desktop/images/17022025/03/39/image_17022025_03_40_04_9770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108130","1338108133","1338108129","1338108132","1338108131","1338108134"],"photo_ids_order":["1338108129","1338108130","1338108131","1338108132","1338108133","1338108134"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/591fe0631706d33724525a63cc73c906.jpg","text":"TemporaryFile(/tmp/multipartBody3796281355845509695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760064062,"filename":"image_17022025_03_40_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c0c6074b09efe090b7dd63d404d4c97.jpg","text":"TemporaryFile(/tmp/multipartBody8575497309840386202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760064062,"filename":"image_17022025_03_40_14_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98252a491a27effce0b19d66dfc1af51.jpg","text":"TemporaryFile(/tmp/multipartBody604377609369242759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760064062,"filename":"image_17022025_03_40_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e2a40a8a909807eb393889c38b74c954.jpg","text":"TemporaryFile(/tmp/multipartBody3049061873992543447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760064062,"filename":"image_17022025_03_40_24_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/269a810acbf031e4f16f12258fc15c42.jpg","text":"TemporaryFile(/tmp/multipartBody9130526575496302821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760064062,"filename":"image_17022025_03_40_34_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c5c8c975a88f7fb67c013bead4e27342.jpg","text":"TemporaryFile(/tmp/multipartBody463011477658221215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760064062,"filename":"image_17022025_03_40_04_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108131","file1":"1338108130","file0":"1338108129","file4":"1338108133","file5":"1338108134","file3":"1338108132"},"map_files_photo_id_array":[{"photo_id":"1338108134","filename":"file5"},{"photo_id":"1338108131","filename":"file2"},{"photo_id":"1338108133","filename":"file4"},{"photo_id":"1338108130","filename":"file1"},{"photo_id":"1338108129","filename":"file0"},{"photo_id":"1338108132","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108130":["hashtag1","hashtag2"]},{"1338108133":["hashtag1","hashtag2"]},{"1338108129":["hashtag1","hashtag2"]},{"1338108132":["hashtag1","hashtag2"]},{"1338108131":["hashtag1","hashtag2"]},{"1338108134":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108130, 1338108133, 1338108129, 1338108132, 1338108131, 1338108134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.75053119659424 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:41:02.667733
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_54_9765.jpg', 0), ('/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_44_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_14_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/03/40/image_17022025_03_41_04_10809.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_54_9765.jpg', '/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_44_10783.jpg', '/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_34_9774.jpg', '/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_24_9769.jpg', '/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_14_9778.jpg', '/home/nano/Desktop/images/17022025/03/40/image_17022025_03_41_04_10809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_54_9765.jpg
/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_44_10783.jpg
/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_34_9774.jpg
/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_24_9769.jpg
/home/nano/Desktop/images/17022025/03/41/image_17022025_03_41_14_9778.jpg
/home/nano/Desktop/images/17022025/03/40/image_17022025_03_41_04_10809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108139","1338108168","1338108141","1338108143","1338108167","1338108140"],"photo_ids_order":["1338108139","1338108140","1338108141","1338108143","1338108167","1338108168"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efe6e0e94a8d589eb31763b0c1f1a166.jpg","text":"TemporaryFile(/tmp/multipartBody1398636239840250988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760125306,"filename":"image_17022025_03_41_54_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/33b80b04775b77385f7882ec863aa3e9.jpg","text":"TemporaryFile(/tmp/multipartBody2312448869201620177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760125306,"filename":"image_17022025_03_41_04_10809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/32a98f391455426d6a83daa5cd5da77c.jpg","text":"TemporaryFile(/tmp/multipartBody8158802438665348185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760125306,"filename":"image_17022025_03_41_34_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d53ebaf5d35703e7f7f60566532b9429.jpg","text":"TemporaryFile(/tmp/multipartBody1135114633651091515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760125306,"filename":"image_17022025_03_41_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bfe21d54c06b9953fb9bc0eb4fa0e279.jpg","text":"TemporaryFile(/tmp/multipartBody9111334968500926897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760125306,"filename":"image_17022025_03_41_14_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e504ebea5d16c42bad4f2334d23f54a.jpg","text":"TemporaryFile(/tmp/multipartBody6059228465337092433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760125306,"filename":"image_17022025_03_41_44_10783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108141","file1":"1338108140","file0":"1338108139","file4":"1338108167","file5":"1338108168","file3":"1338108143"},"map_files_photo_id_array":[{"photo_id":"1338108168","filename":"file5"},{"photo_id":"1338108141","filename":"file2"},{"photo_id":"1338108167","filename":"file4"},{"photo_id":"1338108140","filename":"file1"},{"photo_id":"1338108139","filename":"file0"},{"photo_id":"1338108143","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108139":["hashtag1","hashtag2"]},{"1338108168":["hashtag1","hashtag2"]},{"1338108141":["hashtag1","hashtag2"]},{"1338108143":["hashtag1","hashtag2"]},{"1338108167":["hashtag1","hashtag2"]},{"1338108140":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108139, 1338108168, 1338108141, 1338108143, 1338108167, 1338108140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.142359256744385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:42:02.663388
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_34_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/41/image_17022025_03_42_04_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_54_9772.jpg', '/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_44_9769.jpg', '/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_34_10781.jpg', '/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_24_9773.jpg', '/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_14_9775.jpg', '/home/nano/Desktop/images/17022025/03/41/image_17022025_03_42_04_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_54_9772.jpg
/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_44_9769.jpg
/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_34_10781.jpg
/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_24_9773.jpg
/home/nano/Desktop/images/17022025/03/42/image_17022025_03_42_14_9775.jpg
/home/nano/Desktop/images/17022025/03/41/image_17022025_03_42_04_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108174","1338108177","1338108176","1338108173","1338108175","1338108178"],"photo_ids_order":["1338108173","1338108174","1338108175","1338108176","1338108177","1338108178"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22e4be16f7407fe9f35aecd21d776e38.jpg","text":"TemporaryFile(/tmp/multipartBody4019676145286613926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760183954,"filename":"image_17022025_03_42_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6b56d893f32d17f7464bcf82f83a2e69.jpg","text":"TemporaryFile(/tmp/multipartBody5505865768092605980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760183954,"filename":"image_17022025_03_42_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d17be7658dc620dfe079c69906a877ad.jpg","text":"TemporaryFile(/tmp/multipartBody9017215638324832453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760183954,"filename":"image_17022025_03_42_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8ec80c2d2bdd0d20586ad3ec7b2f766.jpg","text":"TemporaryFile(/tmp/multipartBody293272256603191917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760183954,"filename":"image_17022025_03_42_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc7daa7e73e1f666fdd1a49994559d1e.jpg","text":"TemporaryFile(/tmp/multipartBody9154005323914314155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760183954,"filename":"image_17022025_03_42_34_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4ad47558371573a6911bea5cbd22cf0.jpg","text":"TemporaryFile(/tmp/multipartBody289741604547848264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760183954,"filename":"image_17022025_03_42_04_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108175","file1":"1338108174","file0":"1338108173","file4":"1338108177","file5":"1338108178","file3":"1338108176"},"map_files_photo_id_array":[{"photo_id":"1338108178","filename":"file5"},{"photo_id":"1338108175","filename":"file2"},{"photo_id":"1338108177","filename":"file4"},{"photo_id":"1338108174","filename":"file1"},{"photo_id":"1338108173","filename":"file0"},{"photo_id":"1338108176","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108174":["hashtag1","hashtag2"]},{"1338108177":["hashtag1","hashtag2"]},{"1338108176":["hashtag1","hashtag2"]},{"1338108173":["hashtag1","hashtag2"]},{"1338108175":["hashtag1","hashtag2"]},{"1338108178":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108174, 1338108177, 1338108176, 1338108173, 1338108175, 1338108178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47783589363098 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:43:02.838343
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_14_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/03/42/image_17022025_03_43_04_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_54_9772.jpg', '/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_44_9773.jpg', '/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_34_9771.jpg', '/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_24_9773.jpg', '/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_14_10782.jpg', '/home/nano/Desktop/images/17022025/03/42/image_17022025_03_43_04_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_54_9772.jpg
/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_44_9773.jpg
/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_34_9771.jpg
/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_24_9773.jpg
/home/nano/Desktop/images/17022025/03/43/image_17022025_03_43_14_10782.jpg
/home/nano/Desktop/images/17022025/03/42/image_17022025_03_43_04_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108183","1338108180","1338108182","1338108179","1338108181","1338108184"],"photo_ids_order":["1338108179","1338108180","1338108181","1338108182","1338108183","1338108184"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/93510f02735f8459c53a546203cfbf85.jpg","text":"TemporaryFile(/tmp/multipartBody2996315726262205736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760244187,"filename":"image_17022025_03_43_14_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4f068a18d3a5d2c1ec774257d83d321.jpg","text":"TemporaryFile(/tmp/multipartBody7726438660885369852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760244187,"filename":"image_17022025_03_43_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c04ae9535250d0964b8aa2c0c6b85c9.jpg","text":"TemporaryFile(/tmp/multipartBody1715716644862136657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760244187,"filename":"image_17022025_03_43_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3274cdc274a19c903e952d585e14e912.jpg","text":"TemporaryFile(/tmp/multipartBody2757282574914894046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760244187,"filename":"image_17022025_03_43_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88a7d62887290f74d0ae92f0c90c81f6.jpg","text":"TemporaryFile(/tmp/multipartBody541934908529775714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760244187,"filename":"image_17022025_03_43_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e29ded2a1d34760ba1c9dcfb6b29bd59.jpg","text":"TemporaryFile(/tmp/multipartBody3341787829865052724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760244187,"filename":"image_17022025_03_43_04_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108181","file1":"1338108180","file0":"1338108179","file4":"1338108183","file5":"1338108184","file3":"1338108182"},"map_files_photo_id_array":[{"photo_id":"1338108184","filename":"file5"},{"photo_id":"1338108181","filename":"file2"},{"photo_id":"1338108183","filename":"file4"},{"photo_id":"1338108180","filename":"file1"},{"photo_id":"1338108179","filename":"file0"},{"photo_id":"1338108182","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108183":["hashtag1","hashtag2"]},{"1338108180":["hashtag1","hashtag2"]},{"1338108182":["hashtag1","hashtag2"]},{"1338108179":["hashtag1","hashtag2"]},{"1338108181":["hashtag1","hashtag2"]},{"1338108184":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108183, 1338108180, 1338108182, 1338108179, 1338108181, 1338108184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.432257890701294 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:44:03.156866
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_44_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_34_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_14_9799.jpg', 0), ('/home/nano/Desktop/images/17022025/03/43/image_17022025_03_44_04_10819.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_54_9772.jpg', '/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_44_10782.jpg', '/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_34_9791.jpg', '/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_24_9774.jpg', '/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_14_9799.jpg', '/home/nano/Desktop/images/17022025/03/43/image_17022025_03_44_04_10819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_54_9772.jpg
/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_44_10782.jpg
/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_34_9791.jpg
/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_24_9774.jpg
/home/nano/Desktop/images/17022025/03/44/image_17022025_03_44_14_9799.jpg
/home/nano/Desktop/images/17022025/03/43/image_17022025_03_44_04_10819.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108192","1338108189","1338108194","1338108188","1338108191","1338108193"],"photo_ids_order":["1338108188","1338108189","1338108191","1338108192","1338108193","1338108194"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/faf4cf60ea400f2fbd4362ece72786ab.jpg","text":"TemporaryFile(/tmp/multipartBody986180685464123297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760304588,"filename":"image_17022025_03_44_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4cb2eb7bc450fab60c39db4eeb10f195.jpg","text":"TemporaryFile(/tmp/multipartBody6829683302165059442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760304588,"filename":"image_17022025_03_44_44_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/68726e6550e56404f3b0642d33271287.jpg","text":"TemporaryFile(/tmp/multipartBody1212767911910515233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760304588,"filename":"image_17022025_03_44_04_10819.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b23c1a63c858cdde71dd1caeaaf87d6.jpg","text":"TemporaryFile(/tmp/multipartBody5562179746389736666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760304588,"filename":"image_17022025_03_44_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b722f9b84b41479a5811d218344af1eb.jpg","text":"TemporaryFile(/tmp/multipartBody5677047395311630795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760304588,"filename":"image_17022025_03_44_34_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efd33397c25d5c5a8110e7bf037b76cb.jpg","text":"TemporaryFile(/tmp/multipartBody8937105966216437606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760304588,"filename":"image_17022025_03_44_14_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108191","file1":"1338108189","file0":"1338108188","file4":"1338108193","file5":"1338108194","file3":"1338108192"},"map_files_photo_id_array":[{"photo_id":"1338108194","filename":"file5"},{"photo_id":"1338108191","filename":"file2"},{"photo_id":"1338108193","filename":"file4"},{"photo_id":"1338108189","filename":"file1"},{"photo_id":"1338108188","filename":"file0"},{"photo_id":"1338108192","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108192":["hashtag1","hashtag2"]},{"1338108189":["hashtag1","hashtag2"]},{"1338108194":["hashtag1","hashtag2"]},{"1338108188":["hashtag1","hashtag2"]},{"1338108191":["hashtag1","hashtag2"]},{"1338108193":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108192, 1338108189, 1338108194, 1338108188, 1338108191, 1338108193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63171720504761 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:45:03.180136
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_34_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_24_9794.jpg', 0), ('/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_14_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/44/image_17022025_03_45_04_9779.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_54_9774.jpg', '/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_44_9769.jpg', '/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_34_10779.jpg', '/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_24_9794.jpg', '/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_14_9774.jpg', '/home/nano/Desktop/images/17022025/03/44/image_17022025_03_45_04_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_54_9774.jpg
/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_44_9769.jpg
/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_34_10779.jpg
/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_24_9794.jpg
/home/nano/Desktop/images/17022025/03/45/image_17022025_03_45_14_9774.jpg
/home/nano/Desktop/images/17022025/03/44/image_17022025_03_45_04_9779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108198","1338108201","1338108197","1338108200","1338108199","1338108196"],"photo_ids_order":["1338108196","1338108197","1338108198","1338108199","1338108200","1338108201"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1780528a33515eb64d30db41ee641ccd.jpg","text":"TemporaryFile(/tmp/multipartBody5345776996916541180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760364439,"filename":"image_17022025_03_45_34_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c092bf808670786705f9f2d36e9d1ee5.jpg","text":"TemporaryFile(/tmp/multipartBody6192635928720895586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760364439,"filename":"image_17022025_03_45_04_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/84894eb3f98aa2951a77e0f79f37c8b8.jpg","text":"TemporaryFile(/tmp/multipartBody795496535856759811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760364439,"filename":"image_17022025_03_45_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c0e6993da9a531542f9eb0979d1d2cc.jpg","text":"TemporaryFile(/tmp/multipartBody5992505636381550864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760364439,"filename":"image_17022025_03_45_14_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/35a3005ec109f631c7e7436b8455dccc.jpg","text":"TemporaryFile(/tmp/multipartBody787269215870911852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760364439,"filename":"image_17022025_03_45_24_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/924fa26e267194bad0ab15c95f510894.jpg","text":"TemporaryFile(/tmp/multipartBody900609571742287138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760364439,"filename":"image_17022025_03_45_54_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108198","file1":"1338108197","file0":"1338108196","file4":"1338108200","file5":"1338108201","file3":"1338108199"},"map_files_photo_id_array":[{"photo_id":"1338108201","filename":"file5"},{"photo_id":"1338108198","filename":"file2"},{"photo_id":"1338108200","filename":"file4"},{"photo_id":"1338108197","filename":"file1"},{"photo_id":"1338108196","filename":"file0"},{"photo_id":"1338108199","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108198":["hashtag1","hashtag2"]},{"1338108201":["hashtag1","hashtag2"]},{"1338108197":["hashtag1","hashtag2"]},{"1338108200":["hashtag1","hashtag2"]},{"1338108199":["hashtag1","hashtag2"]},{"1338108196":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108198, 1338108201, 1338108197, 1338108200, 1338108199, 1338108196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.848368167877197 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:46:02.071918
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_54_9785.jpg', 0), ('/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_34_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_14_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/03/45/image_17022025_03_46_04_9779.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_54_9785.jpg', '/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_44_9774.jpg', '/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_34_9789.jpg', '/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_24_9772.jpg', '/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_14_10780.jpg', '/home/nano/Desktop/images/17022025/03/45/image_17022025_03_46_04_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_54_9785.jpg
/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_44_9774.jpg
/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_34_9789.jpg
/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_24_9772.jpg
/home/nano/Desktop/images/17022025/03/46/image_17022025_03_46_14_10780.jpg
/home/nano/Desktop/images/17022025/03/45/image_17022025_03_46_04_9779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108205","1338108202","1338108204","1338108207","1338108206","1338108203"],"photo_ids_order":["1338108202","1338108203","1338108204","1338108205","1338108206","1338108207"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2bb18f7be2187d3a710fb6264bd685b5.jpg","text":"TemporaryFile(/tmp/multipartBody969258603187366734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760423257,"filename":"image_17022025_03_46_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/29f1e5cc010a2da7bc8bd29a989f7361.jpg","text":"TemporaryFile(/tmp/multipartBody5372146626579551479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760423257,"filename":"image_17022025_03_46_54_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c048b5e201cbd49726dc13e979c3a88.jpg","text":"TemporaryFile(/tmp/multipartBody8476616404004956954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760423257,"filename":"image_17022025_03_46_34_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf5afc30fd14fb36b656eca1ba96babd.jpg","text":"TemporaryFile(/tmp/multipartBody8433703577206478837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760423257,"filename":"image_17022025_03_46_04_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98425a56aff00824febd8cca5f06c348.jpg","text":"TemporaryFile(/tmp/multipartBody8177410461127317261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760423257,"filename":"image_17022025_03_46_14_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8dab96e635674851b4aee9282dcfba7.jpg","text":"TemporaryFile(/tmp/multipartBody4486770989206073114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760423257,"filename":"image_17022025_03_46_44_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108204","file1":"1338108203","file0":"1338108202","file4":"1338108206","file5":"1338108207","file3":"1338108205"},"map_files_photo_id_array":[{"photo_id":"1338108207","filename":"file5"},{"photo_id":"1338108204","filename":"file2"},{"photo_id":"1338108206","filename":"file4"},{"photo_id":"1338108203","filename":"file1"},{"photo_id":"1338108202","filename":"file0"},{"photo_id":"1338108205","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108205":["hashtag1","hashtag2"]},{"1338108202":["hashtag1","hashtag2"]},{"1338108204":["hashtag1","hashtag2"]},{"1338108207":["hashtag1","hashtag2"]},{"1338108206":["hashtag1","hashtag2"]},{"1338108203":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108205, 1338108202, 1338108204, 1338108207, 1338108206, 1338108203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.04290461540222 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:47:02.275716
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_54_10802.jpg', 0), ('/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_43_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_14_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/46/image_17022025_03_47_04_10793.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_54_10802.jpg', '/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_43_9768.jpg', '/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_34_9775.jpg', '/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_24_9771.jpg', '/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_14_9774.jpg', '/home/nano/Desktop/images/17022025/03/46/image_17022025_03_47_04_10793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_54_10802.jpg
/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_43_9768.jpg
/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_34_9775.jpg
/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_24_9771.jpg
/home/nano/Desktop/images/17022025/03/47/image_17022025_03_47_14_9774.jpg
/home/nano/Desktop/images/17022025/03/46/image_17022025_03_47_04_10793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108211","1338108208","1338108210","1338108213","1338108212","1338108209"],"photo_ids_order":["1338108208","1338108209","1338108210","1338108211","1338108212","1338108213"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0a8cf7f336127874a7dd8dfe5c76f46.jpg","text":"TemporaryFile(/tmp/multipartBody1996670495679046607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760484600,"filename":"image_17022025_03_47_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e40bb8f7b7acfd45dc3f6a0517365ffd.jpg","text":"TemporaryFile(/tmp/multipartBody7477123865613179617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760484600,"filename":"image_17022025_03_47_54_10802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a2feefe15fbfe2421b5375cef6763bb.jpg","text":"TemporaryFile(/tmp/multipartBody5618745579613614401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760484600,"filename":"image_17022025_03_47_34_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dcdf2fd45237dc7efc9469b0f1587190.jpg","text":"TemporaryFile(/tmp/multipartBody805167478438347819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760484600,"filename":"image_17022025_03_47_04_10793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/190e1bf3791947597ba2885316c43ed3.jpg","text":"TemporaryFile(/tmp/multipartBody6063489688837152984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760484600,"filename":"image_17022025_03_47_14_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75ab7ba6e827727629782704a2922e6e.jpg","text":"TemporaryFile(/tmp/multipartBody1178273373364398244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760484600,"filename":"image_17022025_03_47_43_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108210","file1":"1338108209","file0":"1338108208","file4":"1338108212","file5":"1338108213","file3":"1338108211"},"map_files_photo_id_array":[{"photo_id":"1338108213","filename":"file5"},{"photo_id":"1338108210","filename":"file2"},{"photo_id":"1338108212","filename":"file4"},{"photo_id":"1338108209","filename":"file1"},{"photo_id":"1338108208","filename":"file0"},{"photo_id":"1338108211","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108211":["hashtag1","hashtag2"]},{"1338108208":["hashtag1","hashtag2"]},{"1338108210":["hashtag1","hashtag2"]},{"1338108213":["hashtag1","hashtag2"]},{"1338108212":["hashtag1","hashtag2"]},{"1338108209":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108211, 1338108208, 1338108210, 1338108213, 1338108212, 1338108209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.451897382736206 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:48:02.274487
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_34_10775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/03/47/image_17022025_03_48_04_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_54_9773.jpg', '/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_44_9769.jpg', '/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_34_10775.jpg', '/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_24_9771.jpg', '/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_14_9775.jpg', '/home/nano/Desktop/images/17022025/03/47/image_17022025_03_48_04_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_54_9773.jpg
/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_44_9769.jpg
/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_34_10775.jpg
/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_24_9771.jpg
/home/nano/Desktop/images/17022025/03/48/image_17022025_03_48_14_9775.jpg
/home/nano/Desktop/images/17022025/03/47/image_17022025_03_48_04_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108217","1338108214","1338108216","1338108219","1338108215","1338108218"],"photo_ids_order":["1338108214","1338108215","1338108216","1338108217","1338108218","1338108219"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e5a079177c546ea6b40bd8caa5a8b6a2.jpg","text":"TemporaryFile(/tmp/multipartBody414145413889808158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760544097,"filename":"image_17022025_03_48_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13fdc7807de43396f8db4082bc9495d7.jpg","text":"TemporaryFile(/tmp/multipartBody1190379170649665676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760544097,"filename":"image_17022025_03_48_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ee5d1a09d8beaf071e6316697146e74.jpg","text":"TemporaryFile(/tmp/multipartBody4997537309587525131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760544097,"filename":"image_17022025_03_48_34_10775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6607a9ec0ddd53f3474e11111ce3c6b9.jpg","text":"TemporaryFile(/tmp/multipartBody1142339660962114644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760544097,"filename":"image_17022025_03_48_04_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f8612cd984ab453ce4afc152f4bfd10.jpg","text":"TemporaryFile(/tmp/multipartBody2048999612988974527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760544097,"filename":"image_17022025_03_48_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/980923e9cac794ff44a0ebadcc098612.jpg","text":"TemporaryFile(/tmp/multipartBody4672433965719893362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760544097,"filename":"image_17022025_03_48_14_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108216","file1":"1338108215","file0":"1338108214","file4":"1338108218","file5":"1338108219","file3":"1338108217"},"map_files_photo_id_array":[{"photo_id":"1338108219","filename":"file5"},{"photo_id":"1338108216","filename":"file2"},{"photo_id":"1338108218","filename":"file4"},{"photo_id":"1338108215","filename":"file1"},{"photo_id":"1338108214","filename":"file0"},{"photo_id":"1338108217","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108217":["hashtag1","hashtag2"]},{"1338108214":["hashtag1","hashtag2"]},{"1338108216":["hashtag1","hashtag2"]},{"1338108219":["hashtag1","hashtag2"]},{"1338108215":["hashtag1","hashtag2"]},{"1338108218":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108217, 1338108214, 1338108216, 1338108219, 1338108215, 1338108218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.575021028518677 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:49:02.808368
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_54_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_34_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_24_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_13_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/48/image_17022025_03_49_04_9777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_54_9789.jpg', '/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_44_9771.jpg', '/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_34_9767.jpg', '/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_24_10779.jpg', '/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_13_9774.jpg', '/home/nano/Desktop/images/17022025/03/48/image_17022025_03_49_04_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_54_9789.jpg
/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_44_9771.jpg
/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_34_9767.jpg
/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_24_10779.jpg
/home/nano/Desktop/images/17022025/03/49/image_17022025_03_49_13_9774.jpg
/home/nano/Desktop/images/17022025/03/48/image_17022025_03_49_04_9777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108223","1338108220","1338108222","1338108225","1338108224","1338108221"],"photo_ids_order":["1338108220","1338108221","1338108222","1338108223","1338108224","1338108225"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/30d786ed5582077b89ab74aebc253cb4.jpg","text":"TemporaryFile(/tmp/multipartBody2488508052135235704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760604105,"filename":"image_17022025_03_49_24_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/843ba27a9a9ab49687817fd619975ced.jpg","text":"TemporaryFile(/tmp/multipartBody5801388632076455631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760604105,"filename":"image_17022025_03_49_54_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/30f534d8e7707dd4c582020df43eda54.jpg","text":"TemporaryFile(/tmp/multipartBody1259096479204087057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760604105,"filename":"image_17022025_03_49_34_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c597c3b091a570db8b139477980556a6.jpg","text":"TemporaryFile(/tmp/multipartBody8756659000427925082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760604105,"filename":"image_17022025_03_49_04_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c232bf09a69d4b0053f0761f4ec075e.jpg","text":"TemporaryFile(/tmp/multipartBody1127644342530287483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760604105,"filename":"image_17022025_03_49_13_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1dadf8d40e660af48acacee40ec9684e.jpg","text":"TemporaryFile(/tmp/multipartBody347223341298995634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760604105,"filename":"image_17022025_03_49_44_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108222","file1":"1338108221","file0":"1338108220","file4":"1338108224","file5":"1338108225","file3":"1338108223"},"map_files_photo_id_array":[{"photo_id":"1338108225","filename":"file5"},{"photo_id":"1338108222","filename":"file2"},{"photo_id":"1338108224","filename":"file4"},{"photo_id":"1338108221","filename":"file1"},{"photo_id":"1338108220","filename":"file0"},{"photo_id":"1338108223","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108223":["hashtag1","hashtag2"]},{"1338108220":["hashtag1","hashtag2"]},{"1338108222":["hashtag1","hashtag2"]},{"1338108225":["hashtag1","hashtag2"]},{"1338108224":["hashtag1","hashtag2"]},{"1338108221":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108223, 1338108220, 1338108222, 1338108225, 1338108224, 1338108221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24806618690491 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:50:02.404970
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_54_10777.jpg', 0), ('/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_44_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_24_9787.jpg', 0), ('/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_14_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/03/49/image_17022025_03_50_04_10803.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_54_10777.jpg', '/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_44_9770.jpg', '/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_34_9770.jpg', '/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_24_9787.jpg', '/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_14_9778.jpg', '/home/nano/Desktop/images/17022025/03/49/image_17022025_03_50_04_10803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_54_10777.jpg
/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_44_9770.jpg
/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_34_9770.jpg
/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_24_9787.jpg
/home/nano/Desktop/images/17022025/03/50/image_17022025_03_50_14_9778.jpg
/home/nano/Desktop/images/17022025/03/49/image_17022025_03_50_04_10803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108226","1338108229","1338108228","1338108231","1338108230","1338108227"],"photo_ids_order":["1338108226","1338108227","1338108228","1338108229","1338108230","1338108231"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00827112c3260321ad59e988af348a46.jpg","text":"TemporaryFile(/tmp/multipartBody3103825878911275130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760664058,"filename":"image_17022025_03_50_54_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3dbcc215993b7485a4a53a81ab0f7996.jpg","text":"TemporaryFile(/tmp/multipartBody3563402294841209929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760664058,"filename":"image_17022025_03_50_24_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2dc1ea4228e22e03f62defeae4216ced.jpg","text":"TemporaryFile(/tmp/multipartBody375851024586435758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760664058,"filename":"image_17022025_03_50_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/faf95258a6aefed261d2f8fea14f5b05.jpg","text":"TemporaryFile(/tmp/multipartBody8416015592598939475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760664058,"filename":"image_17022025_03_50_04_10803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21f51ac5c9895679df0db614e51f97a1.jpg","text":"TemporaryFile(/tmp/multipartBody4642781626355317747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760664058,"filename":"image_17022025_03_50_14_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/634969bc20691148663c92cdbec0d0cf.jpg","text":"TemporaryFile(/tmp/multipartBody7296827407373255070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760664058,"filename":"image_17022025_03_50_44_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108228","file1":"1338108227","file0":"1338108226","file4":"1338108230","file5":"1338108231","file3":"1338108229"},"map_files_photo_id_array":[{"photo_id":"1338108231","filename":"file5"},{"photo_id":"1338108228","filename":"file2"},{"photo_id":"1338108230","filename":"file4"},{"photo_id":"1338108227","filename":"file1"},{"photo_id":"1338108226","filename":"file0"},{"photo_id":"1338108229","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108226":["hashtag1","hashtag2"]},{"1338108229":["hashtag1","hashtag2"]},{"1338108228":["hashtag1","hashtag2"]},{"1338108231":["hashtag1","hashtag2"]},{"1338108230":["hashtag1","hashtag2"]},{"1338108227":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108226, 1338108229, 1338108228, 1338108231, 1338108230, 1338108227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.860987186431885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:51:02.684805
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_54_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_34_10777.jpg', 0), ('/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_24_9787.jpg', 0), ('/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_14_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/03/50/image_17022025_03_51_04_9777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_54_9768.jpg', '/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_44_9771.jpg', '/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_34_10777.jpg', '/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_24_9787.jpg', '/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_14_9772.jpg', '/home/nano/Desktop/images/17022025/03/50/image_17022025_03_51_04_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_54_9768.jpg
/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_44_9771.jpg
/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_34_10777.jpg
/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_24_9787.jpg
/home/nano/Desktop/images/17022025/03/51/image_17022025_03_51_14_9772.jpg
/home/nano/Desktop/images/17022025/03/50/image_17022025_03_51_04_9777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108232","1338108234","1338108237","1338108233","1338108236","1338108235"],"photo_ids_order":["1338108232","1338108233","1338108234","1338108235","1338108236","1338108237"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/09452bffcbf61831cdbe52f2339fd315.jpg","text":"TemporaryFile(/tmp/multipartBody7217693273087678555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760724494,"filename":"image_17022025_03_51_54_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9244659532aa0794fbd9145672b7e25c.jpg","text":"TemporaryFile(/tmp/multipartBody197544221428400819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760724494,"filename":"image_17022025_03_51_34_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/714dd7dfe512242bc4be77adb4ff15bc.jpg","text":"TemporaryFile(/tmp/multipartBody3728932562765636001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760724494,"filename":"image_17022025_03_51_04_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59a844cb38de8ab436446b7a8cbb3910.jpg","text":"TemporaryFile(/tmp/multipartBody6857719434181744935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760724494,"filename":"image_17022025_03_51_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f82a292d84ba0422b163d5012a20a4c.jpg","text":"TemporaryFile(/tmp/multipartBody2630190281358588911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760724494,"filename":"image_17022025_03_51_14_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15e08eebbaea17ab0e3ae6afcc28300c.jpg","text":"TemporaryFile(/tmp/multipartBody1815786802131707654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760724494,"filename":"image_17022025_03_51_24_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108234","file1":"1338108233","file0":"1338108232","file4":"1338108236","file5":"1338108237","file3":"1338108235"},"map_files_photo_id_array":[{"photo_id":"1338108237","filename":"file5"},{"photo_id":"1338108234","filename":"file2"},{"photo_id":"1338108236","filename":"file4"},{"photo_id":"1338108233","filename":"file1"},{"photo_id":"1338108232","filename":"file0"},{"photo_id":"1338108235","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108232":["hashtag1","hashtag2"]},{"1338108234":["hashtag1","hashtag2"]},{"1338108237":["hashtag1","hashtag2"]},{"1338108233":["hashtag1","hashtag2"]},{"1338108236":["hashtag1","hashtag2"]},{"1338108235":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108232, 1338108234, 1338108237, 1338108233, 1338108236, 1338108235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.732637882232666 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:52:02.724885
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_54_9762.jpg', 0), ('/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_34_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_24_9784.jpg', 0), ('/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_14_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/03/51/image_17022025_03_52_04_9767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_54_9762.jpg', '/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_44_9774.jpg', '/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_34_9768.jpg', '/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_24_9784.jpg', '/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_14_10782.jpg', '/home/nano/Desktop/images/17022025/03/51/image_17022025_03_52_04_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_54_9762.jpg
/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_44_9774.jpg
/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_34_9768.jpg
/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_24_9784.jpg
/home/nano/Desktop/images/17022025/03/52/image_17022025_03_52_14_10782.jpg
/home/nano/Desktop/images/17022025/03/51/image_17022025_03_52_04_9767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108238","1338108240","1338108243","1338108242","1338108239","1338108241"],"photo_ids_order":["1338108238","1338108239","1338108240","1338108241","1338108242","1338108243"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b789b82b23ed894ecceadaeddba021b.jpg","text":"TemporaryFile(/tmp/multipartBody5054154963720616102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760785368,"filename":"image_17022025_03_52_54_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f539d482514d5386407e1d7d9c4e7827.jpg","text":"TemporaryFile(/tmp/multipartBody9186263496410369045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760785368,"filename":"image_17022025_03_52_34_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c156824ba7d90c52f17bd4cabff47e4a.jpg","text":"TemporaryFile(/tmp/multipartBody4211887459254841963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760785368,"filename":"image_17022025_03_52_04_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/259086ad44a0f0453ca40878458a86fc.jpg","text":"TemporaryFile(/tmp/multipartBody263278180883030098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760785368,"filename":"image_17022025_03_52_14_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a245ec707ec2199f2dab7a832468901.jpg","text":"TemporaryFile(/tmp/multipartBody1750608976889074028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760785368,"filename":"image_17022025_03_52_44_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ea540f21d81e545fa1c0e5762ac91c0.jpg","text":"TemporaryFile(/tmp/multipartBody5630087757008172104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760785368,"filename":"image_17022025_03_52_24_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108240","file1":"1338108239","file0":"1338108238","file4":"1338108242","file5":"1338108243","file3":"1338108241"},"map_files_photo_id_array":[{"photo_id":"1338108243","filename":"file5"},{"photo_id":"1338108240","filename":"file2"},{"photo_id":"1338108242","filename":"file4"},{"photo_id":"1338108239","filename":"file1"},{"photo_id":"1338108238","filename":"file0"},{"photo_id":"1338108241","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108238":["hashtag1","hashtag2"]},{"1338108240":["hashtag1","hashtag2"]},{"1338108243":["hashtag1","hashtag2"]},{"1338108242":["hashtag1","hashtag2"]},{"1338108239":["hashtag1","hashtag2"]},{"1338108241":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108238, 1338108240, 1338108243, 1338108242, 1338108239, 1338108241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.831515312194824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:53:02.891373
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_54_10796.jpg', 0), ('/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_44_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_34_9806.jpg', 0), ('/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_14_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/52/image_17022025_03_53_04_10801.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_54_10796.jpg', '/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_44_9788.jpg', '/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_34_9806.jpg', '/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_24_9769.jpg', '/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_14_9771.jpg', '/home/nano/Desktop/images/17022025/03/52/image_17022025_03_53_04_10801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_54_10796.jpg
/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_44_9788.jpg
/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_34_9806.jpg
/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_24_9769.jpg
/home/nano/Desktop/images/17022025/03/53/image_17022025_03_53_14_9771.jpg
/home/nano/Desktop/images/17022025/03/52/image_17022025_03_53_04_10801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108244","1338108247","1338108246","1338108249","1338108245","1338108248"],"photo_ids_order":["1338108244","1338108245","1338108246","1338108247","1338108248","1338108249"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fd19ecc61ca9d06d3712b25e303e7491.jpg","text":"TemporaryFile(/tmp/multipartBody3536422895406148889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760843983,"filename":"image_17022025_03_53_54_10796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4702d33709a6c740812ac6de17d5c906.jpg","text":"TemporaryFile(/tmp/multipartBody649530242197789494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760843983,"filename":"image_17022025_03_53_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/33d07826491ccba0d257d51c79c43d40.jpg","text":"TemporaryFile(/tmp/multipartBody5542287922998422674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760843983,"filename":"image_17022025_03_53_34_9806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f4f24d0105787ff306df4b66c372086d.jpg","text":"TemporaryFile(/tmp/multipartBody9084480092755980409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760843983,"filename":"image_17022025_03_53_04_10801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4404f114b3d4f2e741c1b122a59c8023.jpg","text":"TemporaryFile(/tmp/multipartBody2750992498816019106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760843983,"filename":"image_17022025_03_53_44_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/931ba4d804d20e0abfb40fad0e8c9432.jpg","text":"TemporaryFile(/tmp/multipartBody6325106511019743583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760843983,"filename":"image_17022025_03_53_14_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108246","file1":"1338108245","file0":"1338108244","file4":"1338108248","file5":"1338108249","file3":"1338108247"},"map_files_photo_id_array":[{"photo_id":"1338108249","filename":"file5"},{"photo_id":"1338108246","filename":"file2"},{"photo_id":"1338108248","filename":"file4"},{"photo_id":"1338108245","filename":"file1"},{"photo_id":"1338108244","filename":"file0"},{"photo_id":"1338108247","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108244":["hashtag1","hashtag2"]},{"1338108247":["hashtag1","hashtag2"]},{"1338108246":["hashtag1","hashtag2"]},{"1338108249":["hashtag1","hashtag2"]},{"1338108245":["hashtag1","hashtag2"]},{"1338108248":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108244, 1338108247, 1338108246, 1338108249, 1338108245, 1338108248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.323277711868286 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:54:03.122198
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_34_10776.jpg', 0), ('/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_24_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_14_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/03/53/image_17022025_03_54_04_9782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_54_9771.jpg', '/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_44_9771.jpg', '/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_34_10776.jpg', '/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_24_9768.jpg', '/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_14_9776.jpg', '/home/nano/Desktop/images/17022025/03/53/image_17022025_03_54_04_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_54_9771.jpg
/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_44_9771.jpg
/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_34_10776.jpg
/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_24_9768.jpg
/home/nano/Desktop/images/17022025/03/54/image_17022025_03_54_14_9776.jpg
/home/nano/Desktop/images/17022025/03/53/image_17022025_03_54_04_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108252","1338108255","1338108251","1338108254","1338108253","1338108256"],"photo_ids_order":["1338108251","1338108252","1338108253","1338108254","1338108255","1338108256"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d3ec24f943bff2372424121202fbea7f.jpg","text":"TemporaryFile(/tmp/multipartBody7025553709052745240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760904435,"filename":"image_17022025_03_54_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59e8be4a852fd9a98e7e131ec087dc26.jpg","text":"TemporaryFile(/tmp/multipartBody5316333295425430417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760904435,"filename":"image_17022025_03_54_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/30c8481e8c67b2fcc854c1e0c7ac623a.jpg","text":"TemporaryFile(/tmp/multipartBody4260684886640099547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760904435,"filename":"image_17022025_03_54_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a4045df5cde9ff202ecd249652ac4b1.jpg","text":"TemporaryFile(/tmp/multipartBody8538744747616404002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760904435,"filename":"image_17022025_03_54_24_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b695451fd6ccd9e46a67295f4b21c7fd.jpg","text":"TemporaryFile(/tmp/multipartBody4165116282798515133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760904435,"filename":"image_17022025_03_54_34_10776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3ae5a2b1393bdf9239a63965ab3e81b.jpg","text":"TemporaryFile(/tmp/multipartBody2862659369360322836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760904435,"filename":"image_17022025_03_54_04_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108253","file1":"1338108252","file0":"1338108251","file4":"1338108255","file5":"1338108256","file3":"1338108254"},"map_files_photo_id_array":[{"photo_id":"1338108256","filename":"file5"},{"photo_id":"1338108253","filename":"file2"},{"photo_id":"1338108255","filename":"file4"},{"photo_id":"1338108252","filename":"file1"},{"photo_id":"1338108251","filename":"file0"},{"photo_id":"1338108254","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108252":["hashtag1","hashtag2"]},{"1338108255":["hashtag1","hashtag2"]},{"1338108251":["hashtag1","hashtag2"]},{"1338108254":["hashtag1","hashtag2"]},{"1338108253":["hashtag1","hashtag2"]},{"1338108256":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108252, 1338108255, 1338108251, 1338108254, 1338108253, 1338108256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.43537211418152 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:55:03.008347
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_54_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_34_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_24_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_14_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/54/image_17022025_03_55_04_9781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_54_9768.jpg', '/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_44_9771.jpg', '/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_34_9769.jpg', '/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_24_10780.jpg', '/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_14_9771.jpg', '/home/nano/Desktop/images/17022025/03/54/image_17022025_03_55_04_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_54_9768.jpg
/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_44_9771.jpg
/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_34_9769.jpg
/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_24_10780.jpg
/home/nano/Desktop/images/17022025/03/55/image_17022025_03_55_14_9771.jpg
/home/nano/Desktop/images/17022025/03/54/image_17022025_03_55_04_9781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108259","1338108258","1338108261","1338108260","1338108263","1338108257"],"photo_ids_order":["1338108257","1338108258","1338108259","1338108260","1338108261","1338108263"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8eb60de17289da40c1cdc25a31d3429f.jpg","text":"TemporaryFile(/tmp/multipartBody445097223502928693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760964235,"filename":"image_17022025_03_55_34_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/559c9001386624a41b0e0306bfd0abdd.jpg","text":"TemporaryFile(/tmp/multipartBody651128322986439879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760964235,"filename":"image_17022025_03_55_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6429675a0abc644c455f8c8a4fa6c89.jpg","text":"TemporaryFile(/tmp/multipartBody7198404902111075494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760964235,"filename":"image_17022025_03_55_14_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3829a8282c04d0b6cf8074ae0b9c0fc.jpg","text":"TemporaryFile(/tmp/multipartBody8433747276159624783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760964235,"filename":"image_17022025_03_55_24_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0ab7bf104755515928fbd170b5827cd.jpg","text":"TemporaryFile(/tmp/multipartBody5030699143339144854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760964235,"filename":"image_17022025_03_55_04_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc02bf4dfbb966088321b7c309539796.jpg","text":"TemporaryFile(/tmp/multipartBody60736357532453130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739760964235,"filename":"image_17022025_03_55_54_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108259","file1":"1338108258","file0":"1338108257","file4":"1338108261","file5":"1338108263","file3":"1338108260"},"map_files_photo_id_array":[{"photo_id":"1338108263","filename":"file5"},{"photo_id":"1338108259","filename":"file2"},{"photo_id":"1338108261","filename":"file4"},{"photo_id":"1338108258","filename":"file1"},{"photo_id":"1338108257","filename":"file0"},{"photo_id":"1338108260","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108259":["hashtag1","hashtag2"]},{"1338108258":["hashtag1","hashtag2"]},{"1338108261":["hashtag1","hashtag2"]},{"1338108260":["hashtag1","hashtag2"]},{"1338108263":["hashtag1","hashtag2"]},{"1338108257":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108259, 1338108258, 1338108261, 1338108260, 1338108263, 1338108257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.983380556106567 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:56:03.065300
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_54_10798.jpg', 0), ('/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_43_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_24_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_14_9809.jpg', 0), ('/home/nano/Desktop/images/17022025/03/55/image_17022025_03_56_04_10783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_54_10798.jpg', '/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_43_9770.jpg', '/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_34_9771.jpg', '/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_24_9768.jpg', '/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_14_9809.jpg', '/home/nano/Desktop/images/17022025/03/55/image_17022025_03_56_04_10783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_54_10798.jpg
/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_43_9770.jpg
/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_34_9771.jpg
/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_24_9768.jpg
/home/nano/Desktop/images/17022025/03/56/image_17022025_03_56_14_9809.jpg
/home/nano/Desktop/images/17022025/03/55/image_17022025_03_56_04_10783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108265","1338108270","1338108267","1338108269","1338108266","1338108268"],"photo_ids_order":["1338108265","1338108266","1338108267","1338108268","1338108269","1338108270"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d05e8fd4dbd01723dc928d89befd7611.jpg","text":"TemporaryFile(/tmp/multipartBody909594150802743228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761024251,"filename":"image_17022025_03_56_54_10798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/30724532b0eaff8401091a6b7cb45c1a.jpg","text":"TemporaryFile(/tmp/multipartBody4663491577344848234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761024251,"filename":"image_17022025_03_56_04_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1139f701166f89f4c94b5c2bda4c6290.jpg","text":"TemporaryFile(/tmp/multipartBody8975639359873223651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761024251,"filename":"image_17022025_03_56_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77c637c544f5a8959defed9a5ecb5de6.jpg","text":"TemporaryFile(/tmp/multipartBody3687846615356622321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761024251,"filename":"image_17022025_03_56_14_9809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae2386e4e7c193a64f8604a34997ddf0.jpg","text":"TemporaryFile(/tmp/multipartBody4372543924569339919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761024251,"filename":"image_17022025_03_56_43_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87b0e559f40407c3bba4b596f3c4746a.jpg","text":"TemporaryFile(/tmp/multipartBody4085657013716722771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761024251,"filename":"image_17022025_03_56_24_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108267","file1":"1338108266","file0":"1338108265","file4":"1338108269","file5":"1338108270","file3":"1338108268"},"map_files_photo_id_array":[{"photo_id":"1338108270","filename":"file5"},{"photo_id":"1338108267","filename":"file2"},{"photo_id":"1338108269","filename":"file4"},{"photo_id":"1338108266","filename":"file1"},{"photo_id":"1338108265","filename":"file0"},{"photo_id":"1338108268","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108265":["hashtag1","hashtag2"]},{"1338108270":["hashtag1","hashtag2"]},{"1338108267":["hashtag1","hashtag2"]},{"1338108269":["hashtag1","hashtag2"]},{"1338108266":["hashtag1","hashtag2"]},{"1338108268":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108265, 1338108270, 1338108267, 1338108269, 1338108266, 1338108268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57033443450928 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:57:02.376065
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_34_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_24_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_14_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/03/56/image_17022025_03_57_04_9770.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_54_9770.jpg', '/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_44_9769.jpg', '/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_34_10780.jpg', '/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_24_9770.jpg', '/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_14_9771.jpg', '/home/nano/Desktop/images/17022025/03/56/image_17022025_03_57_04_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_54_9770.jpg
/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_44_9769.jpg
/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_34_10780.jpg
/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_24_9770.jpg
/home/nano/Desktop/images/17022025/03/57/image_17022025_03_57_14_9771.jpg
/home/nano/Desktop/images/17022025/03/56/image_17022025_03_57_04_9770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108390","1338108387","1338108392","1338108389","1338108391","1338108388"],"photo_ids_order":["1338108387","1338108388","1338108389","1338108390","1338108391","1338108392"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f472b312a9161ca4b9c5e3a7d713002d.jpg","text":"TemporaryFile(/tmp/multipartBody6672750123749569547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761083627,"filename":"image_17022025_03_57_24_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d5089acb99ce62df394e57f4dfc40e3.jpg","text":"TemporaryFile(/tmp/multipartBody6245679425784618016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761083627,"filename":"image_17022025_03_57_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67935b637482d6b44690c2c1226dcbe6.jpg","text":"TemporaryFile(/tmp/multipartBody2090093216453682402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761083627,"filename":"image_17022025_03_57_04_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d45740c97e06c86c2bbe333f6e94918.jpg","text":"TemporaryFile(/tmp/multipartBody5253592104422771619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761083627,"filename":"image_17022025_03_57_34_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38c86357c2e3be300ebc512ef61cd06e.jpg","text":"TemporaryFile(/tmp/multipartBody2563999016939842652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761083627,"filename":"image_17022025_03_57_14_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7368cf10b30a287fd3cf84cbdf80873a.jpg","text":"TemporaryFile(/tmp/multipartBody7970548319834292634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761083627,"filename":"image_17022025_03_57_44_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108389","file1":"1338108388","file0":"1338108387","file4":"1338108391","file5":"1338108392","file3":"1338108390"},"map_files_photo_id_array":[{"photo_id":"1338108392","filename":"file5"},{"photo_id":"1338108389","filename":"file2"},{"photo_id":"1338108391","filename":"file4"},{"photo_id":"1338108388","filename":"file1"},{"photo_id":"1338108387","filename":"file0"},{"photo_id":"1338108390","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108390":["hashtag1","hashtag2"]},{"1338108387":["hashtag1","hashtag2"]},{"1338108392":["hashtag1","hashtag2"]},{"1338108389":["hashtag1","hashtag2"]},{"1338108391":["hashtag1","hashtag2"]},{"1338108388":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108390, 1338108387, 1338108392, 1338108389, 1338108391, 1338108388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2481791973114 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:58:02.216229
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_54_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_34_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_24_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_13_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/03/57/image_17022025_03_58_04_9790.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_54_9768.jpg', '/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_44_9769.jpg', '/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_34_9767.jpg', '/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_24_10779.jpg', '/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_13_9773.jpg', '/home/nano/Desktop/images/17022025/03/57/image_17022025_03_58_04_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_54_9768.jpg
/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_44_9769.jpg
/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_34_9767.jpg
/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_24_10779.jpg
/home/nano/Desktop/images/17022025/03/58/image_17022025_03_58_13_9773.jpg
/home/nano/Desktop/images/17022025/03/57/image_17022025_03_58_04_9790.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108393","1338108396","1338108395","1338108398","1338108397","1338108394"],"photo_ids_order":["1338108393","1338108394","1338108395","1338108396","1338108397","1338108398"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/344b1873b3241e3d3aa028e3ca961ce7.jpg","text":"TemporaryFile(/tmp/multipartBody1181548158251770619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761143724,"filename":"image_17022025_03_58_54_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21be41fcb4c4985764327b534b6238d6.jpg","text":"TemporaryFile(/tmp/multipartBody7766660767400359902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761143724,"filename":"image_17022025_03_58_24_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a87a056fdddebfae7bdda56b45cc0e13.jpg","text":"TemporaryFile(/tmp/multipartBody5607569600610022308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761143724,"filename":"image_17022025_03_58_34_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/93e73974c9099bde1a82862ef0a6fdce.jpg","text":"TemporaryFile(/tmp/multipartBody8869523401586309626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761143724,"filename":"image_17022025_03_58_04_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/326d36d19a231b334a5874fded16d014.jpg","text":"TemporaryFile(/tmp/multipartBody2119619143245505067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761143724,"filename":"image_17022025_03_58_13_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/51fa660a42296ac3205dcfc8e3e29247.jpg","text":"TemporaryFile(/tmp/multipartBody7757585065617238829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761143724,"filename":"image_17022025_03_58_44_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108395","file1":"1338108394","file0":"1338108393","file4":"1338108397","file5":"1338108398","file3":"1338108396"},"map_files_photo_id_array":[{"photo_id":"1338108398","filename":"file5"},{"photo_id":"1338108395","filename":"file2"},{"photo_id":"1338108397","filename":"file4"},{"photo_id":"1338108394","filename":"file1"},{"photo_id":"1338108393","filename":"file0"},{"photo_id":"1338108396","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108393":["hashtag1","hashtag2"]},{"1338108396":["hashtag1","hashtag2"]},{"1338108395":["hashtag1","hashtag2"]},{"1338108398":["hashtag1","hashtag2"]},{"1338108397":["hashtag1","hashtag2"]},{"1338108394":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108393, 1338108396, 1338108395, 1338108398, 1338108397, 1338108394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88983368873596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 03:59:02.674823
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_54_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_44_10776.jpg', 0), ('/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_34_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_24_9765.jpg', 0), ('/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_14_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/03/58/image_17022025_03_59_04_10788.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_54_9769.jpg', '/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_44_10776.jpg', '/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_34_9767.jpg', '/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_24_9765.jpg', '/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_14_9770.jpg', '/home/nano/Desktop/images/17022025/03/58/image_17022025_03_59_04_10788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_54_9769.jpg
/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_44_10776.jpg
/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_34_9767.jpg
/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_24_9765.jpg
/home/nano/Desktop/images/17022025/03/59/image_17022025_03_59_14_9770.jpg
/home/nano/Desktop/images/17022025/03/58/image_17022025_03_59_04_10788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108403","1338108406","1338108399","1338108402","1338108404","1338108401"],"photo_ids_order":["1338108399","1338108401","1338108402","1338108403","1338108404","1338108406"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8deb4ee27a50ab0590c4925a1603aaee.jpg","text":"TemporaryFile(/tmp/multipartBody4369654426250657662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761204301,"filename":"image_17022025_03_59_24_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3176079a0b0445eded653e10b9b69609.jpg","text":"TemporaryFile(/tmp/multipartBody1118422604605918411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761204301,"filename":"image_17022025_03_59_04_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4f1f06dea403f5d827fdec792b93587.jpg","text":"TemporaryFile(/tmp/multipartBody1714184893383143295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761204301,"filename":"image_17022025_03_59_54_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/11c1ef64951e63cd5561eabfe97e5632.jpg","text":"TemporaryFile(/tmp/multipartBody2159603594180837685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761204301,"filename":"image_17022025_03_59_34_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a91d997c735ef42f3d2eec4c716b412c.jpg","text":"TemporaryFile(/tmp/multipartBody5191229490378882311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761204301,"filename":"image_17022025_03_59_14_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b6fa35453bfe97dfa9620d24e0ee7d16.jpg","text":"TemporaryFile(/tmp/multipartBody3475222190474189911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761204301,"filename":"image_17022025_03_59_44_10776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108402","file1":"1338108401","file0":"1338108399","file4":"1338108404","file5":"1338108406","file3":"1338108403"},"map_files_photo_id_array":[{"photo_id":"1338108406","filename":"file5"},{"photo_id":"1338108402","filename":"file2"},{"photo_id":"1338108404","filename":"file4"},{"photo_id":"1338108401","filename":"file1"},{"photo_id":"1338108399","filename":"file0"},{"photo_id":"1338108403","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108403":["hashtag1","hashtag2"]},{"1338108406":["hashtag1","hashtag2"]},{"1338108399":["hashtag1","hashtag2"]},{"1338108402":["hashtag1","hashtag2"]},{"1338108404":["hashtag1","hashtag2"]},{"1338108401":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108403, 1338108406, 1338108399, 1338108402, 1338108404, 1338108401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49170732498169 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:00:02.358000
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_54_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_44_9763.jpg', 0), ('/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_34_10796.jpg', 0), ('/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_24_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_14_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/03/59/image_17022025_04_00_04_9774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_54_9769.jpg', '/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_44_9763.jpg', '/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_34_10796.jpg', '/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_24_9777.jpg', '/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_14_9769.jpg', '/home/nano/Desktop/images/17022025/03/59/image_17022025_04_00_04_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_54_9769.jpg
/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_44_9763.jpg
/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_34_10796.jpg
/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_24_9777.jpg
/home/nano/Desktop/images/17022025/04/00/image_17022025_04_00_14_9769.jpg
/home/nano/Desktop/images/17022025/03/59/image_17022025_04_00_04_9774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108415","1338108418","1338108414","1338108417","1338108413","1338108416"],"photo_ids_order":["1338108413","1338108414","1338108415","1338108416","1338108417","1338108418"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/45a397eb4cb7c5b9d4c9f1492e2edb53.jpg","text":"TemporaryFile(/tmp/multipartBody3618047524646796939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761263655,"filename":"image_17022025_04_00_34_10796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5185052a6b6481e3ca71d27c81f81161.jpg","text":"TemporaryFile(/tmp/multipartBody2146346930411111226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761263655,"filename":"image_17022025_04_00_04_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4b482020c86e6d170b7ee5d70b11da4.jpg","text":"TemporaryFile(/tmp/multipartBody7995827093104058611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761263655,"filename":"image_17022025_04_00_44_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b488ac907f457311c12fd5c0bc87068e.jpg","text":"TemporaryFile(/tmp/multipartBody660749661678242276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761263655,"filename":"image_17022025_04_00_14_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8772dcc743b9dbe400b9f38efbdf28f.jpg","text":"TemporaryFile(/tmp/multipartBody2131473291294761972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761263655,"filename":"image_17022025_04_00_54_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3676041cc66de4050aa37715bdd4651d.jpg","text":"TemporaryFile(/tmp/multipartBody9117286186385091057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761263655,"filename":"image_17022025_04_00_24_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108415","file1":"1338108414","file0":"1338108413","file4":"1338108417","file5":"1338108418","file3":"1338108416"},"map_files_photo_id_array":[{"photo_id":"1338108418","filename":"file5"},{"photo_id":"1338108415","filename":"file2"},{"photo_id":"1338108417","filename":"file4"},{"photo_id":"1338108414","filename":"file1"},{"photo_id":"1338108413","filename":"file0"},{"photo_id":"1338108416","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108415":["hashtag1","hashtag2"]},{"1338108418":["hashtag1","hashtag2"]},{"1338108414":["hashtag1","hashtag2"]},{"1338108417":["hashtag1","hashtag2"]},{"1338108413":["hashtag1","hashtag2"]},{"1338108416":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108415, 1338108418, 1338108414, 1338108417, 1338108413, 1338108416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.559889316558838 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:01:02.477262
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_54_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_34_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_24_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_14_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/04/00/image_17022025_04_01_04_9781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_54_9767.jpg', '/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_44_9769.jpg', '/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_34_9767.jpg', '/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_24_9768.jpg', '/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_14_10781.jpg', '/home/nano/Desktop/images/17022025/04/00/image_17022025_04_01_04_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_54_9767.jpg
/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_44_9769.jpg
/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_34_9767.jpg
/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_24_9768.jpg
/home/nano/Desktop/images/17022025/04/01/image_17022025_04_01_14_10781.jpg
/home/nano/Desktop/images/17022025/04/00/image_17022025_04_01_04_9781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108622","1338108610","1338108624","1338108623","1338108626","1338108625"],"photo_ids_order":["1338108610","1338108622","1338108623","1338108624","1338108625","1338108626"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0104e5883c246c1d2809356c2162adc0.jpg","text":"TemporaryFile(/tmp/multipartBody689035887454800638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761323661,"filename":"image_17022025_04_01_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ded05cb15b7ce217d13a498fc7fb806a.jpg","text":"TemporaryFile(/tmp/multipartBody1767593523076396651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761323661,"filename":"image_17022025_04_01_54_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59beb45fda43d88d708c33b56a1b346f.jpg","text":"TemporaryFile(/tmp/multipartBody6950465571171526921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761323661,"filename":"image_17022025_04_01_24_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c53384200a1c707ac3bac72db5c6ba1e.jpg","text":"TemporaryFile(/tmp/multipartBody292639080882776428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761323661,"filename":"image_17022025_04_01_34_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7455cacf4aa5976b7ba3eb7c345c894b.jpg","text":"TemporaryFile(/tmp/multipartBody8130620510944095539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761323661,"filename":"image_17022025_04_01_04_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e9246777cc733c59847375701d686a15.jpg","text":"TemporaryFile(/tmp/multipartBody8255713767564124425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761323661,"filename":"image_17022025_04_01_14_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108623","file1":"1338108622","file0":"1338108610","file4":"1338108625","file5":"1338108626","file3":"1338108624"},"map_files_photo_id_array":[{"photo_id":"1338108626","filename":"file5"},{"photo_id":"1338108623","filename":"file2"},{"photo_id":"1338108625","filename":"file4"},{"photo_id":"1338108622","filename":"file1"},{"photo_id":"1338108610","filename":"file0"},{"photo_id":"1338108624","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108622":["hashtag1","hashtag2"]},{"1338108610":["hashtag1","hashtag2"]},{"1338108624":["hashtag1","hashtag2"]},{"1338108623":["hashtag1","hashtag2"]},{"1338108626":["hashtag1","hashtag2"]},{"1338108625":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108622, 1338108610, 1338108624, 1338108623, 1338108626, 1338108625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45800256729126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:02:02.622275
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_54_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_44_10796.jpg', 0), ('/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_24_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_14_9797.jpg', 0), ('/home/nano/Desktop/images/17022025/04/01/image_17022025_04_02_04_10786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_54_9767.jpg', '/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_44_10796.jpg', '/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_34_9771.jpg', '/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_24_9788.jpg', '/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_14_9797.jpg', '/home/nano/Desktop/images/17022025/04/01/image_17022025_04_02_04_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_54_9767.jpg
/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_44_10796.jpg
/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_34_9771.jpg
/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_24_9788.jpg
/home/nano/Desktop/images/17022025/04/02/image_17022025_04_02_14_9797.jpg
/home/nano/Desktop/images/17022025/04/01/image_17022025_04_02_04_10786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338108634","1338108637","1338108636","1338108633","1338108635","1338108638"],"photo_ids_order":["1338108633","1338108634","1338108635","1338108636","1338108637","1338108638"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/edb30e023195619384429cc082b4065f.jpg","text":"TemporaryFile(/tmp/multipartBody7334836637804465124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761384522,"filename":"image_17022025_04_02_44_10796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86abeb0224803085045573c4a591f4e4.jpg","text":"TemporaryFile(/tmp/multipartBody3975223736824630494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761384522,"filename":"image_17022025_04_02_14_9797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/18b166a86fe5c5fb7847060c1a102dc8.jpg","text":"TemporaryFile(/tmp/multipartBody3786275882731287177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761384522,"filename":"image_17022025_04_02_24_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a218319ba3e67c3a86131581e805224.jpg","text":"TemporaryFile(/tmp/multipartBody5934536696326059383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761384522,"filename":"image_17022025_04_02_54_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/731fa400717ba7a0bce1b60a11d3154b.jpg","text":"TemporaryFile(/tmp/multipartBody5536461367229474848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761384522,"filename":"image_17022025_04_02_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d89d87733f41751b9d655c65726441a0.jpg","text":"TemporaryFile(/tmp/multipartBody5416191410537962591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761384522,"filename":"image_17022025_04_02_04_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338108635","file1":"1338108634","file0":"1338108633","file4":"1338108637","file5":"1338108638","file3":"1338108636"},"map_files_photo_id_array":[{"photo_id":"1338108638","filename":"file5"},{"photo_id":"1338108635","filename":"file2"},{"photo_id":"1338108637","filename":"file4"},{"photo_id":"1338108634","filename":"file1"},{"photo_id":"1338108633","filename":"file0"},{"photo_id":"1338108636","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338108634":["hashtag1","hashtag2"]},{"1338108637":["hashtag1","hashtag2"]},{"1338108636":["hashtag1","hashtag2"]},{"1338108633":["hashtag1","hashtag2"]},{"1338108635":["hashtag1","hashtag2"]},{"1338108638":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338108634, 1338108637, 1338108636, 1338108633, 1338108635, 1338108638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68120074272156 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:03:02.827318
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_44_9766.jpg', 0), ('/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_34_10776.jpg', 0), ('/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_14_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/04/02/image_17022025_04_03_04_9771.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_54_9771.jpg', '/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_44_9766.jpg', '/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_34_10776.jpg', '/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_24_9769.jpg', '/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_14_9767.jpg', '/home/nano/Desktop/images/17022025/04/02/image_17022025_04_03_04_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_54_9771.jpg
/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_44_9766.jpg
/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_34_10776.jpg
/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_24_9769.jpg
/home/nano/Desktop/images/17022025/04/03/image_17022025_04_03_14_9767.jpg
/home/nano/Desktop/images/17022025/04/02/image_17022025_04_03_04_9771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109296","1338109292","1338109295","1338109294","1338109297","1338109293"],"photo_ids_order":["1338109292","1338109293","1338109294","1338109295","1338109296","1338109297"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5915d4659ee31f14dcb6f64b8e86f27d.jpg","text":"TemporaryFile(/tmp/multipartBody5382268648733838964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761448810,"filename":"image_17022025_04_03_14_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7594fc5181edd602c962d290e49340a4.jpg","text":"TemporaryFile(/tmp/multipartBody6321173341012435860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761448810,"filename":"image_17022025_04_03_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce1e11fc7946b13facd788602d172506.jpg","text":"TemporaryFile(/tmp/multipartBody4246941833060656311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761448810,"filename":"image_17022025_04_03_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40a477e3b094373c651771c3fd138cc9.jpg","text":"TemporaryFile(/tmp/multipartBody7729836792894361982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761448810,"filename":"image_17022025_04_03_34_10776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/02fa53a10fed19e003a33cbeb7c77584.jpg","text":"TemporaryFile(/tmp/multipartBody8006872072269492837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761448810,"filename":"image_17022025_04_03_04_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8184a9a34e87da7f74ac5cfc102a08b6.jpg","text":"TemporaryFile(/tmp/multipartBody3668352714550117678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761448810,"filename":"image_17022025_04_03_44_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109294","file1":"1338109293","file0":"1338109292","file4":"1338109296","file5":"1338109297","file3":"1338109295"},"map_files_photo_id_array":[{"photo_id":"1338109297","filename":"file5"},{"photo_id":"1338109294","filename":"file2"},{"photo_id":"1338109296","filename":"file4"},{"photo_id":"1338109293","filename":"file1"},{"photo_id":"1338109292","filename":"file0"},{"photo_id":"1338109295","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109296":["hashtag1","hashtag2"]},{"1338109292":["hashtag1","hashtag2"]},{"1338109295":["hashtag1","hashtag2"]},{"1338109294":["hashtag1","hashtag2"]},{"1338109297":["hashtag1","hashtag2"]},{"1338109293":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109296, 1338109292, 1338109295, 1338109294, 1338109297, 1338109293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26397252082825 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:04:03.133570
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_54_9792.jpg', 0), ('/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_34_9766.jpg', 0), ('/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_24_9787.jpg', 0), ('/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_14_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/04/03/image_17022025_04_04_04_9768.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_54_9792.jpg', '/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_44_9771.jpg', '/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_34_9766.jpg', '/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_24_9787.jpg', '/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_14_10780.jpg', '/home/nano/Desktop/images/17022025/04/03/image_17022025_04_04_04_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_54_9792.jpg
/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_44_9771.jpg
/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_34_9766.jpg
/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_24_9787.jpg
/home/nano/Desktop/images/17022025/04/04/image_17022025_04_04_14_10780.jpg
/home/nano/Desktop/images/17022025/04/03/image_17022025_04_04_04_9768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109575","1338109580","1338109577","1338109576","1338109579","1338109578"],"photo_ids_order":["1338109575","1338109576","1338109577","1338109578","1338109579","1338109580"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6137026ef2993e164f21023c25ce60a3.jpg","text":"TemporaryFile(/tmp/multipartBody1749030245058551959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761504858,"filename":"image_17022025_04_04_54_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5cff9d76620fdf051fc5cd2dc230c13e.jpg","text":"TemporaryFile(/tmp/multipartBody3803200472924790186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761504858,"filename":"image_17022025_04_04_04_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c5019aff87cb150edc6f2e936065a8e6.jpg","text":"TemporaryFile(/tmp/multipartBody7953744841921587208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761504858,"filename":"image_17022025_04_04_34_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40be1eb29a418c53fa2eff2f4b58db6c.jpg","text":"TemporaryFile(/tmp/multipartBody8169349862729119539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761504858,"filename":"image_17022025_04_04_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79b33d4a0f4fc690c2857350a8ccdf12.jpg","text":"TemporaryFile(/tmp/multipartBody1046095795380350468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761504858,"filename":"image_17022025_04_04_14_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0dd5cdbb26d01fb80777852f20bcfe2b.jpg","text":"TemporaryFile(/tmp/multipartBody4985666049053041312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761504858,"filename":"image_17022025_04_04_24_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109577","file1":"1338109576","file0":"1338109575","file4":"1338109579","file5":"1338109580","file3":"1338109578"},"map_files_photo_id_array":[{"photo_id":"1338109580","filename":"file5"},{"photo_id":"1338109577","filename":"file2"},{"photo_id":"1338109579","filename":"file4"},{"photo_id":"1338109576","filename":"file1"},{"photo_id":"1338109575","filename":"file0"},{"photo_id":"1338109578","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109575":["hashtag1","hashtag2"]},{"1338109580":["hashtag1","hashtag2"]},{"1338109577":["hashtag1","hashtag2"]},{"1338109576":["hashtag1","hashtag2"]},{"1338109579":["hashtag1","hashtag2"]},{"1338109578":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109575, 1338109580, 1338109577, 1338109576, 1338109579, 1338109578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.614349126815796 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:05:02.965323
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_54_9766.jpg', 0), ('/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_44_10777.jpg', 0), ('/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_34_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_14_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/04/04/image_17022025_04_05_04_10813.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_54_9766.jpg', '/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_44_10777.jpg', '/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_34_9788.jpg', '/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_24_9773.jpg', '/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_14_9773.jpg', '/home/nano/Desktop/images/17022025/04/04/image_17022025_04_05_04_10813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_54_9766.jpg
/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_44_10777.jpg
/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_34_9788.jpg
/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_24_9773.jpg
/home/nano/Desktop/images/17022025/04/05/image_17022025_04_05_14_9773.jpg
/home/nano/Desktop/images/17022025/04/04/image_17022025_04_05_04_10813.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109587","1338109589","1338109592","1338109591","1338109588","1338109590"],"photo_ids_order":["1338109587","1338109588","1338109589","1338109590","1338109591","1338109592"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b855b1997a2e4b61828109c4d2a5f67.jpg","text":"TemporaryFile(/tmp/multipartBody6307891167414454612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761564280,"filename":"image_17022025_04_05_54_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e737099cf2f3a4db0f1c817d0110a903.jpg","text":"TemporaryFile(/tmp/multipartBody4627710945493345546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761564280,"filename":"image_17022025_04_05_34_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8243fa3f90c72b12e6bf05e2b62bf6f2.jpg","text":"TemporaryFile(/tmp/multipartBody7535062824746008770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761564280,"filename":"image_17022025_04_05_04_10813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ee514aed97f9682cbc4b2e9734d5b67.jpg","text":"TemporaryFile(/tmp/multipartBody8254321703594936267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761564280,"filename":"image_17022025_04_05_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0bde8a1c4878c98dad4bd75aa546885d.jpg","text":"TemporaryFile(/tmp/multipartBody8857762678467214959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761564280,"filename":"image_17022025_04_05_44_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ff51f3d1bb6ae6583f9a4392df4c4cb.jpg","text":"TemporaryFile(/tmp/multipartBody2021256842210930739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761564280,"filename":"image_17022025_04_05_24_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109589","file1":"1338109588","file0":"1338109587","file4":"1338109591","file5":"1338109592","file3":"1338109590"},"map_files_photo_id_array":[{"photo_id":"1338109592","filename":"file5"},{"photo_id":"1338109589","filename":"file2"},{"photo_id":"1338109591","filename":"file4"},{"photo_id":"1338109588","filename":"file1"},{"photo_id":"1338109587","filename":"file0"},{"photo_id":"1338109590","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109587":["hashtag1","hashtag2"]},{"1338109589":["hashtag1","hashtag2"]},{"1338109592":["hashtag1","hashtag2"]},{"1338109591":["hashtag1","hashtag2"]},{"1338109588":["hashtag1","hashtag2"]},{"1338109590":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109587, 1338109589, 1338109592, 1338109591, 1338109588, 1338109590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.342455625534058 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:06:02.863563
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_44_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_34_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_14_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/04/05/image_17022025_04_06_04_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_54_9771.jpg', '/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_44_9767.jpg', '/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_34_10779.jpg', '/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_24_9769.jpg', '/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_14_9771.jpg', '/home/nano/Desktop/images/17022025/04/05/image_17022025_04_06_04_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_54_9771.jpg
/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_44_9767.jpg
/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_34_10779.jpg
/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_24_9769.jpg
/home/nano/Desktop/images/17022025/04/06/image_17022025_04_06_14_9771.jpg
/home/nano/Desktop/images/17022025/04/05/image_17022025_04_06_04_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109603","1338109602","1338109601","1338109604","1338109600","1338109599"],"photo_ids_order":["1338109599","1338109600","1338109601","1338109602","1338109603","1338109604"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/93e0b9b237741044fc1972f7cf6f7407.jpg","text":"TemporaryFile(/tmp/multipartBody1532580568763654934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761624046,"filename":"image_17022025_04_06_14_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/078437b820458f46d01ac39f3a93897e.jpg","text":"TemporaryFile(/tmp/multipartBody596781734827403006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761624046,"filename":"image_17022025_04_06_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2dfff74b655a253e32c320f10b8680a.jpg","text":"TemporaryFile(/tmp/multipartBody4542928321119132545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761624046,"filename":"image_17022025_04_06_34_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2994d10cb7fd6ea1cd51b8f07a79dee.jpg","text":"TemporaryFile(/tmp/multipartBody2909543438769274134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761624046,"filename":"image_17022025_04_06_04_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e9f5dca1f908abd0a08763145e40b3f.jpg","text":"TemporaryFile(/tmp/multipartBody9182366162167358151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761624046,"filename":"image_17022025_04_06_44_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88d1acee8bd194cbc741111e7a316327.jpg","text":"TemporaryFile(/tmp/multipartBody6550326817471911460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761624046,"filename":"image_17022025_04_06_54_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109601","file1":"1338109600","file0":"1338109599","file4":"1338109603","file5":"1338109604","file3":"1338109602"},"map_files_photo_id_array":[{"photo_id":"1338109604","filename":"file5"},{"photo_id":"1338109601","filename":"file2"},{"photo_id":"1338109603","filename":"file4"},{"photo_id":"1338109600","filename":"file1"},{"photo_id":"1338109599","filename":"file0"},{"photo_id":"1338109602","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109603":["hashtag1","hashtag2"]},{"1338109602":["hashtag1","hashtag2"]},{"1338109601":["hashtag1","hashtag2"]},{"1338109604":["hashtag1","hashtag2"]},{"1338109600":["hashtag1","hashtag2"]},{"1338109599":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109603, 1338109602, 1338109601, 1338109604, 1338109600, 1338109599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.640624046325684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:07:03.197954
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_54_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_34_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_24_9766.jpg', 0), ('/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_14_10777.jpg', 0), ('/home/nano/Desktop/images/17022025/04/06/image_17022025_04_07_04_9779.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_54_10778.jpg', '/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_44_9769.jpg', '/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_34_9768.jpg', '/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_24_9766.jpg', '/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_14_10777.jpg', '/home/nano/Desktop/images/17022025/04/06/image_17022025_04_07_04_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_54_10778.jpg
/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_44_9769.jpg
/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_34_9768.jpg
/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_24_9766.jpg
/home/nano/Desktop/images/17022025/04/07/image_17022025_04_07_14_10777.jpg
/home/nano/Desktop/images/17022025/04/06/image_17022025_04_07_04_9779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109614","1338109611","1338109613","1338109616","1338109612","1338109615"],"photo_ids_order":["1338109611","1338109612","1338109613","1338109614","1338109615","1338109616"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86c1b171172134819a158d067872ce2f.jpg","text":"TemporaryFile(/tmp/multipartBody6597927532736411338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761684436,"filename":"image_17022025_04_07_24_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d3414675242a8bf9fa948fc4524eee8.jpg","text":"TemporaryFile(/tmp/multipartBody7473860210836789623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761684436,"filename":"image_17022025_04_07_54_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d2d63aa6d108fb41694a5f3c9184ab3.jpg","text":"TemporaryFile(/tmp/multipartBody4918594962130561143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761684436,"filename":"image_17022025_04_07_34_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/89d9e69635d3c6dd80d232c8037dd16c.jpg","text":"TemporaryFile(/tmp/multipartBody384896167741381298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761684436,"filename":"image_17022025_04_07_04_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12ac5fbdbfb35400e1dd91a87458b46a.jpg","text":"TemporaryFile(/tmp/multipartBody3881697530881407920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761684436,"filename":"image_17022025_04_07_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c1dffd24d7ae99d7d0b6b1dd22b0c23.jpg","text":"TemporaryFile(/tmp/multipartBody2240895721181344420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761684436,"filename":"image_17022025_04_07_14_10777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109613","file1":"1338109612","file0":"1338109611","file4":"1338109615","file5":"1338109616","file3":"1338109614"},"map_files_photo_id_array":[{"photo_id":"1338109616","filename":"file5"},{"photo_id":"1338109613","filename":"file2"},{"photo_id":"1338109615","filename":"file4"},{"photo_id":"1338109612","filename":"file1"},{"photo_id":"1338109611","filename":"file0"},{"photo_id":"1338109614","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109614":["hashtag1","hashtag2"]},{"1338109611":["hashtag1","hashtag2"]},{"1338109613":["hashtag1","hashtag2"]},{"1338109616":["hashtag1","hashtag2"]},{"1338109612":["hashtag1","hashtag2"]},{"1338109615":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109614, 1338109611, 1338109613, 1338109616, 1338109612, 1338109615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.664053201675415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:08:02.142366
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_54_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_44_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_34_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_24_9781.jpg', 0), ('/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_14_9794.jpg', 0), ('/home/nano/Desktop/images/17022025/04/07/image_17022025_04_08_04_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_54_9768.jpg', '/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_44_10779.jpg', '/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_34_9767.jpg', '/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_24_9781.jpg', '/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_14_9794.jpg', '/home/nano/Desktop/images/17022025/04/07/image_17022025_04_08_04_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_54_9768.jpg
/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_44_10779.jpg
/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_34_9767.jpg
/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_24_9781.jpg
/home/nano/Desktop/images/17022025/04/08/image_17022025_04_08_14_9794.jpg
/home/nano/Desktop/images/17022025/04/07/image_17022025_04_08_04_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109629","1338109626","1338109625","1338109628","1338109624","1338109627"],"photo_ids_order":["1338109624","1338109625","1338109626","1338109627","1338109628","1338109629"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c452b7894733d2777aa295a62dc9521.jpg","text":"TemporaryFile(/tmp/multipartBody8168782523061704889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761743396,"filename":"image_17022025_04_08_04_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1014da2a6c7acc19487734d3c51a3735.jpg","text":"TemporaryFile(/tmp/multipartBody1132676532889107704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761743396,"filename":"image_17022025_04_08_34_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e673828be7e008ef0e9bcea7893e528.jpg","text":"TemporaryFile(/tmp/multipartBody7343489130477589732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761743396,"filename":"image_17022025_04_08_44_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e588df21e763d766fe7088ed00008331.jpg","text":"TemporaryFile(/tmp/multipartBody6613497120973657083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761743396,"filename":"image_17022025_04_08_14_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5cfe5b9191d897d0028b82c323d5ea3a.jpg","text":"TemporaryFile(/tmp/multipartBody705291980957718244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761743396,"filename":"image_17022025_04_08_54_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/485527b8e776715795c97150eb3df60f.jpg","text":"TemporaryFile(/tmp/multipartBody4022742956195308117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761743396,"filename":"image_17022025_04_08_24_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109626","file1":"1338109625","file0":"1338109624","file4":"1338109628","file5":"1338109629","file3":"1338109627"},"map_files_photo_id_array":[{"photo_id":"1338109629","filename":"file5"},{"photo_id":"1338109626","filename":"file2"},{"photo_id":"1338109628","filename":"file4"},{"photo_id":"1338109625","filename":"file1"},{"photo_id":"1338109624","filename":"file0"},{"photo_id":"1338109627","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109629":["hashtag1","hashtag2"]},{"1338109626":["hashtag1","hashtag2"]},{"1338109625":["hashtag1","hashtag2"]},{"1338109628":["hashtag1","hashtag2"]},{"1338109624":["hashtag1","hashtag2"]},{"1338109627":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109629, 1338109626, 1338109625, 1338109628, 1338109624, 1338109627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.439030170440674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:09:02.791519
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_54_9765.jpg', 0), ('/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_44_9785.jpg', 0), ('/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_34_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_24_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_14_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/04/08/image_17022025_04_09_04_9792.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_54_9765.jpg', '/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_44_9785.jpg', '/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_34_9793.jpg', '/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_24_10779.jpg', '/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_14_9771.jpg', '/home/nano/Desktop/images/17022025/04/08/image_17022025_04_09_04_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_54_9765.jpg
/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_44_9785.jpg
/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_34_9793.jpg
/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_24_10779.jpg
/home/nano/Desktop/images/17022025/04/09/image_17022025_04_09_14_9771.jpg
/home/nano/Desktop/images/17022025/04/08/image_17022025_04_09_04_9792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109641","1338109638","1338109640","1338109637","1338109636","1338109639"],"photo_ids_order":["1338109636","1338109637","1338109638","1338109639","1338109640","1338109641"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fac11dabb6ec8eaa011bcdbbf79ac698.jpg","text":"TemporaryFile(/tmp/multipartBody5545162438712447363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761804054,"filename":"image_17022025_04_09_04_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/184e6c429702173dd6fe1f7415775683.jpg","text":"TemporaryFile(/tmp/multipartBody8380514641379365447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761804054,"filename":"image_17022025_04_09_34_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78538b76881a80e400efdbf4f95b13f8.jpg","text":"TemporaryFile(/tmp/multipartBody7701080880500071634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761804054,"filename":"image_17022025_04_09_14_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/599b783fe1e8ec8eadf61aa44afccc6d.jpg","text":"TemporaryFile(/tmp/multipartBody686608217293666331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761804054,"filename":"image_17022025_04_09_44_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/09374f871fa75563d5b3742b0ac0cb3f.jpg","text":"TemporaryFile(/tmp/multipartBody5251650083851828976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761804054,"filename":"image_17022025_04_09_54_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/981264edcf5f5a827f5a3bbd77a49e92.jpg","text":"TemporaryFile(/tmp/multipartBody1146225563301323949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761804054,"filename":"image_17022025_04_09_24_10779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109638","file1":"1338109637","file0":"1338109636","file4":"1338109640","file5":"1338109641","file3":"1338109639"},"map_files_photo_id_array":[{"photo_id":"1338109641","filename":"file5"},{"photo_id":"1338109638","filename":"file2"},{"photo_id":"1338109640","filename":"file4"},{"photo_id":"1338109637","filename":"file1"},{"photo_id":"1338109636","filename":"file0"},{"photo_id":"1338109639","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109641":["hashtag1","hashtag2"]},{"1338109638":["hashtag1","hashtag2"]},{"1338109640":["hashtag1","hashtag2"]},{"1338109637":["hashtag1","hashtag2"]},{"1338109636":["hashtag1","hashtag2"]},{"1338109639":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109641, 1338109638, 1338109640, 1338109637, 1338109636, 1338109639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83215117454529 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:10:02.520573
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_54_9784.jpg', 0), ('/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_34_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_14_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/04/09/image_17022025_04_10_04_9800.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_54_9784.jpg', '/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_44_9769.jpg', '/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_34_9767.jpg', '/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_24_9769.jpg', '/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_14_10783.jpg', '/home/nano/Desktop/images/17022025/04/09/image_17022025_04_10_04_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_54_9784.jpg
/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_44_9769.jpg
/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_34_9767.jpg
/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_24_9769.jpg
/home/nano/Desktop/images/17022025/04/10/image_17022025_04_10_14_10783.jpg
/home/nano/Desktop/images/17022025/04/09/image_17022025_04_10_04_9800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109650","1338109653","1338109652","1338109649","1338109648","1338109651"],"photo_ids_order":["1338109648","1338109649","1338109650","1338109651","1338109652","1338109653"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/56d9ee03ce943a4980c56feb7405408c.jpg","text":"TemporaryFile(/tmp/multipartBody3040778380465041565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761864593,"filename":"image_17022025_04_10_34_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/712d757b7fe37e846048a29c4bcbe5e6.jpg","text":"TemporaryFile(/tmp/multipartBody7532607680980112613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761864593,"filename":"image_17022025_04_10_04_9800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c08fe02bfdb1e00dcd33355dd3b85a9.jpg","text":"TemporaryFile(/tmp/multipartBody839818208998443423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761864593,"filename":"image_17022025_04_10_14_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a130fdd68bd63b7e651ea9800bcb78c2.jpg","text":"TemporaryFile(/tmp/multipartBody3609136444172709844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761864593,"filename":"image_17022025_04_10_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/42becdcc2bd8d8180bc6b84df6be6412.jpg","text":"TemporaryFile(/tmp/multipartBody5108396277799065912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761864593,"filename":"image_17022025_04_10_54_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0253ff86af136fe2fed6e86e191531d.jpg","text":"TemporaryFile(/tmp/multipartBody4185261918382764281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761864593,"filename":"image_17022025_04_10_24_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109650","file1":"1338109649","file0":"1338109648","file4":"1338109652","file5":"1338109653","file3":"1338109651"},"map_files_photo_id_array":[{"photo_id":"1338109653","filename":"file5"},{"photo_id":"1338109650","filename":"file2"},{"photo_id":"1338109652","filename":"file4"},{"photo_id":"1338109649","filename":"file1"},{"photo_id":"1338109648","filename":"file0"},{"photo_id":"1338109651","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109650":["hashtag1","hashtag2"]},{"1338109653":["hashtag1","hashtag2"]},{"1338109652":["hashtag1","hashtag2"]},{"1338109649":["hashtag1","hashtag2"]},{"1338109648":["hashtag1","hashtag2"]},{"1338109651":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109650, 1338109653, 1338109652, 1338109649, 1338109648, 1338109651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1152241230011 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:11:02.505860
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_54_9765.jpg', 0), ('/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_44_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_24_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_14_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/04/10/image_17022025_04_11_04_10789.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_54_9765.jpg', '/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_44_10779.jpg', '/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_34_9770.jpg', '/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_24_9768.jpg', '/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_14_9773.jpg', '/home/nano/Desktop/images/17022025/04/10/image_17022025_04_11_04_10789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_54_9765.jpg
/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_44_10779.jpg
/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_34_9770.jpg
/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_24_9768.jpg
/home/nano/Desktop/images/17022025/04/11/image_17022025_04_11_14_9773.jpg
/home/nano/Desktop/images/17022025/04/10/image_17022025_04_11_04_10789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109665","1338109662","1338109661","1338109664","1338109660","1338109663"],"photo_ids_order":["1338109660","1338109661","1338109662","1338109663","1338109664","1338109665"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/96336a975fa2cd3e5781957acd896047.jpg","text":"TemporaryFile(/tmp/multipartBody805588102980887660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761924502,"filename":"image_17022025_04_11_04_10789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49a6140d9d732edc9b07468cbc04f975.jpg","text":"TemporaryFile(/tmp/multipartBody5126064727998206217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761924502,"filename":"image_17022025_04_11_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec1786c163bf8c442ca4b37cbe8297c0.jpg","text":"TemporaryFile(/tmp/multipartBody8680055467778624325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761924502,"filename":"image_17022025_04_11_44_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99ec07187ca6a8783f5f3978d19fc074.jpg","text":"TemporaryFile(/tmp/multipartBody7358264887123307551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761924502,"filename":"image_17022025_04_11_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/603ce300346b2e841093f5513c90e9f9.jpg","text":"TemporaryFile(/tmp/multipartBody2445431854589236938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761924502,"filename":"image_17022025_04_11_54_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a32ac0ada5da1c5dff05a4762c2be46b.jpg","text":"TemporaryFile(/tmp/multipartBody632034950441217642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761924502,"filename":"image_17022025_04_11_24_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109662","file1":"1338109661","file0":"1338109660","file4":"1338109664","file5":"1338109665","file3":"1338109663"},"map_files_photo_id_array":[{"photo_id":"1338109665","filename":"file5"},{"photo_id":"1338109662","filename":"file2"},{"photo_id":"1338109664","filename":"file4"},{"photo_id":"1338109661","filename":"file1"},{"photo_id":"1338109660","filename":"file0"},{"photo_id":"1338109663","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109665":["hashtag1","hashtag2"]},{"1338109662":["hashtag1","hashtag2"]},{"1338109661":["hashtag1","hashtag2"]},{"1338109664":["hashtag1","hashtag2"]},{"1338109660":["hashtag1","hashtag2"]},{"1338109663":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109665, 1338109662, 1338109661, 1338109664, 1338109660, 1338109663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.141435623168945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:12:02.690890
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_54_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_34_10776.jpg', 0), ('/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_23_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_14_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/04/11/image_17022025_04_12_04_9781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_54_9768.jpg', '/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_44_9772.jpg', '/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_34_10776.jpg', '/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_23_9769.jpg', '/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_14_9788.jpg', '/home/nano/Desktop/images/17022025/04/11/image_17022025_04_12_04_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_54_9768.jpg
/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_44_9772.jpg
/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_34_10776.jpg
/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_23_9769.jpg
/home/nano/Desktop/images/17022025/04/12/image_17022025_04_12_14_9788.jpg
/home/nano/Desktop/images/17022025/04/11/image_17022025_04_12_04_9781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109674","1338109676","1338109673","1338109672","1338109675","1338109677"],"photo_ids_order":["1338109672","1338109673","1338109674","1338109675","1338109676","1338109677"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be3c7fdd6320d8d70a4514680c17cd98.jpg","text":"TemporaryFile(/tmp/multipartBody3151474240057926022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761985199,"filename":"image_17022025_04_12_34_10776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc82e7f8bb0ec161f2c4b6ac858b408a.jpg","text":"TemporaryFile(/tmp/multipartBody4913123103612235033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761985199,"filename":"image_17022025_04_12_14_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3bf6cc7ab98f579497fb152c3b05d061.jpg","text":"TemporaryFile(/tmp/multipartBody2683117190939793328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761985199,"filename":"image_17022025_04_12_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e915aef8026d560da52a3cda085fc70c.jpg","text":"TemporaryFile(/tmp/multipartBody5566531859770103259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761985199,"filename":"image_17022025_04_12_54_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77bd7d1ffa063b5139688ed4a8e2d735.jpg","text":"TemporaryFile(/tmp/multipartBody5494654335781763648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761985199,"filename":"image_17022025_04_12_23_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a2e9f06cba127024c13777d3fa16d5c.jpg","text":"TemporaryFile(/tmp/multipartBody2339244417079644558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739761985199,"filename":"image_17022025_04_12_04_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109674","file1":"1338109673","file0":"1338109672","file4":"1338109676","file5":"1338109677","file3":"1338109675"},"map_files_photo_id_array":[{"photo_id":"1338109677","filename":"file5"},{"photo_id":"1338109674","filename":"file2"},{"photo_id":"1338109676","filename":"file4"},{"photo_id":"1338109673","filename":"file1"},{"photo_id":"1338109672","filename":"file0"},{"photo_id":"1338109675","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109674":["hashtag1","hashtag2"]},{"1338109676":["hashtag1","hashtag2"]},{"1338109673":["hashtag1","hashtag2"]},{"1338109672":["hashtag1","hashtag2"]},{"1338109675":["hashtag1","hashtag2"]},{"1338109677":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109674, 1338109676, 1338109673, 1338109672, 1338109675, 1338109677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.256261348724365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:13:02.849323
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_54_10777.jpg', 0), ('/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_44_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_34_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_24_9787.jpg', 0), ('/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_14_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/04/12/image_17022025_04_13_04_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_54_10777.jpg', '/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_44_9768.jpg', '/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_34_9767.jpg', '/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_24_9787.jpg', '/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_14_10781.jpg', '/home/nano/Desktop/images/17022025/04/12/image_17022025_04_13_04_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_54_10777.jpg
/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_44_9768.jpg
/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_34_9767.jpg
/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_24_9787.jpg
/home/nano/Desktop/images/17022025/04/13/image_17022025_04_13_14_10781.jpg
/home/nano/Desktop/images/17022025/04/12/image_17022025_04_13_04_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109686","1338109689","1338109688","1338109685","1338109684","1338109687"],"photo_ids_order":["1338109684","1338109685","1338109686","1338109687","1338109688","1338109689"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2186ef33ee798d5d4296d20879021526.jpg","text":"TemporaryFile(/tmp/multipartBody4512503749334358826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762044046,"filename":"image_17022025_04_13_34_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9edba8be49482751ffb344a2e2bed535.jpg","text":"TemporaryFile(/tmp/multipartBody8453994314284452327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762044046,"filename":"image_17022025_04_13_04_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9bfbf60d2661b453e7b76031ee64aac7.jpg","text":"TemporaryFile(/tmp/multipartBody4906659712734614347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762044046,"filename":"image_17022025_04_13_14_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/578450984e4048490fd25a1d62caed38.jpg","text":"TemporaryFile(/tmp/multipartBody8292963494181002091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762044046,"filename":"image_17022025_04_13_44_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a019bf0ec49b90837e0c0876ca464b3f.jpg","text":"TemporaryFile(/tmp/multipartBody3727700109515295236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762044046,"filename":"image_17022025_04_13_54_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7bf2c6356b2b1675a85e708eccece073.jpg","text":"TemporaryFile(/tmp/multipartBody5774749145612499273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762044046,"filename":"image_17022025_04_13_24_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109686","file1":"1338109685","file0":"1338109684","file4":"1338109688","file5":"1338109689","file3":"1338109687"},"map_files_photo_id_array":[{"photo_id":"1338109689","filename":"file5"},{"photo_id":"1338109686","filename":"file2"},{"photo_id":"1338109688","filename":"file4"},{"photo_id":"1338109685","filename":"file1"},{"photo_id":"1338109684","filename":"file0"},{"photo_id":"1338109687","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109686":["hashtag1","hashtag2"]},{"1338109689":["hashtag1","hashtag2"]},{"1338109688":["hashtag1","hashtag2"]},{"1338109685":["hashtag1","hashtag2"]},{"1338109684":["hashtag1","hashtag2"]},{"1338109687":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109686, 1338109689, 1338109688, 1338109685, 1338109684, 1338109687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.933215379714966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:14:03.111032
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_54_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_44_10776.jpg', 0), ('/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_14_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/04/13/image_17022025_04_14_04_9785.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_54_9768.jpg', '/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_44_10776.jpg', '/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_34_9771.jpg', '/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_24_9769.jpg', '/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_14_9779.jpg', '/home/nano/Desktop/images/17022025/04/13/image_17022025_04_14_04_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_54_9768.jpg
/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_44_10776.jpg
/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_34_9771.jpg
/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_24_9769.jpg
/home/nano/Desktop/images/17022025/04/14/image_17022025_04_14_14_9779.jpg
/home/nano/Desktop/images/17022025/04/13/image_17022025_04_14_04_9785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109701","1338109700","1338109699","1338109703","1338109696","1338109698"],"photo_ids_order":["1338109696","1338109698","1338109699","1338109700","1338109701","1338109703"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b83fe711d5e885471eb44fb0fb44a02.jpg","text":"TemporaryFile(/tmp/multipartBody7883035000793367835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762105110,"filename":"image_17022025_04_14_14_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bfd3b2e85d7417270bfc85fc2c3d4f93.jpg","text":"TemporaryFile(/tmp/multipartBody1134149545701058961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762105110,"filename":"image_17022025_04_14_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17bfdc9307dadfef69300d372d0f76af.jpg","text":"TemporaryFile(/tmp/multipartBody5232300170366245553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762105110,"filename":"image_17022025_04_14_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f32804e5a823d3110a8ea4c38ba1e3ff.jpg","text":"TemporaryFile(/tmp/multipartBody7913985119414153633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762105110,"filename":"image_17022025_04_14_04_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3fd91985b4648bae79e686bec5edd793.jpg","text":"TemporaryFile(/tmp/multipartBody5335721378846059827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762105110,"filename":"image_17022025_04_14_54_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7599346524cada39ed6a4a92d9de494.jpg","text":"TemporaryFile(/tmp/multipartBody3490559298605511570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762105110,"filename":"image_17022025_04_14_44_10776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109699","file1":"1338109698","file0":"1338109696","file4":"1338109701","file5":"1338109703","file3":"1338109700"},"map_files_photo_id_array":[{"photo_id":"1338109703","filename":"file5"},{"photo_id":"1338109699","filename":"file2"},{"photo_id":"1338109701","filename":"file4"},{"photo_id":"1338109698","filename":"file1"},{"photo_id":"1338109696","filename":"file0"},{"photo_id":"1338109700","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109701":["hashtag1","hashtag2"]},{"1338109700":["hashtag1","hashtag2"]},{"1338109699":["hashtag1","hashtag2"]},{"1338109703":["hashtag1","hashtag2"]},{"1338109696":["hashtag1","hashtag2"]},{"1338109698":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109701, 1338109700, 1338109699, 1338109703, 1338109696, 1338109698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.77501368522644 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:15:03.086570
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_54_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_44_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_34_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_24_10797.jpg', 0), ('/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_14_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/04/14/image_17022025_04_15_04_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_54_9769.jpg', '/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_44_9767.jpg', '/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_34_9768.jpg', '/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_24_10797.jpg', '/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_14_9767.jpg', '/home/nano/Desktop/images/17022025/04/14/image_17022025_04_15_04_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_54_9769.jpg
/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_44_9767.jpg
/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_34_9768.jpg
/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_24_10797.jpg
/home/nano/Desktop/images/17022025/04/15/image_17022025_04_15_14_9767.jpg
/home/nano/Desktop/images/17022025/04/14/image_17022025_04_15_04_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109713","1338109710","1338109712","1338109715","1338109711","1338109714"],"photo_ids_order":["1338109710","1338109711","1338109712","1338109713","1338109714","1338109715"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17a23a291b7cfe72a2f388e03f179eaf.jpg","text":"TemporaryFile(/tmp/multipartBody6140032790815245445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762164951,"filename":"image_17022025_04_15_24_10797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fba93b1db2c23ae5e394f21675b5dbb6.jpg","text":"TemporaryFile(/tmp/multipartBody235508654431904439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762164951,"filename":"image_17022025_04_15_54_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e1f2a24974e737b6fb6ad49efb98cc18.jpg","text":"TemporaryFile(/tmp/multipartBody6591570105738376508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762164951,"filename":"image_17022025_04_15_34_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/33c8431bd390622697746c5432c1ff3a.jpg","text":"TemporaryFile(/tmp/multipartBody5760559809114306772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762164951,"filename":"image_17022025_04_15_04_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b508bc48e6adb7abe56f382620dd192.jpg","text":"TemporaryFile(/tmp/multipartBody8855799999151198709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762164951,"filename":"image_17022025_04_15_44_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa28cb37df6eb0d24aefee207d88f1cb.jpg","text":"TemporaryFile(/tmp/multipartBody7969389889073824365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762164951,"filename":"image_17022025_04_15_14_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109712","file1":"1338109711","file0":"1338109710","file4":"1338109714","file5":"1338109715","file3":"1338109713"},"map_files_photo_id_array":[{"photo_id":"1338109715","filename":"file5"},{"photo_id":"1338109712","filename":"file2"},{"photo_id":"1338109714","filename":"file4"},{"photo_id":"1338109711","filename":"file1"},{"photo_id":"1338109710","filename":"file0"},{"photo_id":"1338109713","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109713":["hashtag1","hashtag2"]},{"1338109710":["hashtag1","hashtag2"]},{"1338109712":["hashtag1","hashtag2"]},{"1338109715":["hashtag1","hashtag2"]},{"1338109711":["hashtag1","hashtag2"]},{"1338109714":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109713, 1338109710, 1338109712, 1338109715, 1338109711, 1338109714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.970783472061157 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:16:03.041165
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_54_10793.jpg', 0), ('/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_44_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_34_9766.jpg', 0), ('/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_24_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_14_10823.jpg', 0), ('/home/nano/Desktop/images/17022025/04/15/image_17022025_04_16_04_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_54_10793.jpg', '/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_44_9768.jpg', '/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_34_9766.jpg', '/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_24_9789.jpg', '/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_14_10823.jpg', '/home/nano/Desktop/images/17022025/04/15/image_17022025_04_16_04_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_54_10793.jpg
/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_44_9768.jpg
/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_34_9766.jpg
/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_24_9789.jpg
/home/nano/Desktop/images/17022025/04/16/image_17022025_04_16_14_10823.jpg
/home/nano/Desktop/images/17022025/04/15/image_17022025_04_16_04_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109722","1338109725","1338109724","1338109727","1338109723","1338109726"],"photo_ids_order":["1338109722","1338109723","1338109724","1338109725","1338109726","1338109727"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d78338f7486aa1357d84fc8be4529554.jpg","text":"TemporaryFile(/tmp/multipartBody2454275197823711901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762224380,"filename":"image_17022025_04_16_54_10793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1dab8b4bb9e7f99aaedc62f305ebeeb3.jpg","text":"TemporaryFile(/tmp/multipartBody4542944196347595583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762224380,"filename":"image_17022025_04_16_24_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d15f4351cdd15d9c9a5ecbfdd1ab34c9.jpg","text":"TemporaryFile(/tmp/multipartBody5420184909472599242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762224380,"filename":"image_17022025_04_16_34_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0f8963099a149a4b033899a6051d117.jpg","text":"TemporaryFile(/tmp/multipartBody7512738192486554226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762224380,"filename":"image_17022025_04_16_04_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d7ff85cdf8fba5b3cdde997afeb6bdb2.jpg","text":"TemporaryFile(/tmp/multipartBody4199450895859028699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762224380,"filename":"image_17022025_04_16_44_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3c46bdf1e0fdddade8734ab9cde31a4.jpg","text":"TemporaryFile(/tmp/multipartBody3819206366158346462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762224380,"filename":"image_17022025_04_16_14_10823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109724","file1":"1338109723","file0":"1338109722","file4":"1338109726","file5":"1338109727","file3":"1338109725"},"map_files_photo_id_array":[{"photo_id":"1338109727","filename":"file5"},{"photo_id":"1338109724","filename":"file2"},{"photo_id":"1338109726","filename":"file4"},{"photo_id":"1338109723","filename":"file1"},{"photo_id":"1338109722","filename":"file0"},{"photo_id":"1338109725","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109722":["hashtag1","hashtag2"]},{"1338109725":["hashtag1","hashtag2"]},{"1338109724":["hashtag1","hashtag2"]},{"1338109727":["hashtag1","hashtag2"]},{"1338109723":["hashtag1","hashtag2"]},{"1338109726":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109722, 1338109725, 1338109724, 1338109727, 1338109723, 1338109726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.497524976730347 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:17:02.385737
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_54_9764.jpg', 0), ('/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_44_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_34_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_24_9786.jpg', 0), ('/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_14_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/04/16/image_17022025_04_17_04_9781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_54_9764.jpg', '/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_44_10781.jpg', '/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_34_9767.jpg', '/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_24_9786.jpg', '/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_14_9791.jpg', '/home/nano/Desktop/images/17022025/04/16/image_17022025_04_17_04_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_54_9764.jpg
/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_44_10781.jpg
/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_34_9767.jpg
/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_24_9786.jpg
/home/nano/Desktop/images/17022025/04/17/image_17022025_04_17_14_9791.jpg
/home/nano/Desktop/images/17022025/04/16/image_17022025_04_17_04_9781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109743","1338109742","1338109739","1338109736","1338109741","1338109744"],"photo_ids_order":["1338109736","1338109739","1338109741","1338109742","1338109743","1338109744"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c1c5b90137df277869b740ace6476ea.jpg","text":"TemporaryFile(/tmp/multipartBody4949467411001292998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762283791,"filename":"image_17022025_04_17_14_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/04304679e3420d906a7dd63fc17cceea.jpg","text":"TemporaryFile(/tmp/multipartBody3903264289555425832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762283791,"filename":"image_17022025_04_17_24_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/859b819ec99db46acba08e7f82d1a93a.jpg","text":"TemporaryFile(/tmp/multipartBody8942399175674930787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762283791,"filename":"image_17022025_04_17_44_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efdd83f963520d2e89d21627369090d8.jpg","text":"TemporaryFile(/tmp/multipartBody246271944612703689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762283791,"filename":"image_17022025_04_17_54_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e68ee9ade1dc5b4a6a3db1745fb2ad6e.jpg","text":"TemporaryFile(/tmp/multipartBody2623625628972126809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762283791,"filename":"image_17022025_04_17_34_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4012346d8dac8678e9eb2e0d9ea9c58f.jpg","text":"TemporaryFile(/tmp/multipartBody19420538673175465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762283791,"filename":"image_17022025_04_17_04_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109741","file1":"1338109739","file0":"1338109736","file4":"1338109743","file5":"1338109744","file3":"1338109742"},"map_files_photo_id_array":[{"photo_id":"1338109744","filename":"file5"},{"photo_id":"1338109741","filename":"file2"},{"photo_id":"1338109743","filename":"file4"},{"photo_id":"1338109739","filename":"file1"},{"photo_id":"1338109736","filename":"file0"},{"photo_id":"1338109742","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109743":["hashtag1","hashtag2"]},{"1338109742":["hashtag1","hashtag2"]},{"1338109739":["hashtag1","hashtag2"]},{"1338109736":["hashtag1","hashtag2"]},{"1338109741":["hashtag1","hashtag2"]},{"1338109744":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109743, 1338109742, 1338109739, 1338109736, 1338109741, 1338109744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.686211109161377 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:18:02.332794
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_54_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_44_9783.jpg', 0), ('/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_34_10777.jpg', 0), ('/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_23_9805.jpg', 0), ('/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_14_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/04/17/image_17022025_04_18_04_9769.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_54_9768.jpg', '/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_44_9783.jpg', '/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_34_10777.jpg', '/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_23_9805.jpg', '/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_14_9773.jpg', '/home/nano/Desktop/images/17022025/04/17/image_17022025_04_18_04_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_54_9768.jpg
/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_44_9783.jpg
/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_34_10777.jpg
/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_23_9805.jpg
/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_14_9773.jpg
/home/nano/Desktop/images/17022025/04/17/image_17022025_04_18_04_9769.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1958708763122559 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:18:31.942264
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_54_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_44_9783.jpg', 0), ('/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_34_10777.jpg', 0), ('/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_23_9805.jpg', 0), ('/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_14_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/04/17/image_17022025_04_18_04_9769.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_54_9768.jpg', '/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_44_9783.jpg', '/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_34_10777.jpg', '/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_23_9805.jpg', '/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_14_9773.jpg', '/home/nano/Desktop/images/17022025/04/17/image_17022025_04_18_04_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_54_9768.jpg
/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_44_9783.jpg
/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_34_10777.jpg
/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_23_9805.jpg
/home/nano/Desktop/images/17022025/04/18/image_17022025_04_18_14_9773.jpg
/home/nano/Desktop/images/17022025/04/17/image_17022025_04_18_04_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109764","1338109758","1338109760","1338109766","1338109762","1338109756"],"photo_ids_order":["1338109756","1338109758","1338109760","1338109762","1338109764","1338109766"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d72ed2c70962b39d14d7eb023009b9ae.jpg","text":"TemporaryFile(/tmp/multipartBody1556410259721690053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762373271,"filename":"image_17022025_04_18_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be0f41c5148ff83c18e03955cdef3b41.jpg","text":"TemporaryFile(/tmp/multipartBody2784013582651918889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762373271,"filename":"image_17022025_04_18_44_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08303790dfe3460cce2e0b705077e0ea.jpg","text":"TemporaryFile(/tmp/multipartBody6389641207098465459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762373271,"filename":"image_17022025_04_18_34_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8cbf6f866165d31f353a1a6a9bd0ba1.jpg","text":"TemporaryFile(/tmp/multipartBody2744670016884775338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762373271,"filename":"image_17022025_04_18_04_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/01f61aff980b677da3e0dbf4bdd60834.jpg","text":"TemporaryFile(/tmp/multipartBody7614095219660795709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762373271,"filename":"image_17022025_04_18_23_9805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bd816d1a2a6ebec3efea7d9d628ae0c4.jpg","text":"TemporaryFile(/tmp/multipartBody5676478515066022116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762373271,"filename":"image_17022025_04_18_54_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109760","file1":"1338109758","file0":"1338109756","file4":"1338109764","file5":"1338109766","file3":"1338109762"},"map_files_photo_id_array":[{"photo_id":"1338109766","filename":"file5"},{"photo_id":"1338109760","filename":"file2"},{"photo_id":"1338109764","filename":"file4"},{"photo_id":"1338109758","filename":"file1"},{"photo_id":"1338109756","filename":"file0"},{"photo_id":"1338109762","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109764":["hashtag1","hashtag2"]},{"1338109758":["hashtag1","hashtag2"]},{"1338109760":["hashtag1","hashtag2"]},{"1338109766":["hashtag1","hashtag2"]},{"1338109762":["hashtag1","hashtag2"]},{"1338109756":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109764, 1338109758, 1338109760, 1338109766, 1338109762, 1338109756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.749094247817993 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:19:32.054123
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_54_9766.jpg', 0), ('/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_44_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_34_9790.jpg', 0), ('/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_14_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/04/18/image_17022025_04_19_04_9795.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_54_9766.jpg', '/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_44_9789.jpg', '/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_34_9790.jpg', '/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_24_9769.jpg', '/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_14_10782.jpg', '/home/nano/Desktop/images/17022025/04/18/image_17022025_04_19_04_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_54_9766.jpg
/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_44_9789.jpg
/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_34_9790.jpg
/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_24_9769.jpg
/home/nano/Desktop/images/17022025/04/19/image_17022025_04_19_14_10782.jpg
/home/nano/Desktop/images/17022025/04/18/image_17022025_04_19_04_9795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109769","1338109778","1338109772","1338109771","1338109774","1338109776"],"photo_ids_order":["1338109769","1338109771","1338109772","1338109774","1338109776","1338109778"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bfaa6822dc662cc284c0f77362f3d8ec.jpg","text":"TemporaryFile(/tmp/multipartBody4868162577147965085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762433489,"filename":"image_17022025_04_19_54_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/569d11e5f7496f0d9f095baf302fee49.jpg","text":"TemporaryFile(/tmp/multipartBody3902477773407406702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762433489,"filename":"image_17022025_04_19_04_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6850f3ab8e1b1598fcd2edf0bdafaf6.jpg","text":"TemporaryFile(/tmp/multipartBody2403080099377336810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762433489,"filename":"image_17022025_04_19_34_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19b85f6b86a2f9538ba45c934ec0fffc.jpg","text":"TemporaryFile(/tmp/multipartBody3380260016865903041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762433489,"filename":"image_17022025_04_19_44_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8161a013073ac09832b2acd0a4389a00.jpg","text":"TemporaryFile(/tmp/multipartBody3181753630027525167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762433489,"filename":"image_17022025_04_19_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16efe41e864ea55b2fa2198b1d7f249f.jpg","text":"TemporaryFile(/tmp/multipartBody2089101762480087964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762433489,"filename":"image_17022025_04_19_14_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109772","file1":"1338109771","file0":"1338109769","file4":"1338109776","file5":"1338109778","file3":"1338109774"},"map_files_photo_id_array":[{"photo_id":"1338109778","filename":"file5"},{"photo_id":"1338109772","filename":"file2"},{"photo_id":"1338109776","filename":"file4"},{"photo_id":"1338109771","filename":"file1"},{"photo_id":"1338109769","filename":"file0"},{"photo_id":"1338109774","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109769":["hashtag1","hashtag2"]},{"1338109778":["hashtag1","hashtag2"]},{"1338109772":["hashtag1","hashtag2"]},{"1338109771":["hashtag1","hashtag2"]},{"1338109774":["hashtag1","hashtag2"]},{"1338109776":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109769, 1338109778, 1338109772, 1338109771, 1338109774, 1338109776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40663290023804 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:20:32.153049
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_54_9767.jpg', 0), ('/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_44_10776.jpg', 0), ('/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_34_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_24_9790.jpg', 0), ('/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_14_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/04/19/image_17022025_04_20_04_10792.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_54_9767.jpg', '/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_44_10776.jpg', '/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_34_9769.jpg', '/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_24_9790.jpg', '/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_14_9773.jpg', '/home/nano/Desktop/images/17022025/04/19/image_17022025_04_20_04_10792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_54_9767.jpg
/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_44_10776.jpg
/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_34_9769.jpg
/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_24_9790.jpg
/home/nano/Desktop/images/17022025/04/20/image_17022025_04_20_14_9773.jpg
/home/nano/Desktop/images/17022025/04/19/image_17022025_04_20_04_10792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109785","1338109787","1338109790","1338109784","1338109792","1338109782"],"photo_ids_order":["1338109782","1338109784","1338109785","1338109787","1338109790","1338109792"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1e05250abda2cd597e18ff54abec3e5.jpg","text":"TemporaryFile(/tmp/multipartBody1856901979284100775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762493613,"filename":"image_17022025_04_20_34_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c448e164366544a32a3c6e81250b407.jpg","text":"TemporaryFile(/tmp/multipartBody4698744685144019443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762493613,"filename":"image_17022025_04_20_24_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/720451171b39a441b703fb64429a8c99.jpg","text":"TemporaryFile(/tmp/multipartBody7854125080417035011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762493613,"filename":"image_17022025_04_20_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/048d30761cf325e65fa5cb3553a77901.jpg","text":"TemporaryFile(/tmp/multipartBody6129017845622042614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762493613,"filename":"image_17022025_04_20_44_10776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/635f8417cbce6dc2e7cd35d08172227b.jpg","text":"TemporaryFile(/tmp/multipartBody6756755415810802812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762493613,"filename":"image_17022025_04_20_04_10792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fcd0747e1d7741b4c08b44991f6b17e6.jpg","text":"TemporaryFile(/tmp/multipartBody1172463580634003250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762493613,"filename":"image_17022025_04_20_54_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109785","file1":"1338109784","file0":"1338109782","file4":"1338109790","file5":"1338109792","file3":"1338109787"},"map_files_photo_id_array":[{"photo_id":"1338109792","filename":"file5"},{"photo_id":"1338109785","filename":"file2"},{"photo_id":"1338109790","filename":"file4"},{"photo_id":"1338109784","filename":"file1"},{"photo_id":"1338109782","filename":"file0"},{"photo_id":"1338109787","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109785":["hashtag1","hashtag2"]},{"1338109787":["hashtag1","hashtag2"]},{"1338109790":["hashtag1","hashtag2"]},{"1338109784":["hashtag1","hashtag2"]},{"1338109792":["hashtag1","hashtag2"]},{"1338109782":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109785, 1338109787, 1338109790, 1338109784, 1338109792, 1338109782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.38125991821289 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:21:32.273448
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_54_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_44_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_34_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_14_9795.jpg', 0), ('/home/nano/Desktop/images/17022025/04/20/image_17022025_04_21_04_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_54_9769.jpg', '/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_44_9776.jpg', '/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_34_10781.jpg', '/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_24_9771.jpg', '/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_14_9795.jpg', '/home/nano/Desktop/images/17022025/04/20/image_17022025_04_21_04_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_54_9769.jpg
/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_44_9776.jpg
/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_34_10781.jpg
/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_24_9771.jpg
/home/nano/Desktop/images/17022025/04/21/image_17022025_04_21_14_9795.jpg
/home/nano/Desktop/images/17022025/04/20/image_17022025_04_21_04_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109800","1338109803","1338109796","1338109798","1338109802","1338109794"],"photo_ids_order":["1338109794","1338109796","1338109798","1338109800","1338109802","1338109803"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/745c6d42f83357613e9c8864be68badf.jpg","text":"TemporaryFile(/tmp/multipartBody6072605222499717271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762554891,"filename":"image_17022025_04_21_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e809050d5fdc207b9a58cc41b1d64437.jpg","text":"TemporaryFile(/tmp/multipartBody7125556533608881988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762554891,"filename":"image_17022025_04_21_04_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bffc9adec2d7f9ce9629f72d22c2548e.jpg","text":"TemporaryFile(/tmp/multipartBody6580030967586304577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762554891,"filename":"image_17022025_04_21_44_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/62bcadae6a13acaf75abc2ed58656c30.jpg","text":"TemporaryFile(/tmp/multipartBody3798878861149732715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762554891,"filename":"image_17022025_04_21_34_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ef5c48ca93268ec2f0376a3a4c136fce.jpg","text":"TemporaryFile(/tmp/multipartBody4488754894359067754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762554891,"filename":"image_17022025_04_21_14_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86e8a5b89a307f5ab33a19079ea91573.jpg","text":"TemporaryFile(/tmp/multipartBody1369733508614817171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762554891,"filename":"image_17022025_04_21_54_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109798","file1":"1338109796","file0":"1338109794","file4":"1338109802","file5":"1338109803","file3":"1338109800"},"map_files_photo_id_array":[{"photo_id":"1338109803","filename":"file5"},{"photo_id":"1338109798","filename":"file2"},{"photo_id":"1338109802","filename":"file4"},{"photo_id":"1338109796","filename":"file1"},{"photo_id":"1338109794","filename":"file0"},{"photo_id":"1338109800","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109800":["hashtag1","hashtag2"]},{"1338109803":["hashtag1","hashtag2"]},{"1338109796":["hashtag1","hashtag2"]},{"1338109798":["hashtag1","hashtag2"]},{"1338109802":["hashtag1","hashtag2"]},{"1338109794":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109800, 1338109803, 1338109796, 1338109798, 1338109802, 1338109794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.172754526138306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:22:32.361545
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_34_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_14_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/04/21/image_17022025_04_22_04_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_54_9771.jpg', '/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_44_9772.jpg', '/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_34_9769.jpg', '/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_24_9773.jpg', '/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_14_10784.jpg', '/home/nano/Desktop/images/17022025/04/21/image_17022025_04_22_04_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_54_9771.jpg
/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_44_9772.jpg
/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_34_9769.jpg
/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_24_9773.jpg
/home/nano/Desktop/images/17022025/04/22/image_17022025_04_22_14_10784.jpg
/home/nano/Desktop/images/17022025/04/21/image_17022025_04_22_04_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109812","1338109806","1338109814","1338109808","1338109816","1338109810"],"photo_ids_order":["1338109806","1338109808","1338109810","1338109812","1338109814","1338109816"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0fce875bb3f59d0b485cf5d20443bb7a.jpg","text":"TemporaryFile(/tmp/multipartBody3218761202253497868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762614537,"filename":"image_17022025_04_22_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/27f52767546b24a818149434462fffb9.jpg","text":"TemporaryFile(/tmp/multipartBody2415138893155787545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762614537,"filename":"image_17022025_04_22_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c83c6a9d67c727a00992ce8ac4aef3e0.jpg","text":"TemporaryFile(/tmp/multipartBody2481907256429482762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762614537,"filename":"image_17022025_04_22_14_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/56b91738ca5267852bc1dedb1835f7d9.jpg","text":"TemporaryFile(/tmp/multipartBody1436524681476356173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762614537,"filename":"image_17022025_04_22_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1464aced390d2f52893d45ea7e3c77fa.jpg","text":"TemporaryFile(/tmp/multipartBody2756421456891350644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762614537,"filename":"image_17022025_04_22_04_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/02e59ffa83d3fcb8d1e3808967304ddd.jpg","text":"TemporaryFile(/tmp/multipartBody7945773066349757879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762614537,"filename":"image_17022025_04_22_34_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109810","file1":"1338109808","file0":"1338109806","file4":"1338109814","file5":"1338109816","file3":"1338109812"},"map_files_photo_id_array":[{"photo_id":"1338109816","filename":"file5"},{"photo_id":"1338109810","filename":"file2"},{"photo_id":"1338109814","filename":"file4"},{"photo_id":"1338109808","filename":"file1"},{"photo_id":"1338109806","filename":"file0"},{"photo_id":"1338109812","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109812":["hashtag1","hashtag2"]},{"1338109806":["hashtag1","hashtag2"]},{"1338109814":["hashtag1","hashtag2"]},{"1338109808":["hashtag1","hashtag2"]},{"1338109816":["hashtag1","hashtag2"]},{"1338109810":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109812, 1338109806, 1338109814, 1338109808, 1338109816, 1338109810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02256202697754 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:23:32.478508
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_44_10813.jpg', 0), ('/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_14_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/04/22/image_17022025_04_23_04_10781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_54_9770.jpg', '/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_44_10813.jpg', '/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_34_9774.jpg', '/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_24_9769.jpg', '/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_14_9775.jpg', '/home/nano/Desktop/images/17022025/04/22/image_17022025_04_23_04_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_54_9770.jpg
/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_44_10813.jpg
/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_34_9774.jpg
/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_24_9769.jpg
/home/nano/Desktop/images/17022025/04/23/image_17022025_04_23_14_9775.jpg
/home/nano/Desktop/images/17022025/04/22/image_17022025_04_23_04_10781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109824","1338109818","1338109826","1338109820","1338109828","1338109822"],"photo_ids_order":["1338109818","1338109820","1338109822","1338109824","1338109826","1338109828"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b6fb5ea25e149673b8f6a4a8b46505d5.jpg","text":"TemporaryFile(/tmp/multipartBody8202662439479916718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762674210,"filename":"image_17022025_04_23_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3fe7981c763d304c2e725278217349e6.jpg","text":"TemporaryFile(/tmp/multipartBody4755308023458037046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762674210,"filename":"image_17022025_04_23_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87340130dab011d337837e0afe3dd795.jpg","text":"TemporaryFile(/tmp/multipartBody672937710432979265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762674210,"filename":"image_17022025_04_23_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/27189870503f15b0071c2de4c9a12a71.jpg","text":"TemporaryFile(/tmp/multipartBody4791879139427993225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762674210,"filename":"image_17022025_04_23_44_10813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c98284d28c002b8a85d94683f58dfe9.jpg","text":"TemporaryFile(/tmp/multipartBody88384428953307164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762674210,"filename":"image_17022025_04_23_04_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a023e51c9c1a6ec2c1c1796da73afbb8.jpg","text":"TemporaryFile(/tmp/multipartBody7499549629212072819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762674210,"filename":"image_17022025_04_23_34_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109822","file1":"1338109820","file0":"1338109818","file4":"1338109826","file5":"1338109828","file3":"1338109824"},"map_files_photo_id_array":[{"photo_id":"1338109828","filename":"file5"},{"photo_id":"1338109822","filename":"file2"},{"photo_id":"1338109826","filename":"file4"},{"photo_id":"1338109820","filename":"file1"},{"photo_id":"1338109818","filename":"file0"},{"photo_id":"1338109824","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109824":["hashtag1","hashtag2"]},{"1338109818":["hashtag1","hashtag2"]},{"1338109826":["hashtag1","hashtag2"]},{"1338109820":["hashtag1","hashtag2"]},{"1338109828":["hashtag1","hashtag2"]},{"1338109822":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109824, 1338109818, 1338109826, 1338109820, 1338109828, 1338109822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.948541402816772 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:24:32.557803
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_54_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_34_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_14_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/04/23/image_17022025_04_24_04_9801.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_54_9791.jpg', '/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_44_9769.jpg', '/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_34_10782.jpg', '/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_24_9771.jpg', '/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_14_9777.jpg', '/home/nano/Desktop/images/17022025/04/23/image_17022025_04_24_04_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_54_9791.jpg
/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_44_9769.jpg
/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_34_10782.jpg
/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_24_9771.jpg
/home/nano/Desktop/images/17022025/04/24/image_17022025_04_24_14_9777.jpg
/home/nano/Desktop/images/17022025/04/23/image_17022025_04_24_04_9801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109830","1338109836","1338109838","1338109832","1338109840","1338109834"],"photo_ids_order":["1338109830","1338109832","1338109834","1338109836","1338109838","1338109840"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3893d7b3cc8bbe8d4dac5621db6388d2.jpg","text":"TemporaryFile(/tmp/multipartBody8864579103955870276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762734043,"filename":"image_17022025_04_24_54_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a47b3efc189beb433185ce3e962c4fc.jpg","text":"TemporaryFile(/tmp/multipartBody4357772337456087266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762734043,"filename":"image_17022025_04_24_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ccef8a9ba5297cdf2478b86d67ecb65.jpg","text":"TemporaryFile(/tmp/multipartBody7645370935194334750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762734043,"filename":"image_17022025_04_24_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3ebaf4e4b1f55e2a4bb6a764de2ba94.jpg","text":"TemporaryFile(/tmp/multipartBody6094358760871943056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762734043,"filename":"image_17022025_04_24_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3c34b4cc7214abe7bc6992fb39fa693.jpg","text":"TemporaryFile(/tmp/multipartBody293024055830283580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762734043,"filename":"image_17022025_04_24_04_9801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24d345108925e35a167417b4f9d4bc99.jpg","text":"TemporaryFile(/tmp/multipartBody4586646561430503250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762734043,"filename":"image_17022025_04_24_34_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109834","file1":"1338109832","file0":"1338109830","file4":"1338109838","file5":"1338109840","file3":"1338109836"},"map_files_photo_id_array":[{"photo_id":"1338109840","filename":"file5"},{"photo_id":"1338109834","filename":"file2"},{"photo_id":"1338109838","filename":"file4"},{"photo_id":"1338109832","filename":"file1"},{"photo_id":"1338109830","filename":"file0"},{"photo_id":"1338109836","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109830":["hashtag1","hashtag2"]},{"1338109836":["hashtag1","hashtag2"]},{"1338109838":["hashtag1","hashtag2"]},{"1338109832":["hashtag1","hashtag2"]},{"1338109840":["hashtag1","hashtag2"]},{"1338109834":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109830, 1338109836, 1338109838, 1338109832, 1338109840, 1338109834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.011231184005737 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:25:32.700752
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_54_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_44_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_34_9766.jpg', 0), ('/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_14_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/04/24/image_17022025_04_25_04_9769.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_54_9768.jpg', '/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_44_9770.jpg', '/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_34_9766.jpg', '/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_24_9772.jpg', '/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_14_10782.jpg', '/home/nano/Desktop/images/17022025/04/24/image_17022025_04_25_04_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_54_9768.jpg
/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_44_9770.jpg
/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_34_9766.jpg
/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_24_9772.jpg
/home/nano/Desktop/images/17022025/04/25/image_17022025_04_25_14_10782.jpg
/home/nano/Desktop/images/17022025/04/24/image_17022025_04_25_04_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109851","1338109845","1338109853","1338109847","1338109849","1338109843"],"photo_ids_order":["1338109843","1338109845","1338109847","1338109849","1338109851","1338109853"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4fdb9c816dade9ff53e90248c1c482c3.jpg","text":"TemporaryFile(/tmp/multipartBody4790806288281127000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762795031,"filename":"image_17022025_04_25_14_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b5fda5595100221148e20bdeb5adc51.jpg","text":"TemporaryFile(/tmp/multipartBody1530157416328515238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762795031,"filename":"image_17022025_04_25_44_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6241015fcac2129d1bcd2483db2c702b.jpg","text":"TemporaryFile(/tmp/multipartBody6585449464658728761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762795031,"filename":"image_17022025_04_25_04_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a6555ac50d2bdc9d7dcfa998206cdeb.jpg","text":"TemporaryFile(/tmp/multipartBody8570387222457700805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762795031,"filename":"image_17022025_04_25_34_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ebf4c39d265390c40d09146328c6618f.jpg","text":"TemporaryFile(/tmp/multipartBody6551623406111555495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762795031,"filename":"image_17022025_04_25_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/459859303b25af3bd61781bfecf6a4b9.jpg","text":"TemporaryFile(/tmp/multipartBody5356866614576898561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762795031,"filename":"image_17022025_04_25_54_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109847","file1":"1338109845","file0":"1338109843","file4":"1338109851","file5":"1338109853","file3":"1338109849"},"map_files_photo_id_array":[{"photo_id":"1338109853","filename":"file5"},{"photo_id":"1338109847","filename":"file2"},{"photo_id":"1338109851","filename":"file4"},{"photo_id":"1338109845","filename":"file1"},{"photo_id":"1338109843","filename":"file0"},{"photo_id":"1338109849","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109851":["hashtag1","hashtag2"]},{"1338109845":["hashtag1","hashtag2"]},{"1338109853":["hashtag1","hashtag2"]},{"1338109847":["hashtag1","hashtag2"]},{"1338109849":["hashtag1","hashtag2"]},{"1338109843":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109851, 1338109845, 1338109853, 1338109847, 1338109849, 1338109843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.765495538711548 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:26:31.790389
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_54_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_44_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_34_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_14_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/04/25/image_17022025_04_26_04_10781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_54_9793.jpg', '/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_44_10779.jpg', '/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_34_9791.jpg', '/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_24_9771.jpg', '/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_14_9770.jpg', '/home/nano/Desktop/images/17022025/04/25/image_17022025_04_26_04_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_54_9793.jpg
/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_44_10779.jpg
/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_34_9791.jpg
/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_24_9771.jpg
/home/nano/Desktop/images/17022025/04/26/image_17022025_04_26_14_9770.jpg
/home/nano/Desktop/images/17022025/04/25/image_17022025_04_26_04_10781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109863","1338109857","1338109866","1338109860","1338109868","1338109855"],"photo_ids_order":["1338109855","1338109857","1338109860","1338109863","1338109866","1338109868"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aeb887dd09de4952e05098afbd07eb4e.jpg","text":"TemporaryFile(/tmp/multipartBody7535361846840066492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762853422,"filename":"image_17022025_04_26_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fd390090a352e17b63ffefdd778ca6eb.jpg","text":"TemporaryFile(/tmp/multipartBody3552518258366793504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762853422,"filename":"image_17022025_04_26_44_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f8d5fca9a9580e9d74fe178364d0fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5999772944101849885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762853422,"filename":"image_17022025_04_26_14_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7a0bb27fc2ef830b289d7c30ef6e89d.jpg","text":"TemporaryFile(/tmp/multipartBody2316880417027395082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762853422,"filename":"image_17022025_04_26_34_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f4b5422d28bf1f1a05522674c6c4cbb.jpg","text":"TemporaryFile(/tmp/multipartBody6959102716470673352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762853422,"filename":"image_17022025_04_26_04_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c616c4c493eaf78bd187500e582f46b.jpg","text":"TemporaryFile(/tmp/multipartBody6250005552303158458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762853422,"filename":"image_17022025_04_26_54_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109860","file1":"1338109857","file0":"1338109855","file4":"1338109866","file5":"1338109868","file3":"1338109863"},"map_files_photo_id_array":[{"photo_id":"1338109868","filename":"file5"},{"photo_id":"1338109860","filename":"file2"},{"photo_id":"1338109866","filename":"file4"},{"photo_id":"1338109857","filename":"file1"},{"photo_id":"1338109855","filename":"file0"},{"photo_id":"1338109863","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109863":["hashtag1","hashtag2"]},{"1338109857":["hashtag1","hashtag2"]},{"1338109866":["hashtag1","hashtag2"]},{"1338109860":["hashtag1","hashtag2"]},{"1338109868":["hashtag1","hashtag2"]},{"1338109855":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109863, 1338109857, 1338109866, 1338109860, 1338109868, 1338109855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75256371498108 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:27:31.929001
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_34_10777.jpg', 0), ('/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_14_9766.jpg', 0), ('/home/nano/Desktop/images/17022025/04/26/image_17022025_04_27_04_9780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_54_9773.jpg', '/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_44_9771.jpg', '/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_34_10777.jpg', '/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_24_9769.jpg', '/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_14_9766.jpg', '/home/nano/Desktop/images/17022025/04/26/image_17022025_04_27_04_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_54_9773.jpg
/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_44_9771.jpg
/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_34_10777.jpg
/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_24_9769.jpg
/home/nano/Desktop/images/17022025/04/27/image_17022025_04_27_14_9766.jpg
/home/nano/Desktop/images/17022025/04/26/image_17022025_04_27_04_9780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109877","1338109871","1338109879","1338109873","1338109881","1338109875"],"photo_ids_order":["1338109871","1338109873","1338109875","1338109877","1338109879","1338109881"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8b48a9bf50b74f84dddccaf51f7b08c.jpg","text":"TemporaryFile(/tmp/multipartBody2114300929726539781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762913163,"filename":"image_17022025_04_27_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2d6cf325571941d0fe5d5df86607bb9.jpg","text":"TemporaryFile(/tmp/multipartBody8583738078063558200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762913163,"filename":"image_17022025_04_27_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a5d88ec6434b40f36d12e184367587d4.jpg","text":"TemporaryFile(/tmp/multipartBody5247312649447484016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762913163,"filename":"image_17022025_04_27_14_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c33e4f87bffbee75598a7a28a10bc856.jpg","text":"TemporaryFile(/tmp/multipartBody1092849320587562423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762913163,"filename":"image_17022025_04_27_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b9e850add6bc758563a9fbe2dee1e814.jpg","text":"TemporaryFile(/tmp/multipartBody3201216622035932257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762913163,"filename":"image_17022025_04_27_04_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a33b5e9eaba182b7e02bc2c27ffc4a4c.jpg","text":"TemporaryFile(/tmp/multipartBody6608045251858579433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762913163,"filename":"image_17022025_04_27_34_10777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109875","file1":"1338109873","file0":"1338109871","file4":"1338109879","file5":"1338109881","file3":"1338109877"},"map_files_photo_id_array":[{"photo_id":"1338109881","filename":"file5"},{"photo_id":"1338109875","filename":"file2"},{"photo_id":"1338109879","filename":"file4"},{"photo_id":"1338109873","filename":"file1"},{"photo_id":"1338109871","filename":"file0"},{"photo_id":"1338109877","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109877":["hashtag1","hashtag2"]},{"1338109871":["hashtag1","hashtag2"]},{"1338109879":["hashtag1","hashtag2"]},{"1338109873":["hashtag1","hashtag2"]},{"1338109881":["hashtag1","hashtag2"]},{"1338109875":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109877, 1338109871, 1338109879, 1338109873, 1338109881, 1338109875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.497563123703003 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:28:31.990323
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_34_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_24_9792.jpg', 0), ('/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_14_10807.jpg', 0), ('/home/nano/Desktop/images/17022025/04/27/image_17022025_04_28_04_9771.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_54_9772.jpg', '/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_44_9771.jpg', '/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_34_9788.jpg', '/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_24_9792.jpg', '/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_14_10807.jpg', '/home/nano/Desktop/images/17022025/04/27/image_17022025_04_28_04_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_54_9772.jpg
/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_44_9771.jpg
/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_34_9788.jpg
/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_24_9792.jpg
/home/nano/Desktop/images/17022025/04/28/image_17022025_04_28_14_10807.jpg
/home/nano/Desktop/images/17022025/04/27/image_17022025_04_28_04_9771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109887","1338109889","1338109883","1338109891","1338109885","1338109893"],"photo_ids_order":["1338109883","1338109885","1338109887","1338109889","1338109891","1338109893"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1aed9f65cb7c87613c0851c89a8ce6d1.jpg","text":"TemporaryFile(/tmp/multipartBody3768015868649156234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762973685,"filename":"image_17022025_04_28_34_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a89369607183c6da7a314ea78ed29969.jpg","text":"TemporaryFile(/tmp/multipartBody2980156098056356100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762973685,"filename":"image_17022025_04_28_24_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da1071719073c0e8551411e272a9d722.jpg","text":"TemporaryFile(/tmp/multipartBody1825479259200160533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762973685,"filename":"image_17022025_04_28_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1504f58e76db1f864904e06714e14c83.jpg","text":"TemporaryFile(/tmp/multipartBody5887796691843267399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762973685,"filename":"image_17022025_04_28_14_10807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2719f88fb1ea6d859f12d94e3596b68f.jpg","text":"TemporaryFile(/tmp/multipartBody2467567273331830289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762973685,"filename":"image_17022025_04_28_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae4acd26af74c6b8c0a0a636bd70bebd.jpg","text":"TemporaryFile(/tmp/multipartBody5248629212288579014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739762973685,"filename":"image_17022025_04_28_04_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109887","file1":"1338109885","file0":"1338109883","file4":"1338109891","file5":"1338109893","file3":"1338109889"},"map_files_photo_id_array":[{"photo_id":"1338109893","filename":"file5"},{"photo_id":"1338109887","filename":"file2"},{"photo_id":"1338109891","filename":"file4"},{"photo_id":"1338109885","filename":"file1"},{"photo_id":"1338109883","filename":"file0"},{"photo_id":"1338109889","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109887":["hashtag1","hashtag2"]},{"1338109889":["hashtag1","hashtag2"]},{"1338109883":["hashtag1","hashtag2"]},{"1338109891":["hashtag1","hashtag2"]},{"1338109885":["hashtag1","hashtag2"]},{"1338109893":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109887, 1338109889, 1338109883, 1338109891, 1338109885, 1338109893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67063546180725 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:31:06.380189
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/29/image_17022025_04_30_04_9843.jpg', 0), ('/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_54_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_44_10801.jpg', 0), ('/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_34_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_14_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/29/image_17022025_04_30_04_9843.jpg', '/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_54_9789.jpg', '/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_44_10801.jpg', '/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_34_9768.jpg', '/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_24_9769.jpg', '/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_14_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/29/image_17022025_04_30_04_9843.jpg
/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_54_9789.jpg
/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_44_10801.jpg
/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_34_9768.jpg
/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_24_9769.jpg
/home/nano/Desktop/images/17022025/04/29/image_17022025_04_29_14_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109911","1338109914","1338109910","1338109913","1338109915","1338109912"],"photo_ids_order":["1338109910","1338109911","1338109912","1338109913","1338109914","1338109915"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e60f90148d2cd585db2cd5283c150469.jpg","text":"TemporaryFile(/tmp/multipartBody1847998716739364210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763127169,"filename":"image_17022025_04_29_54_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/afbbb6b068c9175223ab626ecb7db5fa.jpg","text":"TemporaryFile(/tmp/multipartBody6345496892949293242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763127169,"filename":"image_17022025_04_29_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/489de20f0aa8d3403e52b52133e79259.jpg","text":"TemporaryFile(/tmp/multipartBody6130261420131544508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763127169,"filename":"image_17022025_04_30_04_9843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a367a6394cafb9bce2b25c230bdf58f.jpg","text":"TemporaryFile(/tmp/multipartBody4189985156186912001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763127169,"filename":"image_17022025_04_29_34_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e0eba76bb19e5e17caf9cf26baa89d3c.jpg","text":"TemporaryFile(/tmp/multipartBody8343154433760047705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763127169,"filename":"image_17022025_04_29_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8429cdf056206e2123d0efb817311829.jpg","text":"TemporaryFile(/tmp/multipartBody8307979109189579442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763127169,"filename":"image_17022025_04_29_44_10801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109912","file1":"1338109911","file0":"1338109910","file4":"1338109914","file5":"1338109915","file3":"1338109913"},"map_files_photo_id_array":[{"photo_id":"1338109915","filename":"file5"},{"photo_id":"1338109912","filename":"file2"},{"photo_id":"1338109914","filename":"file4"},{"photo_id":"1338109911","filename":"file1"},{"photo_id":"1338109910","filename":"file0"},{"photo_id":"1338109913","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109911":["hashtag1","hashtag2"]},{"1338109914":["hashtag1","hashtag2"]},{"1338109910":["hashtag1","hashtag2"]},{"1338109913":["hashtag1","hashtag2"]},{"1338109915":["hashtag1","hashtag2"]},{"1338109912":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109911, 1338109914, 1338109910, 1338109913, 1338109915, 1338109912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.394644021987915 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:32:02.998724
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/28/image_17022025_04_29_04_10791.jpg', 0), ('/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_54_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_14_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/28/image_17022025_04_29_04_10791.jpg', '/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_54_10784.jpg', '/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_44_9774.jpg', '/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_34_9772.jpg', '/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_24_9773.jpg', '/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_14_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/28/image_17022025_04_29_04_10791.jpg
/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_54_10784.jpg
/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_44_9774.jpg
/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_34_9772.jpg
/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_24_9773.jpg
/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_14_9776.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2518093585968018 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:32:32.728841
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/04/28/image_17022025_04_29_04_10791.jpg', 0), ('/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_54_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_14_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/04/28/image_17022025_04_29_04_10791.jpg', '/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_54_10784.jpg', '/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_44_9774.jpg', '/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_34_9772.jpg', '/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_24_9773.jpg', '/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_14_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/04/28/image_17022025_04_29_04_10791.jpg
/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_54_10784.jpg
/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_44_9774.jpg
/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_34_9772.jpg
/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_24_9773.jpg
/home/nano/Desktop/images/17022025/02/58/image_17022025_02_58_14_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109932","1338109935","1338109934","1338109937","1338109928","1338109930"],"photo_ids_order":["1338109928","1338109930","1338109932","1338109934","1338109935","1338109937"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a9d87675895fd235549fbb10bd605374.jpg","text":"TemporaryFile(/tmp/multipartBody8627026848961759913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763214092,"filename":"image_17022025_02_58_44_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d035dd4852472a8704f6d07a96cf3678.jpg","text":"TemporaryFile(/tmp/multipartBody633083484077221631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763214092,"filename":"image_17022025_02_58_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5caa70fca9aeeedd1120e733c1b0633f.jpg","text":"TemporaryFile(/tmp/multipartBody4702095786405584009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763214092,"filename":"image_17022025_02_58_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc97d1a50bbca3f29a645226b2a3b7e3.jpg","text":"TemporaryFile(/tmp/multipartBody5111378944611319098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763214092,"filename":"image_17022025_02_58_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bff87771ae6ad46c35c5247083104053.jpg","text":"TemporaryFile(/tmp/multipartBody4702801412810573729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763214092,"filename":"image_17022025_04_29_04_10791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd588519eb8582dacf6b81d575eaff1c.jpg","text":"TemporaryFile(/tmp/multipartBody7775518094451103807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763214092,"filename":"image_17022025_02_58_54_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109932","file1":"1338109930","file0":"1338109928","file4":"1338109935","file5":"1338109937","file3":"1338109934"},"map_files_photo_id_array":[{"photo_id":"1338109937","filename":"file5"},{"photo_id":"1338109932","filename":"file2"},{"photo_id":"1338109935","filename":"file4"},{"photo_id":"1338109930","filename":"file1"},{"photo_id":"1338109928","filename":"file0"},{"photo_id":"1338109934","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109932":["hashtag1","hashtag2"]},{"1338109935":["hashtag1","hashtag2"]},{"1338109934":["hashtag1","hashtag2"]},{"1338109937":["hashtag1","hashtag2"]},{"1338109928":["hashtag1","hashtag2"]},{"1338109930":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109932, 1338109935, 1338109934, 1338109937, 1338109928, 1338109930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.367254972457886 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:33:31.890165
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/57/image_17022025_02_58_04_10803.jpg', 0), ('/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_24_10801.jpg', 0), ('/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_14_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/57/image_17022025_02_58_04_10803.jpg', '/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_54_9775.jpg', '/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_44_9769.jpg', '/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_34_9770.jpg', '/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_24_10801.jpg', '/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_14_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/57/image_17022025_02_58_04_10803.jpg
/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_54_9775.jpg
/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_44_9769.jpg
/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_34_9770.jpg
/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_24_10801.jpg
/home/nano/Desktop/images/17022025/02/57/image_17022025_02_57_14_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109947","1338109941","1338109949","1338109943","1338109946","1338109939"],"photo_ids_order":["1338109939","1338109941","1338109943","1338109946","1338109947","1338109949"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/074646c5b50030278e924e4ccc0c4d84.jpg","text":"TemporaryFile(/tmp/multipartBody1347909953583367922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763273943,"filename":"image_17022025_02_57_24_10801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e55bca856481afacc8519e893fdef98.jpg","text":"TemporaryFile(/tmp/multipartBody6021970089647027060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763273943,"filename":"image_17022025_02_57_54_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08ca4383b576955d53b77c7f5a85c268.jpg","text":"TemporaryFile(/tmp/multipartBody6638165029624560727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763273943,"filename":"image_17022025_02_57_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/65d7549e0bdf79036848bf107290709c.jpg","text":"TemporaryFile(/tmp/multipartBody5634334174639952509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763273943,"filename":"image_17022025_02_57_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e5deaeacb0b17637ddf29ca0b31f780a.jpg","text":"TemporaryFile(/tmp/multipartBody5702212179430055420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763273943,"filename":"image_17022025_02_57_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bebaa0d69b36e05a00a77f0033e7c621.jpg","text":"TemporaryFile(/tmp/multipartBody3940599779327117123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763273943,"filename":"image_17022025_02_58_04_10803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109943","file1":"1338109941","file0":"1338109939","file4":"1338109947","file5":"1338109949","file3":"1338109946"},"map_files_photo_id_array":[{"photo_id":"1338109949","filename":"file5"},{"photo_id":"1338109943","filename":"file2"},{"photo_id":"1338109947","filename":"file4"},{"photo_id":"1338109941","filename":"file1"},{"photo_id":"1338109939","filename":"file0"},{"photo_id":"1338109946","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109947":["hashtag1","hashtag2"]},{"1338109941":["hashtag1","hashtag2"]},{"1338109949":["hashtag1","hashtag2"]},{"1338109943":["hashtag1","hashtag2"]},{"1338109946":["hashtag1","hashtag2"]},{"1338109939":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109947, 1338109941, 1338109949, 1338109943, 1338109946, 1338109939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5853705406189 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:34:32.099071
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/56/image_17022025_02_57_04_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_34_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_24_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_14_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/56/image_17022025_02_57_04_9770.jpg', '/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_54_9771.jpg', '/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_44_9771.jpg', '/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_34_10782.jpg', '/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_24_9770.jpg', '/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_14_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/56/image_17022025_02_57_04_9770.jpg
/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_54_9771.jpg
/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_44_9771.jpg
/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_34_10782.jpg
/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_24_9770.jpg
/home/nano/Desktop/images/17022025/02/56/image_17022025_02_56_14_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109962","1338109956","1338109959","1338109952","1338109958","1338109954"],"photo_ids_order":["1338109952","1338109954","1338109956","1338109958","1338109959","1338109962"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eba3ae46f8e1e48090afbc08f6e2b8ab.jpg","text":"TemporaryFile(/tmp/multipartBody7474756316326282671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763333997,"filename":"image_17022025_02_56_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a124dcc5f387de819273e15e4f5400b.jpg","text":"TemporaryFile(/tmp/multipartBody6456863345195958270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763333997,"filename":"image_17022025_02_56_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7e32d6803a84afe18251b1e78513479c.jpg","text":"TemporaryFile(/tmp/multipartBody1998961949053124073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763333997,"filename":"image_17022025_02_56_24_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81b04f2e60cb949af745a77046a036bc.jpg","text":"TemporaryFile(/tmp/multipartBody2996554308340841180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763333997,"filename":"image_17022025_02_57_04_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f23bd47cea145e7e618db3be8561a41.jpg","text":"TemporaryFile(/tmp/multipartBody1190817315516451026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763333997,"filename":"image_17022025_02_56_34_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a5577801599822cfa7c4db7b4b13e35c.jpg","text":"TemporaryFile(/tmp/multipartBody6055259970754664758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763333997,"filename":"image_17022025_02_56_54_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109956","file1":"1338109954","file0":"1338109952","file4":"1338109959","file5":"1338109962","file3":"1338109958"},"map_files_photo_id_array":[{"photo_id":"1338109962","filename":"file5"},{"photo_id":"1338109956","filename":"file2"},{"photo_id":"1338109959","filename":"file4"},{"photo_id":"1338109954","filename":"file1"},{"photo_id":"1338109952","filename":"file0"},{"photo_id":"1338109958","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109962":["hashtag1","hashtag2"]},{"1338109956":["hashtag1","hashtag2"]},{"1338109959":["hashtag1","hashtag2"]},{"1338109952":["hashtag1","hashtag2"]},{"1338109958":["hashtag1","hashtag2"]},{"1338109954":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109962, 1338109956, 1338109959, 1338109952, 1338109958, 1338109954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44159007072449 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:35:32.240710
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/55/image_17022025_02_56_04_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_54_10804.jpg', 0), ('/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_44_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_14_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/55/image_17022025_02_56_04_9774.jpg', '/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_54_10804.jpg', '/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_44_9768.jpg', '/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_34_9770.jpg', '/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_24_9773.jpg', '/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_14_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/55/image_17022025_02_56_04_9774.jpg
/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_54_10804.jpg
/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_44_9768.jpg
/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_34_9770.jpg
/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_24_9773.jpg
/home/nano/Desktop/images/17022025/02/55/image_17022025_02_55_14_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109971","1338109965","1338109973","1338109967","1338109964","1338109969"],"photo_ids_order":["1338109964","1338109965","1338109967","1338109969","1338109971","1338109973"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dfa10fad08bab2e3facc03b88b287473.jpg","text":"TemporaryFile(/tmp/multipartBody5181904348631682598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763393594,"filename":"image_17022025_02_55_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1294bb7d7f65330dd91722113039751f.jpg","text":"TemporaryFile(/tmp/multipartBody6068143587062650877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763393594,"filename":"image_17022025_02_55_54_10804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7873b39d12bddca904f198b10aa4a9d.jpg","text":"TemporaryFile(/tmp/multipartBody5643146271085489518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763393594,"filename":"image_17022025_02_55_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39e3fe788347e98fdcbc56d1a65db475.jpg","text":"TemporaryFile(/tmp/multipartBody2596692073538948194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763393594,"filename":"image_17022025_02_55_44_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c43f5a33a86b1ba1cff85a3828f2cdef.jpg","text":"TemporaryFile(/tmp/multipartBody7457992261762193350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763393594,"filename":"image_17022025_02_56_04_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc316f151016ccc6c2663b2d192c92ef.jpg","text":"TemporaryFile(/tmp/multipartBody3885932742612813820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763393594,"filename":"image_17022025_02_55_34_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109967","file1":"1338109965","file0":"1338109964","file4":"1338109971","file5":"1338109973","file3":"1338109969"},"map_files_photo_id_array":[{"photo_id":"1338109973","filename":"file5"},{"photo_id":"1338109967","filename":"file2"},{"photo_id":"1338109971","filename":"file4"},{"photo_id":"1338109965","filename":"file1"},{"photo_id":"1338109964","filename":"file0"},{"photo_id":"1338109969","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109971":["hashtag1","hashtag2"]},{"1338109965":["hashtag1","hashtag2"]},{"1338109973":["hashtag1","hashtag2"]},{"1338109967":["hashtag1","hashtag2"]},{"1338109964":["hashtag1","hashtag2"]},{"1338109969":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109971, 1338109965, 1338109973, 1338109967, 1338109964, 1338109969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.460068225860596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:36:32.423538
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/54/image_17022025_02_55_04_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_54_9809.jpg', 0), ('/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_44_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_34_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_24_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_14_9770.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/54/image_17022025_02_55_04_10784.jpg', '/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_54_9809.jpg', '/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_44_9768.jpg', '/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_34_9789.jpg', '/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_24_10779.jpg', '/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_14_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/54/image_17022025_02_55_04_10784.jpg
/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_54_9809.jpg
/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_44_9768.jpg
/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_34_9789.jpg
/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_24_10779.jpg
/home/nano/Desktop/images/17022025/02/54/image_17022025_02_54_14_9770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109986","1338109982","1338109976","1338109984","1338109978","1338109980"],"photo_ids_order":["1338109976","1338109978","1338109980","1338109982","1338109984","1338109986"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0857eb6504353ab39530b6fcd37749ff.jpg","text":"TemporaryFile(/tmp/multipartBody2991399578057523522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763453836,"filename":"image_17022025_02_54_14_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bd18a7c488fd1b1393802949add49d84.jpg","text":"TemporaryFile(/tmp/multipartBody6511240875615551708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763453836,"filename":"image_17022025_02_54_34_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c70b4f0a158d85d451ac9e9c8d0efca.jpg","text":"TemporaryFile(/tmp/multipartBody998933347867255101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763453836,"filename":"image_17022025_02_55_04_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86169c35ddeda15fe8997c4773ec8228.jpg","text":"TemporaryFile(/tmp/multipartBody5780147538174390152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763453836,"filename":"image_17022025_02_54_24_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e7bb9e3f47ce8c79ab5c70f3c0889bb4.jpg","text":"TemporaryFile(/tmp/multipartBody7581617350349536343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763453836,"filename":"image_17022025_02_54_54_9809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/781c243db543e21b3bb63c3e23e49537.jpg","text":"TemporaryFile(/tmp/multipartBody8273984637808353939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763453836,"filename":"image_17022025_02_54_44_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109980","file1":"1338109978","file0":"1338109976","file4":"1338109984","file5":"1338109986","file3":"1338109982"},"map_files_photo_id_array":[{"photo_id":"1338109986","filename":"file5"},{"photo_id":"1338109980","filename":"file2"},{"photo_id":"1338109984","filename":"file4"},{"photo_id":"1338109978","filename":"file1"},{"photo_id":"1338109976","filename":"file0"},{"photo_id":"1338109982","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109986":["hashtag1","hashtag2"]},{"1338109982":["hashtag1","hashtag2"]},{"1338109976":["hashtag1","hashtag2"]},{"1338109984":["hashtag1","hashtag2"]},{"1338109978":["hashtag1","hashtag2"]},{"1338109980":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109986, 1338109982, 1338109976, 1338109984, 1338109978, 1338109980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01978087425232 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:37:32.576348
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/53/image_17022025_02_54_04_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_54_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_44_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_34_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_24_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_14_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/53/image_17022025_02_54_04_9774.jpg', '/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_54_9768.jpg', '/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_44_9793.jpg', '/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_34_10780.jpg', '/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_24_9768.jpg', '/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_14_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/53/image_17022025_02_54_04_9774.jpg
/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_54_9768.jpg
/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_44_9793.jpg
/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_34_10780.jpg
/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_24_9768.jpg
/home/nano/Desktop/images/17022025/02/53/image_17022025_02_53_14_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338109997","1338109991","1338109988","1338109990","1338109993","1338109995"],"photo_ids_order":["1338109988","1338109990","1338109991","1338109993","1338109995","1338109997"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/402deafa893c1b7844676e1d178e3b45.jpg","text":"TemporaryFile(/tmp/multipartBody3687691135793315649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763514707,"filename":"image_17022025_02_53_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1fc2944122d4ac1fd19a3a3b28add78d.jpg","text":"TemporaryFile(/tmp/multipartBody6293114716744123633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763514707,"filename":"image_17022025_02_53_44_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77c5f2f2615f953fbf445406ba24bd77.jpg","text":"TemporaryFile(/tmp/multipartBody7271490790438415739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763514707,"filename":"image_17022025_02_54_04_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/075648c9a90e8a83250e766e60c8f7f9.jpg","text":"TemporaryFile(/tmp/multipartBody8618601711596690235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763514707,"filename":"image_17022025_02_53_54_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c99d4f93ba1d687e55452eaf233809cd.jpg","text":"TemporaryFile(/tmp/multipartBody2599105077518949449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763514707,"filename":"image_17022025_02_53_34_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9daa44322fe2a3cd9745d5465b23031a.jpg","text":"TemporaryFile(/tmp/multipartBody7020027040062320844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763514707,"filename":"image_17022025_02_53_24_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338109991","file1":"1338109990","file0":"1338109988","file4":"1338109995","file5":"1338109997","file3":"1338109993"},"map_files_photo_id_array":[{"photo_id":"1338109997","filename":"file5"},{"photo_id":"1338109991","filename":"file2"},{"photo_id":"1338109995","filename":"file4"},{"photo_id":"1338109990","filename":"file1"},{"photo_id":"1338109988","filename":"file0"},{"photo_id":"1338109993","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338109997":["hashtag1","hashtag2"]},{"1338109991":["hashtag1","hashtag2"]},{"1338109988":["hashtag1","hashtag2"]},{"1338109990":["hashtag1","hashtag2"]},{"1338109993":["hashtag1","hashtag2"]},{"1338109995":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338109997, 1338109991, 1338109988, 1338109990, 1338109993, 1338109995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.122804164886475 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:38:32.725870
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/52/image_17022025_02_53_04_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_54_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_14_9772.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/52/image_17022025_02_53_04_9774.jpg', '/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_54_10778.jpg', '/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_44_9773.jpg', '/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_34_9772.jpg', '/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_24_9772.jpg', '/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_14_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/52/image_17022025_02_53_04_9774.jpg
/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_54_10778.jpg
/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_44_9773.jpg
/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_34_9772.jpg
/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_24_9772.jpg
/home/nano/Desktop/images/17022025/02/52/image_17022025_02_52_14_9772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110005","1338110007","1338110001","1338110009","1338110000","1338110003"],"photo_ids_order":["1338110000","1338110001","1338110003","1338110005","1338110007","1338110009"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/73d9bb85cd47d7796a17927ac605eb3f.jpg","text":"TemporaryFile(/tmp/multipartBody3475894630103916473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763574777,"filename":"image_17022025_02_52_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f4419299688081ca7aa1b177f8529b5.jpg","text":"TemporaryFile(/tmp/multipartBody7473385780820948415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763574777,"filename":"image_17022025_02_52_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b124acbf09231c7b11f8a21a6264527d.jpg","text":"TemporaryFile(/tmp/multipartBody8977587092877678387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763574777,"filename":"image_17022025_02_52_54_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7180a9119c6a22fe5d65a0cdd1dbeec.jpg","text":"TemporaryFile(/tmp/multipartBody7420322769297609085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763574777,"filename":"image_17022025_02_52_14_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f4fb690cf70d7df18056cb03011d3789.jpg","text":"TemporaryFile(/tmp/multipartBody8874342987945923700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763574777,"filename":"image_17022025_02_53_04_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f093cd1a9e23786d452e280fd0bc92f.jpg","text":"TemporaryFile(/tmp/multipartBody2190745841104497668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763574777,"filename":"image_17022025_02_52_44_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110003","file1":"1338110001","file0":"1338110000","file4":"1338110007","file5":"1338110009","file3":"1338110005"},"map_files_photo_id_array":[{"photo_id":"1338110009","filename":"file5"},{"photo_id":"1338110003","filename":"file2"},{"photo_id":"1338110007","filename":"file4"},{"photo_id":"1338110001","filename":"file1"},{"photo_id":"1338110000","filename":"file0"},{"photo_id":"1338110005","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110005":["hashtag1","hashtag2"]},{"1338110007":["hashtag1","hashtag2"]},{"1338110001":["hashtag1","hashtag2"]},{"1338110009":["hashtag1","hashtag2"]},{"1338110000":["hashtag1","hashtag2"]},{"1338110003":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110005, 1338110007, 1338110001, 1338110009, 1338110000, 1338110003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.74877429008484 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:39:31.922800
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/51/image_17022025_02_52_04_10796.jpg', 0), ('/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_24_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_14_9774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/51/image_17022025_02_52_04_10796.jpg', '/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_54_9773.jpg', '/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_44_9769.jpg', '/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_34_9771.jpg', '/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_24_10781.jpg', '/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_14_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/51/image_17022025_02_52_04_10796.jpg
/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_54_9773.jpg
/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_44_9769.jpg
/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_34_9771.jpg
/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_24_10781.jpg
/home/nano/Desktop/images/17022025/02/51/image_17022025_02_51_14_9774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110020","1338110014","1338110022","1338110016","1338110018","1338110012"],"photo_ids_order":["1338110012","1338110014","1338110016","1338110018","1338110020","1338110022"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a22d8dd16ced8177d239bb91749ea41c.jpg","text":"TemporaryFile(/tmp/multipartBody9110551951635771733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763633303,"filename":"image_17022025_02_51_24_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22ca44a26be43c244bc289db42378029.jpg","text":"TemporaryFile(/tmp/multipartBody2818870557425483742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763633303,"filename":"image_17022025_02_51_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e9e6681315dbbd25ff8cb777413d6d0.jpg","text":"TemporaryFile(/tmp/multipartBody1631154765953739618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763633303,"filename":"image_17022025_02_51_14_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ecc360e79840a308e99768a825a2e889.jpg","text":"TemporaryFile(/tmp/multipartBody7916320835840318757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763633303,"filename":"image_17022025_02_51_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f52e0707761b2fb37a6a5e62e8c641b.jpg","text":"TemporaryFile(/tmp/multipartBody315732961743231813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763633303,"filename":"image_17022025_02_51_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f8232f08ff0bc9c1471bd40fed6ad0d.jpg","text":"TemporaryFile(/tmp/multipartBody596926263189166570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763633303,"filename":"image_17022025_02_52_04_10796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110016","file1":"1338110014","file0":"1338110012","file4":"1338110020","file5":"1338110022","file3":"1338110018"},"map_files_photo_id_array":[{"photo_id":"1338110022","filename":"file5"},{"photo_id":"1338110016","filename":"file2"},{"photo_id":"1338110020","filename":"file4"},{"photo_id":"1338110014","filename":"file1"},{"photo_id":"1338110012","filename":"file0"},{"photo_id":"1338110018","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110020":["hashtag1","hashtag2"]},{"1338110014":["hashtag1","hashtag2"]},{"1338110022":["hashtag1","hashtag2"]},{"1338110016":["hashtag1","hashtag2"]},{"1338110018":["hashtag1","hashtag2"]},{"1338110012":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110020, 1338110014, 1338110022, 1338110016, 1338110018, 1338110012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28747510910034 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:40:32.060173
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/50/image_17022025_02_51_04_9779.jpg', 0), ('/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_54_9766.jpg', 0), ('/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_34_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_14_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/50/image_17022025_02_51_04_9779.jpg', '/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_54_9766.jpg', '/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_44_9771.jpg', '/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_34_10781.jpg', '/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_24_9773.jpg', '/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_14_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/50/image_17022025_02_51_04_9779.jpg
/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_54_9766.jpg
/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_44_9771.jpg
/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_34_10781.jpg
/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_24_9773.jpg
/home/nano/Desktop/images/17022025/02/50/image_17022025_02_50_14_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110026","1338110031","1338110034","1338110028","1338110036","1338110024"],"photo_ids_order":["1338110024","1338110026","1338110028","1338110031","1338110034","1338110036"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4314a731a664d39144c2146ecc6f925c.jpg","text":"TemporaryFile(/tmp/multipartBody1826808190109931570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763693564,"filename":"image_17022025_02_50_54_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d3fbf9bfe6ae39122e23ec480185010.jpg","text":"TemporaryFile(/tmp/multipartBody1691482309749124350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763693564,"filename":"image_17022025_02_50_34_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/570430d65a427ec4ef6b1fbf79b2db7b.jpg","text":"TemporaryFile(/tmp/multipartBody7882205920675038921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763693564,"filename":"image_17022025_02_50_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3202f1d7d812918aa40eca6713b7d062.jpg","text":"TemporaryFile(/tmp/multipartBody4119482081327467836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763693564,"filename":"image_17022025_02_50_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76a1aec5291cfd0486e98efc000d8f72.jpg","text":"TemporaryFile(/tmp/multipartBody6404675980935188421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763693564,"filename":"image_17022025_02_50_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2bea032006d2491c948730fa01514eb4.jpg","text":"TemporaryFile(/tmp/multipartBody8140607217289291410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763693564,"filename":"image_17022025_02_51_04_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110028","file1":"1338110026","file0":"1338110024","file4":"1338110034","file5":"1338110036","file3":"1338110031"},"map_files_photo_id_array":[{"photo_id":"1338110036","filename":"file5"},{"photo_id":"1338110028","filename":"file2"},{"photo_id":"1338110034","filename":"file4"},{"photo_id":"1338110026","filename":"file1"},{"photo_id":"1338110024","filename":"file0"},{"photo_id":"1338110031","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110026":["hashtag1","hashtag2"]},{"1338110031":["hashtag1","hashtag2"]},{"1338110034":["hashtag1","hashtag2"]},{"1338110028":["hashtag1","hashtag2"]},{"1338110036":["hashtag1","hashtag2"]},{"1338110024":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110026, 1338110031, 1338110034, 1338110028, 1338110036, 1338110024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35990762710571 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:41:32.192776
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/49/image_17022025_02_50_04_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_54_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_34_9766.jpg', 0), ('/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_24_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_14_10781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/49/image_17022025_02_50_04_9771.jpg', '/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_54_10782.jpg', '/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_44_9771.jpg', '/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_34_9766.jpg', '/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_24_9788.jpg', '/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_14_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/49/image_17022025_02_50_04_9771.jpg
/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_54_10782.jpg
/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_44_9771.jpg
/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_34_9766.jpg
/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_24_9788.jpg
/home/nano/Desktop/images/17022025/02/49/image_17022025_02_49_14_10781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110041","1338110043","1338110046","1338110048","1338110045","1338110050"],"photo_ids_order":["1338110041","1338110043","1338110045","1338110046","1338110048","1338110050"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8ad80a6c78cdef403779ed2a4049b0a.jpg","text":"TemporaryFile(/tmp/multipartBody848788020057172542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763753547,"filename":"image_17022025_02_50_04_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/963e8a2ef2b8a03a8707fba7c4508824.jpg","text":"TemporaryFile(/tmp/multipartBody5091834061360135146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763753547,"filename":"image_17022025_02_49_54_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13b65644cf0a513531c06211a7c0bbe6.jpg","text":"TemporaryFile(/tmp/multipartBody6719613675645764327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763753547,"filename":"image_17022025_02_49_34_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c63f4a266f5cfbb226a43f6cce309abf.jpg","text":"TemporaryFile(/tmp/multipartBody7057017217120818731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763753547,"filename":"image_17022025_02_49_24_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e90cd1d9382d99f5c3bf31ceef698fcb.jpg","text":"TemporaryFile(/tmp/multipartBody8166184231301394093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763753547,"filename":"image_17022025_02_49_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39fb5437e1cf011544b3306de57421b6.jpg","text":"TemporaryFile(/tmp/multipartBody5941324641403675624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763753547,"filename":"image_17022025_02_49_14_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110045","file1":"1338110043","file0":"1338110041","file4":"1338110048","file5":"1338110050","file3":"1338110046"},"map_files_photo_id_array":[{"photo_id":"1338110050","filename":"file5"},{"photo_id":"1338110045","filename":"file2"},{"photo_id":"1338110048","filename":"file4"},{"photo_id":"1338110043","filename":"file1"},{"photo_id":"1338110041","filename":"file0"},{"photo_id":"1338110046","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110041":["hashtag1","hashtag2"]},{"1338110043":["hashtag1","hashtag2"]},{"1338110046":["hashtag1","hashtag2"]},{"1338110048":["hashtag1","hashtag2"]},{"1338110045":["hashtag1","hashtag2"]},{"1338110050":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110041, 1338110043, 1338110046, 1338110048, 1338110045, 1338110050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29998326301575 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:42:32.354531
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/48/image_17022025_02_49_03_9783.jpg', 0), ('/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_24_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_14_9769.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/48/image_17022025_02_49_03_9783.jpg', '/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_54_9772.jpg', '/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_44_9769.jpg', '/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_34_9770.jpg', '/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_24_10782.jpg', '/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_14_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/48/image_17022025_02_49_03_9783.jpg
/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_54_9772.jpg
/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_44_9769.jpg
/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_34_9770.jpg
/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_24_10782.jpg
/home/nano/Desktop/images/17022025/02/48/image_17022025_02_48_14_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110062","1338110055","1338110060","1338110057","1338110059","1338110053"],"photo_ids_order":["1338110053","1338110055","1338110057","1338110059","1338110060","1338110062"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db8d278af1b7a47ee2dc59160343a8be.jpg","text":"TemporaryFile(/tmp/multipartBody6121929325880076422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763813866,"filename":"image_17022025_02_48_14_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8698681fb6cd5af78a5046d32c35e29d.jpg","text":"TemporaryFile(/tmp/multipartBody4506321568906412403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763813866,"filename":"image_17022025_02_48_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5273c73cf873711ecee6783964ab04e.jpg","text":"TemporaryFile(/tmp/multipartBody160388733340695877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763813866,"filename":"image_17022025_02_48_24_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e9749496cb1172a8c651d74db954db99.jpg","text":"TemporaryFile(/tmp/multipartBody8869778392223871688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763813866,"filename":"image_17022025_02_48_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fd346d975c2790ee71284c4aaf910969.jpg","text":"TemporaryFile(/tmp/multipartBody6353539714934412302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763813866,"filename":"image_17022025_02_48_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/776733741bc44f4d011555577b71d56a.jpg","text":"TemporaryFile(/tmp/multipartBody1754621839133771553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763813866,"filename":"image_17022025_02_49_03_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110057","file1":"1338110055","file0":"1338110053","file4":"1338110060","file5":"1338110062","file3":"1338110059"},"map_files_photo_id_array":[{"photo_id":"1338110062","filename":"file5"},{"photo_id":"1338110057","filename":"file2"},{"photo_id":"1338110060","filename":"file4"},{"photo_id":"1338110055","filename":"file1"},{"photo_id":"1338110053","filename":"file0"},{"photo_id":"1338110059","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110062":["hashtag1","hashtag2"]},{"1338110055":["hashtag1","hashtag2"]},{"1338110060":["hashtag1","hashtag2"]},{"1338110057":["hashtag1","hashtag2"]},{"1338110059":["hashtag1","hashtag2"]},{"1338110053":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110062, 1338110055, 1338110060, 1338110057, 1338110059, 1338110053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.133320093154907 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:43:32.548413
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/47/image_17022025_02_48_04_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_54_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_44_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_24_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_14_9771.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/47/image_17022025_02_48_04_9770.jpg', '/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_54_9768.jpg', '/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_44_10778.jpg', '/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_34_9773.jpg', '/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_24_9768.jpg', '/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_14_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/47/image_17022025_02_48_04_9770.jpg
/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_54_9768.jpg
/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_44_10778.jpg
/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_34_9773.jpg
/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_24_9768.jpg
/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_14_9771.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.684023380279541 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:44:03.331026
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/47/image_17022025_02_48_04_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_54_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_44_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_24_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_14_9771.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/47/image_17022025_02_48_04_9770.jpg', '/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_54_9768.jpg', '/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_44_10778.jpg', '/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_34_9773.jpg', '/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_24_9768.jpg', '/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_14_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/47/image_17022025_02_48_04_9770.jpg
/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_54_9768.jpg
/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_44_10778.jpg
/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_34_9773.jpg
/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_24_9768.jpg
/home/nano/Desktop/images/17022025/02/47/image_17022025_02_47_14_9771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110082","1338110076","1338110079","1338110081","1338110077","1338110080"],"photo_ids_order":["1338110076","1338110077","1338110079","1338110080","1338110081","1338110082"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c5f1d6cc03d12bd5f846df67d39cbaf.jpg","text":"TemporaryFile(/tmp/multipartBody3793825513875218697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763904803,"filename":"image_17022025_02_47_14_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c166b9b3e93bc66b4b638d849f599f0.jpg","text":"TemporaryFile(/tmp/multipartBody8525237127700063268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763904803,"filename":"image_17022025_02_48_04_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d4c750823860037be6ed987d86662cf.jpg","text":"TemporaryFile(/tmp/multipartBody8264697431418734434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763904803,"filename":"image_17022025_02_47_44_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3086995301185685837bc6b5113d5fb4.jpg","text":"TemporaryFile(/tmp/multipartBody5640709626686850791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763904803,"filename":"image_17022025_02_47_24_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e0a2a071f744531c4efbb5f2baa63b3.jpg","text":"TemporaryFile(/tmp/multipartBody1379720453841008299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763904803,"filename":"image_17022025_02_47_54_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/943a316c8f66e481acc75861920b42a3.jpg","text":"TemporaryFile(/tmp/multipartBody1224970721618325433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763904803,"filename":"image_17022025_02_47_34_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110079","file1":"1338110077","file0":"1338110076","file4":"1338110081","file5":"1338110082","file3":"1338110080"},"map_files_photo_id_array":[{"photo_id":"1338110082","filename":"file5"},{"photo_id":"1338110079","filename":"file2"},{"photo_id":"1338110081","filename":"file4"},{"photo_id":"1338110077","filename":"file1"},{"photo_id":"1338110076","filename":"file0"},{"photo_id":"1338110080","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110082":["hashtag1","hashtag2"]},{"1338110076":["hashtag1","hashtag2"]},{"1338110079":["hashtag1","hashtag2"]},{"1338110081":["hashtag1","hashtag2"]},{"1338110077":["hashtag1","hashtag2"]},{"1338110080":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110082, 1338110076, 1338110079, 1338110081, 1338110077, 1338110080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72082185745239 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:45:02.253094
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/46/image_17022025_02_47_04_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_54_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_44_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_34_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_24_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_14_10783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/46/image_17022025_02_47_04_9770.jpg', '/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_54_10778.jpg', '/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_44_9770.jpg', '/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_34_9791.jpg', '/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_24_9769.jpg', '/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_14_10783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/46/image_17022025_02_47_04_9770.jpg
/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_54_10778.jpg
/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_44_9770.jpg
/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_34_9791.jpg
/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_24_9769.jpg
/home/nano/Desktop/images/17022025/02/46/image_17022025_02_46_14_10783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110094","1338110091","1338110090","1338110093","1338110092","1338110089"],"photo_ids_order":["1338110089","1338110090","1338110091","1338110092","1338110093","1338110094"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/986e9fed6d36cf2f9fc2caa949cf52d7.jpg","text":"TemporaryFile(/tmp/multipartBody7438142071706650993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763964704,"filename":"image_17022025_02_46_14_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77f082096aa6e699e7babfe3e4771274.jpg","text":"TemporaryFile(/tmp/multipartBody2919499393050377023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763964704,"filename":"image_17022025_02_46_44_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a5011decb398403e906fdcf3ed8ccc52.jpg","text":"TemporaryFile(/tmp/multipartBody8930158964338456733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763964704,"filename":"image_17022025_02_46_54_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e79b69f88423c0e11bf4a12a222909c.jpg","text":"TemporaryFile(/tmp/multipartBody9001495691199786001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763964704,"filename":"image_17022025_02_46_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/51e617b46164cf340bd1d168ac2d1f71.jpg","text":"TemporaryFile(/tmp/multipartBody939180590370421288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763964704,"filename":"image_17022025_02_46_34_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad5d9933ee2871a724f1abbb57a8a38a.jpg","text":"TemporaryFile(/tmp/multipartBody4039741398477519192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739763964704,"filename":"image_17022025_02_47_04_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110091","file1":"1338110090","file0":"1338110089","file4":"1338110093","file5":"1338110094","file3":"1338110092"},"map_files_photo_id_array":[{"photo_id":"1338110094","filename":"file5"},{"photo_id":"1338110091","filename":"file2"},{"photo_id":"1338110093","filename":"file4"},{"photo_id":"1338110090","filename":"file1"},{"photo_id":"1338110089","filename":"file0"},{"photo_id":"1338110092","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110094":["hashtag1","hashtag2"]},{"1338110091":["hashtag1","hashtag2"]},{"1338110090":["hashtag1","hashtag2"]},{"1338110093":["hashtag1","hashtag2"]},{"1338110092":["hashtag1","hashtag2"]},{"1338110089":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110094, 1338110091, 1338110090, 1338110093, 1338110092, 1338110089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.055779218673706 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:46:02.363953
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/45/image_17022025_02_46_04_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_54_9790.jpg', 0), ('/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_44_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_24_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_14_9771.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/45/image_17022025_02_46_04_9774.jpg', '/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_54_9790.jpg', '/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_44_9789.jpg', '/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_34_9773.jpg', '/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_24_10781.jpg', '/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_14_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/45/image_17022025_02_46_04_9774.jpg
/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_54_9790.jpg
/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_44_9789.jpg
/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_34_9773.jpg
/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_24_10781.jpg
/home/nano/Desktop/images/17022025/02/45/image_17022025_02_45_14_9771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110101","1338110107","1338110112","1338110109","1338110103","1338110105"],"photo_ids_order":["1338110101","1338110103","1338110105","1338110107","1338110109","1338110112"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f5c4e4c0ff98579197ed80f66d416b1b.jpg","text":"TemporaryFile(/tmp/multipartBody1544052398390301283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764023828,"filename":"image_17022025_02_46_04_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b29be8278b23832f8babec8cbc585da.jpg","text":"TemporaryFile(/tmp/multipartBody7684860824194547078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764023828,"filename":"image_17022025_02_45_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e7d428672bed0e172b0fdd0cd933a25.jpg","text":"TemporaryFile(/tmp/multipartBody8262305872882856297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764023828,"filename":"image_17022025_02_45_14_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c3fc4610110ca2ceb507f8b2c9889aa.jpg","text":"TemporaryFile(/tmp/multipartBody5845370602512198465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764023828,"filename":"image_17022025_02_45_24_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24acbd6a3f0d1c24e8df71eba0b14bbf.jpg","text":"TemporaryFile(/tmp/multipartBody8180757965894094900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764023828,"filename":"image_17022025_02_45_54_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e0e3db05a4b756b1128928be8842e84.jpg","text":"TemporaryFile(/tmp/multipartBody4153821879867992977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764023828,"filename":"image_17022025_02_45_44_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110105","file1":"1338110103","file0":"1338110101","file4":"1338110109","file5":"1338110112","file3":"1338110107"},"map_files_photo_id_array":[{"photo_id":"1338110112","filename":"file5"},{"photo_id":"1338110105","filename":"file2"},{"photo_id":"1338110109","filename":"file4"},{"photo_id":"1338110103","filename":"file1"},{"photo_id":"1338110101","filename":"file0"},{"photo_id":"1338110107","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110101":["hashtag1","hashtag2"]},{"1338110107":["hashtag1","hashtag2"]},{"1338110112":["hashtag1","hashtag2"]},{"1338110109":["hashtag1","hashtag2"]},{"1338110103":["hashtag1","hashtag2"]},{"1338110105":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110101, 1338110107, 1338110112, 1338110109, 1338110103, 1338110105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.812408447265625 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:47:02.714305
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/44/image_17022025_02_45_04_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_44_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_34_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_24_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_14_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/44/image_17022025_02_45_04_9791.jpg', '/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_54_9770.jpg', '/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_44_10780.jpg', '/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_34_9791.jpg', '/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_24_9770.jpg', '/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_14_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/44/image_17022025_02_45_04_9791.jpg
/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_54_9770.jpg
/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_44_10780.jpg
/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_34_9791.jpg
/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_24_9770.jpg
/home/nano/Desktop/images/17022025/02/44/image_17022025_02_44_14_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110122","1338110124","1338110118","1338110121","1338110120","1338110123"],"photo_ids_order":["1338110118","1338110120","1338110121","1338110122","1338110123","1338110124"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/48973d4fe78b880fe93491eadfa9e931.jpg","text":"TemporaryFile(/tmp/multipartBody8481615016855273137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764084133,"filename":"image_17022025_02_44_34_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/090f384c6f5c8ba3b58ed7b0cc980f3a.jpg","text":"TemporaryFile(/tmp/multipartBody7319862071026711445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764084133,"filename":"image_17022025_02_44_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22fa0e40ca8f430005a555724e0726e7.jpg","text":"TemporaryFile(/tmp/multipartBody5316605570068182543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764084133,"filename":"image_17022025_02_45_04_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/334ce5d25ccd2991291de9a0dee814a5.jpg","text":"TemporaryFile(/tmp/multipartBody6455106206178918853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764084133,"filename":"image_17022025_02_44_44_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0cea2dfb7069f6f631b88caa51599836.jpg","text":"TemporaryFile(/tmp/multipartBody3786678859312769356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764084133,"filename":"image_17022025_02_44_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ada06653de22fa5c7508e93a0b172279.jpg","text":"TemporaryFile(/tmp/multipartBody7945585549307384700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764084133,"filename":"image_17022025_02_44_24_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110121","file1":"1338110120","file0":"1338110118","file4":"1338110123","file5":"1338110124","file3":"1338110122"},"map_files_photo_id_array":[{"photo_id":"1338110124","filename":"file5"},{"photo_id":"1338110121","filename":"file2"},{"photo_id":"1338110123","filename":"file4"},{"photo_id":"1338110120","filename":"file1"},{"photo_id":"1338110118","filename":"file0"},{"photo_id":"1338110122","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110122":["hashtag1","hashtag2"]},{"1338110124":["hashtag1","hashtag2"]},{"1338110118":["hashtag1","hashtag2"]},{"1338110121":["hashtag1","hashtag2"]},{"1338110120":["hashtag1","hashtag2"]},{"1338110123":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110122, 1338110124, 1338110118, 1338110121, 1338110120, 1338110123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.948108196258545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:48:02.619873
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/43/image_17022025_02_44_04_9785.jpg', 0), ('/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_54_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_14_10783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/43/image_17022025_02_44_04_9785.jpg', '/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_54_10783.jpg', '/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_44_9771.jpg', '/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_34_9771.jpg', '/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_24_9772.jpg', '/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_14_10783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/43/image_17022025_02_44_04_9785.jpg
/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_54_10783.jpg
/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_44_9771.jpg
/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_34_9771.jpg
/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_24_9772.jpg
/home/nano/Desktop/images/17022025/02/43/image_17022025_02_43_14_10783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110134","1338110136","1338110133","1338110135","1338110132","1338110131"],"photo_ids_order":["1338110131","1338110132","1338110133","1338110134","1338110135","1338110136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ed36a0622e803cc273ffa2ef0d13f73.jpg","text":"TemporaryFile(/tmp/multipartBody3541504441142736429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764144158,"filename":"image_17022025_02_43_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2365ee034ee63016dbe93309d11b191b.jpg","text":"TemporaryFile(/tmp/multipartBody6157317392646528092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764144158,"filename":"image_17022025_02_43_14_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67da2d9145a6e751ec4c38170089e867.jpg","text":"TemporaryFile(/tmp/multipartBody3502921786672736311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764144158,"filename":"image_17022025_02_43_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/778f4cab28037db32bc75daadaac7876.jpg","text":"TemporaryFile(/tmp/multipartBody4438845162041700184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764144158,"filename":"image_17022025_02_43_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78bffea306a49c33acb73a2ebaa5b608.jpg","text":"TemporaryFile(/tmp/multipartBody3909312947359478641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764144158,"filename":"image_17022025_02_43_54_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6777b4acdcec7edba04b33874e5f91c7.jpg","text":"TemporaryFile(/tmp/multipartBody7839269683062237421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764144158,"filename":"image_17022025_02_44_04_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110133","file1":"1338110132","file0":"1338110131","file4":"1338110135","file5":"1338110136","file3":"1338110134"},"map_files_photo_id_array":[{"photo_id":"1338110136","filename":"file5"},{"photo_id":"1338110133","filename":"file2"},{"photo_id":"1338110135","filename":"file4"},{"photo_id":"1338110132","filename":"file1"},{"photo_id":"1338110131","filename":"file0"},{"photo_id":"1338110134","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110134":["hashtag1","hashtag2"]},{"1338110136":["hashtag1","hashtag2"]},{"1338110133":["hashtag1","hashtag2"]},{"1338110135":["hashtag1","hashtag2"]},{"1338110132":["hashtag1","hashtag2"]},{"1338110131":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110134, 1338110136, 1338110133, 1338110135, 1338110132, 1338110131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.559877395629883 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:49:03.189727
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/42/image_17022025_02_43_04_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_24_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_14_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/42/image_17022025_02_43_04_9773.jpg', '/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_54_9772.jpg', '/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_44_9773.jpg', '/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_34_9772.jpg', '/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_24_10781.jpg', '/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_14_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/42/image_17022025_02_43_04_9773.jpg
/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_54_9772.jpg
/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_44_9773.jpg
/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_34_9772.jpg
/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_24_10781.jpg
/home/nano/Desktop/images/17022025/02/42/image_17022025_02_42_14_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110143","1338110145","1338110148","1338110147","1338110144","1338110146"],"photo_ids_order":["1338110143","1338110144","1338110145","1338110146","1338110147","1338110148"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3d2e78b5d8f09424dd39316861dac03.jpg","text":"TemporaryFile(/tmp/multipartBody1052086644277037692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764205073,"filename":"image_17022025_02_43_04_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/abf170b14d9af277e326e41022dc6dde.jpg","text":"TemporaryFile(/tmp/multipartBody8251932601929624788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764205073,"filename":"image_17022025_02_42_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/101b68250527d15d37cb044d66f83f6e.jpg","text":"TemporaryFile(/tmp/multipartBody7718383280553901221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764205073,"filename":"image_17022025_02_42_14_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fdc27f88257ea7f88d4d82304bd79d05.jpg","text":"TemporaryFile(/tmp/multipartBody5359037507747026938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764205073,"filename":"image_17022025_02_42_24_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19e05e255a33b24f55204307aa4f49a6.jpg","text":"TemporaryFile(/tmp/multipartBody6254837491847483565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764205073,"filename":"image_17022025_02_42_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/29e48fc144e97d74a9b68b15a33182fc.jpg","text":"TemporaryFile(/tmp/multipartBody6189899662173480201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764205073,"filename":"image_17022025_02_42_34_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110145","file1":"1338110144","file0":"1338110143","file4":"1338110147","file5":"1338110148","file3":"1338110146"},"map_files_photo_id_array":[{"photo_id":"1338110148","filename":"file5"},{"photo_id":"1338110145","filename":"file2"},{"photo_id":"1338110147","filename":"file4"},{"photo_id":"1338110144","filename":"file1"},{"photo_id":"1338110143","filename":"file0"},{"photo_id":"1338110146","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110143":["hashtag1","hashtag2"]},{"1338110145":["hashtag1","hashtag2"]},{"1338110148":["hashtag1","hashtag2"]},{"1338110147":["hashtag1","hashtag2"]},{"1338110144":["hashtag1","hashtag2"]},{"1338110146":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110143, 1338110145, 1338110148, 1338110147, 1338110144, 1338110146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.833739042282104 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:50:02.931014
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/41/image_17022025_02_42_04_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_54_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_44_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_34_9793.jpg', 0), ('/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_24_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_14_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/41/image_17022025_02_42_04_9788.jpg', '/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_54_9772.jpg', '/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_44_10783.jpg', '/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_34_9793.jpg', '/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_24_9776.jpg', '/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_14_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/41/image_17022025_02_42_04_9788.jpg
/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_54_9772.jpg
/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_44_10783.jpg
/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_34_9793.jpg
/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_24_9776.jpg
/home/nano/Desktop/images/17022025/02/41/image_17022025_02_41_14_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110155","1338110160","1338110157","1338110156","1338110159","1338110158"],"photo_ids_order":["1338110155","1338110156","1338110157","1338110158","1338110159","1338110160"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64fa8918b29f9dcf057f01dd25cc4d77.jpg","text":"TemporaryFile(/tmp/multipartBody6362341672114993457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764264593,"filename":"image_17022025_02_42_04_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d484c9e7de319b96e44973f99a848412.jpg","text":"TemporaryFile(/tmp/multipartBody8766321101060556268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764264593,"filename":"image_17022025_02_41_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dab2df0d2644cc5653c34bba96e0a82a.jpg","text":"TemporaryFile(/tmp/multipartBody7832091100134824997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764264593,"filename":"image_17022025_02_41_44_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff88b18da7508a2451be9f21bf3c8405.jpg","text":"TemporaryFile(/tmp/multipartBody8842161001273875275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764264593,"filename":"image_17022025_02_41_54_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2950b181392bfadae8544cc9fb5d5c42.jpg","text":"TemporaryFile(/tmp/multipartBody3215080715107610864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764264593,"filename":"image_17022025_02_41_24_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c018405897f0cbd9b5527a30715a9e9.jpg","text":"TemporaryFile(/tmp/multipartBody5174695338107615161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764264593,"filename":"image_17022025_02_41_34_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110157","file1":"1338110156","file0":"1338110155","file4":"1338110159","file5":"1338110160","file3":"1338110158"},"map_files_photo_id_array":[{"photo_id":"1338110160","filename":"file5"},{"photo_id":"1338110157","filename":"file2"},{"photo_id":"1338110159","filename":"file4"},{"photo_id":"1338110156","filename":"file1"},{"photo_id":"1338110155","filename":"file0"},{"photo_id":"1338110158","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110155":["hashtag1","hashtag2"]},{"1338110160":["hashtag1","hashtag2"]},{"1338110157":["hashtag1","hashtag2"]},{"1338110156":["hashtag1","hashtag2"]},{"1338110159":["hashtag1","hashtag2"]},{"1338110158":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110155, 1338110160, 1338110157, 1338110156, 1338110159, 1338110158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19900345802307 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:51:03.289406
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/40/image_17022025_02_41_04_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_54_10801.jpg', 0), ('/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_14_10785.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/40/image_17022025_02_41_04_9774.jpg', '/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_54_10801.jpg', '/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_44_9774.jpg', '/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_34_9772.jpg', '/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_24_9774.jpg', '/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_14_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/40/image_17022025_02_41_04_9774.jpg
/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_54_10801.jpg
/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_44_9774.jpg
/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_34_9772.jpg
/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_24_9774.jpg
/home/nano/Desktop/images/17022025/02/40/image_17022025_02_40_14_10785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110172","1338110169","1338110171","1338110168","1338110170","1338110167"],"photo_ids_order":["1338110167","1338110168","1338110169","1338110170","1338110171","1338110172"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac5888136568c439d50ebae97e1cdac6.jpg","text":"TemporaryFile(/tmp/multipartBody6355195431578658863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764324616,"filename":"image_17022025_02_40_14_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fabdd3c360601af84ff82b08031789d8.jpg","text":"TemporaryFile(/tmp/multipartBody1563074411503582379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764324616,"filename":"image_17022025_02_40_44_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a464c3a26a3f9f743659e060cc2a0b93.jpg","text":"TemporaryFile(/tmp/multipartBody2448160950227386317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764324616,"filename":"image_17022025_02_40_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/51ce3f5b67e6fab361d0f29c7f25bc92.jpg","text":"TemporaryFile(/tmp/multipartBody2384509162072181526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764324616,"filename":"image_17022025_02_40_54_10801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a15dab536d7d52bc24572da76bf70c4c.jpg","text":"TemporaryFile(/tmp/multipartBody3682469277374705494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764324616,"filename":"image_17022025_02_40_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bb3ad2f78d8e51133256e544656c9c2c.jpg","text":"TemporaryFile(/tmp/multipartBody4744332218326724995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764324616,"filename":"image_17022025_02_41_04_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110169","file1":"1338110168","file0":"1338110167","file4":"1338110171","file5":"1338110172","file3":"1338110170"},"map_files_photo_id_array":[{"photo_id":"1338110172","filename":"file5"},{"photo_id":"1338110169","filename":"file2"},{"photo_id":"1338110171","filename":"file4"},{"photo_id":"1338110168","filename":"file1"},{"photo_id":"1338110167","filename":"file0"},{"photo_id":"1338110170","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110172":["hashtag1","hashtag2"]},{"1338110169":["hashtag1","hashtag2"]},{"1338110171":["hashtag1","hashtag2"]},{"1338110168":["hashtag1","hashtag2"]},{"1338110170":["hashtag1","hashtag2"]},{"1338110167":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110172, 1338110169, 1338110171, 1338110168, 1338110170, 1338110167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.807907819747925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:52:02.097786
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/39/image_17022025_02_40_03_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_44_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_24_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_14_9771.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/39/image_17022025_02_40_03_9777.jpg', '/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_54_9774.jpg', '/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_44_9770.jpg', '/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_34_9771.jpg', '/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_24_10783.jpg', '/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_14_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/39/image_17022025_02_40_03_9777.jpg
/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_54_9774.jpg
/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_44_9770.jpg
/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_34_9771.jpg
/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_24_10783.jpg
/home/nano/Desktop/images/17022025/02/39/image_17022025_02_39_14_9771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110181","1338110184","1338110183","1338110180","1338110182","1338110179"],"photo_ids_order":["1338110179","1338110180","1338110181","1338110182","1338110183","1338110184"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5647e2faff82ffc926fc02fe02307da7.jpg","text":"TemporaryFile(/tmp/multipartBody5708217511900344119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764383389,"filename":"image_17022025_02_39_44_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a8a21ca2a355cfc344cb279841785f6.jpg","text":"TemporaryFile(/tmp/multipartBody2270043158196837795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764383389,"filename":"image_17022025_02_39_14_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af12fdd935687f183d696520a0b977b8.jpg","text":"TemporaryFile(/tmp/multipartBody3768043774580975575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764383389,"filename":"image_17022025_02_39_24_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7eee7bb4d24f3f005ae11cc0adc73556.jpg","text":"TemporaryFile(/tmp/multipartBody2819131829963484383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764383389,"filename":"image_17022025_02_39_54_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8db496d371d5306982c807c00fe01536.jpg","text":"TemporaryFile(/tmp/multipartBody303122233615368174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764383389,"filename":"image_17022025_02_39_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0abb7c3be094ac5ec1ae6804f32f12f8.jpg","text":"TemporaryFile(/tmp/multipartBody8388038354996931946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764383389,"filename":"image_17022025_02_40_03_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110181","file1":"1338110180","file0":"1338110179","file4":"1338110183","file5":"1338110184","file3":"1338110182"},"map_files_photo_id_array":[{"photo_id":"1338110184","filename":"file5"},{"photo_id":"1338110181","filename":"file2"},{"photo_id":"1338110183","filename":"file4"},{"photo_id":"1338110180","filename":"file1"},{"photo_id":"1338110179","filename":"file0"},{"photo_id":"1338110182","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110181":["hashtag1","hashtag2"]},{"1338110184":["hashtag1","hashtag2"]},{"1338110183":["hashtag1","hashtag2"]},{"1338110180":["hashtag1","hashtag2"]},{"1338110182":["hashtag1","hashtag2"]},{"1338110179":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110181, 1338110184, 1338110183, 1338110180, 1338110182, 1338110179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.78969931602478 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:53:02.506885
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/38/image_17022025_02_39_04_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_44_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_34_9791.jpg', 0), ('/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_24_9792.jpg', 0), ('/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_14_9794.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/38/image_17022025_02_39_04_9774.jpg', '/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_54_9773.jpg', '/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_44_10784.jpg', '/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_34_9791.jpg', '/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_24_9792.jpg', '/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_14_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/38/image_17022025_02_39_04_9774.jpg
/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_54_9773.jpg
/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_44_10784.jpg
/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_34_9791.jpg
/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_24_9792.jpg
/home/nano/Desktop/images/17022025/02/38/image_17022025_02_38_14_9794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110193","1338110196","1338110192","1338110195","1338110194","1338110191"],"photo_ids_order":["1338110191","1338110192","1338110193","1338110194","1338110195","1338110196"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a448737fb16574de36d9b3a87a2a9c70.jpg","text":"TemporaryFile(/tmp/multipartBody2296629076176551418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764443812,"filename":"image_17022025_02_38_44_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/589f2928fc279fac16ed3897857aaa15.jpg","text":"TemporaryFile(/tmp/multipartBody5238725017535785504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764443812,"filename":"image_17022025_02_38_14_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3468f64a0c786ab0a651fa160782e415.jpg","text":"TemporaryFile(/tmp/multipartBody8668143711295429967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764443812,"filename":"image_17022025_02_38_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f45b57581e0201c1f8514935d7d91c07.jpg","text":"TemporaryFile(/tmp/multipartBody4497789379470794463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764443812,"filename":"image_17022025_02_38_24_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f1437494caa8b5bfd6a4f978f84bd33.jpg","text":"TemporaryFile(/tmp/multipartBody6771496735707062604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764443812,"filename":"image_17022025_02_38_34_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1babd0f7a4038ae838b7a141249f975d.jpg","text":"TemporaryFile(/tmp/multipartBody2153395614319113544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764443812,"filename":"image_17022025_02_39_04_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110193","file1":"1338110192","file0":"1338110191","file4":"1338110195","file5":"1338110196","file3":"1338110194"},"map_files_photo_id_array":[{"photo_id":"1338110196","filename":"file5"},{"photo_id":"1338110193","filename":"file2"},{"photo_id":"1338110195","filename":"file4"},{"photo_id":"1338110192","filename":"file1"},{"photo_id":"1338110191","filename":"file0"},{"photo_id":"1338110194","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110193":["hashtag1","hashtag2"]},{"1338110196":["hashtag1","hashtag2"]},{"1338110192":["hashtag1","hashtag2"]},{"1338110195":["hashtag1","hashtag2"]},{"1338110194":["hashtag1","hashtag2"]},{"1338110191":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110193, 1338110196, 1338110192, 1338110195, 1338110194, 1338110191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48568868637085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:54:02.583757
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/37/image_17022025_02_38_04_9785.jpg', 0), ('/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_54_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_34_9792.jpg', 0), ('/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_14_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/37/image_17022025_02_38_04_9785.jpg', '/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_54_10782.jpg', '/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_44_9772.jpg', '/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_34_9792.jpg', '/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_24_9774.jpg', '/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_14_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/37/image_17022025_02_38_04_9785.jpg
/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_54_10782.jpg
/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_44_9772.jpg
/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_34_9792.jpg
/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_24_9774.jpg
/home/nano/Desktop/images/17022025/02/37/image_17022025_02_37_14_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110203","1338110206","1338110205","1338110208","1338110204","1338110207"],"photo_ids_order":["1338110203","1338110204","1338110205","1338110206","1338110207","1338110208"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2ea9fae161b8c13aa3c2bf028e16140.jpg","text":"TemporaryFile(/tmp/multipartBody5422345613063398013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764503868,"filename":"image_17022025_02_38_04_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d2275439ce8caf51d0983c22422738f6.jpg","text":"TemporaryFile(/tmp/multipartBody3130022774094669064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764503868,"filename":"image_17022025_02_37_34_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9aa8c1d931718348d874222630946876.jpg","text":"TemporaryFile(/tmp/multipartBody8745319478421997391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764503868,"filename":"image_17022025_02_37_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/274fa701570322469eabd9475b45a788.jpg","text":"TemporaryFile(/tmp/multipartBody7848403427077618823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764503868,"filename":"image_17022025_02_37_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dadaf4c783d06097ac5c9f9deee64cb0.jpg","text":"TemporaryFile(/tmp/multipartBody2353206002713156042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764503868,"filename":"image_17022025_02_37_54_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76284ade628f3dcf93a078b21937ca25.jpg","text":"TemporaryFile(/tmp/multipartBody4497280898103219135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764503868,"filename":"image_17022025_02_37_24_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110205","file1":"1338110204","file0":"1338110203","file4":"1338110207","file5":"1338110208","file3":"1338110206"},"map_files_photo_id_array":[{"photo_id":"1338110208","filename":"file5"},{"photo_id":"1338110205","filename":"file2"},{"photo_id":"1338110207","filename":"file4"},{"photo_id":"1338110204","filename":"file1"},{"photo_id":"1338110203","filename":"file0"},{"photo_id":"1338110206","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110203":["hashtag1","hashtag2"]},{"1338110206":["hashtag1","hashtag2"]},{"1338110205":["hashtag1","hashtag2"]},{"1338110208":["hashtag1","hashtag2"]},{"1338110204":["hashtag1","hashtag2"]},{"1338110207":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110203, 1338110206, 1338110205, 1338110208, 1338110204, 1338110207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57314085960388 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:55:02.885805
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/36/image_17022025_02_37_04_10786.jpg', 0), ('/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_24_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_14_9770.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/36/image_17022025_02_37_04_10786.jpg', '/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_54_9774.jpg', '/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_44_9772.jpg', '/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_34_9775.jpg', '/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_24_10781.jpg', '/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_14_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/36/image_17022025_02_37_04_10786.jpg
/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_54_9774.jpg
/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_44_9772.jpg
/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_34_9775.jpg
/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_24_10781.jpg
/home/nano/Desktop/images/17022025/02/36/image_17022025_02_36_14_9770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110215","1338110218","1338110217","1338110220","1338110216","1338110219"],"photo_ids_order":["1338110215","1338110216","1338110217","1338110218","1338110219","1338110220"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd15f7e96062e4e293d6a2980c143d7a.jpg","text":"TemporaryFile(/tmp/multipartBody6090180243338573998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764564449,"filename":"image_17022025_02_37_04_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aee5a045efd358b93460c8b1665dd0a2.jpg","text":"TemporaryFile(/tmp/multipartBody2355892816278449021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764564449,"filename":"image_17022025_02_36_34_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb508899aac1ab4249ef5c921336720c.jpg","text":"TemporaryFile(/tmp/multipartBody4397266725715995438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764564449,"filename":"image_17022025_02_36_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c44de6a9e33e1ed87d32d633eb98a5a7.jpg","text":"TemporaryFile(/tmp/multipartBody4269415648874459732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764564449,"filename":"image_17022025_02_36_14_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38a322a151ebf4cf1bb2db6639d693f0.jpg","text":"TemporaryFile(/tmp/multipartBody8128239924484314867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764564449,"filename":"image_17022025_02_36_54_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2721f4cda4fec010a0bdc44ab84032de.jpg","text":"TemporaryFile(/tmp/multipartBody794310959222127272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764564449,"filename":"image_17022025_02_36_24_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110217","file1":"1338110216","file0":"1338110215","file4":"1338110219","file5":"1338110220","file3":"1338110218"},"map_files_photo_id_array":[{"photo_id":"1338110220","filename":"file5"},{"photo_id":"1338110217","filename":"file2"},{"photo_id":"1338110219","filename":"file4"},{"photo_id":"1338110216","filename":"file1"},{"photo_id":"1338110215","filename":"file0"},{"photo_id":"1338110218","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110215":["hashtag1","hashtag2"]},{"1338110218":["hashtag1","hashtag2"]},{"1338110217":["hashtag1","hashtag2"]},{"1338110220":["hashtag1","hashtag2"]},{"1338110216":["hashtag1","hashtag2"]},{"1338110219":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110215, 1338110218, 1338110217, 1338110220, 1338110216, 1338110219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.78234624862671 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:56:02.653032
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/35/image_17022025_02_36_04_9797.jpg', 0), ('/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_34_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_14_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/35/image_17022025_02_36_04_9797.jpg', '/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_54_9770.jpg', '/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_44_9772.jpg', '/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_34_10784.jpg', '/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_24_9771.jpg', '/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_14_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/35/image_17022025_02_36_04_9797.jpg
/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_54_9770.jpg
/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_44_9772.jpg
/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_34_10784.jpg
/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_24_9771.jpg
/home/nano/Desktop/images/17022025/02/35/image_17022025_02_35_14_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110227","1338110232","1338110229","1338110228","1338110231","1338110230"],"photo_ids_order":["1338110227","1338110228","1338110229","1338110230","1338110231","1338110232"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af51ba251b959dec5b9612fbcd51d0f5.jpg","text":"TemporaryFile(/tmp/multipartBody222599191578765729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764624143,"filename":"image_17022025_02_36_04_9797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e574042f18effe0d6aec158d0c3ba57b.jpg","text":"TemporaryFile(/tmp/multipartBody3402064891899376877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764624143,"filename":"image_17022025_02_35_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ccb2f4e6fee5e4f79d64d04e70d12db.jpg","text":"TemporaryFile(/tmp/multipartBody3551890258394854536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764624143,"filename":"image_17022025_02_35_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d87ccd4cbc73011d575a2f63b6df3f67.jpg","text":"TemporaryFile(/tmp/multipartBody8231268065062788007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764624143,"filename":"image_17022025_02_35_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13d5c8b6a73ceff82774167fdb42af20.jpg","text":"TemporaryFile(/tmp/multipartBody1263486930260591802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764624143,"filename":"image_17022025_02_35_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc86351dfb5090b59312bf2cba779a0e.jpg","text":"TemporaryFile(/tmp/multipartBody2664817877658153509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764624143,"filename":"image_17022025_02_35_34_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110229","file1":"1338110228","file0":"1338110227","file4":"1338110231","file5":"1338110232","file3":"1338110230"},"map_files_photo_id_array":[{"photo_id":"1338110232","filename":"file5"},{"photo_id":"1338110229","filename":"file2"},{"photo_id":"1338110231","filename":"file4"},{"photo_id":"1338110228","filename":"file1"},{"photo_id":"1338110227","filename":"file0"},{"photo_id":"1338110230","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110227":["hashtag1","hashtag2"]},{"1338110232":["hashtag1","hashtag2"]},{"1338110229":["hashtag1","hashtag2"]},{"1338110228":["hashtag1","hashtag2"]},{"1338110231":["hashtag1","hashtag2"]},{"1338110230":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110227, 1338110232, 1338110229, 1338110228, 1338110231, 1338110230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.849339723587036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:57:03.076558
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/34/image_17022025_02_35_04_9788.jpg', 0), ('/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_54_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_44_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_34_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_24_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_14_9801.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/34/image_17022025_02_35_04_9788.jpg', '/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_54_10781.jpg', '/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_44_9774.jpg', '/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_34_9771.jpg', '/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_24_9773.jpg', '/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_14_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/34/image_17022025_02_35_04_9788.jpg
/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_54_10781.jpg
/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_44_9774.jpg
/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_34_9771.jpg
/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_24_9773.jpg
/home/nano/Desktop/images/17022025/02/34/image_17022025_02_34_14_9801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110242","1338110241","1338110244","1338110240","1338110243","1338110239"],"photo_ids_order":["1338110239","1338110240","1338110241","1338110242","1338110243","1338110244"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e7b788f5b7b05bbc601ddca3ced1da86.jpg","text":"TemporaryFile(/tmp/multipartBody7270600990884852209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764685269,"filename":"image_17022025_02_34_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b9c37ac25b302ed0e1335d21d5e8cb0.jpg","text":"TemporaryFile(/tmp/multipartBody3205618059587551655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764685269,"filename":"image_17022025_02_34_44_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/36d9781bb1fe1733ac60b2e65457c5df.jpg","text":"TemporaryFile(/tmp/multipartBody9076151374189244087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764685269,"filename":"image_17022025_02_34_14_9801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4436557aacd92a064306aa2539e0364b.jpg","text":"TemporaryFile(/tmp/multipartBody7155819419817256601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764685269,"filename":"image_17022025_02_34_54_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/44fa6de896b4ee276f3dceaef03fd296.jpg","text":"TemporaryFile(/tmp/multipartBody7562565114716364223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764685269,"filename":"image_17022025_02_34_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f7b919e6ef94a92cc17fa98b9e4573f.jpg","text":"TemporaryFile(/tmp/multipartBody3434861750391457217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764685269,"filename":"image_17022025_02_35_04_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110241","file1":"1338110240","file0":"1338110239","file4":"1338110243","file5":"1338110244","file3":"1338110242"},"map_files_photo_id_array":[{"photo_id":"1338110244","filename":"file5"},{"photo_id":"1338110241","filename":"file2"},{"photo_id":"1338110243","filename":"file4"},{"photo_id":"1338110240","filename":"file1"},{"photo_id":"1338110239","filename":"file0"},{"photo_id":"1338110242","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110242":["hashtag1","hashtag2"]},{"1338110241":["hashtag1","hashtag2"]},{"1338110244":["hashtag1","hashtag2"]},{"1338110240":["hashtag1","hashtag2"]},{"1338110243":["hashtag1","hashtag2"]},{"1338110239":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110242, 1338110241, 1338110244, 1338110240, 1338110243, 1338110239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86170411109924 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:58:02.950323
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/33/image_17022025_02_34_04_10794.jpg', 0), ('/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_54_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_34_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_24_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_14_9777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/33/image_17022025_02_34_04_10794.jpg', '/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_54_9775.jpg', '/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_44_9772.jpg', '/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_34_9772.jpg', '/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_24_10783.jpg', '/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_14_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/33/image_17022025_02_34_04_10794.jpg
/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_54_9775.jpg
/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_44_9772.jpg
/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_34_9772.jpg
/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_24_10783.jpg
/home/nano/Desktop/images/17022025/02/33/image_17022025_02_33_14_9777.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110254","1338110253","1338110256","1338110252","1338110255","1338110251"],"photo_ids_order":["1338110251","1338110252","1338110253","1338110254","1338110255","1338110256"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/506df888b519d3f96f576f964deb65ea.jpg","text":"TemporaryFile(/tmp/multipartBody4921018261481054685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764744432,"filename":"image_17022025_02_33_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6b6084f7b770503c7dcdd9dc480b1b77.jpg","text":"TemporaryFile(/tmp/multipartBody6315599297635623633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764744432,"filename":"image_17022025_02_33_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bdf5297eed3dff497ffe5926c081807a.jpg","text":"TemporaryFile(/tmp/multipartBody8823289104074829550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764744432,"filename":"image_17022025_02_33_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53985b0dff4a68a335dec3cff7b4b156.jpg","text":"TemporaryFile(/tmp/multipartBody4154407181013912522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764744432,"filename":"image_17022025_02_33_54_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0cf058f7f1d1dfa44d6b38850edb208.jpg","text":"TemporaryFile(/tmp/multipartBody8040852482537060009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764744432,"filename":"image_17022025_02_33_24_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a5a97148c14c7527a1c4b2c8097a1ef1.jpg","text":"TemporaryFile(/tmp/multipartBody5469760227842019231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764744432,"filename":"image_17022025_02_34_04_10794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110253","file1":"1338110252","file0":"1338110251","file4":"1338110255","file5":"1338110256","file3":"1338110254"},"map_files_photo_id_array":[{"photo_id":"1338110256","filename":"file5"},{"photo_id":"1338110253","filename":"file2"},{"photo_id":"1338110255","filename":"file4"},{"photo_id":"1338110252","filename":"file1"},{"photo_id":"1338110251","filename":"file0"},{"photo_id":"1338110254","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110254":["hashtag1","hashtag2"]},{"1338110253":["hashtag1","hashtag2"]},{"1338110256":["hashtag1","hashtag2"]},{"1338110252":["hashtag1","hashtag2"]},{"1338110255":["hashtag1","hashtag2"]},{"1338110251":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110254, 1338110253, 1338110256, 1338110252, 1338110255, 1338110251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.48640847206116 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 04:59:03.288464
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/32/image_17022025_02_33_04_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_54_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_34_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_24_9785.jpg', 0), ('/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_14_9802.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/32/image_17022025_02_33_04_9773.jpg', '/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_54_9769.jpg', '/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_44_9775.jpg', '/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_34_10781.jpg', '/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_24_9785.jpg', '/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_14_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/32/image_17022025_02_33_04_9773.jpg
/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_54_9769.jpg
/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_44_9775.jpg
/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_34_10781.jpg
/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_24_9785.jpg
/home/nano/Desktop/images/17022025/02/32/image_17022025_02_32_14_9802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338110830","1338110844","1338110870","1338110810","1338110813","1338110788"],"photo_ids_order":["1338110788","1338110810","1338110813","1338110830","1338110844","1338110870"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e1f81aa5cc9910404b33d1a9c4b59070.jpg","text":"TemporaryFile(/tmp/multipartBody6592744731942289570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764804576,"filename":"image_17022025_02_32_34_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8131c28a4678631464464418024370af.jpg","text":"TemporaryFile(/tmp/multipartBody1768834841408554153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764804576,"filename":"image_17022025_02_32_24_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5af0f451fc5bcb067d3bc8f9d36eca2e.jpg","text":"TemporaryFile(/tmp/multipartBody4267265241028509072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764804576,"filename":"image_17022025_02_32_14_9802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6010ea0dfed1001a3887116f21685c6c.jpg","text":"TemporaryFile(/tmp/multipartBody1688035902295692184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764804576,"filename":"image_17022025_02_32_54_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c09388108947db936e2693e65612f74.jpg","text":"TemporaryFile(/tmp/multipartBody7843373988929551836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764804576,"filename":"image_17022025_02_32_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ad50692715a866e606ff7ab9af6c516.jpg","text":"TemporaryFile(/tmp/multipartBody4137798451474067123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764804576,"filename":"image_17022025_02_33_04_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338110813","file1":"1338110810","file0":"1338110788","file4":"1338110844","file5":"1338110870","file3":"1338110830"},"map_files_photo_id_array":[{"photo_id":"1338110870","filename":"file5"},{"photo_id":"1338110813","filename":"file2"},{"photo_id":"1338110844","filename":"file4"},{"photo_id":"1338110810","filename":"file1"},{"photo_id":"1338110788","filename":"file0"},{"photo_id":"1338110830","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338110830":["hashtag1","hashtag2"]},{"1338110844":["hashtag1","hashtag2"]},{"1338110870":["hashtag1","hashtag2"]},{"1338110810":["hashtag1","hashtag2"]},{"1338110813":["hashtag1","hashtag2"]},{"1338110788":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338110830, 1338110844, 1338110870, 1338110810, 1338110813, 1338110788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.205610036849976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:00:03.025264
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/31/image_17022025_02_32_04_9787.jpg', 0), ('/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_54_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_43_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_14_9792.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/31/image_17022025_02_32_04_9787.jpg', '/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_54_10782.jpg', '/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_43_9775.jpg', '/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_34_9774.jpg', '/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_24_9772.jpg', '/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_14_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/31/image_17022025_02_32_04_9787.jpg
/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_54_10782.jpg
/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_43_9775.jpg
/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_34_9774.jpg
/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_24_9772.jpg
/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_14_9792.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8506739139556885 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:00:32.656311
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/31/image_17022025_02_32_04_9787.jpg', 0), ('/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_54_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_43_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_14_9792.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/31/image_17022025_02_32_04_9787.jpg', '/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_54_10782.jpg', '/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_43_9775.jpg', '/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_34_9774.jpg', '/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_24_9772.jpg', '/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_14_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/31/image_17022025_02_32_04_9787.jpg
/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_54_10782.jpg
/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_43_9775.jpg
/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_34_9774.jpg
/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_24_9772.jpg
/home/nano/Desktop/images/17022025/02/31/image_17022025_02_31_14_9792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111075","1338110990","1338111236","1338111238","1338110884","1338111214"],"photo_ids_order":["1338110884","1338110990","1338111075","1338111214","1338111236","1338111238"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21342f4099539a5b2a4d738616464865.jpg","text":"TemporaryFile(/tmp/multipartBody7290343268074399741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764895772,"filename":"image_17022025_02_31_43_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d615ee59be8b2a240d4ef821364627ae.jpg","text":"TemporaryFile(/tmp/multipartBody6584865568625166699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764895772,"filename":"image_17022025_02_31_54_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f8688d18b893228119b64ce1c9ad3da.jpg","text":"TemporaryFile(/tmp/multipartBody5626522832893989099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764895772,"filename":"image_17022025_02_31_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/548337403b01229d8554e390e04f83dc.jpg","text":"TemporaryFile(/tmp/multipartBody6315035594120813092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764895772,"filename":"image_17022025_02_31_14_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8ae26fb2121daec76bf6461058d7a42.jpg","text":"TemporaryFile(/tmp/multipartBody514776210172846809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764895772,"filename":"image_17022025_02_32_04_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be619b574cdc058fccaf70cb5d3b0abe.jpg","text":"TemporaryFile(/tmp/multipartBody36561859839135415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764895772,"filename":"image_17022025_02_31_34_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111075","file1":"1338110990","file0":"1338110884","file4":"1338111236","file5":"1338111238","file3":"1338111214"},"map_files_photo_id_array":[{"photo_id":"1338111238","filename":"file5"},{"photo_id":"1338111075","filename":"file2"},{"photo_id":"1338111236","filename":"file4"},{"photo_id":"1338110990","filename":"file1"},{"photo_id":"1338110884","filename":"file0"},{"photo_id":"1338111214","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111075":["hashtag1","hashtag2"]},{"1338110990":["hashtag1","hashtag2"]},{"1338111236":["hashtag1","hashtag2"]},{"1338111238":["hashtag1","hashtag2"]},{"1338110884":["hashtag1","hashtag2"]},{"1338111214":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111075, 1338110990, 1338111236, 1338111238, 1338110884, 1338111214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.972909450531006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:01:31.802770
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/30/image_17022025_02_31_04_10788.jpg', 0), ('/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_24_9792.jpg', 0), ('/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_14_10786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/30/image_17022025_02_31_04_10788.jpg', '/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_54_9774.jpg', '/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_44_9772.jpg', '/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_34_9774.jpg', '/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_24_9792.jpg', '/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_14_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/30/image_17022025_02_31_04_10788.jpg
/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_54_9774.jpg
/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_44_9772.jpg
/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_34_9774.jpg
/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_24_9792.jpg
/home/nano/Desktop/images/17022025/02/30/image_17022025_02_30_14_10786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111590","1338111662","1338111592","1338111640","1338111535","1338111594"],"photo_ids_order":["1338111535","1338111590","1338111592","1338111594","1338111640","1338111662"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/310d3d15d4624a4aa14b46ee615af73e.jpg","text":"TemporaryFile(/tmp/multipartBody707672754555724647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764954567,"filename":"image_17022025_02_30_54_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a1b1fe9e461558936437c3462caa3b8f.jpg","text":"TemporaryFile(/tmp/multipartBody2883233471063532251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764954567,"filename":"image_17022025_02_30_14_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/332ac9c0bf47b714a3fd294558404071.jpg","text":"TemporaryFile(/tmp/multipartBody5790665097278494651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764954567,"filename":"image_17022025_02_30_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad668acb13a8420695c4ccfd8cc862f0.jpg","text":"TemporaryFile(/tmp/multipartBody478203881082694123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764954567,"filename":"image_17022025_02_30_24_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38005a6d143fd9695646de49f3fe78d5.jpg","text":"TemporaryFile(/tmp/multipartBody8446900822646399832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764954567,"filename":"image_17022025_02_31_04_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/37940a8a30fb6dcea6e579c849b0f182.jpg","text":"TemporaryFile(/tmp/multipartBody5218915704866459974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739764954567,"filename":"image_17022025_02_30_34_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111592","file1":"1338111590","file0":"1338111535","file4":"1338111640","file5":"1338111662","file3":"1338111594"},"map_files_photo_id_array":[{"photo_id":"1338111662","filename":"file5"},{"photo_id":"1338111592","filename":"file2"},{"photo_id":"1338111640","filename":"file4"},{"photo_id":"1338111590","filename":"file1"},{"photo_id":"1338111535","filename":"file0"},{"photo_id":"1338111594","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111590":["hashtag1","hashtag2"]},{"1338111662":["hashtag1","hashtag2"]},{"1338111592":["hashtag1","hashtag2"]},{"1338111640":["hashtag1","hashtag2"]},{"1338111535":["hashtag1","hashtag2"]},{"1338111594":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111590, 1338111662, 1338111592, 1338111640, 1338111535, 1338111594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35052418708801 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:02:31.944168
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/29/image_17022025_02_30_04_9808.jpg', 0), ('/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_54_9776.jpg', 0), ('/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_44_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_34_10784.jpg', 0), ('/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_14_9772.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/29/image_17022025_02_30_04_9808.jpg', '/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_54_9776.jpg', '/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_44_9775.jpg', '/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_34_10784.jpg', '/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_24_9772.jpg', '/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_14_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/29/image_17022025_02_30_04_9808.jpg
/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_54_9776.jpg
/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_44_9775.jpg
/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_34_10784.jpg
/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_24_9772.jpg
/home/nano/Desktop/images/17022025/02/29/image_17022025_02_29_14_9772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111669","1338111674","1338111676","1338111670","1338111667","1338111672"],"photo_ids_order":["1338111667","1338111669","1338111670","1338111672","1338111674","1338111676"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e7daa23cef56e65c559e151bba7ff24.jpg","text":"TemporaryFile(/tmp/multipartBody2496364209054988642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765013558,"filename":"image_17022025_02_29_54_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3edc124faded590c8d9bf85ea79c5975.jpg","text":"TemporaryFile(/tmp/multipartBody7207226097615613904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765013558,"filename":"image_17022025_02_29_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b874ede1e010f64099d17c4e0f8f0ff8.jpg","text":"TemporaryFile(/tmp/multipartBody2811248501815945765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765013558,"filename":"image_17022025_02_29_14_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28269c1997676657330120f3f15154de.jpg","text":"TemporaryFile(/tmp/multipartBody8919941472333358012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765013558,"filename":"image_17022025_02_29_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0500259bfcf5bb404370ea41d827796.jpg","text":"TemporaryFile(/tmp/multipartBody3834347899207343400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765013558,"filename":"image_17022025_02_30_04_9808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c853d0ec9f6ddc7aed171d63660737bd.jpg","text":"TemporaryFile(/tmp/multipartBody6711354681480670171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765013558,"filename":"image_17022025_02_29_34_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111670","file1":"1338111669","file0":"1338111667","file4":"1338111674","file5":"1338111676","file3":"1338111672"},"map_files_photo_id_array":[{"photo_id":"1338111676","filename":"file5"},{"photo_id":"1338111670","filename":"file2"},{"photo_id":"1338111674","filename":"file4"},{"photo_id":"1338111669","filename":"file1"},{"photo_id":"1338111667","filename":"file0"},{"photo_id":"1338111672","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111669":["hashtag1","hashtag2"]},{"1338111674":["hashtag1","hashtag2"]},{"1338111676":["hashtag1","hashtag2"]},{"1338111670":["hashtag1","hashtag2"]},{"1338111667":["hashtag1","hashtag2"]},{"1338111672":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111669, 1338111674, 1338111676, 1338111670, 1338111667, 1338111672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.379189014434814 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:03:32.133057
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/28/image_17022025_02_29_04_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_54_9777.jpg', 0), ('/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_44_10783.jpg', 0), ('/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_34_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_14_9779.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/28/image_17022025_02_29_04_9775.jpg', '/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_54_9777.jpg', '/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_44_10783.jpg', '/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_34_9773.jpg', '/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_24_9775.jpg', '/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_14_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/28/image_17022025_02_29_04_9775.jpg
/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_54_9777.jpg
/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_44_10783.jpg
/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_34_9773.jpg
/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_24_9775.jpg
/home/nano/Desktop/images/17022025/02/28/image_17022025_02_28_14_9779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111681","1338111683","1338111686","1338111688","1338111685","1338111679"],"photo_ids_order":["1338111679","1338111681","1338111683","1338111685","1338111686","1338111688"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/10f8c108543ad6bd49636c0f0fff6ed3.jpg","text":"TemporaryFile(/tmp/multipartBody629731442705929220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765073678,"filename":"image_17022025_02_28_54_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/25b762bd33f8cd08a9cb2dc5490586d4.jpg","text":"TemporaryFile(/tmp/multipartBody8784455451887686442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765073678,"filename":"image_17022025_02_28_44_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2b5837b0f478cd5d2d607cd385d51c2.jpg","text":"TemporaryFile(/tmp/multipartBody1540424603633645079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765073678,"filename":"image_17022025_02_28_24_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d96eddfdbaa0ecf653459afa604ee27.jpg","text":"TemporaryFile(/tmp/multipartBody6055492063542676387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765073678,"filename":"image_17022025_02_28_14_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d014dfd6b60cf5de5d39dfc9e364fc3.jpg","text":"TemporaryFile(/tmp/multipartBody4437016250499053604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765073678,"filename":"image_17022025_02_28_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2e556624c4c3f37c88fff8bd75f582f.jpg","text":"TemporaryFile(/tmp/multipartBody318330411847627739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765073678,"filename":"image_17022025_02_29_04_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111683","file1":"1338111681","file0":"1338111679","file4":"1338111686","file5":"1338111688","file3":"1338111685"},"map_files_photo_id_array":[{"photo_id":"1338111688","filename":"file5"},{"photo_id":"1338111683","filename":"file2"},{"photo_id":"1338111686","filename":"file4"},{"photo_id":"1338111681","filename":"file1"},{"photo_id":"1338111679","filename":"file0"},{"photo_id":"1338111685","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111681":["hashtag1","hashtag2"]},{"1338111683":["hashtag1","hashtag2"]},{"1338111686":["hashtag1","hashtag2"]},{"1338111688":["hashtag1","hashtag2"]},{"1338111685":["hashtag1","hashtag2"]},{"1338111679":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111681, 1338111683, 1338111686, 1338111688, 1338111685, 1338111679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.829795598983765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:04:32.277185
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/27/image_17022025_02_28_04_10800.jpg', 0), ('/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_54_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_34_9852.jpg', 0), ('/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_14_10781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/27/image_17022025_02_28_04_10800.jpg', '/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_54_9774.jpg', '/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_44_9771.jpg', '/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_34_9852.jpg', '/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_24_9772.jpg', '/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_14_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/27/image_17022025_02_28_04_10800.jpg
/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_54_9774.jpg
/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_44_9771.jpg
/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_34_9852.jpg
/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_24_9772.jpg
/home/nano/Desktop/images/17022025/02/27/image_17022025_02_27_14_10781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111695","1338111697","1338111691","1338111700","1338111699","1338111693"],"photo_ids_order":["1338111691","1338111693","1338111695","1338111697","1338111699","1338111700"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d4860114e967e050391bca1116f2dd3.jpg","text":"TemporaryFile(/tmp/multipartBody2341209873041852432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765133689,"filename":"image_17022025_02_27_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b453af42688b66bdec6ee76c31a91d25.jpg","text":"TemporaryFile(/tmp/multipartBody3270942344121807357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765133689,"filename":"image_17022025_02_27_34_9852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/524f8ae5a4cb2ec40790d66ee4f8d50c.jpg","text":"TemporaryFile(/tmp/multipartBody3765191901241664045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765133689,"filename":"image_17022025_02_28_04_10800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50a189cbf8ecd86e64bb94193aa4d184.jpg","text":"TemporaryFile(/tmp/multipartBody3146771322568314843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765133689,"filename":"image_17022025_02_27_14_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de0c7e1fe1622fb3390eba6978090017.jpg","text":"TemporaryFile(/tmp/multipartBody4120004062983024900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765133689,"filename":"image_17022025_02_27_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf481e0e67938a60644c274ed625e8e1.jpg","text":"TemporaryFile(/tmp/multipartBody1348634917358297476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765133689,"filename":"image_17022025_02_27_54_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111695","file1":"1338111693","file0":"1338111691","file4":"1338111699","file5":"1338111700","file3":"1338111697"},"map_files_photo_id_array":[{"photo_id":"1338111700","filename":"file5"},{"photo_id":"1338111695","filename":"file2"},{"photo_id":"1338111699","filename":"file4"},{"photo_id":"1338111693","filename":"file1"},{"photo_id":"1338111691","filename":"file0"},{"photo_id":"1338111697","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111695":["hashtag1","hashtag2"]},{"1338111697":["hashtag1","hashtag2"]},{"1338111691":["hashtag1","hashtag2"]},{"1338111700":["hashtag1","hashtag2"]},{"1338111699":["hashtag1","hashtag2"]},{"1338111693":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111695, 1338111697, 1338111691, 1338111700, 1338111699, 1338111693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.03252649307251 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:05:32.410106
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/26/image_17022025_02_27_04_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_54_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_44_9792.jpg', 0), ('/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_34_9766.jpg', 0), ('/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_24_10777.jpg', 0), ('/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_14_9777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/26/image_17022025_02_27_04_9771.jpg', '/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_54_9768.jpg', '/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_44_9792.jpg', '/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_34_9766.jpg', '/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_24_10777.jpg', '/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_14_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/26/image_17022025_02_27_04_9771.jpg
/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_54_9768.jpg
/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_44_9792.jpg
/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_34_9766.jpg
/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_24_10777.jpg
/home/nano/Desktop/images/17022025/02/26/image_17022025_02_26_14_9777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111711","1338111705","1338111713","1338111707","1338111715","1338111709"],"photo_ids_order":["1338111705","1338111707","1338111709","1338111711","1338111713","1338111715"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d028b57345c542094e35037f345c3e9.jpg","text":"TemporaryFile(/tmp/multipartBody1126426751944464672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765193926,"filename":"image_17022025_02_26_34_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dff0e5491b56d60428c4ec5ad01fbdf4.jpg","text":"TemporaryFile(/tmp/multipartBody3423428462340250741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765193926,"filename":"image_17022025_02_27_04_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4939b6b4455aa4383df1a792175b71d7.jpg","text":"TemporaryFile(/tmp/multipartBody7664751662448233259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765193926,"filename":"image_17022025_02_26_24_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9df6842f79e485deef17c6327a777b89.jpg","text":"TemporaryFile(/tmp/multipartBody186040829907047309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765193926,"filename":"image_17022025_02_26_54_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/176a0b14becb90dd8a17c52fb76f2f9c.jpg","text":"TemporaryFile(/tmp/multipartBody715050976540573746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765193926,"filename":"image_17022025_02_26_14_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2533b57a307ae7fb31090ac2d033a3a0.jpg","text":"TemporaryFile(/tmp/multipartBody8280271534147736009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765193926,"filename":"image_17022025_02_26_44_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111709","file1":"1338111707","file0":"1338111705","file4":"1338111713","file5":"1338111715","file3":"1338111711"},"map_files_photo_id_array":[{"photo_id":"1338111715","filename":"file5"},{"photo_id":"1338111709","filename":"file2"},{"photo_id":"1338111713","filename":"file4"},{"photo_id":"1338111707","filename":"file1"},{"photo_id":"1338111705","filename":"file0"},{"photo_id":"1338111711","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111711":["hashtag1","hashtag2"]},{"1338111705":["hashtag1","hashtag2"]},{"1338111713":["hashtag1","hashtag2"]},{"1338111707":["hashtag1","hashtag2"]},{"1338111715":["hashtag1","hashtag2"]},{"1338111709":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111711, 1338111705, 1338111713, 1338111707, 1338111715, 1338111709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.077538013458252 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:06:32.560013
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/25/image_17022025_02_26_04_9784.jpg', 0), ('/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_44_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_34_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_14_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/25/image_17022025_02_26_04_9784.jpg', '/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_54_9770.jpg', '/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_44_10779.jpg', '/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_34_9769.jpg', '/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_24_9774.jpg', '/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_14_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/25/image_17022025_02_26_04_9784.jpg
/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_54_9770.jpg
/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_44_10779.jpg
/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_34_9769.jpg
/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_24_9774.jpg
/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_14_9775.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3918750286102295 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:07:03.120923
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/25/image_17022025_02_26_04_9784.jpg', 0), ('/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_44_10779.jpg', 0), ('/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_34_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_14_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/25/image_17022025_02_26_04_9784.jpg', '/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_54_9770.jpg', '/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_44_10779.jpg', '/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_34_9769.jpg', '/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_24_9774.jpg', '/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_14_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/25/image_17022025_02_26_04_9784.jpg
/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_54_9770.jpg
/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_44_10779.jpg
/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_34_9769.jpg
/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_24_9774.jpg
/home/nano/Desktop/images/17022025/02/25/image_17022025_02_25_14_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111732","1338111729","1338111728","1338111731","1338111730","1338111733"],"photo_ids_order":["1338111728","1338111729","1338111730","1338111731","1338111732","1338111733"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3ddbbba4a8818250c59c35ee303a673.jpg","text":"TemporaryFile(/tmp/multipartBody6919718885901539168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765284529,"filename":"image_17022025_02_25_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8dfb37d65d45166fb2317a317b0359d1.jpg","text":"TemporaryFile(/tmp/multipartBody5001325062722267260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765284529,"filename":"image_17022025_02_25_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1346ce5fe89c3397b980cdfebf67a60d.jpg","text":"TemporaryFile(/tmp/multipartBody4640604501889512216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765284529,"filename":"image_17022025_02_26_04_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9be414ece02cc799f1acd1ddee2f77f4.jpg","text":"TemporaryFile(/tmp/multipartBody4190545412429608531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765284529,"filename":"image_17022025_02_25_34_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a29a4396061f5a74aab921927c88aaa3.jpg","text":"TemporaryFile(/tmp/multipartBody8211528695968714327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765284529,"filename":"image_17022025_02_25_44_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db85c3a0f335baa090f974fbbb100b9c.jpg","text":"TemporaryFile(/tmp/multipartBody1406285047585035840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765284529,"filename":"image_17022025_02_25_14_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111730","file1":"1338111729","file0":"1338111728","file4":"1338111732","file5":"1338111733","file3":"1338111731"},"map_files_photo_id_array":[{"photo_id":"1338111733","filename":"file5"},{"photo_id":"1338111730","filename":"file2"},{"photo_id":"1338111732","filename":"file4"},{"photo_id":"1338111729","filename":"file1"},{"photo_id":"1338111728","filename":"file0"},{"photo_id":"1338111731","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111732":["hashtag1","hashtag2"]},{"1338111729":["hashtag1","hashtag2"]},{"1338111728":["hashtag1","hashtag2"]},{"1338111731":["hashtag1","hashtag2"]},{"1338111730":["hashtag1","hashtag2"]},{"1338111733":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111732, 1338111729, 1338111728, 1338111731, 1338111730, 1338111733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.402923822402954 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:08:02.113267
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/24/image_17022025_02_25_04_9811.jpg', 0), ('/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_54_10804.jpg', 0), ('/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_44_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_24_9772.jpg', 0), ('/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_14_10801.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/24/image_17022025_02_25_04_9811.jpg', '/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_54_10804.jpg', '/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_44_9772.jpg', '/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_34_9770.jpg', '/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_24_9772.jpg', '/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_14_10801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/24/image_17022025_02_25_04_9811.jpg
/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_54_10804.jpg
/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_44_9772.jpg
/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_34_9770.jpg
/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_24_9772.jpg
/home/nano/Desktop/images/17022025/02/24/image_17022025_02_24_14_10801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111741","1338111744","1338111740","1338111743","1338111742","1338111745"],"photo_ids_order":["1338111740","1338111741","1338111742","1338111743","1338111744","1338111745"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dbe4262aa264ee6fcac75e7ed7684f88.jpg","text":"TemporaryFile(/tmp/multipartBody4887761803998783967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765344263,"filename":"image_17022025_02_24_54_10804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7922cdc2ee95a5ac28185803730b4919.jpg","text":"TemporaryFile(/tmp/multipartBody6298716111072092340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765344263,"filename":"image_17022025_02_24_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/262a0dc973cbc11f2d80e60cb5ae0047.jpg","text":"TemporaryFile(/tmp/multipartBody1865502609610532175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765344263,"filename":"image_17022025_02_25_04_9811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a19d66d980998c5f8bf232f06f30f631.jpg","text":"TemporaryFile(/tmp/multipartBody1455992140983900519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765344263,"filename":"image_17022025_02_24_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cd6a52a2639d79cc063224726fb9c92.jpg","text":"TemporaryFile(/tmp/multipartBody9203967570585213411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765344263,"filename":"image_17022025_02_24_44_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14a486a2415eee268516dcb0ffde81ec.jpg","text":"TemporaryFile(/tmp/multipartBody1910850309309831887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765344263,"filename":"image_17022025_02_24_14_10801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111742","file1":"1338111741","file0":"1338111740","file4":"1338111744","file5":"1338111745","file3":"1338111743"},"map_files_photo_id_array":[{"photo_id":"1338111745","filename":"file5"},{"photo_id":"1338111742","filename":"file2"},{"photo_id":"1338111744","filename":"file4"},{"photo_id":"1338111741","filename":"file1"},{"photo_id":"1338111740","filename":"file0"},{"photo_id":"1338111743","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111741":["hashtag1","hashtag2"]},{"1338111744":["hashtag1","hashtag2"]},{"1338111740":["hashtag1","hashtag2"]},{"1338111743":["hashtag1","hashtag2"]},{"1338111742":["hashtag1","hashtag2"]},{"1338111745":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111741, 1338111744, 1338111740, 1338111743, 1338111742, 1338111745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8015570640564 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:09:02.688059
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/23/image_17022025_02_24_04_9768.jpg', 0), ('/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_54_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_34_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_24_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_14_9774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/23/image_17022025_02_24_04_9768.jpg', '/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_54_9769.jpg', '/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_44_9769.jpg', '/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_34_9770.jpg', '/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_24_10781.jpg', '/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_14_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/23/image_17022025_02_24_04_9768.jpg
/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_54_9769.jpg
/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_44_9769.jpg
/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_34_9770.jpg
/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_24_10781.jpg
/home/nano/Desktop/images/17022025/02/23/image_17022025_02_23_14_9774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111753","1338111756","1338111752","1338111755","1338111757","1338111754"],"photo_ids_order":["1338111752","1338111753","1338111754","1338111755","1338111756","1338111757"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/add6be22aaccb32e62f3a4e2c61a5ebd.jpg","text":"TemporaryFile(/tmp/multipartBody4366710385618562123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765404637,"filename":"image_17022025_02_23_54_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ecf485e45b24f93422240b3d884953c.jpg","text":"TemporaryFile(/tmp/multipartBody7519315442429689445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765404637,"filename":"image_17022025_02_23_24_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c8986cc4f3c1f6c604f1b3da65176ea.jpg","text":"TemporaryFile(/tmp/multipartBody4249348143031920153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765404637,"filename":"image_17022025_02_24_04_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5cde30c67b9fc44c1cf48456bba6518.jpg","text":"TemporaryFile(/tmp/multipartBody8585693269102250710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765404637,"filename":"image_17022025_02_23_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/02eac07515dbb3cf22c6cfe9c0b3eeb7.jpg","text":"TemporaryFile(/tmp/multipartBody3719496787359709831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765404637,"filename":"image_17022025_02_23_14_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3af242738db80b129fa32f49c891d6bc.jpg","text":"TemporaryFile(/tmp/multipartBody1065336618398483816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765404637,"filename":"image_17022025_02_23_44_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111754","file1":"1338111753","file0":"1338111752","file4":"1338111756","file5":"1338111757","file3":"1338111755"},"map_files_photo_id_array":[{"photo_id":"1338111757","filename":"file5"},{"photo_id":"1338111754","filename":"file2"},{"photo_id":"1338111756","filename":"file4"},{"photo_id":"1338111753","filename":"file1"},{"photo_id":"1338111752","filename":"file0"},{"photo_id":"1338111755","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111753":["hashtag1","hashtag2"]},{"1338111756":["hashtag1","hashtag2"]},{"1338111752":["hashtag1","hashtag2"]},{"1338111755":["hashtag1","hashtag2"]},{"1338111757":["hashtag1","hashtag2"]},{"1338111754":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111753, 1338111756, 1338111752, 1338111755, 1338111757, 1338111754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03679275512695 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:10:02.385749
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/22/image_17022025_02_23_04_9802.jpg', 0), ('/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_44_10780.jpg', 0), ('/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_34_9789.jpg', 0), ('/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_24_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_14_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/22/image_17022025_02_23_04_9802.jpg', '/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_54_9773.jpg', '/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_44_10780.jpg', '/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_34_9789.jpg', '/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_24_9771.jpg', '/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_14_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/22/image_17022025_02_23_04_9802.jpg
/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_54_9773.jpg
/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_44_10780.jpg
/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_34_9789.jpg
/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_24_9771.jpg
/home/nano/Desktop/images/17022025/02/22/image_17022025_02_22_14_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111768","1338111765","1338111764","1338111767","1338111769","1338111766"],"photo_ids_order":["1338111764","1338111765","1338111766","1338111767","1338111768","1338111769"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0da9a62379dcfbf8c236696b6b1d043d.jpg","text":"TemporaryFile(/tmp/multipartBody2854410401846901807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765463998,"filename":"image_17022025_02_22_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c799aef973771c4c8a10dfaf3d2b9b31.jpg","text":"TemporaryFile(/tmp/multipartBody7978551439388794881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765463998,"filename":"image_17022025_02_22_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0fc9270527a521fff3acfb7ba0b1847e.jpg","text":"TemporaryFile(/tmp/multipartBody7891811177519049603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765463998,"filename":"image_17022025_02_23_04_9802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81e4476da78804d1c9933b58664f2ac5.jpg","text":"TemporaryFile(/tmp/multipartBody3251502866038609304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765463998,"filename":"image_17022025_02_22_34_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ada6c77384d1aa9b372a713445216a83.jpg","text":"TemporaryFile(/tmp/multipartBody8419919145297275614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765463998,"filename":"image_17022025_02_22_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c83800ed27d0707f34608f5ec890be92.jpg","text":"TemporaryFile(/tmp/multipartBody6268428356163574043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765463998,"filename":"image_17022025_02_22_44_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111766","file1":"1338111765","file0":"1338111764","file4":"1338111768","file5":"1338111769","file3":"1338111767"},"map_files_photo_id_array":[{"photo_id":"1338111769","filename":"file5"},{"photo_id":"1338111766","filename":"file2"},{"photo_id":"1338111768","filename":"file4"},{"photo_id":"1338111765","filename":"file1"},{"photo_id":"1338111764","filename":"file0"},{"photo_id":"1338111767","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111768":["hashtag1","hashtag2"]},{"1338111765":["hashtag1","hashtag2"]},{"1338111764":["hashtag1","hashtag2"]},{"1338111767":["hashtag1","hashtag2"]},{"1338111769":["hashtag1","hashtag2"]},{"1338111766":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111768, 1338111765, 1338111764, 1338111767, 1338111769, 1338111766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49552631378174 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:11:02.713166
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/21/image_17022025_02_22_04_9778.jpg', 0), ('/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_54_10781.jpg', 0), ('/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_44_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_34_9787.jpg', 0), ('/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_24_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_14_10798.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/21/image_17022025_02_22_04_9778.jpg', '/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_54_10781.jpg', '/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_44_9769.jpg', '/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_34_9787.jpg', '/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_24_9770.jpg', '/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_14_10798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/21/image_17022025_02_22_04_9778.jpg
/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_54_10781.jpg
/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_44_9769.jpg
/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_34_9787.jpg
/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_24_9770.jpg
/home/nano/Desktop/images/17022025/02/21/image_17022025_02_21_14_10798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111780","1338111777","1338111776","1338111779","1338111781","1338111778"],"photo_ids_order":["1338111776","1338111777","1338111778","1338111779","1338111780","1338111781"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1fe2b10baee4e33c340e465ebcd76135.jpg","text":"TemporaryFile(/tmp/multipartBody3440804356852224233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765524029,"filename":"image_17022025_02_21_24_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e6dba22ef771c0936b8eeccfcac6c18.jpg","text":"TemporaryFile(/tmp/multipartBody6774180992277021676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765524029,"filename":"image_17022025_02_21_54_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e09a06bd6cb564375de57b0f68a482b.jpg","text":"TemporaryFile(/tmp/multipartBody795879015958317404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765524029,"filename":"image_17022025_02_22_04_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/765a642e1b331b3189f816864b98fe41.jpg","text":"TemporaryFile(/tmp/multipartBody406026258551291291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765524029,"filename":"image_17022025_02_21_34_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7645df91ea7070cd55e7d3663172b267.jpg","text":"TemporaryFile(/tmp/multipartBody8641419638984247419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765524029,"filename":"image_17022025_02_21_14_10798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a315f2c9bf06f13efab0b7ee3451499.jpg","text":"TemporaryFile(/tmp/multipartBody6704452966628101048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765524029,"filename":"image_17022025_02_21_44_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111778","file1":"1338111777","file0":"1338111776","file4":"1338111780","file5":"1338111781","file3":"1338111779"},"map_files_photo_id_array":[{"photo_id":"1338111781","filename":"file5"},{"photo_id":"1338111778","filename":"file2"},{"photo_id":"1338111780","filename":"file4"},{"photo_id":"1338111777","filename":"file1"},{"photo_id":"1338111776","filename":"file0"},{"photo_id":"1338111779","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111780":["hashtag1","hashtag2"]},{"1338111777":["hashtag1","hashtag2"]},{"1338111776":["hashtag1","hashtag2"]},{"1338111779":["hashtag1","hashtag2"]},{"1338111781":["hashtag1","hashtag2"]},{"1338111778":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111780, 1338111777, 1338111776, 1338111779, 1338111781, 1338111778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44110918045044 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:12:02.551285
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/20/image_17022025_02_21_04_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_54_9770.jpg', 0), ('/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_44_9766.jpg', 0), ('/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_34_9769.jpg', 0), ('/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_24_10778.jpg', 0), ('/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_14_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/20/image_17022025_02_21_04_9770.jpg', '/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_54_9770.jpg', '/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_44_9766.jpg', '/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_34_9769.jpg', '/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_24_10778.jpg', '/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_14_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/20/image_17022025_02_21_04_9770.jpg
/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_54_9770.jpg
/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_44_9766.jpg
/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_34_9769.jpg
/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_24_10778.jpg
/home/nano/Desktop/images/17022025/02/20/image_17022025_02_20_14_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111789","1338111791","1338111788","1338111793","1338111790","1338111792"],"photo_ids_order":["1338111788","1338111789","1338111790","1338111791","1338111792","1338111793"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6927092a45d01ee05b5d49cd7f5f73e1.jpg","text":"TemporaryFile(/tmp/multipartBody8520659390497846883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765584323,"filename":"image_17022025_02_20_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0df59e922b941d199719d269e35d03bd.jpg","text":"TemporaryFile(/tmp/multipartBody7149969449121092695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765584323,"filename":"image_17022025_02_20_34_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7fb792b378e2b5b68b3ab33db6df8c2b.jpg","text":"TemporaryFile(/tmp/multipartBody403931186534515485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765584323,"filename":"image_17022025_02_21_04_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b394ce2cd20caacddec55e08f206c7b5.jpg","text":"TemporaryFile(/tmp/multipartBody8108386521124601073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765584323,"filename":"image_17022025_02_20_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9cd95244dde186cf17feeb84eecc1128.jpg","text":"TemporaryFile(/tmp/multipartBody2472898497896226607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765584323,"filename":"image_17022025_02_20_44_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5afcf361fb9143422b06503bf642f21c.jpg","text":"TemporaryFile(/tmp/multipartBody575208908559865308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765584323,"filename":"image_17022025_02_20_24_10778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111790","file1":"1338111789","file0":"1338111788","file4":"1338111792","file5":"1338111793","file3":"1338111791"},"map_files_photo_id_array":[{"photo_id":"1338111793","filename":"file5"},{"photo_id":"1338111790","filename":"file2"},{"photo_id":"1338111792","filename":"file4"},{"photo_id":"1338111789","filename":"file1"},{"photo_id":"1338111788","filename":"file0"},{"photo_id":"1338111791","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111789":["hashtag1","hashtag2"]},{"1338111791":["hashtag1","hashtag2"]},{"1338111788":["hashtag1","hashtag2"]},{"1338111793":["hashtag1","hashtag2"]},{"1338111790":["hashtag1","hashtag2"]},{"1338111792":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111789, 1338111791, 1338111788, 1338111793, 1338111790, 1338111792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.96101427078247 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:13:03.002280
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/02/19/image_17022025_02_20_04_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_54_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_24_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_14_10790.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/02/19/image_17022025_02_20_04_9773.jpg', '/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_54_9771.jpg', '/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_44_9773.jpg', '/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_34_9774.jpg', '/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_24_9775.jpg', '/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_14_10790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/02/19/image_17022025_02_20_04_9773.jpg
/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_54_9771.jpg
/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_44_9773.jpg
/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_34_9774.jpg
/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_24_9775.jpg
/home/nano/Desktop/images/17022025/01/56/image_17022025_01_56_14_10790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111804","1338111801","1338111800","1338111803","1338111805","1338111802"],"photo_ids_order":["1338111800","1338111801","1338111802","1338111803","1338111804","1338111805"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/72ea805e6289ea56d40284aaf917e841.jpg","text":"TemporaryFile(/tmp/multipartBody2616725627560598838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765644640,"filename":"image_17022025_01_56_24_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24383c2e12bc2249a3b2309115bf579a.jpg","text":"TemporaryFile(/tmp/multipartBody5001370645100371091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765644640,"filename":"image_17022025_01_56_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a9497d31af6fd330e7dd0ca27ae28c98.jpg","text":"TemporaryFile(/tmp/multipartBody6235211012091113417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765644640,"filename":"image_17022025_02_20_04_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/01dfb651bd4ef18abd062df9b413a33e.jpg","text":"TemporaryFile(/tmp/multipartBody8408649839203923105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765644640,"filename":"image_17022025_01_56_34_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c1985e199426e4bef2820a81cff73e8.jpg","text":"TemporaryFile(/tmp/multipartBody3351559547973622982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765644640,"filename":"image_17022025_01_56_14_10790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59030ac5ad77fc09f427b180c7667544.jpg","text":"TemporaryFile(/tmp/multipartBody6853837538360112660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765644640,"filename":"image_17022025_01_56_44_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111802","file1":"1338111801","file0":"1338111800","file4":"1338111804","file5":"1338111805","file3":"1338111803"},"map_files_photo_id_array":[{"photo_id":"1338111805","filename":"file5"},{"photo_id":"1338111802","filename":"file2"},{"photo_id":"1338111804","filename":"file4"},{"photo_id":"1338111801","filename":"file1"},{"photo_id":"1338111800","filename":"file0"},{"photo_id":"1338111803","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111804":["hashtag1","hashtag2"]},{"1338111801":["hashtag1","hashtag2"]},{"1338111800":["hashtag1","hashtag2"]},{"1338111803":["hashtag1","hashtag2"]},{"1338111805":["hashtag1","hashtag2"]},{"1338111802":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111804, 1338111801, 1338111800, 1338111803, 1338111805, 1338111802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.907776594161987 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:14:03.362012
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/55/image_17022025_01_56_04_9784.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_24_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_14_9806.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/55/image_17022025_01_56_04_9784.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_54_9773.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_44_9771.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_34_9775.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_24_10785.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_14_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/55/image_17022025_01_56_04_9784.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_54_9773.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_44_9771.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_34_9775.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_24_10785.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_14_9806.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.204763650894165 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:14:32.728516
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/55/image_17022025_01_56_04_9784.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_54_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_44_9771.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_34_9775.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_24_10785.jpg', 0), ('/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_14_9806.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/55/image_17022025_01_56_04_9784.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_54_9773.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_44_9771.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_34_9775.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_24_10785.jpg', '/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_14_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/55/image_17022025_01_56_04_9784.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_54_9773.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_44_9771.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_34_9775.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_24_10785.jpg
/home/nano/Desktop/images/17022025/01/46/image_17022025_01_46_14_9806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111822","1338111825","1338111830","1338111833","1338111827","1338111829"],"photo_ids_order":["1338111822","1338111825","1338111827","1338111829","1338111830","1338111833"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/09a1f5d11bcba45d14079c6c8f979d5b.jpg","text":"TemporaryFile(/tmp/multipartBody7748218802336890791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765734222,"filename":"image_17022025_01_56_04_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78b638bab1468ae5c9f8a1604d2b22ec.jpg","text":"TemporaryFile(/tmp/multipartBody5941913193708946145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765734222,"filename":"image_17022025_01_46_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ebc2473954ae6d6b120d72f492c69ab7.jpg","text":"TemporaryFile(/tmp/multipartBody1938899324592984927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765734222,"filename":"image_17022025_01_46_24_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6992a72f9ac732fef338a34201597c5d.jpg","text":"TemporaryFile(/tmp/multipartBody1100256835736309247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765734222,"filename":"image_17022025_01_46_14_9806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/06ba28f1d21a61ee1146d8229148cecd.jpg","text":"TemporaryFile(/tmp/multipartBody5405687533588450500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765734222,"filename":"image_17022025_01_46_44_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b509d7ae0b7e653203d88a8e16b31f6.jpg","text":"TemporaryFile(/tmp/multipartBody2788153409408922252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765734222,"filename":"image_17022025_01_46_34_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111827","file1":"1338111825","file0":"1338111822","file4":"1338111830","file5":"1338111833","file3":"1338111829"},"map_files_photo_id_array":[{"photo_id":"1338111833","filename":"file5"},{"photo_id":"1338111827","filename":"file2"},{"photo_id":"1338111830","filename":"file4"},{"photo_id":"1338111825","filename":"file1"},{"photo_id":"1338111822","filename":"file0"},{"photo_id":"1338111829","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111822":["hashtag1","hashtag2"]},{"1338111825":["hashtag1","hashtag2"]},{"1338111830":["hashtag1","hashtag2"]},{"1338111833":["hashtag1","hashtag2"]},{"1338111827":["hashtag1","hashtag2"]},{"1338111829":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111822, 1338111825, 1338111830, 1338111833, 1338111827, 1338111829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70754051208496 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:15:31.881368
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/01/45/image_17022025_01_46_04_9790.jpg', 0), ('/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_54_10782.jpg', 0), ('/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_44_9773.jpg', 0), ('/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_34_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_24_9774.jpg', 0), ('/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_14_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/01/45/image_17022025_01_46_04_9790.jpg', '/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_54_10782.jpg', '/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_44_9773.jpg', '/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_34_9774.jpg', '/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_24_9774.jpg', '/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_14_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/01/45/image_17022025_01_46_04_9790.jpg
/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_54_10782.jpg
/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_44_9773.jpg
/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_34_9774.jpg
/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_24_9774.jpg
/home/nano/Desktop/images/17022025/00/34/image_17022025_00_34_14_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111843","1338111837","1338111845","1338111839","1338111841","1338111835"],"photo_ids_order":["1338111835","1338111837","1338111839","1338111841","1338111843","1338111845"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0451bffd77c13bc2a931ac04074b7fc4.jpg","text":"TemporaryFile(/tmp/multipartBody8954888329584433864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765793405,"filename":"image_17022025_00_34_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd1a3402c6f60d9a2f82f8fdb95cce44.jpg","text":"TemporaryFile(/tmp/multipartBody4186274131131902720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765793405,"filename":"image_17022025_00_34_54_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/55bf23b014d16378738f72db1cee93a2.jpg","text":"TemporaryFile(/tmp/multipartBody1405052880153681577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765793405,"filename":"image_17022025_00_34_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7dc4e302ebc0dd21eb6e64c29227f4f6.jpg","text":"TemporaryFile(/tmp/multipartBody8930780260115025822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765793405,"filename":"image_17022025_00_34_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a002a7fbe77f676711525324cc274fd.jpg","text":"TemporaryFile(/tmp/multipartBody8577213037716417721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765793405,"filename":"image_17022025_00_34_34_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b15b536279b85348159e11c9c408032c.jpg","text":"TemporaryFile(/tmp/multipartBody3897872662396971069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765793405,"filename":"image_17022025_01_46_04_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111839","file1":"1338111837","file0":"1338111835","file4":"1338111843","file5":"1338111845","file3":"1338111841"},"map_files_photo_id_array":[{"photo_id":"1338111845","filename":"file5"},{"photo_id":"1338111839","filename":"file2"},{"photo_id":"1338111843","filename":"file4"},{"photo_id":"1338111837","filename":"file1"},{"photo_id":"1338111835","filename":"file0"},{"photo_id":"1338111841","filename":"file3"}],"portfolio_id":20593305,"hashtag_by_photo_ids":[{"1338111843":["hashtag1","hashtag2"]},{"1338111837":["hashtag1","hashtag2"]},{"1338111845":["hashtag1","hashtag2"]},{"1338111839":["hashtag1","hashtag2"]},{"1338111841":["hashtag1","hashtag2"]},{"1338111835":["hashtag1","hashtag2"]}],"comms":"Portfolio 20593305 used, photo_id : ArrayBuffer(1338111843, 1338111837, 1338111845, 1338111839, 1338111841, 1338111835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06757998466492 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:16:32.038491
  port_id : 20593305
  datou_current_id : 2591981
in upload_from_sqlite, uploading in 20593305
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17022025/00/33/image_17022025_00_34_04_10784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17022025/00/33/image_17022025_00_34_04_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2591981&datou=0
/home/nano/Desktop/images/17022025/00/33/image_17022025_00_34_04_10784.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111846"],"photo_id":"1338111846","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bdefc070c0d9efa49e249486716355de.jpg","text":"TemporaryFile(/tmp/multipartBody161874924690599301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765852860,"filename":"image_17022025_00_34_04_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338111846"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338111846"}],"hashtags":[],"portfolio_id":"20593305","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.397115468978882 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:17:02.556471
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_59_10657.jpg', 0), ('/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_48_9618.jpg', 0), ('/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_38_9611.jpg', 0), ('/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_29_10643.jpg', 0), ('/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_18_9613.jpg', 0), ('/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_09_9620.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_59_10657.jpg', '/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_48_9618.jpg', '/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_38_9611.jpg', '/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_29_10643.jpg', '/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_18_9613.jpg', '/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_09_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_59_10657.jpg
/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_48_9618.jpg
/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_38_9611.jpg
/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_29_10643.jpg
/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_18_9613.jpg
/home/nano/Desktop/images/05022025/15/56/image_05022025_15_56_09_9620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111855","1338111858","1338111857","1338111854","1338111856","1338111853"],"photo_ids_order":["1338111853","1338111854","1338111855","1338111856","1338111857","1338111858"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3fb4176ed752d5991de3307ef81a3c8.jpg","text":"TemporaryFile(/tmp/multipartBody1542015210979641554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765884032,"filename":"image_05022025_15_56_38_9611.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58abb4ed6f0cc1e80045b14ac2cc359a.jpg","text":"TemporaryFile(/tmp/multipartBody983465270551116483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765884032,"filename":"image_05022025_15_56_09_9620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92e8da3e719a7cfabcc6aec77925a916.jpg","text":"TemporaryFile(/tmp/multipartBody8696077561193632016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765884032,"filename":"image_05022025_15_56_18_9613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/112ccb29d9653703b3624e4513723055.jpg","text":"TemporaryFile(/tmp/multipartBody1130673746422002296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765884032,"filename":"image_05022025_15_56_48_9618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5115fcb9824bbb559294d22268e0a5cd.jpg","text":"TemporaryFile(/tmp/multipartBody6266490634242183449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765884032,"filename":"image_05022025_15_56_29_10643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e7b3704821af1b2253b1a33d5b58f42.jpg","text":"TemporaryFile(/tmp/multipartBody1273455155186350540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765884032,"filename":"image_05022025_15_56_59_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111855","file1":"1338111854","file0":"1338111853","file4":"1338111857","file5":"1338111858","file3":"1338111856"},"map_files_photo_id_array":[{"photo_id":"1338111858","filename":"file5"},{"photo_id":"1338111855","filename":"file2"},{"photo_id":"1338111857","filename":"file4"},{"photo_id":"1338111854","filename":"file1"},{"photo_id":"1338111853","filename":"file0"},{"photo_id":"1338111856","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338111855":["hashtag1","hashtag2"]},{"1338111858":["hashtag1","hashtag2"]},{"1338111857":["hashtag1","hashtag2"]},{"1338111854":["hashtag1","hashtag2"]},{"1338111856":["hashtag1","hashtag2"]},{"1338111853":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338111855, 1338111858, 1338111857, 1338111854, 1338111856, 1338111853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95802402496338 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:18:02.593304
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_59_10650.jpg', 0), ('/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_48_9634.jpg', 0), ('/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_39_10642.jpg', 0), ('/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_28_9617.jpg', 0), ('/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_18_9629.jpg', 0), ('/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_09_10642.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_59_10650.jpg', '/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_48_9634.jpg', '/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_39_10642.jpg', '/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_28_9617.jpg', '/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_18_9629.jpg', '/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_09_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_59_10650.jpg
/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_48_9634.jpg
/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_39_10642.jpg
/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_28_9617.jpg
/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_18_9629.jpg
/home/nano/Desktop/images/05022025/15/55/image_05022025_15_55_09_10642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111867","1338111872","1338111866","1338111869","1338111868","1338111870"],"photo_ids_order":["1338111866","1338111867","1338111868","1338111869","1338111870","1338111872"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7fa71b3ca0b4d8dbed83b1922718bdf.jpg","text":"TemporaryFile(/tmp/multipartBody6633347300697833248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765944142,"filename":"image_05022025_15_55_48_9634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a5912662b41b820d6c78756a405f849.jpg","text":"TemporaryFile(/tmp/multipartBody816232405194292553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765944142,"filename":"image_05022025_15_55_09_10642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/226e3683b816ac08e05dae557ac7d9c8.jpg","text":"TemporaryFile(/tmp/multipartBody5704615831580729255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765944142,"filename":"image_05022025_15_55_59_10650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1eb80218a74bd44173d41d30b64d4c13.jpg","text":"TemporaryFile(/tmp/multipartBody4850017657832439265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765944142,"filename":"image_05022025_15_55_28_9617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57493f36bf9566d4171c16c26c45f501.jpg","text":"TemporaryFile(/tmp/multipartBody4516789045125806675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765944142,"filename":"image_05022025_15_55_39_10642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d7f4d9e63d248b70f2a2d391be21a764.jpg","text":"TemporaryFile(/tmp/multipartBody1057792321181074845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739765944142,"filename":"image_05022025_15_55_18_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111868","file1":"1338111867","file0":"1338111866","file4":"1338111870","file5":"1338111872","file3":"1338111869"},"map_files_photo_id_array":[{"photo_id":"1338111872","filename":"file5"},{"photo_id":"1338111868","filename":"file2"},{"photo_id":"1338111870","filename":"file4"},{"photo_id":"1338111867","filename":"file1"},{"photo_id":"1338111866","filename":"file0"},{"photo_id":"1338111869","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338111867":["hashtag1","hashtag2"]},{"1338111872":["hashtag1","hashtag2"]},{"1338111866":["hashtag1","hashtag2"]},{"1338111869":["hashtag1","hashtag2"]},{"1338111868":["hashtag1","hashtag2"]},{"1338111870":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338111867, 1338111872, 1338111866, 1338111869, 1338111868, 1338111870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11931347846985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:19:03.203704
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_58_9632.jpg', 0), ('/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_48_9608.jpg', 0), ('/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_39_10645.jpg', 0), ('/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_28_9627.jpg', 0), ('/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_19_10634.jpg', 0), ('/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_08_9614.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_58_9632.jpg', '/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_48_9608.jpg', '/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_39_10645.jpg', '/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_28_9627.jpg', '/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_19_10634.jpg', '/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_08_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_58_9632.jpg
/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_48_9608.jpg
/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_39_10645.jpg
/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_28_9627.jpg
/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_19_10634.jpg
/home/nano/Desktop/images/05022025/15/54/image_05022025_15_54_08_9614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111882","1338111881","1338111884","1338111880","1338111883","1338111879"],"photo_ids_order":["1338111879","1338111880","1338111881","1338111882","1338111883","1338111884"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4330c099040230c6bdaf1d7794999c13.jpg","text":"TemporaryFile(/tmp/multipartBody1540260152685744638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766004701,"filename":"image_05022025_15_54_28_9627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f6f20671993e9f2e145e0800911a9f9.jpg","text":"TemporaryFile(/tmp/multipartBody7266199550027701866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766004701,"filename":"image_05022025_15_54_39_10645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7038b0fc5ef983066a17df32d2f84153.jpg","text":"TemporaryFile(/tmp/multipartBody4457814381335309836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766004701,"filename":"image_05022025_15_54_08_9614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a1c9a7154ad548a1229ce95027dfe69d.jpg","text":"TemporaryFile(/tmp/multipartBody5937861730080904363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766004701,"filename":"image_05022025_15_54_48_9608.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/11702916c59c5d80239388df2168f1a1.jpg","text":"TemporaryFile(/tmp/multipartBody8395355375326406175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766004701,"filename":"image_05022025_15_54_19_10634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/090661f5feeca772c4ee8283952d3f80.jpg","text":"TemporaryFile(/tmp/multipartBody2139270565286532139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766004701,"filename":"image_05022025_15_54_58_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111881","file1":"1338111880","file0":"1338111879","file4":"1338111883","file5":"1338111884","file3":"1338111882"},"map_files_photo_id_array":[{"photo_id":"1338111884","filename":"file5"},{"photo_id":"1338111881","filename":"file2"},{"photo_id":"1338111883","filename":"file4"},{"photo_id":"1338111880","filename":"file1"},{"photo_id":"1338111879","filename":"file0"},{"photo_id":"1338111882","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338111882":["hashtag1","hashtag2"]},{"1338111881":["hashtag1","hashtag2"]},{"1338111884":["hashtag1","hashtag2"]},{"1338111880":["hashtag1","hashtag2"]},{"1338111883":["hashtag1","hashtag2"]},{"1338111879":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338111882, 1338111881, 1338111884, 1338111880, 1338111883, 1338111879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84065127372742 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:20:02.962159
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_58_9617.jpg', 0), ('/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_49_10634.jpg', 0), ('/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_38_9633.jpg', 0), ('/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_28_9628.jpg', 0), ('/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_19_10627.jpg', 0), ('/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_08_9618.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_58_9617.jpg', '/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_49_10634.jpg', '/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_38_9633.jpg', '/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_28_9628.jpg', '/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_19_10627.jpg', '/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_08_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_58_9617.jpg
/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_49_10634.jpg
/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_38_9633.jpg
/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_28_9628.jpg
/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_19_10627.jpg
/home/nano/Desktop/images/05022025/15/53/image_05022025_15_53_08_9618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111894","1338111893","1338111896","1338111892","1338111895","1338111891"],"photo_ids_order":["1338111891","1338111892","1338111893","1338111894","1338111895","1338111896"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1260c17ada05ab3e448befd6cb29b6f9.jpg","text":"TemporaryFile(/tmp/multipartBody281334174698649341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766066488,"filename":"image_05022025_15_53_28_9628.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d334445cfe2ff8465d97e10b7729ca24.jpg","text":"TemporaryFile(/tmp/multipartBody275717747740544768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766066488,"filename":"image_05022025_15_53_38_9633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08504884ae8b237f708b77dc3510d062.jpg","text":"TemporaryFile(/tmp/multipartBody8344833897201419273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766066488,"filename":"image_05022025_15_53_08_9618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2912fa6ac738be1db0c60cb5a49d7c2f.jpg","text":"TemporaryFile(/tmp/multipartBody2203741006978106485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766066488,"filename":"image_05022025_15_53_49_10634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/462296daa5ac33a8e602d7c470bda070.jpg","text":"TemporaryFile(/tmp/multipartBody6437795047928717801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766066488,"filename":"image_05022025_15_53_19_10627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/921f46163e7cf04af0d67a88d9daea34.jpg","text":"TemporaryFile(/tmp/multipartBody7719921384684133122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766066488,"filename":"image_05022025_15_53_58_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111893","file1":"1338111892","file0":"1338111891","file4":"1338111895","file5":"1338111896","file3":"1338111894"},"map_files_photo_id_array":[{"photo_id":"1338111896","filename":"file5"},{"photo_id":"1338111893","filename":"file2"},{"photo_id":"1338111895","filename":"file4"},{"photo_id":"1338111892","filename":"file1"},{"photo_id":"1338111891","filename":"file0"},{"photo_id":"1338111894","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338111894":["hashtag1","hashtag2"]},{"1338111893":["hashtag1","hashtag2"]},{"1338111896":["hashtag1","hashtag2"]},{"1338111892":["hashtag1","hashtag2"]},{"1338111895":["hashtag1","hashtag2"]},{"1338111891":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338111894, 1338111893, 1338111896, 1338111892, 1338111895, 1338111891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.202046155929565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:21:02.135784
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_59_10624.jpg', 0), ('/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_48_9621.jpg', 0), ('/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_38_9635.jpg', 0), ('/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_29_10647.jpg', 0), ('/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_18_9626.jpg', 0), ('/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_08_9641.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_59_10624.jpg', '/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_48_9621.jpg', '/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_38_9635.jpg', '/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_29_10647.jpg', '/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_18_9626.jpg', '/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_08_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_59_10624.jpg
/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_48_9621.jpg
/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_38_9635.jpg
/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_29_10647.jpg
/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_18_9626.jpg
/home/nano/Desktop/images/05022025/15/52/image_05022025_15_52_08_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111903","1338111906","1338111908","1338111905","1338111904","1338111907"],"photo_ids_order":["1338111903","1338111904","1338111905","1338111906","1338111907","1338111908"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c37df7cf3da10e37ec3a3d4874ecf9b.jpg","text":"TemporaryFile(/tmp/multipartBody182491318172194137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766124819,"filename":"image_05022025_15_52_59_10624.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/272626fa4a119a1958da0f5416439037.jpg","text":"TemporaryFile(/tmp/multipartBody1477425733375920693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766124819,"filename":"image_05022025_15_52_29_10647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ee2d790b206e9b794cebbf79a5f9b87.jpg","text":"TemporaryFile(/tmp/multipartBody3938080263983303573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766124819,"filename":"image_05022025_15_52_08_9641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3808cf1daffa8c9e5e605821459bdabb.jpg","text":"TemporaryFile(/tmp/multipartBody6744388853577983240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766124819,"filename":"image_05022025_15_52_38_9635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8e97d56884af7900eba79a7f7068c09.jpg","text":"TemporaryFile(/tmp/multipartBody3808438013154514771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766124819,"filename":"image_05022025_15_52_48_9621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99b3cbc0ae7a6062beb1254f3be3417d.jpg","text":"TemporaryFile(/tmp/multipartBody8942854761822589455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766124819,"filename":"image_05022025_15_52_18_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111905","file1":"1338111904","file0":"1338111903","file4":"1338111907","file5":"1338111908","file3":"1338111906"},"map_files_photo_id_array":[{"photo_id":"1338111908","filename":"file5"},{"photo_id":"1338111905","filename":"file2"},{"photo_id":"1338111907","filename":"file4"},{"photo_id":"1338111904","filename":"file1"},{"photo_id":"1338111903","filename":"file0"},{"photo_id":"1338111906","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338111903":["hashtag1","hashtag2"]},{"1338111906":["hashtag1","hashtag2"]},{"1338111908":["hashtag1","hashtag2"]},{"1338111905":["hashtag1","hashtag2"]},{"1338111904":["hashtag1","hashtag2"]},{"1338111907":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338111903, 1338111906, 1338111908, 1338111905, 1338111904, 1338111907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.272411584854126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:22:02.189639
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_59_10647.jpg', 0), ('/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_48_9618.jpg', 0), ('/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_39_9632.jpg', 0), ('/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_29_10634.jpg', 0), ('/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_18_9631.jpg', 0), ('/home/nano/Desktop/images/05022025/15/50/image_05022025_15_51_09_10647.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_59_10647.jpg', '/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_48_9618.jpg', '/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_39_9632.jpg', '/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_29_10634.jpg', '/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_18_9631.jpg', '/home/nano/Desktop/images/05022025/15/50/image_05022025_15_51_09_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_59_10647.jpg
/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_48_9618.jpg
/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_39_9632.jpg
/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_29_10634.jpg
/home/nano/Desktop/images/05022025/15/51/image_05022025_15_51_18_9631.jpg
/home/nano/Desktop/images/05022025/15/50/image_05022025_15_51_09_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111921","1338111918","1338111926","1338111931","1338111919","1338111928"],"photo_ids_order":["1338111918","1338111919","1338111921","1338111926","1338111928","1338111931"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79f869d6d7bc0dc4fd3877e285391e9a.jpg","text":"TemporaryFile(/tmp/multipartBody5488269472669718280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766183858,"filename":"image_05022025_15_51_39_9632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f378beb7b8bee3d95d4aa0642ae102d2.jpg","text":"TemporaryFile(/tmp/multipartBody7670755782611106572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766183858,"filename":"image_05022025_15_51_59_10647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c91b84bcdca07daaa93fba0fe3027315.jpg","text":"TemporaryFile(/tmp/multipartBody1583392358541881060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766183858,"filename":"image_05022025_15_51_29_10634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b2a322cfcb64e85177e318cd18c9006.jpg","text":"TemporaryFile(/tmp/multipartBody4180338717751187052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766183858,"filename":"image_05022025_15_51_09_10647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce430c3b424ee40bdd179b9175d18361.jpg","text":"TemporaryFile(/tmp/multipartBody3135354066217362629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766183858,"filename":"image_05022025_15_51_48_9618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a08777647856f64778dc137af38cb13b.jpg","text":"TemporaryFile(/tmp/multipartBody6725333147229806065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766183858,"filename":"image_05022025_15_51_18_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111921","file1":"1338111919","file0":"1338111918","file4":"1338111928","file5":"1338111931","file3":"1338111926"},"map_files_photo_id_array":[{"photo_id":"1338111931","filename":"file5"},{"photo_id":"1338111921","filename":"file2"},{"photo_id":"1338111928","filename":"file4"},{"photo_id":"1338111919","filename":"file1"},{"photo_id":"1338111918","filename":"file0"},{"photo_id":"1338111926","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338111921":["hashtag1","hashtag2"]},{"1338111918":["hashtag1","hashtag2"]},{"1338111926":["hashtag1","hashtag2"]},{"1338111931":["hashtag1","hashtag2"]},{"1338111919":["hashtag1","hashtag2"]},{"1338111928":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338111921, 1338111918, 1338111926, 1338111931, 1338111919, 1338111928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43822646141052 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:23:02.565401
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_58_9626.jpg', 0), ('/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_48_9610.jpg', 0), ('/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_39_10646.jpg', 0), ('/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_28_9646.jpg', 0), ('/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_18_9639.jpg', 0), ('/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_09_10641.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_58_9626.jpg', '/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_48_9610.jpg', '/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_39_10646.jpg', '/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_28_9646.jpg', '/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_18_9639.jpg', '/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_09_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_58_9626.jpg
/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_48_9610.jpg
/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_39_10646.jpg
/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_28_9646.jpg
/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_18_9639.jpg
/home/nano/Desktop/images/05022025/15/50/image_05022025_15_50_09_10641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111974","1338111983","1338111977","1338111970","1338111981","1338111984"],"photo_ids_order":["1338111970","1338111974","1338111977","1338111981","1338111983","1338111984"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53961fa838dc1aa9a525364b18575fdc.jpg","text":"TemporaryFile(/tmp/multipartBody1118582631718120679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766244278,"filename":"image_05022025_15_50_48_9610.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4b532399b1f1aef0913e124cf76ad73.jpg","text":"TemporaryFile(/tmp/multipartBody9002566763272304854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766244278,"filename":"image_05022025_15_50_18_9639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bfc2a2a2b5fe2f160c333472ad83cac8.jpg","text":"TemporaryFile(/tmp/multipartBody3339436517009232758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766244278,"filename":"image_05022025_15_50_39_10646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8abdfdfb080f2d33951c22c067552d1a.jpg","text":"TemporaryFile(/tmp/multipartBody8562136727996167286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766244278,"filename":"image_05022025_15_50_58_9626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a2b03f24ba297cf0e95f2224073ffe4.jpg","text":"TemporaryFile(/tmp/multipartBody5521848897769529488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766244278,"filename":"image_05022025_15_50_28_9646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efcf774350e4998206a9bdacfb5e1d05.jpg","text":"TemporaryFile(/tmp/multipartBody2852007310234923187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766244278,"filename":"image_05022025_15_50_09_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111977","file1":"1338111974","file0":"1338111970","file4":"1338111983","file5":"1338111984","file3":"1338111981"},"map_files_photo_id_array":[{"photo_id":"1338111984","filename":"file5"},{"photo_id":"1338111977","filename":"file2"},{"photo_id":"1338111983","filename":"file4"},{"photo_id":"1338111974","filename":"file1"},{"photo_id":"1338111970","filename":"file0"},{"photo_id":"1338111981","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338111974":["hashtag1","hashtag2"]},{"1338111983":["hashtag1","hashtag2"]},{"1338111977":["hashtag1","hashtag2"]},{"1338111970":["hashtag1","hashtag2"]},{"1338111981":["hashtag1","hashtag2"]},{"1338111984":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338111974, 1338111983, 1338111977, 1338111970, 1338111981, 1338111984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.04620909690857 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:24:02.894748
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_58_9616.jpg', 0), ('/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_49_9620.jpg', 0), ('/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_39_10651.jpg', 0), ('/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_28_9637.jpg', 0), ('/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_19_10634.jpg', 0), ('/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_08_9625.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_58_9616.jpg', '/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_49_9620.jpg', '/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_39_10651.jpg', '/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_28_9637.jpg', '/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_19_10634.jpg', '/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_08_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_58_9616.jpg
/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_49_9620.jpg
/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_39_10651.jpg
/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_28_9637.jpg
/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_19_10634.jpg
/home/nano/Desktop/images/05022025/15/49/image_05022025_15_49_08_9625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338111993","1338111992","1338111995","1338111994","1338111997","1338111996"],"photo_ids_order":["1338111992","1338111993","1338111994","1338111995","1338111996","1338111997"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8108661146ace113ce570d1d10b37fba.jpg","text":"TemporaryFile(/tmp/multipartBody8440764371109027807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766304784,"filename":"image_05022025_15_49_49_9620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c5a8ab05680fd95c8a33fb002e19205a.jpg","text":"TemporaryFile(/tmp/multipartBody2013623510652590670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766304784,"filename":"image_05022025_15_49_58_9616.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d6ba5c3e7fd9ef7ba41d6361f201266.jpg","text":"TemporaryFile(/tmp/multipartBody7521719659148776310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766304784,"filename":"image_05022025_15_49_28_9637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aa0f6202156a5a5c5fdf2d91032b9820.jpg","text":"TemporaryFile(/tmp/multipartBody3844535964279393081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766304784,"filename":"image_05022025_15_49_39_10651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/25ca46be8c7cdae90b43a6c28116cb18.jpg","text":"TemporaryFile(/tmp/multipartBody3595340168264028087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766304784,"filename":"image_05022025_15_49_08_9625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d21101775ec4a0a92f0806ca7a9eb897.jpg","text":"TemporaryFile(/tmp/multipartBody4833641389088225511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766304784,"filename":"image_05022025_15_49_19_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338111994","file1":"1338111993","file0":"1338111992","file4":"1338111996","file5":"1338111997","file3":"1338111995"},"map_files_photo_id_array":[{"photo_id":"1338111997","filename":"file5"},{"photo_id":"1338111994","filename":"file2"},{"photo_id":"1338111996","filename":"file4"},{"photo_id":"1338111993","filename":"file1"},{"photo_id":"1338111992","filename":"file0"},{"photo_id":"1338111995","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338111993":["hashtag1","hashtag2"]},{"1338111992":["hashtag1","hashtag2"]},{"1338111995":["hashtag1","hashtag2"]},{"1338111994":["hashtag1","hashtag2"]},{"1338111997":["hashtag1","hashtag2"]},{"1338111996":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338111993, 1338111992, 1338111995, 1338111994, 1338111997, 1338111996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.034958362579346 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:25:02.766092
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_58_9643.jpg', 0), ('/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_49_10641.jpg', 0), ('/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_38_9635.jpg', 0), ('/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_28_9614.jpg', 0), ('/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_19_10623.jpg', 0), ('/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_08_9610.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_58_9643.jpg', '/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_49_10641.jpg', '/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_38_9635.jpg', '/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_28_9614.jpg', '/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_19_10623.jpg', '/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_08_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_58_9643.jpg
/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_49_10641.jpg
/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_38_9635.jpg
/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_28_9614.jpg
/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_19_10623.jpg
/home/nano/Desktop/images/05022025/15/48/image_05022025_15_48_08_9610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112011","1338112008","1338112010","1338112007","1338112012","1338112009"],"photo_ids_order":["1338112007","1338112008","1338112009","1338112010","1338112011","1338112012"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ff705e0196da2a1cf4feaa78d64619a.jpg","text":"TemporaryFile(/tmp/multipartBody2032119583330143539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766364793,"filename":"image_05022025_15_48_19_10623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2088f691bb0feeda29ce596f828c9a85.jpg","text":"TemporaryFile(/tmp/multipartBody2835844675461531815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766364793,"filename":"image_05022025_15_48_49_10641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce3963b9c155739301613c5d1a1c20b1.jpg","text":"TemporaryFile(/tmp/multipartBody478003314566466160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766364793,"filename":"image_05022025_15_48_28_9614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aade8d1b5d87a0eb33b0c9df87dbe527.jpg","text":"TemporaryFile(/tmp/multipartBody7953575148741801012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766364793,"filename":"image_05022025_15_48_58_9643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/553f46b47864f437a89fe8f5e7b559df.jpg","text":"TemporaryFile(/tmp/multipartBody2887916909859932147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766364793,"filename":"image_05022025_15_48_08_9610.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d30427460da4ef4cfa8dfcec23491bb.jpg","text":"TemporaryFile(/tmp/multipartBody4312395579064474022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766364793,"filename":"image_05022025_15_48_38_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112009","file1":"1338112008","file0":"1338112007","file4":"1338112011","file5":"1338112012","file3":"1338112010"},"map_files_photo_id_array":[{"photo_id":"1338112012","filename":"file5"},{"photo_id":"1338112009","filename":"file2"},{"photo_id":"1338112011","filename":"file4"},{"photo_id":"1338112008","filename":"file1"},{"photo_id":"1338112007","filename":"file0"},{"photo_id":"1338112010","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112011":["hashtag1","hashtag2"]},{"1338112008":["hashtag1","hashtag2"]},{"1338112010":["hashtag1","hashtag2"]},{"1338112007":["hashtag1","hashtag2"]},{"1338112012":["hashtag1","hashtag2"]},{"1338112009":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112011, 1338112008, 1338112010, 1338112007, 1338112012, 1338112009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.75086545944214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:26:02.837582
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_59_10634.jpg', 0), ('/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_48_9630.jpg', 0), ('/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_38_9632.jpg', 0), ('/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_29_10631.jpg', 0), ('/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_18_9619.jpg', 0), ('/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_08_9612.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_59_10634.jpg', '/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_48_9630.jpg', '/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_38_9632.jpg', '/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_29_10631.jpg', '/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_18_9619.jpg', '/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_08_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_59_10634.jpg
/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_48_9630.jpg
/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_38_9632.jpg
/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_29_10631.jpg
/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_18_9619.jpg
/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_08_9612.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3899946212768555 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:26:32.586835
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_59_10634.jpg', 0), ('/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_48_9630.jpg', 0), ('/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_38_9632.jpg', 0), ('/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_29_10631.jpg', 0), ('/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_18_9619.jpg', 0), ('/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_08_9612.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_59_10634.jpg', '/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_48_9630.jpg', '/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_38_9632.jpg', '/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_29_10631.jpg', '/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_18_9619.jpg', '/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_08_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_59_10634.jpg
/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_48_9630.jpg
/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_38_9632.jpg
/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_29_10631.jpg
/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_18_9619.jpg
/home/nano/Desktop/images/05022025/15/47/image_05022025_15_47_08_9612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112041","1338112029","1338112037","1338112031","1338112039","1338112027"],"photo_ids_order":["1338112027","1338112029","1338112031","1338112037","1338112039","1338112041"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a51a7c159a3ff6d23bbaab0086a43f4.jpg","text":"TemporaryFile(/tmp/multipartBody2565772237551704750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766454225,"filename":"image_05022025_15_47_08_9612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e701b51aed392dba19a17b34a4840476.jpg","text":"TemporaryFile(/tmp/multipartBody3247663640173763250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766454225,"filename":"image_05022025_15_47_48_9630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6ebdac9fe36d33fbb1b1b2ae2c42b2d.jpg","text":"TemporaryFile(/tmp/multipartBody5686632873353282998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766454225,"filename":"image_05022025_15_47_29_10631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/119defb92b8a8cdbccf2b28d273e005d.jpg","text":"TemporaryFile(/tmp/multipartBody4162013199248507888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766454225,"filename":"image_05022025_15_47_38_9632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17ec416717940eb0fe858084fc30e351.jpg","text":"TemporaryFile(/tmp/multipartBody3708205794702330833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766454225,"filename":"image_05022025_15_47_18_9619.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/10133e365e585866413c423a2b53574e.jpg","text":"TemporaryFile(/tmp/multipartBody715998029683504336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766454225,"filename":"image_05022025_15_47_59_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112031","file1":"1338112029","file0":"1338112027","file4":"1338112039","file5":"1338112041","file3":"1338112037"},"map_files_photo_id_array":[{"photo_id":"1338112041","filename":"file5"},{"photo_id":"1338112031","filename":"file2"},{"photo_id":"1338112039","filename":"file4"},{"photo_id":"1338112029","filename":"file1"},{"photo_id":"1338112027","filename":"file0"},{"photo_id":"1338112037","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112041":["hashtag1","hashtag2"]},{"1338112029":["hashtag1","hashtag2"]},{"1338112037":["hashtag1","hashtag2"]},{"1338112031":["hashtag1","hashtag2"]},{"1338112039":["hashtag1","hashtag2"]},{"1338112027":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112041, 1338112029, 1338112037, 1338112031, 1338112039, 1338112027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04936194419861 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:27:32.711807
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_59_10622.jpg', 0), ('/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_48_9609.jpg', 0), ('/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_39_10632.jpg', 0), ('/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_28_9615.jpg', 0), ('/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_18_9634.jpg', 0), ('/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_09_10634.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_59_10622.jpg', '/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_48_9609.jpg', '/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_39_10632.jpg', '/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_28_9615.jpg', '/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_18_9634.jpg', '/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_09_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_59_10622.jpg
/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_48_9609.jpg
/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_39_10632.jpg
/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_28_9615.jpg
/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_18_9634.jpg
/home/nano/Desktop/images/05022025/15/46/image_05022025_15_46_09_10634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112073","1338112082","1338112076","1338112078","1338112080","1338112074"],"photo_ids_order":["1338112073","1338112074","1338112076","1338112078","1338112080","1338112082"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce50de34970adfe77c57ea387bd9c335.jpg","text":"TemporaryFile(/tmp/multipartBody1487901547843187775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766514386,"filename":"image_05022025_15_46_59_10622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d7106aa04fafd2279c3ac8a73ddab9cc.jpg","text":"TemporaryFile(/tmp/multipartBody7608605701288180667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766514386,"filename":"image_05022025_15_46_09_10634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8be0b35e4502a7deb8fc0317b0b744a.jpg","text":"TemporaryFile(/tmp/multipartBody1515212669427137028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766514386,"filename":"image_05022025_15_46_39_10632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/137f6fe5be96a3dc89cfa17077427580.jpg","text":"TemporaryFile(/tmp/multipartBody4763581374527149954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766514386,"filename":"image_05022025_15_46_28_9615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e81d22ebd51ed25ad6e730543db0eb76.jpg","text":"TemporaryFile(/tmp/multipartBody1664714570897171056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766514386,"filename":"image_05022025_15_46_18_9634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cdcd6745eac11679a36b20d0c13b5acb.jpg","text":"TemporaryFile(/tmp/multipartBody2487126030886007753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766514386,"filename":"image_05022025_15_46_48_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112076","file1":"1338112074","file0":"1338112073","file4":"1338112080","file5":"1338112082","file3":"1338112078"},"map_files_photo_id_array":[{"photo_id":"1338112082","filename":"file5"},{"photo_id":"1338112076","filename":"file2"},{"photo_id":"1338112080","filename":"file4"},{"photo_id":"1338112074","filename":"file1"},{"photo_id":"1338112073","filename":"file0"},{"photo_id":"1338112078","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112073":["hashtag1","hashtag2"]},{"1338112082":["hashtag1","hashtag2"]},{"1338112076":["hashtag1","hashtag2"]},{"1338112078":["hashtag1","hashtag2"]},{"1338112080":["hashtag1","hashtag2"]},{"1338112074":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112073, 1338112082, 1338112076, 1338112078, 1338112080, 1338112074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77276611328125 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:28:31.859759
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_58_9627.jpg', 0), ('/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_48_9614.jpg', 0), ('/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_39_10626.jpg', 0), ('/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_28_9617.jpg', 0), ('/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_19_10627.jpg', 0), ('/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_08_9605.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_58_9627.jpg', '/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_48_9614.jpg', '/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_39_10626.jpg', '/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_28_9617.jpg', '/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_19_10627.jpg', '/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_08_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_58_9627.jpg
/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_48_9614.jpg
/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_39_10626.jpg
/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_28_9617.jpg
/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_19_10627.jpg
/home/nano/Desktop/images/05022025/15/45/image_05022025_15_45_08_9605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112097","1338112085","1338112093","1338112087","1338112095","1338112089"],"photo_ids_order":["1338112085","1338112087","1338112089","1338112093","1338112095","1338112097"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60da7f11b22b0ceace22a01c50be0541.jpg","text":"TemporaryFile(/tmp/multipartBody4529377598271093726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766573484,"filename":"image_05022025_15_45_08_9605.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c102de0f06bf2e793bb5948fbad48386.jpg","text":"TemporaryFile(/tmp/multipartBody6717015844256400617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766573484,"filename":"image_05022025_15_45_58_9627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1c06d5b2933d5e36cf634ecc2edd9b1.jpg","text":"TemporaryFile(/tmp/multipartBody3476176182957842397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766573484,"filename":"image_05022025_15_45_28_9617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17c11539f00dd07eed3052e2a4329bd6.jpg","text":"TemporaryFile(/tmp/multipartBody737279764360830205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766573484,"filename":"image_05022025_15_45_48_9614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0bb7bb66753d10e5b50445ad396198b.jpg","text":"TemporaryFile(/tmp/multipartBody6578357122261241147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766573484,"filename":"image_05022025_15_45_19_10627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64bc66ea27b29a874f75839f516a289f.jpg","text":"TemporaryFile(/tmp/multipartBody5710167363059102975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766573484,"filename":"image_05022025_15_45_39_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112089","file1":"1338112087","file0":"1338112085","file4":"1338112095","file5":"1338112097","file3":"1338112093"},"map_files_photo_id_array":[{"photo_id":"1338112097","filename":"file5"},{"photo_id":"1338112089","filename":"file2"},{"photo_id":"1338112095","filename":"file4"},{"photo_id":"1338112087","filename":"file1"},{"photo_id":"1338112085","filename":"file0"},{"photo_id":"1338112093","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112097":["hashtag1","hashtag2"]},{"1338112085":["hashtag1","hashtag2"]},{"1338112093":["hashtag1","hashtag2"]},{"1338112087":["hashtag1","hashtag2"]},{"1338112095":["hashtag1","hashtag2"]},{"1338112089":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112097, 1338112085, 1338112093, 1338112087, 1338112095, 1338112089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.058395624160767 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:29:32.008011
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_58_9620.jpg', 0), ('/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_49_10637.jpg', 0), ('/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_38_9630.jpg', 0), ('/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_28_9629.jpg', 0), ('/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_19_10624.jpg', 0), ('/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_08_9624.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_58_9620.jpg', '/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_49_10637.jpg', '/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_38_9630.jpg', '/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_28_9629.jpg', '/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_19_10624.jpg', '/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_08_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_58_9620.jpg
/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_49_10637.jpg
/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_38_9630.jpg
/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_28_9629.jpg
/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_19_10624.jpg
/home/nano/Desktop/images/05022025/15/44/image_05022025_15_44_08_9624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112113","1338112107","1338112115","1338112109","1338112117","1338112111"],"photo_ids_order":["1338112107","1338112109","1338112111","1338112113","1338112115","1338112117"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22e3c0e852d6793b1721dc7040fde27f.jpg","text":"TemporaryFile(/tmp/multipartBody7951626380887208666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766633542,"filename":"image_05022025_15_44_28_9629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5925bdbc91532c330f75fbd2393d4ee5.jpg","text":"TemporaryFile(/tmp/multipartBody6429352120654262160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766633542,"filename":"image_05022025_15_44_58_9620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc3b3617e0ad2dbdc1ebaba3b2aa9f5d.jpg","text":"TemporaryFile(/tmp/multipartBody7563056518253629339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766633542,"filename":"image_05022025_15_44_19_10624.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee9390d1a667134346e6738929ab5d74.jpg","text":"TemporaryFile(/tmp/multipartBody4304693050824689859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766633542,"filename":"image_05022025_15_44_49_10637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f3c1797a437f14c9071b891ccef64cb.jpg","text":"TemporaryFile(/tmp/multipartBody1219792185126116457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766633542,"filename":"image_05022025_15_44_08_9624.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4bf0ecbf3b2a1a61d4bb9149071b2d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4216479016163063923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766633542,"filename":"image_05022025_15_44_38_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112111","file1":"1338112109","file0":"1338112107","file4":"1338112115","file5":"1338112117","file3":"1338112113"},"map_files_photo_id_array":[{"photo_id":"1338112117","filename":"file5"},{"photo_id":"1338112111","filename":"file2"},{"photo_id":"1338112115","filename":"file4"},{"photo_id":"1338112109","filename":"file1"},{"photo_id":"1338112107","filename":"file0"},{"photo_id":"1338112113","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112113":["hashtag1","hashtag2"]},{"1338112107":["hashtag1","hashtag2"]},{"1338112115":["hashtag1","hashtag2"]},{"1338112109":["hashtag1","hashtag2"]},{"1338112117":["hashtag1","hashtag2"]},{"1338112111":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112113, 1338112107, 1338112115, 1338112109, 1338112117, 1338112111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53811573982239 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:30:32.164617
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_59_10626.jpg', 0), ('/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_48_9630.jpg', 0), ('/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_38_9629.jpg', 0), ('/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_29_10628.jpg', 0), ('/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_18_9622.jpg', 0), ('/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_08_9628.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_59_10626.jpg', '/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_48_9630.jpg', '/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_38_9629.jpg', '/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_29_10628.jpg', '/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_18_9622.jpg', '/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_08_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_59_10626.jpg
/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_48_9630.jpg
/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_38_9629.jpg
/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_29_10628.jpg
/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_18_9622.jpg
/home/nano/Desktop/images/05022025/15/43/image_05022025_15_43_08_9628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112134","1338112128","1338112137","1338112139","1338112141","1338112126"],"photo_ids_order":["1338112126","1338112128","1338112134","1338112137","1338112139","1338112141"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf27f0b5cbcb1beafe777da00ed8ff4d.jpg","text":"TemporaryFile(/tmp/multipartBody8761801519047785409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766693914,"filename":"image_05022025_15_43_38_9629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e54e95cf69ad0ef1c8e2c1e7a881c7d8.jpg","text":"TemporaryFile(/tmp/multipartBody226249064293644910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766693914,"filename":"image_05022025_15_43_48_9630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0341618c3b61c4a2ec69675389ca1510.jpg","text":"TemporaryFile(/tmp/multipartBody8175492541609441457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766693914,"filename":"image_05022025_15_43_29_10628.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b995435cf7fa03f94aad1e67a9db5c8b.jpg","text":"TemporaryFile(/tmp/multipartBody9176878878210507248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766693914,"filename":"image_05022025_15_43_18_9622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a9c5b32f3c81238e4ebd55bd9b80f6b.jpg","text":"TemporaryFile(/tmp/multipartBody2885978421425949049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766693914,"filename":"image_05022025_15_43_08_9628.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe9a18eec18f7f6145b22cb24d5c599b.jpg","text":"TemporaryFile(/tmp/multipartBody7707269770817295417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766693914,"filename":"image_05022025_15_43_59_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112134","file1":"1338112128","file0":"1338112126","file4":"1338112139","file5":"1338112141","file3":"1338112137"},"map_files_photo_id_array":[{"photo_id":"1338112141","filename":"file5"},{"photo_id":"1338112134","filename":"file2"},{"photo_id":"1338112139","filename":"file4"},{"photo_id":"1338112128","filename":"file1"},{"photo_id":"1338112126","filename":"file0"},{"photo_id":"1338112137","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112134":["hashtag1","hashtag2"]},{"1338112128":["hashtag1","hashtag2"]},{"1338112137":["hashtag1","hashtag2"]},{"1338112139":["hashtag1","hashtag2"]},{"1338112141":["hashtag1","hashtag2"]},{"1338112126":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112134, 1338112128, 1338112137, 1338112139, 1338112141, 1338112126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.467729568481445 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:31:32.304829
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_59_10637.jpg', 0), ('/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_48_9624.jpg', 0), ('/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_39_9631.jpg', 0), ('/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_29_10644.jpg', 0), ('/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_18_9629.jpg', 0), ('/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_09_10630.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_59_10637.jpg', '/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_48_9624.jpg', '/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_39_9631.jpg', '/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_29_10644.jpg', '/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_18_9629.jpg', '/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_09_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_59_10637.jpg
/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_48_9624.jpg
/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_39_9631.jpg
/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_29_10644.jpg
/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_18_9629.jpg
/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_09_10630.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.325253486633301 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:32:02.772756
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_59_10637.jpg', 0), ('/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_48_9624.jpg', 0), ('/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_39_9631.jpg', 0), ('/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_29_10644.jpg', 0), ('/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_18_9629.jpg', 0), ('/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_09_10630.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_59_10637.jpg', '/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_48_9624.jpg', '/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_39_9631.jpg', '/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_29_10644.jpg', '/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_18_9629.jpg', '/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_09_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_59_10637.jpg
/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_48_9624.jpg
/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_39_9631.jpg
/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_29_10644.jpg
/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_18_9629.jpg
/home/nano/Desktop/images/05022025/15/42/image_05022025_15_42_09_10630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112155","1338112157","1338112165","1338112159","1338112161","1338112167"],"photo_ids_order":["1338112155","1338112157","1338112159","1338112161","1338112165","1338112167"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/397260c2d3972d7415fefcc56e5454c7.jpg","text":"TemporaryFile(/tmp/multipartBody7274022272683398514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766784761,"filename":"image_05022025_15_42_59_10637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/888fb611576e2eaa7bea2973f636f73d.jpg","text":"TemporaryFile(/tmp/multipartBody4740389847189400008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766784761,"filename":"image_05022025_15_42_48_9624.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e6ccf80a3e33459ea9079f6a03e0238c.jpg","text":"TemporaryFile(/tmp/multipartBody4195742619005620242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766784761,"filename":"image_05022025_15_42_18_9629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/901780449e34464990644a45248426b0.jpg","text":"TemporaryFile(/tmp/multipartBody1619343669884121973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766784761,"filename":"image_05022025_15_42_39_9631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8942df08f2d00d1eb78693af2f387c8.jpg","text":"TemporaryFile(/tmp/multipartBody1054518475104187254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766784761,"filename":"image_05022025_15_42_29_10644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7373e814991564fd77440702afa31705.jpg","text":"TemporaryFile(/tmp/multipartBody6890624776174867052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766784761,"filename":"image_05022025_15_42_09_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112159","file1":"1338112157","file0":"1338112155","file4":"1338112165","file5":"1338112167","file3":"1338112161"},"map_files_photo_id_array":[{"photo_id":"1338112167","filename":"file5"},{"photo_id":"1338112159","filename":"file2"},{"photo_id":"1338112165","filename":"file4"},{"photo_id":"1338112157","filename":"file1"},{"photo_id":"1338112155","filename":"file0"},{"photo_id":"1338112161","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112155":["hashtag1","hashtag2"]},{"1338112157":["hashtag1","hashtag2"]},{"1338112165":["hashtag1","hashtag2"]},{"1338112159":["hashtag1","hashtag2"]},{"1338112161":["hashtag1","hashtag2"]},{"1338112167":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112155, 1338112157, 1338112165, 1338112159, 1338112161, 1338112167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76193571090698 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:33:02.992739
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_58_9628.jpg', 0), ('/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_48_9636.jpg', 0), ('/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_39_10618.jpg', 0), ('/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_28_9622.jpg', 0), ('/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_19_9622.jpg', 0), ('/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_09_10635.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_58_9628.jpg', '/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_48_9636.jpg', '/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_39_10618.jpg', '/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_28_9622.jpg', '/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_19_9622.jpg', '/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_09_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_58_9628.jpg
/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_48_9636.jpg
/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_39_10618.jpg
/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_28_9622.jpg
/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_19_9622.jpg
/home/nano/Desktop/images/05022025/15/41/image_05022025_15_41_09_10635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112184","1338112178","1338112180","1338112174","1338112182","1338112176"],"photo_ids_order":["1338112174","1338112176","1338112178","1338112180","1338112182","1338112184"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/25c2341ef0e0e751a695d4a06852db88.jpg","text":"TemporaryFile(/tmp/multipartBody5906537430115445390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766845551,"filename":"image_05022025_15_41_09_10635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dda22ba426a7e6e6ce59048e76b0b7bc.jpg","text":"TemporaryFile(/tmp/multipartBody3276838214578859301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766845551,"filename":"image_05022025_15_41_39_10618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/153442e08d139787032995252c26449b.jpg","text":"TemporaryFile(/tmp/multipartBody7639403482369035340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766845551,"filename":"image_05022025_15_41_28_9622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1318e56e53e5c9ea27291cfeff851723.jpg","text":"TemporaryFile(/tmp/multipartBody1222449567152129803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766845551,"filename":"image_05022025_15_41_58_9628.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/022ca83c25b8a970345c5aa0a30c2063.jpg","text":"TemporaryFile(/tmp/multipartBody7931972954503560377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766845551,"filename":"image_05022025_15_41_19_9622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de81754fea817fa455a8c249fcc5418e.jpg","text":"TemporaryFile(/tmp/multipartBody1582546145392036645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766845551,"filename":"image_05022025_15_41_48_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112178","file1":"1338112176","file0":"1338112174","file4":"1338112182","file5":"1338112184","file3":"1338112180"},"map_files_photo_id_array":[{"photo_id":"1338112184","filename":"file5"},{"photo_id":"1338112178","filename":"file2"},{"photo_id":"1338112182","filename":"file4"},{"photo_id":"1338112176","filename":"file1"},{"photo_id":"1338112174","filename":"file0"},{"photo_id":"1338112180","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112184":["hashtag1","hashtag2"]},{"1338112178":["hashtag1","hashtag2"]},{"1338112180":["hashtag1","hashtag2"]},{"1338112174":["hashtag1","hashtag2"]},{"1338112182":["hashtag1","hashtag2"]},{"1338112176":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112184, 1338112178, 1338112180, 1338112174, 1338112182, 1338112176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.645068407058716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:34:03.132428
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_58_9626.jpg', 0), ('/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_49_10630.jpg', 0), ('/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_38_9627.jpg', 0), ('/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_28_9623.jpg', 0), ('/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_19_10657.jpg', 0), ('/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_08_9641.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_58_9626.jpg', '/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_49_10630.jpg', '/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_38_9627.jpg', '/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_28_9623.jpg', '/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_19_10657.jpg', '/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_08_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_58_9626.jpg
/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_49_10630.jpg
/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_38_9627.jpg
/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_28_9623.jpg
/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_19_10657.jpg
/home/nano/Desktop/images/05022025/15/40/image_05022025_15_40_08_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112209","1338112200","1338112211","1338112214","1338112192","1338112194"],"photo_ids_order":["1338112192","1338112194","1338112200","1338112209","1338112211","1338112214"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/34cd38c4690f35c519e2eacad4ebb9de.jpg","text":"TemporaryFile(/tmp/multipartBody8925837150220481861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766904638,"filename":"image_05022025_15_40_28_9623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4edbffdc954a745c99f28bd2cdea06c.jpg","text":"TemporaryFile(/tmp/multipartBody7779753794413358606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766904638,"filename":"image_05022025_15_40_38_9627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac9202487faad3bcc4a7224f227a1536.jpg","text":"TemporaryFile(/tmp/multipartBody1714787093177509359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766904638,"filename":"image_05022025_15_40_19_10657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/843f49d9528b7df4f7996908dccdf0c4.jpg","text":"TemporaryFile(/tmp/multipartBody8049836181715546048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766904638,"filename":"image_05022025_15_40_08_9641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67a6cfdc986482bb8c4c529bb8483c80.jpg","text":"TemporaryFile(/tmp/multipartBody2764085117587064308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766904638,"filename":"image_05022025_15_40_58_9626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/455e4269ee8350fc4ac38e6456deeb7d.jpg","text":"TemporaryFile(/tmp/multipartBody189575166202789165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766904638,"filename":"image_05022025_15_40_49_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112200","file1":"1338112194","file0":"1338112192","file4":"1338112211","file5":"1338112214","file3":"1338112209"},"map_files_photo_id_array":[{"photo_id":"1338112214","filename":"file5"},{"photo_id":"1338112200","filename":"file2"},{"photo_id":"1338112211","filename":"file4"},{"photo_id":"1338112194","filename":"file1"},{"photo_id":"1338112192","filename":"file0"},{"photo_id":"1338112209","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112209":["hashtag1","hashtag2"]},{"1338112200":["hashtag1","hashtag2"]},{"1338112211":["hashtag1","hashtag2"]},{"1338112214":["hashtag1","hashtag2"]},{"1338112192":["hashtag1","hashtag2"]},{"1338112194":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112209, 1338112200, 1338112211, 1338112214, 1338112192, 1338112194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.036611795425415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:35:02.304677
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_58_9658.jpg', 0), ('/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_49_10689.jpg', 0), ('/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_38_9643.jpg', 0), ('/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_28_9660.jpg', 0), ('/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_19_10662.jpg', 0), ('/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_08_9639.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_58_9658.jpg', '/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_49_10689.jpg', '/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_38_9643.jpg', '/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_28_9660.jpg', '/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_19_10662.jpg', '/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_08_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_58_9658.jpg
/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_49_10689.jpg
/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_38_9643.jpg
/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_28_9660.jpg
/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_19_10662.jpg
/home/nano/Desktop/images/05022025/15/39/image_05022025_15_39_08_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112227","1338112232","1338112229","1338112231","1338112225","1338112230"],"photo_ids_order":["1338112225","1338112227","1338112229","1338112230","1338112231","1338112232"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ecb29a374efdc41164099a81d98c38c6.jpg","text":"TemporaryFile(/tmp/multipartBody5507747525105266848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766964659,"filename":"image_05022025_15_39_49_10689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97d04e0cf1b455184087a148efa0a74d.jpg","text":"TemporaryFile(/tmp/multipartBody5276510015865007375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766964659,"filename":"image_05022025_15_39_08_9639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e21b2e9851a961bc67d2f1e355693d4.jpg","text":"TemporaryFile(/tmp/multipartBody4367077001056845863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766964659,"filename":"image_05022025_15_39_38_9643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dee209dd51d00ce952f50c70e8655f90.jpg","text":"TemporaryFile(/tmp/multipartBody4866426691665694920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766964659,"filename":"image_05022025_15_39_19_10662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5f2686bae8cd20732f162285346e320.jpg","text":"TemporaryFile(/tmp/multipartBody8188534165823442674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766964659,"filename":"image_05022025_15_39_58_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ccfa0ff8a46dea7212ec3c97098e127f.jpg","text":"TemporaryFile(/tmp/multipartBody2558295221345714195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739766964659,"filename":"image_05022025_15_39_28_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112229","file1":"1338112227","file0":"1338112225","file4":"1338112231","file5":"1338112232","file3":"1338112230"},"map_files_photo_id_array":[{"photo_id":"1338112232","filename":"file5"},{"photo_id":"1338112229","filename":"file2"},{"photo_id":"1338112231","filename":"file4"},{"photo_id":"1338112227","filename":"file1"},{"photo_id":"1338112225","filename":"file0"},{"photo_id":"1338112230","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112227":["hashtag1","hashtag2"]},{"1338112232":["hashtag1","hashtag2"]},{"1338112229":["hashtag1","hashtag2"]},{"1338112231":["hashtag1","hashtag2"]},{"1338112225":["hashtag1","hashtag2"]},{"1338112230":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112227, 1338112232, 1338112229, 1338112231, 1338112225, 1338112230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41144251823425 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:36:02.172085
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_59_9635.jpg', 0), ('/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_49_10669.jpg', 0), ('/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_38_9658.jpg', 0), ('/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_29_9665.jpg', 0), ('/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_19_10666.jpg', 0), ('/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_08_9661.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_59_9635.jpg', '/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_49_10669.jpg', '/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_38_9658.jpg', '/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_29_9665.jpg', '/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_19_10666.jpg', '/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_08_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_59_9635.jpg
/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_49_10669.jpg
/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_38_9658.jpg
/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_29_9665.jpg
/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_19_10666.jpg
/home/nano/Desktop/images/05022025/15/38/image_05022025_15_38_08_9661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112241","1338112244","1338112243","1338112242","1338112245","1338112239"],"photo_ids_order":["1338112239","1338112241","1338112242","1338112243","1338112244","1338112245"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea71ad85aacfd2a08c7e30c8cdaddedd.jpg","text":"TemporaryFile(/tmp/multipartBody8393036422973798971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767025670,"filename":"image_05022025_15_38_49_10669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/84d8a72b6fb592538c7ba710b26e9982.jpg","text":"TemporaryFile(/tmp/multipartBody192303613545163146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767025670,"filename":"image_05022025_15_38_19_10666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12955d1ec1d7fb1a2f57451853cf6d1c.jpg","text":"TemporaryFile(/tmp/multipartBody7809495120663256787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767025670,"filename":"image_05022025_15_38_29_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0abad6062e45ee1079d622ef9f93c55.jpg","text":"TemporaryFile(/tmp/multipartBody7951047016496899904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767025670,"filename":"image_05022025_15_38_38_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0f0946acc97caa157d5180e95c9090e.jpg","text":"TemporaryFile(/tmp/multipartBody2219462622795167565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767025670,"filename":"image_05022025_15_38_08_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92fc41770142407e0e87b13d39e30ada.jpg","text":"TemporaryFile(/tmp/multipartBody7395155327916724153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767025670,"filename":"image_05022025_15_38_59_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112242","file1":"1338112241","file0":"1338112239","file4":"1338112244","file5":"1338112245","file3":"1338112243"},"map_files_photo_id_array":[{"photo_id":"1338112245","filename":"file5"},{"photo_id":"1338112242","filename":"file2"},{"photo_id":"1338112244","filename":"file4"},{"photo_id":"1338112241","filename":"file1"},{"photo_id":"1338112239","filename":"file0"},{"photo_id":"1338112243","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112241":["hashtag1","hashtag2"]},{"1338112244":["hashtag1","hashtag2"]},{"1338112243":["hashtag1","hashtag2"]},{"1338112242":["hashtag1","hashtag2"]},{"1338112245":["hashtag1","hashtag2"]},{"1338112239":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112241, 1338112244, 1338112243, 1338112242, 1338112245, 1338112239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22481369972229 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:37:02.704491
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_59_9632.jpg', 0), ('/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_49_10668.jpg', 0), ('/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_38_9667.jpg', 0), ('/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_29_9649.jpg', 0), ('/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_19_10674.jpg', 0), ('/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_08_9667.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_59_9632.jpg', '/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_49_10668.jpg', '/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_38_9667.jpg', '/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_29_9649.jpg', '/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_19_10674.jpg', '/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_08_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_59_9632.jpg
/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_49_10668.jpg
/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_38_9667.jpg
/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_29_9649.jpg
/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_19_10674.jpg
/home/nano/Desktop/images/05022025/15/37/image_05022025_15_37_08_9667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112271","1338112274","1338112276","1338112261","1338112275","1338112263"],"photo_ids_order":["1338112261","1338112263","1338112271","1338112274","1338112275","1338112276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fdd4a66643634222fe9a6690942927ec.jpg","text":"TemporaryFile(/tmp/multipartBody1512943102052492435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767084366,"filename":"image_05022025_15_37_38_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3bb3d121ef2c51f98379bf63c32fdde7.jpg","text":"TemporaryFile(/tmp/multipartBody2146698759136778888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767084366,"filename":"image_05022025_15_37_29_9649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/04625b4b921cfca22c6078ad4f6ba206.jpg","text":"TemporaryFile(/tmp/multipartBody5703269430435866452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767084366,"filename":"image_05022025_15_37_08_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17212b438f3ff1e8222a6dcb96caad62.jpg","text":"TemporaryFile(/tmp/multipartBody6584025150739527658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767084366,"filename":"image_05022025_15_37_59_9632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5cfe25ef43119edaed11c03f49b2142.jpg","text":"TemporaryFile(/tmp/multipartBody6569305662983628454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767084366,"filename":"image_05022025_15_37_19_10674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/224fcb791555816e43243e72f0dc179d.jpg","text":"TemporaryFile(/tmp/multipartBody7795088905956064086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767084366,"filename":"image_05022025_15_37_49_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112271","file1":"1338112263","file0":"1338112261","file4":"1338112275","file5":"1338112276","file3":"1338112274"},"map_files_photo_id_array":[{"photo_id":"1338112276","filename":"file5"},{"photo_id":"1338112271","filename":"file2"},{"photo_id":"1338112275","filename":"file4"},{"photo_id":"1338112263","filename":"file1"},{"photo_id":"1338112261","filename":"file0"},{"photo_id":"1338112274","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112271":["hashtag1","hashtag2"]},{"1338112274":["hashtag1","hashtag2"]},{"1338112276":["hashtag1","hashtag2"]},{"1338112261":["hashtag1","hashtag2"]},{"1338112275":["hashtag1","hashtag2"]},{"1338112263":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112271, 1338112274, 1338112276, 1338112261, 1338112275, 1338112263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22304368019104 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:38:02.627685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_59_9657.jpg', 0), ('/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_49_10651.jpg', 0), ('/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_38_9644.jpg', 0), ('/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_29_10663.jpg', 0), ('/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_18_9657.jpg', 0), ('/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_08_9667.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_59_9657.jpg', '/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_49_10651.jpg', '/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_38_9644.jpg', '/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_29_10663.jpg', '/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_18_9657.jpg', '/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_08_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_59_9657.jpg
/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_49_10651.jpg
/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_38_9644.jpg
/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_29_10663.jpg
/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_18_9657.jpg
/home/nano/Desktop/images/05022025/15/36/image_05022025_15_36_08_9667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112286","1338112289","1338112283","1338112285","1338112288","1338112284"],"photo_ids_order":["1338112283","1338112284","1338112285","1338112286","1338112288","1338112289"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67f8b44e30a43f5cb12c3f7056e4d21b.jpg","text":"TemporaryFile(/tmp/multipartBody3521542105260921637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767144133,"filename":"image_05022025_15_36_29_10663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c06cf5e3474449c10002878ef47e3ff.jpg","text":"TemporaryFile(/tmp/multipartBody9143726493191851181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767144133,"filename":"image_05022025_15_36_08_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8fe7cffcf0fd9e93bc8514b83d363a92.jpg","text":"TemporaryFile(/tmp/multipartBody2545752301010501238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767144133,"filename":"image_05022025_15_36_59_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e992025466ea84456193e5403f390eb9.jpg","text":"TemporaryFile(/tmp/multipartBody6944403407886135349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767144133,"filename":"image_05022025_15_36_38_9644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/266f1851e10f7c8cd882f2f7c5219dce.jpg","text":"TemporaryFile(/tmp/multipartBody6046942543206583258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767144133,"filename":"image_05022025_15_36_18_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd8bb1e5ce31b60942cd3e046141f3c9.jpg","text":"TemporaryFile(/tmp/multipartBody3782777218498994681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767144133,"filename":"image_05022025_15_36_49_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112285","file1":"1338112284","file0":"1338112283","file4":"1338112288","file5":"1338112289","file3":"1338112286"},"map_files_photo_id_array":[{"photo_id":"1338112289","filename":"file5"},{"photo_id":"1338112285","filename":"file2"},{"photo_id":"1338112288","filename":"file4"},{"photo_id":"1338112284","filename":"file1"},{"photo_id":"1338112283","filename":"file0"},{"photo_id":"1338112286","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112286":["hashtag1","hashtag2"]},{"1338112289":["hashtag1","hashtag2"]},{"1338112283":["hashtag1","hashtag2"]},{"1338112285":["hashtag1","hashtag2"]},{"1338112288":["hashtag1","hashtag2"]},{"1338112284":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112286, 1338112289, 1338112283, 1338112285, 1338112288, 1338112284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.289593935012817 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:39:03.029822
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_59_10670.jpg', 0), ('/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_48_9659.jpg', 0), ('/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_38_9651.jpg', 0), ('/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_29_10671.jpg', 0), ('/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_18_9655.jpg', 0), ('/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_08_9647.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_59_10670.jpg', '/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_48_9659.jpg', '/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_38_9651.jpg', '/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_29_10671.jpg', '/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_18_9655.jpg', '/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_08_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_59_10670.jpg
/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_48_9659.jpg
/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_38_9651.jpg
/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_29_10671.jpg
/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_18_9655.jpg
/home/nano/Desktop/images/05022025/15/35/image_05022025_15_35_08_9647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112298","1338112297","1338112301","1338112300","1338112296","1338112299"],"photo_ids_order":["1338112296","1338112297","1338112298","1338112299","1338112300","1338112301"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/94613811c2e26a50bda67b411d1c9603.jpg","text":"TemporaryFile(/tmp/multipartBody4893548537682121396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767204557,"filename":"image_05022025_15_35_38_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2dd202c424ed2c48b4982ea8014df054.jpg","text":"TemporaryFile(/tmp/multipartBody897445976657449018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767204557,"filename":"image_05022025_15_35_48_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/62b29266ac807652b74e4ef0a38f6931.jpg","text":"TemporaryFile(/tmp/multipartBody7661391593284068053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767204557,"filename":"image_05022025_15_35_08_9647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f1b49e0c9e4cce23bde80ae7fc8eb84.jpg","text":"TemporaryFile(/tmp/multipartBody1673142992256213588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767204557,"filename":"image_05022025_15_35_18_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9143d98ac312fb561589a096bf35c11.jpg","text":"TemporaryFile(/tmp/multipartBody1766551585933789687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767204557,"filename":"image_05022025_15_35_59_10670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e408064f7f4351510b251ddf948c52f.jpg","text":"TemporaryFile(/tmp/multipartBody4325893186329753410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767204557,"filename":"image_05022025_15_35_29_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112298","file1":"1338112297","file0":"1338112296","file4":"1338112300","file5":"1338112301","file3":"1338112299"},"map_files_photo_id_array":[{"photo_id":"1338112301","filename":"file5"},{"photo_id":"1338112298","filename":"file2"},{"photo_id":"1338112300","filename":"file4"},{"photo_id":"1338112297","filename":"file1"},{"photo_id":"1338112296","filename":"file0"},{"photo_id":"1338112299","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112298":["hashtag1","hashtag2"]},{"1338112297":["hashtag1","hashtag2"]},{"1338112301":["hashtag1","hashtag2"]},{"1338112300":["hashtag1","hashtag2"]},{"1338112296":["hashtag1","hashtag2"]},{"1338112299":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112298, 1338112297, 1338112301, 1338112300, 1338112296, 1338112299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06697106361389 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:40:02.852565
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_59_10655.jpg', 0), ('/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_48_9644.jpg', 0), ('/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_38_9650.jpg', 0), ('/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_29_10654.jpg', 0), ('/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_18_9659.jpg', 0), ('/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_08_9663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_59_10655.jpg', '/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_48_9644.jpg', '/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_38_9650.jpg', '/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_29_10654.jpg', '/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_18_9659.jpg', '/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_08_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_59_10655.jpg
/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_48_9644.jpg
/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_38_9650.jpg
/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_29_10654.jpg
/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_18_9659.jpg
/home/nano/Desktop/images/05022025/15/34/image_05022025_15_34_08_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112314","1338112308","1338112310","1338112313","1338112312","1338112315"],"photo_ids_order":["1338112308","1338112310","1338112312","1338112313","1338112314","1338112315"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/587692268f9f0752c0cc8b7f1b8263dd.jpg","text":"TemporaryFile(/tmp/multipartBody4289497917325087783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767264357,"filename":"image_05022025_15_34_18_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9196a09bcbb251374c0fcebe892dc409.jpg","text":"TemporaryFile(/tmp/multipartBody637858340086189847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767264357,"filename":"image_05022025_15_34_59_10655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80b50c141c6e0336f538ff29ca7d3533.jpg","text":"TemporaryFile(/tmp/multipartBody2537065404564049743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767264357,"filename":"image_05022025_15_34_48_9644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b1e13c32a9079ae73b264bfce1b4268.jpg","text":"TemporaryFile(/tmp/multipartBody3074374128054846339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767264357,"filename":"image_05022025_15_34_29_10654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/09751de8557523258903902eec694ec3.jpg","text":"TemporaryFile(/tmp/multipartBody1520906071727782650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767264357,"filename":"image_05022025_15_34_38_9650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/20c50a08d6b49b99694fbec8fcc03cd5.jpg","text":"TemporaryFile(/tmp/multipartBody4336638018504052718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767264357,"filename":"image_05022025_15_34_08_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112312","file1":"1338112310","file0":"1338112308","file4":"1338112314","file5":"1338112315","file3":"1338112313"},"map_files_photo_id_array":[{"photo_id":"1338112315","filename":"file5"},{"photo_id":"1338112312","filename":"file2"},{"photo_id":"1338112314","filename":"file4"},{"photo_id":"1338112310","filename":"file1"},{"photo_id":"1338112308","filename":"file0"},{"photo_id":"1338112313","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112314":["hashtag1","hashtag2"]},{"1338112308":["hashtag1","hashtag2"]},{"1338112310":["hashtag1","hashtag2"]},{"1338112313":["hashtag1","hashtag2"]},{"1338112312":["hashtag1","hashtag2"]},{"1338112315":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112314, 1338112308, 1338112310, 1338112313, 1338112312, 1338112315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61561608314514 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:41:02.270499
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_59_10658.jpg', 0), ('/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_48_9656.jpg', 0), ('/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_38_9617.jpg', 0), ('/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_29_10631.jpg', 0), ('/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_18_9623.jpg', 0), ('/home/nano/Desktop/images/05022025/15/32/image_05022025_15_33_09_10624.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_59_10658.jpg', '/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_48_9656.jpg', '/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_38_9617.jpg', '/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_29_10631.jpg', '/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_18_9623.jpg', '/home/nano/Desktop/images/05022025/15/32/image_05022025_15_33_09_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_59_10658.jpg
/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_48_9656.jpg
/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_38_9617.jpg
/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_29_10631.jpg
/home/nano/Desktop/images/05022025/15/33/image_05022025_15_33_18_9623.jpg
/home/nano/Desktop/images/05022025/15/32/image_05022025_15_33_09_10624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112332","1338112329","1338112331","1338112325","1338112330","1338112333"],"photo_ids_order":["1338112325","1338112329","1338112330","1338112331","1338112332","1338112333"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e0d8687417b2e3b7ca0500c15914ae3.jpg","text":"TemporaryFile(/tmp/multipartBody7121015206703155371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767323662,"filename":"image_05022025_15_33_18_9623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e8646eb78b4b093007534a6f57e23da.jpg","text":"TemporaryFile(/tmp/multipartBody2050978932511232515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767323662,"filename":"image_05022025_15_33_48_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7da2c16689e4a7215499a66a993c6005.jpg","text":"TemporaryFile(/tmp/multipartBody676981720085019580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767323662,"filename":"image_05022025_15_33_29_10631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c50a285e699d5a33b682cae7b07884d.jpg","text":"TemporaryFile(/tmp/multipartBody4502732815243664824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767323662,"filename":"image_05022025_15_33_59_10658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc0c9826972103cd7ebc7ca05c20740d.jpg","text":"TemporaryFile(/tmp/multipartBody312342002073447007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767323662,"filename":"image_05022025_15_33_38_9617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b1a117aad34e0e7c2a55a6c0206501d.jpg","text":"TemporaryFile(/tmp/multipartBody7216282519268422682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767323662,"filename":"image_05022025_15_33_09_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112330","file1":"1338112329","file0":"1338112325","file4":"1338112332","file5":"1338112333","file3":"1338112331"},"map_files_photo_id_array":[{"photo_id":"1338112333","filename":"file5"},{"photo_id":"1338112330","filename":"file2"},{"photo_id":"1338112332","filename":"file4"},{"photo_id":"1338112329","filename":"file1"},{"photo_id":"1338112325","filename":"file0"},{"photo_id":"1338112331","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112332":["hashtag1","hashtag2"]},{"1338112329":["hashtag1","hashtag2"]},{"1338112331":["hashtag1","hashtag2"]},{"1338112325":["hashtag1","hashtag2"]},{"1338112330":["hashtag1","hashtag2"]},{"1338112333":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112332, 1338112329, 1338112331, 1338112325, 1338112330, 1338112333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59636330604553 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:42:02.180046
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_58_9617.jpg', 0), ('/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_48_9638.jpg', 0), ('/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_39_10664.jpg', 0), ('/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_28_9717.jpg', 0), ('/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_18_9691.jpg', 0), ('/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_09_9732.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_58_9617.jpg', '/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_48_9638.jpg', '/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_39_10664.jpg', '/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_28_9717.jpg', '/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_18_9691.jpg', '/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_09_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_58_9617.jpg
/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_48_9638.jpg
/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_39_10664.jpg
/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_28_9717.jpg
/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_18_9691.jpg
/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_09_9732.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5062696933746338 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:42:31.983090
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_58_9617.jpg', 0), ('/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_48_9638.jpg', 0), ('/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_39_10664.jpg', 0), ('/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_28_9717.jpg', 0), ('/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_18_9691.jpg', 0), ('/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_09_9732.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_58_9617.jpg', '/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_48_9638.jpg', '/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_39_10664.jpg', '/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_28_9717.jpg', '/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_18_9691.jpg', '/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_09_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_58_9617.jpg
/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_48_9638.jpg
/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_39_10664.jpg
/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_28_9717.jpg
/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_18_9691.jpg
/home/nano/Desktop/images/05022025/15/32/image_05022025_15_32_09_9732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112352","1338112346","1338112354","1338112348","1338112356","1338112350"],"photo_ids_order":["1338112346","1338112348","1338112350","1338112352","1338112354","1338112356"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/063c086fe0d87316c61624b33accfd4f.jpg","text":"TemporaryFile(/tmp/multipartBody2659991310176574806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767413783,"filename":"image_05022025_15_32_28_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/69ece876d6f81e6d5a8f7fd29c61d938.jpg","text":"TemporaryFile(/tmp/multipartBody6712296445208971639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767413783,"filename":"image_05022025_15_32_58_9617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f566daf723b52be5cb8c5aee2e58835.jpg","text":"TemporaryFile(/tmp/multipartBody8863008634987979359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767413783,"filename":"image_05022025_15_32_18_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15fb18a270f07fe6a419fa335f116eda.jpg","text":"TemporaryFile(/tmp/multipartBody6596704780011345932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767413783,"filename":"image_05022025_15_32_48_9638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ccd54956f8c2316aed36212523a9a97f.jpg","text":"TemporaryFile(/tmp/multipartBody5836571939084067138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767413783,"filename":"image_05022025_15_32_09_9732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b5d1a6e5e416643922e03b6604b086f.jpg","text":"TemporaryFile(/tmp/multipartBody4474623630504473094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767413783,"filename":"image_05022025_15_32_39_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112350","file1":"1338112348","file0":"1338112346","file4":"1338112354","file5":"1338112356","file3":"1338112352"},"map_files_photo_id_array":[{"photo_id":"1338112356","filename":"file5"},{"photo_id":"1338112350","filename":"file2"},{"photo_id":"1338112354","filename":"file4"},{"photo_id":"1338112348","filename":"file1"},{"photo_id":"1338112346","filename":"file0"},{"photo_id":"1338112352","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112352":["hashtag1","hashtag2"]},{"1338112346":["hashtag1","hashtag2"]},{"1338112354":["hashtag1","hashtag2"]},{"1338112348":["hashtag1","hashtag2"]},{"1338112356":["hashtag1","hashtag2"]},{"1338112350":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112352, 1338112346, 1338112354, 1338112348, 1338112356, 1338112350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.687726736068726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:43:32.139662
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_59_10773.jpg', 0), ('/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_48_9658.jpg', 0), ('/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_38_9634.jpg', 0), ('/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_29_10731.jpg', 0), ('/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_18_9705.jpg', 0), ('/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_08_9621.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_59_10773.jpg', '/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_48_9658.jpg', '/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_38_9634.jpg', '/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_29_10731.jpg', '/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_18_9705.jpg', '/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_08_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_59_10773.jpg
/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_48_9658.jpg
/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_38_9634.jpg
/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_29_10731.jpg
/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_18_9705.jpg
/home/nano/Desktop/images/05022025/15/31/image_05022025_15_31_08_9621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112364","1338112358","1338112366","1338112360","1338112368","1338112362"],"photo_ids_order":["1338112358","1338112360","1338112362","1338112364","1338112366","1338112368"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d311466898e3acbcd158e279fbe9f4e.jpg","text":"TemporaryFile(/tmp/multipartBody5804953059485954740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767474823,"filename":"image_05022025_15_31_29_10731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1a260cffcfc3d7e0e3e9a2068bdb5c2d.jpg","text":"TemporaryFile(/tmp/multipartBody449408583024595497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767474823,"filename":"image_05022025_15_31_59_10773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f7e9872fc69e508d10f7e775813e46d.jpg","text":"TemporaryFile(/tmp/multipartBody755647407973266659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767474823,"filename":"image_05022025_15_31_18_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1874a82dc2548cd346ec9e5129010f2.jpg","text":"TemporaryFile(/tmp/multipartBody5391708535032167582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767474823,"filename":"image_05022025_15_31_48_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca9f9a8c460583efe5bfd9280d3ef9a9.jpg","text":"TemporaryFile(/tmp/multipartBody4913035982699260785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767474823,"filename":"image_05022025_15_31_08_9621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/373fe71da40077d1d6ef831a7c9a50ba.jpg","text":"TemporaryFile(/tmp/multipartBody3338917991124304927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767474823,"filename":"image_05022025_15_31_38_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112362","file1":"1338112360","file0":"1338112358","file4":"1338112366","file5":"1338112368","file3":"1338112364"},"map_files_photo_id_array":[{"photo_id":"1338112368","filename":"file5"},{"photo_id":"1338112362","filename":"file2"},{"photo_id":"1338112366","filename":"file4"},{"photo_id":"1338112360","filename":"file1"},{"photo_id":"1338112358","filename":"file0"},{"photo_id":"1338112364","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112364":["hashtag1","hashtag2"]},{"1338112358":["hashtag1","hashtag2"]},{"1338112366":["hashtag1","hashtag2"]},{"1338112360":["hashtag1","hashtag2"]},{"1338112368":["hashtag1","hashtag2"]},{"1338112362":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112364, 1338112358, 1338112366, 1338112360, 1338112368, 1338112362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32744908332825 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:44:32.270711
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_59_10698.jpg', 0), ('/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_48_9736.jpg', 0), ('/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_38_9894.jpg', 0), ('/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_28_9670.jpg', 0), ('/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_19_10755.jpg', 0), ('/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_08_9643.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_59_10698.jpg', '/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_48_9736.jpg', '/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_38_9894.jpg', '/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_28_9670.jpg', '/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_19_10755.jpg', '/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_08_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_59_10698.jpg
/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_48_9736.jpg
/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_38_9894.jpg
/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_28_9670.jpg
/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_19_10755.jpg
/home/nano/Desktop/images/05022025/15/30/image_05022025_15_30_08_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112382","1338112376","1338112378","1338112372","1338112380","1338112374"],"photo_ids_order":["1338112372","1338112374","1338112376","1338112378","1338112380","1338112382"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d30537e6e59bd3b87ec1ecd6632726b2.jpg","text":"TemporaryFile(/tmp/multipartBody1358688202807281591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767534739,"filename":"image_05022025_15_30_08_9643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4a69b3c835cbb78339e9582a00124a8.jpg","text":"TemporaryFile(/tmp/multipartBody5851962474131193651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767534739,"filename":"image_05022025_15_30_38_9894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6f9a075a53a682acb315b88d7109b4f.jpg","text":"TemporaryFile(/tmp/multipartBody5915141508176745886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767534739,"filename":"image_05022025_15_30_28_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac650159725f154984989dd2fac9e694.jpg","text":"TemporaryFile(/tmp/multipartBody6286503094117766479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767534739,"filename":"image_05022025_15_30_59_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4ad03a1399b9646c977c5e70c7395a6.jpg","text":"TemporaryFile(/tmp/multipartBody2981879958028443145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767534739,"filename":"image_05022025_15_30_19_10755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae41ab2c8a713f09061b103faf3a4614.jpg","text":"TemporaryFile(/tmp/multipartBody4612533952460593903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767534739,"filename":"image_05022025_15_30_48_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112376","file1":"1338112374","file0":"1338112372","file4":"1338112380","file5":"1338112382","file3":"1338112378"},"map_files_photo_id_array":[{"photo_id":"1338112382","filename":"file5"},{"photo_id":"1338112376","filename":"file2"},{"photo_id":"1338112380","filename":"file4"},{"photo_id":"1338112374","filename":"file1"},{"photo_id":"1338112372","filename":"file0"},{"photo_id":"1338112378","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112382":["hashtag1","hashtag2"]},{"1338112376":["hashtag1","hashtag2"]},{"1338112378":["hashtag1","hashtag2"]},{"1338112372":["hashtag1","hashtag2"]},{"1338112380":["hashtag1","hashtag2"]},{"1338112374":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112382, 1338112376, 1338112378, 1338112372, 1338112380, 1338112374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95232939720154 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:45:32.414192
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_58_9717.jpg', 0), ('/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_49_9697.jpg', 0), ('/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_39_10686.jpg', 0), ('/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_28_9692.jpg', 0), ('/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_19_9685.jpg', 0), ('/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_09_10680.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_58_9717.jpg', '/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_49_9697.jpg', '/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_39_10686.jpg', '/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_28_9692.jpg', '/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_19_9685.jpg', '/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_09_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_58_9717.jpg
/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_49_9697.jpg
/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_39_10686.jpg
/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_28_9692.jpg
/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_19_9685.jpg
/home/nano/Desktop/images/05022025/15/29/image_05022025_15_29_09_10680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112394","1338112388","1338112390","1338112384","1338112392","1338112386"],"photo_ids_order":["1338112384","1338112386","1338112388","1338112390","1338112392","1338112394"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/62d15f20205966fe17e5df97d1df0bb9.jpg","text":"TemporaryFile(/tmp/multipartBody5914059460138171640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767593918,"filename":"image_05022025_15_29_09_10680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f197bf9e3f64e96179e92b90f15638e.jpg","text":"TemporaryFile(/tmp/multipartBody8951512798385547916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767593918,"filename":"image_05022025_15_29_39_10686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b6d71bd3587059834d09a8ffeb3eed5f.jpg","text":"TemporaryFile(/tmp/multipartBody6473270829015725562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767593918,"filename":"image_05022025_15_29_28_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/777e28be634a612a18150953b4bf7146.jpg","text":"TemporaryFile(/tmp/multipartBody610234220231958408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767593918,"filename":"image_05022025_15_29_58_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df8d934e63c6ac797e8161f37aeae582.jpg","text":"TemporaryFile(/tmp/multipartBody6417427964863365509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767593918,"filename":"image_05022025_15_29_19_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec41f81fad31928597293cb881301a46.jpg","text":"TemporaryFile(/tmp/multipartBody2553977957264754067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767593918,"filename":"image_05022025_15_29_49_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112388","file1":"1338112386","file0":"1338112384","file4":"1338112392","file5":"1338112394","file3":"1338112390"},"map_files_photo_id_array":[{"photo_id":"1338112394","filename":"file5"},{"photo_id":"1338112388","filename":"file2"},{"photo_id":"1338112392","filename":"file4"},{"photo_id":"1338112386","filename":"file1"},{"photo_id":"1338112384","filename":"file0"},{"photo_id":"1338112390","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112394":["hashtag1","hashtag2"]},{"1338112388":["hashtag1","hashtag2"]},{"1338112390":["hashtag1","hashtag2"]},{"1338112384":["hashtag1","hashtag2"]},{"1338112392":["hashtag1","hashtag2"]},{"1338112386":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112394, 1338112388, 1338112390, 1338112384, 1338112392, 1338112386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02444529533386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:46:32.566125
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_58_9681.jpg', 0), ('/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_49_9663.jpg', 0), ('/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_39_10670.jpg', 0), ('/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_28_9697.jpg', 0), ('/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_18_9662.jpg', 0), ('/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_09_10681.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_58_9681.jpg', '/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_49_9663.jpg', '/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_39_10670.jpg', '/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_28_9697.jpg', '/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_18_9662.jpg', '/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_09_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_58_9681.jpg
/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_49_9663.jpg
/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_39_10670.jpg
/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_28_9697.jpg
/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_18_9662.jpg
/home/nano/Desktop/images/05022025/15/28/image_05022025_15_28_09_10681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112407","1338112397","1338112401","1338112403","1338112399","1338112405"],"photo_ids_order":["1338112397","1338112399","1338112401","1338112403","1338112405","1338112407"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6bebdf931ab33627f1fb9e69026f1699.jpg","text":"TemporaryFile(/tmp/multipartBody7841691916947337402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767654582,"filename":"image_05022025_15_28_09_10681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e0e4358488008ecc278c5292a859f73c.jpg","text":"TemporaryFile(/tmp/multipartBody5406330910226402187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767654582,"filename":"image_05022025_15_28_58_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24f0bf018a02c53169c25c1e2cdd6bb5.jpg","text":"TemporaryFile(/tmp/multipartBody564507317694104346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767654582,"filename":"image_05022025_15_28_39_10670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/713b1c0f62b74d9916edbe0eeba62096.jpg","text":"TemporaryFile(/tmp/multipartBody8530002527760449313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767654582,"filename":"image_05022025_15_28_28_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49fa4b51550ab6ac196f098af7fb6e29.jpg","text":"TemporaryFile(/tmp/multipartBody70643986005983730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767654582,"filename":"image_05022025_15_28_49_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21ae6084ab5fc59c88b2ec805c47edf2.jpg","text":"TemporaryFile(/tmp/multipartBody5345568261704783495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767654582,"filename":"image_05022025_15_28_18_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112401","file1":"1338112399","file0":"1338112397","file4":"1338112405","file5":"1338112407","file3":"1338112403"},"map_files_photo_id_array":[{"photo_id":"1338112407","filename":"file5"},{"photo_id":"1338112401","filename":"file2"},{"photo_id":"1338112405","filename":"file4"},{"photo_id":"1338112399","filename":"file1"},{"photo_id":"1338112397","filename":"file0"},{"photo_id":"1338112403","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112407":["hashtag1","hashtag2"]},{"1338112397":["hashtag1","hashtag2"]},{"1338112401":["hashtag1","hashtag2"]},{"1338112403":["hashtag1","hashtag2"]},{"1338112399":["hashtag1","hashtag2"]},{"1338112405":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112407, 1338112397, 1338112401, 1338112403, 1338112399, 1338112405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.115816831588745 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:47:32.707745
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_58_9639.jpg', 0), ('/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_49_9649.jpg', 0), ('/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_39_10721.jpg', 0), ('/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_28_9624.jpg', 0), ('/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_19_9662.jpg', 0), ('/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_09_10705.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_58_9639.jpg', '/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_49_9649.jpg', '/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_39_10721.jpg', '/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_28_9624.jpg', '/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_19_9662.jpg', '/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_09_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_58_9639.jpg
/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_49_9649.jpg
/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_39_10721.jpg
/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_28_9624.jpg
/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_19_9662.jpg
/home/nano/Desktop/images/05022025/15/27/image_05022025_15_27_09_10705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112419","1338112424","1338112418","1338112426","1338112420","1338112422"],"photo_ids_order":["1338112418","1338112419","1338112420","1338112422","1338112424","1338112426"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/45ba710cd6c7c97daf27ae5a5a82c140.jpg","text":"TemporaryFile(/tmp/multipartBody2159963767508237046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767714785,"filename":"image_05022025_15_27_49_9649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4cb07db5f4998dcf8682f7b09171a65c.jpg","text":"TemporaryFile(/tmp/multipartBody2616560267334408635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767714785,"filename":"image_05022025_15_27_19_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0985f7016ddf430871db5ee09dd96d3a.jpg","text":"TemporaryFile(/tmp/multipartBody3428633047508531093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767714785,"filename":"image_05022025_15_27_58_9639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d01ee97571ab393dec2db43fc9f3bfca.jpg","text":"TemporaryFile(/tmp/multipartBody8322419315023371313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767714785,"filename":"image_05022025_15_27_09_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a89a4f4650bbe587ae48be2969e0819.jpg","text":"TemporaryFile(/tmp/multipartBody4285603972104483002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767714785,"filename":"image_05022025_15_27_39_10721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d56da70463db11da41f1f0917709d9d.jpg","text":"TemporaryFile(/tmp/multipartBody3986422240110346552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767714785,"filename":"image_05022025_15_27_28_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112420","file1":"1338112419","file0":"1338112418","file4":"1338112424","file5":"1338112426","file3":"1338112422"},"map_files_photo_id_array":[{"photo_id":"1338112426","filename":"file5"},{"photo_id":"1338112420","filename":"file2"},{"photo_id":"1338112424","filename":"file4"},{"photo_id":"1338112419","filename":"file1"},{"photo_id":"1338112418","filename":"file0"},{"photo_id":"1338112422","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112419":["hashtag1","hashtag2"]},{"1338112424":["hashtag1","hashtag2"]},{"1338112418":["hashtag1","hashtag2"]},{"1338112426":["hashtag1","hashtag2"]},{"1338112420":["hashtag1","hashtag2"]},{"1338112422":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112419, 1338112424, 1338112418, 1338112426, 1338112420, 1338112422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.959939002990723 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:48:31.890877
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_58_9686.jpg', 0), ('/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_48_9682.jpg', 0), ('/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_39_10659.jpg', 0), ('/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_28_9641.jpg', 0), ('/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_18_9650.jpg', 0), ('/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_09_10655.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_58_9686.jpg', '/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_48_9682.jpg', '/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_39_10659.jpg', '/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_28_9641.jpg', '/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_18_9650.jpg', '/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_09_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_58_9686.jpg
/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_48_9682.jpg
/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_39_10659.jpg
/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_28_9641.jpg
/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_18_9650.jpg
/home/nano/Desktop/images/05022025/15/26/image_05022025_15_26_09_10655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112452","1338112446","1338112454","1338112448","1338112450","1338112444"],"photo_ids_order":["1338112444","1338112446","1338112448","1338112450","1338112452","1338112454"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b165b0e1e438ba9c8776685f9e2bf5a.jpg","text":"TemporaryFile(/tmp/multipartBody5401628673763047202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767773627,"filename":"image_05022025_15_26_18_9650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8a5015da762f7732d5362ad8c4a51cb.jpg","text":"TemporaryFile(/tmp/multipartBody8935042087847178484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767773627,"filename":"image_05022025_15_26_48_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d9af469237d43fabb31f43ea22a2eb58.jpg","text":"TemporaryFile(/tmp/multipartBody7450663349572563482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767773627,"filename":"image_05022025_15_26_09_10655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e833fea439a613084e8d9c472754681a.jpg","text":"TemporaryFile(/tmp/multipartBody9031515279968646054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767773627,"filename":"image_05022025_15_26_39_10659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c4752604cce416ea9bbeb738b34911e.jpg","text":"TemporaryFile(/tmp/multipartBody7036718462276972614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767773627,"filename":"image_05022025_15_26_28_9641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99712ffd9448b834ff02a179babc4430.jpg","text":"TemporaryFile(/tmp/multipartBody5856455956872266208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767773627,"filename":"image_05022025_15_26_58_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112448","file1":"1338112446","file0":"1338112444","file4":"1338112452","file5":"1338112454","file3":"1338112450"},"map_files_photo_id_array":[{"photo_id":"1338112454","filename":"file5"},{"photo_id":"1338112448","filename":"file2"},{"photo_id":"1338112452","filename":"file4"},{"photo_id":"1338112446","filename":"file1"},{"photo_id":"1338112444","filename":"file0"},{"photo_id":"1338112450","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112452":["hashtag1","hashtag2"]},{"1338112446":["hashtag1","hashtag2"]},{"1338112454":["hashtag1","hashtag2"]},{"1338112448":["hashtag1","hashtag2"]},{"1338112450":["hashtag1","hashtag2"]},{"1338112444":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112452, 1338112446, 1338112454, 1338112448, 1338112450, 1338112444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56244468688965 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:49:32.045256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_58_9641.jpg', 0), ('/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_49_9650.jpg', 0), ('/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_39_10666.jpg', 0), ('/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_28_9645.jpg', 0), ('/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_19_9654.jpg', 0), ('/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_09_10702.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_58_9641.jpg', '/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_49_9650.jpg', '/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_39_10666.jpg', '/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_28_9645.jpg', '/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_19_9654.jpg', '/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_09_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_58_9641.jpg
/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_49_9650.jpg
/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_39_10666.jpg
/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_28_9645.jpg
/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_19_9654.jpg
/home/nano/Desktop/images/05022025/15/25/image_05022025_15_25_09_10702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112472","1338112466","1338112462","1338112468","1338112470","1338112464"],"photo_ids_order":["1338112462","1338112464","1338112466","1338112468","1338112470","1338112472"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49b549cf70ec5c378091132447a4cb7b.jpg","text":"TemporaryFile(/tmp/multipartBody3703056363617614599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767833653,"filename":"image_05022025_15_25_09_10702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c368df8b2d451aa90ccd33c36e903191.jpg","text":"TemporaryFile(/tmp/multipartBody2298061797590603543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767833653,"filename":"image_05022025_15_25_39_10666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a983f6d0962027cf1040d9fbae9c3ebe.jpg","text":"TemporaryFile(/tmp/multipartBody8349693852151250666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767833653,"filename":"image_05022025_15_25_58_9641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77bf2a4deb8e03df51b0cfb2bcffd0e0.jpg","text":"TemporaryFile(/tmp/multipartBody1046995276814129566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767833653,"filename":"image_05022025_15_25_28_9645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/adb86714084b0dc6636c6923dfbe0585.jpg","text":"TemporaryFile(/tmp/multipartBody5235564920170671908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767833653,"filename":"image_05022025_15_25_19_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e89ac977e6177be720911125ef72243.jpg","text":"TemporaryFile(/tmp/multipartBody4293555452693736907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767833653,"filename":"image_05022025_15_25_49_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112466","file1":"1338112464","file0":"1338112462","file4":"1338112470","file5":"1338112472","file3":"1338112468"},"map_files_photo_id_array":[{"photo_id":"1338112472","filename":"file5"},{"photo_id":"1338112466","filename":"file2"},{"photo_id":"1338112470","filename":"file4"},{"photo_id":"1338112464","filename":"file1"},{"photo_id":"1338112462","filename":"file0"},{"photo_id":"1338112468","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112472":["hashtag1","hashtag2"]},{"1338112466":["hashtag1","hashtag2"]},{"1338112462":["hashtag1","hashtag2"]},{"1338112468":["hashtag1","hashtag2"]},{"1338112470":["hashtag1","hashtag2"]},{"1338112464":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112472, 1338112466, 1338112462, 1338112468, 1338112470, 1338112464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.060691595077515 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:50:32.199281
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_58_9678.jpg', 0), ('/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_49_9666.jpg', 0), ('/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_39_10653.jpg', 0), ('/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_28_9631.jpg', 0), ('/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_19_9638.jpg', 0), ('/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_09_10635.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_58_9678.jpg', '/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_49_9666.jpg', '/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_39_10653.jpg', '/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_28_9631.jpg', '/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_19_9638.jpg', '/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_09_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_58_9678.jpg
/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_49_9666.jpg
/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_39_10653.jpg
/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_28_9631.jpg
/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_19_9638.jpg
/home/nano/Desktop/images/05022025/15/24/image_05022025_15_24_09_10635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112481","1338112484","1338112487","1338112489","1338112476","1338112479"],"photo_ids_order":["1338112476","1338112479","1338112481","1338112484","1338112487","1338112489"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49d78912e9669740369cc606b6d9edfa.jpg","text":"TemporaryFile(/tmp/multipartBody2170659304809917034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767894245,"filename":"image_05022025_15_24_39_10653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b905db4ec6e0f96d90bada4676f6d13e.jpg","text":"TemporaryFile(/tmp/multipartBody8513900192098772616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767894245,"filename":"image_05022025_15_24_28_9631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9459571f67abfd7f5bf01200c0e4ba55.jpg","text":"TemporaryFile(/tmp/multipartBody4825702684281853716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767894245,"filename":"image_05022025_15_24_19_9638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6675ca4ea9d1af2e6ce71a7f3360e2e2.jpg","text":"TemporaryFile(/tmp/multipartBody4492278766069963010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767894245,"filename":"image_05022025_15_24_09_10635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40643534630d7c51b5a1400747bfb4e1.jpg","text":"TemporaryFile(/tmp/multipartBody5340026562711625405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767894245,"filename":"image_05022025_15_24_58_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/703f22cbe2d142f16ce0f82cce2d7529.jpg","text":"TemporaryFile(/tmp/multipartBody7450271992410965720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767894245,"filename":"image_05022025_15_24_49_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112481","file1":"1338112479","file0":"1338112476","file4":"1338112487","file5":"1338112489","file3":"1338112484"},"map_files_photo_id_array":[{"photo_id":"1338112489","filename":"file5"},{"photo_id":"1338112481","filename":"file2"},{"photo_id":"1338112487","filename":"file4"},{"photo_id":"1338112479","filename":"file1"},{"photo_id":"1338112476","filename":"file0"},{"photo_id":"1338112484","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112481":["hashtag1","hashtag2"]},{"1338112484":["hashtag1","hashtag2"]},{"1338112487":["hashtag1","hashtag2"]},{"1338112489":["hashtag1","hashtag2"]},{"1338112476":["hashtag1","hashtag2"]},{"1338112479":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112481, 1338112484, 1338112487, 1338112489, 1338112476, 1338112479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76141119003296 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:51:32.354109
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_58_9661.jpg', 0), ('/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_49_10679.jpg', 0), ('/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_38_9670.jpg', 0), ('/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_28_9649.jpg', 0), ('/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_19_10661.jpg', 0), ('/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_08_9670.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_58_9661.jpg', '/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_49_10679.jpg', '/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_38_9670.jpg', '/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_28_9649.jpg', '/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_19_10661.jpg', '/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_08_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_58_9661.jpg
/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_49_10679.jpg
/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_38_9670.jpg
/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_28_9649.jpg
/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_19_10661.jpg
/home/nano/Desktop/images/05022025/15/23/image_05022025_15_23_08_9670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112512","1338112506","1338112508","1338112510","1338112513","1338112504"],"photo_ids_order":["1338112504","1338112506","1338112508","1338112510","1338112512","1338112513"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f5811def0532ae1278171a8b0fe68da.jpg","text":"TemporaryFile(/tmp/multipartBody4983075796439667795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767954126,"filename":"image_05022025_15_23_19_10661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/190b7a30bf85e4df3c44829605da9547.jpg","text":"TemporaryFile(/tmp/multipartBody2146507553829309301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767954126,"filename":"image_05022025_15_23_49_10679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/93a578b00d8f91d8275743da57e2606f.jpg","text":"TemporaryFile(/tmp/multipartBody4475606645875944004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767954126,"filename":"image_05022025_15_23_38_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd7076292ca6d89a525c0d8b2f2b994b.jpg","text":"TemporaryFile(/tmp/multipartBody8734848245448465098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767954126,"filename":"image_05022025_15_23_28_9649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea679ba45a24053b97dda39b34fc48ee.jpg","text":"TemporaryFile(/tmp/multipartBody3689689976711537515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767954126,"filename":"image_05022025_15_23_08_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af9d9bc87719fcd1073aea34960e20fb.jpg","text":"TemporaryFile(/tmp/multipartBody3675480050988640992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739767954126,"filename":"image_05022025_15_23_58_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112508","file1":"1338112506","file0":"1338112504","file4":"1338112512","file5":"1338112513","file3":"1338112510"},"map_files_photo_id_array":[{"photo_id":"1338112513","filename":"file5"},{"photo_id":"1338112508","filename":"file2"},{"photo_id":"1338112512","filename":"file4"},{"photo_id":"1338112506","filename":"file1"},{"photo_id":"1338112504","filename":"file0"},{"photo_id":"1338112510","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112512":["hashtag1","hashtag2"]},{"1338112506":["hashtag1","hashtag2"]},{"1338112508":["hashtag1","hashtag2"]},{"1338112510":["hashtag1","hashtag2"]},{"1338112513":["hashtag1","hashtag2"]},{"1338112504":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112512, 1338112506, 1338112508, 1338112510, 1338112513, 1338112504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.805315494537354 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:52:32.533657
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_58_9660.jpg', 0), ('/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_49_10677.jpg', 0), ('/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_38_9706.jpg', 0), ('/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_28_9661.jpg', 0), ('/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_19_9662.jpg', 0), ('/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_09_10677.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_58_9660.jpg', '/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_49_10677.jpg', '/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_38_9706.jpg', '/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_28_9661.jpg', '/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_19_9662.jpg', '/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_09_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_58_9660.jpg
/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_49_10677.jpg
/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_38_9706.jpg
/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_28_9661.jpg
/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_19_9662.jpg
/home/nano/Desktop/images/05022025/15/22/image_05022025_15_22_09_10677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112524","1338112544","1338112546","1338112542","1338112536","1338112521"],"photo_ids_order":["1338112521","1338112524","1338112536","1338112542","1338112544","1338112546"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a917e56826d3d9032861a5f5fe17f89a.jpg","text":"TemporaryFile(/tmp/multipartBody3555553574652908635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768014219,"filename":"image_05022025_15_22_49_10677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e9d8d34c17e3aaea545754c98c8fe80a.jpg","text":"TemporaryFile(/tmp/multipartBody1378048617957550236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768014219,"filename":"image_05022025_15_22_19_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/84b881c1027b6df2b14e9fce01818140.jpg","text":"TemporaryFile(/tmp/multipartBody5595371407114509889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768014219,"filename":"image_05022025_15_22_09_10677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ccbe68fb5b3203c8594535fa2d2efab4.jpg","text":"TemporaryFile(/tmp/multipartBody4199699928449740276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768014219,"filename":"image_05022025_15_22_28_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e9e553e3f3f7ba7b8282870e605a12a3.jpg","text":"TemporaryFile(/tmp/multipartBody3762013681486918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768014219,"filename":"image_05022025_15_22_38_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8b53669f327925c37a14c559fa77e12.jpg","text":"TemporaryFile(/tmp/multipartBody7322512163300403284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768014219,"filename":"image_05022025_15_22_58_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112536","file1":"1338112524","file0":"1338112521","file4":"1338112544","file5":"1338112546","file3":"1338112542"},"map_files_photo_id_array":[{"photo_id":"1338112546","filename":"file5"},{"photo_id":"1338112536","filename":"file2"},{"photo_id":"1338112544","filename":"file4"},{"photo_id":"1338112524","filename":"file1"},{"photo_id":"1338112521","filename":"file0"},{"photo_id":"1338112542","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112524":["hashtag1","hashtag2"]},{"1338112544":["hashtag1","hashtag2"]},{"1338112546":["hashtag1","hashtag2"]},{"1338112542":["hashtag1","hashtag2"]},{"1338112536":["hashtag1","hashtag2"]},{"1338112521":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112524, 1338112544, 1338112546, 1338112542, 1338112536, 1338112521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71356201171875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:53:32.685870
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_58_9654.jpg', 0), ('/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_49_10653.jpg', 0), ('/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_38_9632.jpg', 0), ('/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_28_9676.jpg', 0), ('/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_19_10693.jpg', 0), ('/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_08_9705.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_58_9654.jpg', '/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_49_10653.jpg', '/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_38_9632.jpg', '/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_28_9676.jpg', '/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_19_10693.jpg', '/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_08_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_58_9654.jpg
/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_49_10653.jpg
/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_38_9632.jpg
/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_28_9676.jpg
/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_19_10693.jpg
/home/nano/Desktop/images/05022025/15/21/image_05022025_15_21_08_9705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112551","1338112559","1338112553","1338112555","1338112549","1338112557"],"photo_ids_order":["1338112549","1338112551","1338112553","1338112555","1338112557","1338112559"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9262617a11358d9d4f30dd4e997f8a9.jpg","text":"TemporaryFile(/tmp/multipartBody7034492848067552041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768074169,"filename":"image_05022025_15_21_49_10653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/854cb2ba1d774b03e06c0a89aa8ca595.jpg","text":"TemporaryFile(/tmp/multipartBody2934453285148161926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768074169,"filename":"image_05022025_15_21_08_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6451fed9f9165f40d94ef6b370f6ee03.jpg","text":"TemporaryFile(/tmp/multipartBody5694882409305857319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768074169,"filename":"image_05022025_15_21_38_9632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e536d1937e9aee5f4450afa988d438de.jpg","text":"TemporaryFile(/tmp/multipartBody7616306959694098952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768074169,"filename":"image_05022025_15_21_28_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f32bc11ef7d6d505794bb72cbe044c8.jpg","text":"TemporaryFile(/tmp/multipartBody3683805086169504729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768074169,"filename":"image_05022025_15_21_58_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a1d65164f46170a0a00751daee1e4e7.jpg","text":"TemporaryFile(/tmp/multipartBody4796120570897111190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768074169,"filename":"image_05022025_15_21_19_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112553","file1":"1338112551","file0":"1338112549","file4":"1338112557","file5":"1338112559","file3":"1338112555"},"map_files_photo_id_array":[{"photo_id":"1338112559","filename":"file5"},{"photo_id":"1338112553","filename":"file2"},{"photo_id":"1338112557","filename":"file4"},{"photo_id":"1338112551","filename":"file1"},{"photo_id":"1338112549","filename":"file0"},{"photo_id":"1338112555","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112551":["hashtag1","hashtag2"]},{"1338112559":["hashtag1","hashtag2"]},{"1338112553":["hashtag1","hashtag2"]},{"1338112555":["hashtag1","hashtag2"]},{"1338112549":["hashtag1","hashtag2"]},{"1338112557":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112551, 1338112559, 1338112553, 1338112555, 1338112549, 1338112557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74813270568848 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:54:31.825965
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_58_9819.jpg', 0), ('/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_48_9813.jpg', 0), ('/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_39_9820.jpg', 0), ('/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_29_10829.jpg', 0), ('/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_18_9810.jpg', 0), ('/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_08_9824.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_58_9819.jpg', '/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_48_9813.jpg', '/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_39_9820.jpg', '/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_29_10829.jpg', '/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_18_9810.jpg', '/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_08_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_58_9819.jpg
/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_48_9813.jpg
/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_39_9820.jpg
/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_29_10829.jpg
/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_18_9810.jpg
/home/nano/Desktop/images/05022025/15/20/image_05022025_15_20_08_9824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112586","1338112565","1338112582","1338112579","1338112567","1338112584"],"photo_ids_order":["1338112565","1338112567","1338112579","1338112582","1338112584","1338112586"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e0fe45b9ce9e7204f362af35651a7fd.jpg","text":"TemporaryFile(/tmp/multipartBody9006607699237694737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768134565,"filename":"image_05022025_15_20_08_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03c11c38250f042e258fe4c1567fb84e.jpg","text":"TemporaryFile(/tmp/multipartBody5753693377245097364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768134565,"filename":"image_05022025_15_20_58_9819.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa36ebc2e38b716318a77280a47c08ed.jpg","text":"TemporaryFile(/tmp/multipartBody3290630822975785911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768134565,"filename":"image_05022025_15_20_29_10829.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5360dfd8237ad11e77efb1b4368d7c6e.jpg","text":"TemporaryFile(/tmp/multipartBody1119816826861848989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768134565,"filename":"image_05022025_15_20_39_9820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7aea9a3d6d077eb80394a16c31e55a81.jpg","text":"TemporaryFile(/tmp/multipartBody37461989794921359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768134565,"filename":"image_05022025_15_20_48_9813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8a513de22999ea3e77f9ee89e347a04.jpg","text":"TemporaryFile(/tmp/multipartBody2305012320342634544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768134565,"filename":"image_05022025_15_20_18_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112579","file1":"1338112567","file0":"1338112565","file4":"1338112584","file5":"1338112586","file3":"1338112582"},"map_files_photo_id_array":[{"photo_id":"1338112586","filename":"file5"},{"photo_id":"1338112579","filename":"file2"},{"photo_id":"1338112584","filename":"file4"},{"photo_id":"1338112567","filename":"file1"},{"photo_id":"1338112565","filename":"file0"},{"photo_id":"1338112582","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112586":["hashtag1","hashtag2"]},{"1338112565":["hashtag1","hashtag2"]},{"1338112582":["hashtag1","hashtag2"]},{"1338112579":["hashtag1","hashtag2"]},{"1338112567":["hashtag1","hashtag2"]},{"1338112584":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112586, 1338112565, 1338112582, 1338112579, 1338112567, 1338112584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.92845582962036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:55:32.002724
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_58_9834.jpg', 0), ('/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_49_9814.jpg', 0), ('/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_39_10658.jpg', 0), ('/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_28_9656.jpg', 0), ('/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_18_9645.jpg', 0), ('/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_09_10644.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_58_9834.jpg', '/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_49_9814.jpg', '/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_39_10658.jpg', '/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_28_9656.jpg', '/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_18_9645.jpg', '/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_09_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_58_9834.jpg
/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_49_9814.jpg
/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_39_10658.jpg
/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_28_9656.jpg
/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_18_9645.jpg
/home/nano/Desktop/images/05022025/15/19/image_05022025_15_19_09_10644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112623","1338112617","1338112625","1338112619","1338112627","1338112621"],"photo_ids_order":["1338112617","1338112619","1338112621","1338112623","1338112625","1338112627"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4306f51b02a68fc3c6e69470eaf15790.jpg","text":"TemporaryFile(/tmp/multipartBody5771022228960287680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768194339,"filename":"image_05022025_15_19_28_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4082d5e504dc550ae2a5079e68dcfd1.jpg","text":"TemporaryFile(/tmp/multipartBody3206245180092577178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768194339,"filename":"image_05022025_15_19_58_9834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1dcc3aae94cb62960967c8eda33c9e61.jpg","text":"TemporaryFile(/tmp/multipartBody504454922558705038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768194339,"filename":"image_05022025_15_19_18_9645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb9ef3895782074a1f4125d3fa1f58d1.jpg","text":"TemporaryFile(/tmp/multipartBody4318731657726494548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768194339,"filename":"image_05022025_15_19_49_9814.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3434e8887afddf8be1a78b1093f5e33a.jpg","text":"TemporaryFile(/tmp/multipartBody6625305646055147500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768194339,"filename":"image_05022025_15_19_09_10644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e7ba35f9f4c87ad68f5501cd61dd2a9b.jpg","text":"TemporaryFile(/tmp/multipartBody2421440920108171459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768194339,"filename":"image_05022025_15_19_39_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112621","file1":"1338112619","file0":"1338112617","file4":"1338112625","file5":"1338112627","file3":"1338112623"},"map_files_photo_id_array":[{"photo_id":"1338112627","filename":"file5"},{"photo_id":"1338112621","filename":"file2"},{"photo_id":"1338112625","filename":"file4"},{"photo_id":"1338112619","filename":"file1"},{"photo_id":"1338112617","filename":"file0"},{"photo_id":"1338112623","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112623":["hashtag1","hashtag2"]},{"1338112617":["hashtag1","hashtag2"]},{"1338112625":["hashtag1","hashtag2"]},{"1338112619":["hashtag1","hashtag2"]},{"1338112627":["hashtag1","hashtag2"]},{"1338112621":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112623, 1338112617, 1338112625, 1338112619, 1338112627, 1338112621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.836726188659668 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:56:32.130184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_58_9678.jpg', 0), ('/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_48_9669.jpg', 0), ('/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_39_10668.jpg', 0), ('/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_28_9681.jpg', 0), ('/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_18_9635.jpg', 0), ('/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_09_10644.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_58_9678.jpg', '/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_48_9669.jpg', '/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_39_10668.jpg', '/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_28_9681.jpg', '/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_18_9635.jpg', '/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_09_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_58_9678.jpg
/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_48_9669.jpg
/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_39_10668.jpg
/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_28_9681.jpg
/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_18_9635.jpg
/home/nano/Desktop/images/05022025/15/18/image_05022025_15_18_09_10644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112650","1338112644","1338112652","1338112646","1338112642","1338112648"],"photo_ids_order":["1338112642","1338112644","1338112646","1338112648","1338112650","1338112652"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0321451439d3fea7bbf8b319c19b8891.jpg","text":"TemporaryFile(/tmp/multipartBody3543792483427298575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768254082,"filename":"image_05022025_15_18_18_9635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2aa4ad6bc1e22ff0c57d0e3ed28e3c82.jpg","text":"TemporaryFile(/tmp/multipartBody3581088611172172376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768254082,"filename":"image_05022025_15_18_48_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc3e67dda48817d80ee161ae2aaddb0b.jpg","text":"TemporaryFile(/tmp/multipartBody7549546588728852492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768254082,"filename":"image_05022025_15_18_09_10644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c2e4eaed1779e8a51427f7584d6950c.jpg","text":"TemporaryFile(/tmp/multipartBody3166047699869122605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768254082,"filename":"image_05022025_15_18_39_10668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c11a8c541b1d08eb3f681663f759b19.jpg","text":"TemporaryFile(/tmp/multipartBody8839413148778582893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768254082,"filename":"image_05022025_15_18_58_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3384502dac9017b1a4e5cc084d24a7b5.jpg","text":"TemporaryFile(/tmp/multipartBody7389287650474419638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768254082,"filename":"image_05022025_15_18_28_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112646","file1":"1338112644","file0":"1338112642","file4":"1338112650","file5":"1338112652","file3":"1338112648"},"map_files_photo_id_array":[{"photo_id":"1338112652","filename":"file5"},{"photo_id":"1338112646","filename":"file2"},{"photo_id":"1338112650","filename":"file4"},{"photo_id":"1338112644","filename":"file1"},{"photo_id":"1338112642","filename":"file0"},{"photo_id":"1338112648","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112650":["hashtag1","hashtag2"]},{"1338112644":["hashtag1","hashtag2"]},{"1338112652":["hashtag1","hashtag2"]},{"1338112646":["hashtag1","hashtag2"]},{"1338112642":["hashtag1","hashtag2"]},{"1338112648":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112650, 1338112644, 1338112652, 1338112646, 1338112642, 1338112648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.54016137123108 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:57:32.291415
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_58_9662.jpg', 0), ('/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_48_9649.jpg', 0), ('/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_39_10667.jpg', 0), ('/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_28_9685.jpg', 0), ('/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_18_9669.jpg', 0), ('/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_09_10667.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_58_9662.jpg', '/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_48_9649.jpg', '/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_39_10667.jpg', '/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_28_9685.jpg', '/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_18_9669.jpg', '/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_09_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_58_9662.jpg
/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_48_9649.jpg
/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_39_10667.jpg
/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_28_9685.jpg
/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_18_9669.jpg
/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_09_10667.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:58:02.760721
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_58_9662.jpg', 0), ('/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_48_9649.jpg', 0), ('/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_39_10667.jpg', 0), ('/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_28_9685.jpg', 0), ('/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_18_9669.jpg', 0), ('/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_09_10667.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_58_9662.jpg', '/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_48_9649.jpg', '/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_39_10667.jpg', '/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_28_9685.jpg', '/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_18_9669.jpg', '/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_09_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_58_9662.jpg
/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_48_9649.jpg
/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_39_10667.jpg
/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_28_9685.jpg
/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_18_9669.jpg
/home/nano/Desktop/images/05022025/15/17/image_05022025_15_17_09_10667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112682","1338112676","1338112679","1338112675","1338112678","1338112677"],"photo_ids_order":["1338112675","1338112676","1338112677","1338112678","1338112679","1338112682"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/614782aa1d46efc53cb073555ac71230.jpg","text":"TemporaryFile(/tmp/multipartBody553763353045477745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768344828,"filename":"image_05022025_15_17_09_10667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dedfc3b147c6d1ca7cdb8d9471cd38eb.jpg","text":"TemporaryFile(/tmp/multipartBody7710136666642146597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768344828,"filename":"image_05022025_15_17_48_9649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/508148ba74bc9ce4dffac75c3456de62.jpg","text":"TemporaryFile(/tmp/multipartBody8437733072749089919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768344828,"filename":"image_05022025_15_17_18_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf00ef34c50da897552455e6b675056b.jpg","text":"TemporaryFile(/tmp/multipartBody8856808105610452177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768344828,"filename":"image_05022025_15_17_58_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/582c105c8c8951679a6cc80264790adb.jpg","text":"TemporaryFile(/tmp/multipartBody4795691292173355444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768344828,"filename":"image_05022025_15_17_28_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12e45f722388333b4103b60cead224b0.jpg","text":"TemporaryFile(/tmp/multipartBody6716887593048165011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768344828,"filename":"image_05022025_15_17_39_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112677","file1":"1338112676","file0":"1338112675","file4":"1338112679","file5":"1338112682","file3":"1338112678"},"map_files_photo_id_array":[{"photo_id":"1338112682","filename":"file5"},{"photo_id":"1338112677","filename":"file2"},{"photo_id":"1338112679","filename":"file4"},{"photo_id":"1338112676","filename":"file1"},{"photo_id":"1338112675","filename":"file0"},{"photo_id":"1338112678","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112682":["hashtag1","hashtag2"]},{"1338112676":["hashtag1","hashtag2"]},{"1338112679":["hashtag1","hashtag2"]},{"1338112675":["hashtag1","hashtag2"]},{"1338112678":["hashtag1","hashtag2"]},{"1338112677":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112682, 1338112676, 1338112679, 1338112675, 1338112678, 1338112677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.944713354110718 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 05:59:03.358927
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_58_9653.jpg', 0), ('/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_48_9674.jpg', 0), ('/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_39_10650.jpg', 0), ('/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_28_9655.jpg', 0), ('/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_18_9647.jpg', 0), ('/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_09_10679.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_58_9653.jpg', '/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_48_9674.jpg', '/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_39_10650.jpg', '/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_28_9655.jpg', '/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_18_9647.jpg', '/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_09_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_58_9653.jpg
/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_48_9674.jpg
/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_39_10650.jpg
/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_28_9655.jpg
/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_18_9647.jpg
/home/nano/Desktop/images/05022025/15/16/image_05022025_15_16_09_10679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338112805","1338113107","1338112698","1338112702","1338112692","1338112932"],"photo_ids_order":["1338112692","1338112698","1338112702","1338112805","1338112932","1338113107"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c4327f0efcc3b22a5244f57839d67c14.jpg","text":"TemporaryFile(/tmp/multipartBody4728711425170475657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768404949,"filename":"image_05022025_15_16_28_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d66aab72edd6f670a50488baf2204223.jpg","text":"TemporaryFile(/tmp/multipartBody4418827877047415592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768404949,"filename":"image_05022025_15_16_09_10679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31bf27e490752ef8f06040202ed679c3.jpg","text":"TemporaryFile(/tmp/multipartBody3389345277530546230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768404949,"filename":"image_05022025_15_16_48_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cbaa95dbe4fbf7b7ad3d212ec04767af.jpg","text":"TemporaryFile(/tmp/multipartBody223627030222640243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768404949,"filename":"image_05022025_15_16_39_10650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d31ea0761d25e7eb998ee1087d4fd48b.jpg","text":"TemporaryFile(/tmp/multipartBody6984249587288645430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768404949,"filename":"image_05022025_15_16_58_9653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/69eb9589809cdf2b9db27a2ca696b49d.jpg","text":"TemporaryFile(/tmp/multipartBody4440630530913932053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768404949,"filename":"image_05022025_15_16_18_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338112702","file1":"1338112698","file0":"1338112692","file4":"1338112932","file5":"1338113107","file3":"1338112805"},"map_files_photo_id_array":[{"photo_id":"1338113107","filename":"file5"},{"photo_id":"1338112702","filename":"file2"},{"photo_id":"1338112932","filename":"file4"},{"photo_id":"1338112698","filename":"file1"},{"photo_id":"1338112692","filename":"file0"},{"photo_id":"1338112805","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338112805":["hashtag1","hashtag2"]},{"1338113107":["hashtag1","hashtag2"]},{"1338112698":["hashtag1","hashtag2"]},{"1338112702":["hashtag1","hashtag2"]},{"1338112692":["hashtag1","hashtag2"]},{"1338112932":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338112805, 1338113107, 1338112698, 1338112702, 1338112692, 1338112932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.154186964035034 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:00:03.000057
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_58_9659.jpg', 0), ('/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_48_9660.jpg', 0), ('/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_39_10658.jpg', 0), ('/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_28_9670.jpg', 0), ('/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_18_9655.jpg', 0), ('/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_09_10681.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_58_9659.jpg', '/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_48_9660.jpg', '/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_39_10658.jpg', '/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_28_9670.jpg', '/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_18_9655.jpg', '/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_09_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_58_9659.jpg
/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_48_9660.jpg
/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_39_10658.jpg
/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_28_9670.jpg
/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_18_9655.jpg
/home/nano/Desktop/images/05022025/15/15/image_05022025_15_15_09_10681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338113485","1338113533","1338113391","1338113337","1338113517","1338113489"],"photo_ids_order":["1338113337","1338113391","1338113485","1338113489","1338113517","1338113533"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6c2558ce1fba79cec71bf39498f3d30.jpg","text":"TemporaryFile(/tmp/multipartBody4879928054117747273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768464730,"filename":"image_05022025_15_15_39_10658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc383bb9bf0a00b9fa07b3a53465786d.jpg","text":"TemporaryFile(/tmp/multipartBody791718311972534480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768464730,"filename":"image_05022025_15_15_09_10681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a3fa166d1951ab9ee2c818ad4f97e97.jpg","text":"TemporaryFile(/tmp/multipartBody1154182096557228022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768464730,"filename":"image_05022025_15_15_48_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b08710488bd50f9001f2d0c49c51989.jpg","text":"TemporaryFile(/tmp/multipartBody6894575856065284290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768464730,"filename":"image_05022025_15_15_58_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bba5d109047b0edf03100729f0bada6f.jpg","text":"TemporaryFile(/tmp/multipartBody6672689519602212036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768464730,"filename":"image_05022025_15_15_18_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/777188eedd552de8137551bdab6f69ba.jpg","text":"TemporaryFile(/tmp/multipartBody6683015650958948719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768464730,"filename":"image_05022025_15_15_28_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338113485","file1":"1338113391","file0":"1338113337","file4":"1338113517","file5":"1338113533","file3":"1338113489"},"map_files_photo_id_array":[{"photo_id":"1338113533","filename":"file5"},{"photo_id":"1338113485","filename":"file2"},{"photo_id":"1338113517","filename":"file4"},{"photo_id":"1338113391","filename":"file1"},{"photo_id":"1338113337","filename":"file0"},{"photo_id":"1338113489","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338113485":["hashtag1","hashtag2"]},{"1338113533":["hashtag1","hashtag2"]},{"1338113391":["hashtag1","hashtag2"]},{"1338113337":["hashtag1","hashtag2"]},{"1338113517":["hashtag1","hashtag2"]},{"1338113489":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338113485, 1338113533, 1338113391, 1338113337, 1338113517, 1338113489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.647594690322876 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:01:02.139556
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_58_9681.jpg', 0), ('/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_48_9677.jpg', 0), ('/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_39_10693.jpg', 0), ('/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_28_9667.jpg', 0), ('/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_18_9695.jpg', 0), ('/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_09_10655.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_58_9681.jpg', '/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_48_9677.jpg', '/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_39_10693.jpg', '/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_28_9667.jpg', '/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_18_9695.jpg', '/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_09_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_58_9681.jpg
/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_48_9677.jpg
/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_39_10693.jpg
/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_28_9667.jpg
/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_18_9695.jpg
/home/nano/Desktop/images/05022025/15/14/image_05022025_15_14_09_10655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338113711","1338113728","1338113716","1338113710","1338113707","1338113721"],"photo_ids_order":["1338113707","1338113710","1338113711","1338113716","1338113721","1338113728"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/669e4dabe304b6f6cbb8f4f27cb2107d.jpg","text":"TemporaryFile(/tmp/multipartBody4180143139265925255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768523953,"filename":"image_05022025_15_14_39_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ccbccab49379d3f9ffca1464faf2328.jpg","text":"TemporaryFile(/tmp/multipartBody6657593718767200028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768523953,"filename":"image_05022025_15_14_09_10655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/472c5e3dedbf309808facf747b50a2d5.jpg","text":"TemporaryFile(/tmp/multipartBody5515194001922392498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768523953,"filename":"image_05022025_15_14_28_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05bdb54fb2f2c7a40b3fc1f78795d64d.jpg","text":"TemporaryFile(/tmp/multipartBody2571532978766906689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768523953,"filename":"image_05022025_15_14_48_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1845a265eb63a7b054f448d1d2ef0f1.jpg","text":"TemporaryFile(/tmp/multipartBody7875414450640454535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768523953,"filename":"image_05022025_15_14_58_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0bc75724f554540b34f5567cc81e8f6d.jpg","text":"TemporaryFile(/tmp/multipartBody239212639219544179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768523953,"filename":"image_05022025_15_14_18_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338113711","file1":"1338113710","file0":"1338113707","file4":"1338113721","file5":"1338113728","file3":"1338113716"},"map_files_photo_id_array":[{"photo_id":"1338113728","filename":"file5"},{"photo_id":"1338113711","filename":"file2"},{"photo_id":"1338113721","filename":"file4"},{"photo_id":"1338113710","filename":"file1"},{"photo_id":"1338113707","filename":"file0"},{"photo_id":"1338113716","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338113711":["hashtag1","hashtag2"]},{"1338113728":["hashtag1","hashtag2"]},{"1338113716":["hashtag1","hashtag2"]},{"1338113710":["hashtag1","hashtag2"]},{"1338113707":["hashtag1","hashtag2"]},{"1338113721":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338113711, 1338113728, 1338113716, 1338113710, 1338113707, 1338113721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11297821998596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:02:02.256412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_58_9665.jpg', 0), ('/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_48_9682.jpg', 0), ('/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_39_10672.jpg', 0), ('/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_28_9670.jpg', 0), ('/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_18_9694.jpg', 0), ('/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_09_10676.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_58_9665.jpg', '/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_48_9682.jpg', '/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_39_10672.jpg', '/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_28_9670.jpg', '/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_18_9694.jpg', '/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_09_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_58_9665.jpg
/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_48_9682.jpg
/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_39_10672.jpg
/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_28_9670.jpg
/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_18_9694.jpg
/home/nano/Desktop/images/05022025/15/13/image_05022025_15_13_09_10676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114203","1338113915","1338114202","1338114192","1338114072","1338114201"],"photo_ids_order":["1338113915","1338114072","1338114192","1338114201","1338114202","1338114203"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cce838d554040cac0f9817d19aceda5f.jpg","text":"TemporaryFile(/tmp/multipartBody154374180354871851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768583969,"filename":"image_05022025_15_13_09_10676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1a179b6d0923eaab5793695ac3c0134.jpg","text":"TemporaryFile(/tmp/multipartBody1932838937797342214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768583969,"filename":"image_05022025_15_13_58_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d594f9d020d6adafaed18bb0cd4bd51c.jpg","text":"TemporaryFile(/tmp/multipartBody2325711531838173976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768583969,"filename":"image_05022025_15_13_18_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ec47fcc06ba2339bf22b26828793f2d.jpg","text":"TemporaryFile(/tmp/multipartBody7908115335430974070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768583969,"filename":"image_05022025_15_13_39_10672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d9ce3f8f37bbd0eab0c5b1e184d6796.jpg","text":"TemporaryFile(/tmp/multipartBody6493358872578301218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768583969,"filename":"image_05022025_15_13_48_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70075db49b82f627d401be4744d6342f.jpg","text":"TemporaryFile(/tmp/multipartBody7072488316039050468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768583969,"filename":"image_05022025_15_13_28_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114192","file1":"1338114072","file0":"1338113915","file4":"1338114202","file5":"1338114203","file3":"1338114201"},"map_files_photo_id_array":[{"photo_id":"1338114203","filename":"file5"},{"photo_id":"1338114192","filename":"file2"},{"photo_id":"1338114202","filename":"file4"},{"photo_id":"1338114072","filename":"file1"},{"photo_id":"1338113915","filename":"file0"},{"photo_id":"1338114201","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114203":["hashtag1","hashtag2"]},{"1338113915":["hashtag1","hashtag2"]},{"1338114202":["hashtag1","hashtag2"]},{"1338114192":["hashtag1","hashtag2"]},{"1338114072":["hashtag1","hashtag2"]},{"1338114201":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114203, 1338113915, 1338114202, 1338114192, 1338114072, 1338114201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.50024151802063 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:03:02.598640
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_58_9692.jpg', 0), ('/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_48_9675.jpg', 0), ('/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_39_10694.jpg', 0), ('/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_28_9679.jpg', 0), ('/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_18_9695.jpg', 0), ('/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_09_9685.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_58_9692.jpg', '/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_48_9675.jpg', '/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_39_10694.jpg', '/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_28_9679.jpg', '/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_18_9695.jpg', '/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_09_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_58_9692.jpg
/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_48_9675.jpg
/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_39_10694.jpg
/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_28_9679.jpg
/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_18_9695.jpg
/home/nano/Desktop/images/05022025/15/12/image_05022025_15_12_09_9685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114397","1338114401","1338114394","1338114399","1338114366","1338114398"],"photo_ids_order":["1338114366","1338114394","1338114397","1338114398","1338114399","1338114401"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1a1644ca7bf00d86190a76504e8b46a.jpg","text":"TemporaryFile(/tmp/multipartBody1729292810652385281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768644443,"filename":"image_05022025_15_12_39_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a0a78aa6da63f33a5be50b71ce5d55a.jpg","text":"TemporaryFile(/tmp/multipartBody5300777438694688194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768644443,"filename":"image_05022025_15_12_09_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8debafd5a8672f00a3e28d04cad7a3d1.jpg","text":"TemporaryFile(/tmp/multipartBody5520786853299384162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768644443,"filename":"image_05022025_15_12_48_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1156d0592ea39eefb62a754e27d2837b.jpg","text":"TemporaryFile(/tmp/multipartBody3436826586861141451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768644443,"filename":"image_05022025_15_12_18_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e9f43eb5fbeee5f3b48b7715f21d3a03.jpg","text":"TemporaryFile(/tmp/multipartBody7017568202104658658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768644443,"filename":"image_05022025_15_12_58_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3af72be7612de7da75c5c313a79733af.jpg","text":"TemporaryFile(/tmp/multipartBody1531631286514714326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768644443,"filename":"image_05022025_15_12_28_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114397","file1":"1338114394","file0":"1338114366","file4":"1338114399","file5":"1338114401","file3":"1338114398"},"map_files_photo_id_array":[{"photo_id":"1338114401","filename":"file5"},{"photo_id":"1338114397","filename":"file2"},{"photo_id":"1338114399","filename":"file4"},{"photo_id":"1338114394","filename":"file1"},{"photo_id":"1338114366","filename":"file0"},{"photo_id":"1338114398","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114397":["hashtag1","hashtag2"]},{"1338114401":["hashtag1","hashtag2"]},{"1338114394":["hashtag1","hashtag2"]},{"1338114399":["hashtag1","hashtag2"]},{"1338114366":["hashtag1","hashtag2"]},{"1338114398":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114397, 1338114401, 1338114394, 1338114399, 1338114366, 1338114398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1561541557312 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:04:02.870074
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_59_10676.jpg', 0), ('/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_48_9657.jpg', 0), ('/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_39_9718.jpg', 0), ('/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_29_10685.jpg', 0), ('/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_18_9695.jpg', 0), ('/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_08_9701.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_59_10676.jpg', '/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_48_9657.jpg', '/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_39_9718.jpg', '/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_29_10685.jpg', '/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_18_9695.jpg', '/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_08_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_59_10676.jpg
/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_48_9657.jpg
/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_39_9718.jpg
/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_29_10685.jpg
/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_18_9695.jpg
/home/nano/Desktop/images/05022025/15/11/image_05022025_15_11_08_9701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114421","1338114415","1338114426","1338114414","1338114417","1338114416"],"photo_ids_order":["1338114414","1338114415","1338114416","1338114417","1338114421","1338114426"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e88f0a5be2831bf17440e3e47909cb1e.jpg","text":"TemporaryFile(/tmp/multipartBody1480195596153028457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768704772,"filename":"image_05022025_15_11_18_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e88e79c7046bf368800d91e9b584ead3.jpg","text":"TemporaryFile(/tmp/multipartBody6404076388929784851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768704772,"filename":"image_05022025_15_11_48_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d02ff68ff4c7d544223b5fd8a3b340ac.jpg","text":"TemporaryFile(/tmp/multipartBody8465568940702951525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768704772,"filename":"image_05022025_15_11_08_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3818e9027c605d97d04936de61c34ea6.jpg","text":"TemporaryFile(/tmp/multipartBody7133607542392058450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768704772,"filename":"image_05022025_15_11_59_10676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4e45df98bd0931776e9413bdff83ed8.jpg","text":"TemporaryFile(/tmp/multipartBody1335996222821640876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768704772,"filename":"image_05022025_15_11_29_10685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a569f5087800f1bf079b6ff29ba684b.jpg","text":"TemporaryFile(/tmp/multipartBody762849672740871917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768704772,"filename":"image_05022025_15_11_39_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114416","file1":"1338114415","file0":"1338114414","file4":"1338114421","file5":"1338114426","file3":"1338114417"},"map_files_photo_id_array":[{"photo_id":"1338114426","filename":"file5"},{"photo_id":"1338114416","filename":"file2"},{"photo_id":"1338114421","filename":"file4"},{"photo_id":"1338114415","filename":"file1"},{"photo_id":"1338114414","filename":"file0"},{"photo_id":"1338114417","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114421":["hashtag1","hashtag2"]},{"1338114415":["hashtag1","hashtag2"]},{"1338114426":["hashtag1","hashtag2"]},{"1338114414":["hashtag1","hashtag2"]},{"1338114417":["hashtag1","hashtag2"]},{"1338114416":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114421, 1338114415, 1338114426, 1338114414, 1338114417, 1338114416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72154664993286 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:05:02.877590
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_59_10691.jpg', 0), ('/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_48_9679.jpg', 0), ('/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_38_9665.jpg', 0), ('/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_29_10687.jpg', 0), ('/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_18_9666.jpg', 0), ('/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_08_9693.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_59_10691.jpg', '/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_48_9679.jpg', '/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_38_9665.jpg', '/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_29_10687.jpg', '/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_18_9666.jpg', '/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_08_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_59_10691.jpg
/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_48_9679.jpg
/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_38_9665.jpg
/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_29_10687.jpg
/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_18_9666.jpg
/home/nano/Desktop/images/05022025/15/10/image_05022025_15_10_08_9693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114454","1338114457","1338114456","1338114453","1338114452","1338114455"],"photo_ids_order":["1338114452","1338114453","1338114454","1338114455","1338114456","1338114457"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1107f803fe4cdd92f021009e97ee255a.jpg","text":"TemporaryFile(/tmp/multipartBody4927725275238476300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768764901,"filename":"image_05022025_15_10_38_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f282520ed0c1e4ec5c0067dbfdb548ad.jpg","text":"TemporaryFile(/tmp/multipartBody2715877597267294081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768764901,"filename":"image_05022025_15_10_08_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7819e44cf7cf9c731ae66ad187279b0b.jpg","text":"TemporaryFile(/tmp/multipartBody1488676528931138244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768764901,"filename":"image_05022025_15_10_18_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/018eb2f7aa4757b2ec0f05587c52eb70.jpg","text":"TemporaryFile(/tmp/multipartBody9131309019596704852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768764901,"filename":"image_05022025_15_10_48_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3f1dad65080690873915a375fa5fe31.jpg","text":"TemporaryFile(/tmp/multipartBody3242463476371390352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768764901,"filename":"image_05022025_15_10_59_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e476baaa66212a740a2b27dce281bb02.jpg","text":"TemporaryFile(/tmp/multipartBody3932422542281020429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768764901,"filename":"image_05022025_15_10_29_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114454","file1":"1338114453","file0":"1338114452","file4":"1338114456","file5":"1338114457","file3":"1338114455"},"map_files_photo_id_array":[{"photo_id":"1338114457","filename":"file5"},{"photo_id":"1338114454","filename":"file2"},{"photo_id":"1338114456","filename":"file4"},{"photo_id":"1338114453","filename":"file1"},{"photo_id":"1338114452","filename":"file0"},{"photo_id":"1338114455","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114454":["hashtag1","hashtag2"]},{"1338114457":["hashtag1","hashtag2"]},{"1338114456":["hashtag1","hashtag2"]},{"1338114453":["hashtag1","hashtag2"]},{"1338114452":["hashtag1","hashtag2"]},{"1338114455":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114454, 1338114457, 1338114456, 1338114453, 1338114452, 1338114455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.255518913269043 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:06:02.876631
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_59_10676.jpg', 0), ('/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_48_9715.jpg', 0), ('/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_38_9698.jpg', 0), ('/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_29_9693.jpg', 0), ('/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_19_10730.jpg', 0), ('/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_08_9683.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_59_10676.jpg', '/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_48_9715.jpg', '/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_38_9698.jpg', '/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_29_9693.jpg', '/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_19_10730.jpg', '/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_08_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_59_10676.jpg
/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_48_9715.jpg
/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_38_9698.jpg
/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_29_9693.jpg
/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_19_10730.jpg
/home/nano/Desktop/images/05022025/15/09/image_05022025_15_09_08_9683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114475","1338114474","1338114477","1338114479","1338114473","1338114476"],"photo_ids_order":["1338114473","1338114474","1338114475","1338114476","1338114477","1338114479"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2af5041d032bfd0baa2a2d2ccf3b586a.jpg","text":"TemporaryFile(/tmp/multipartBody8618203529629667002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768824749,"filename":"image_05022025_15_09_38_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a12a91a94d9de391ba7c8cb892743a22.jpg","text":"TemporaryFile(/tmp/multipartBody2125843390983524102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768824749,"filename":"image_05022025_15_09_48_9715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/61fde9586c4d94c1b25714a2417c5803.jpg","text":"TemporaryFile(/tmp/multipartBody3580622253577602681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768824749,"filename":"image_05022025_15_09_19_10730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b683af67a1222c50c3884df1316d5f6b.jpg","text":"TemporaryFile(/tmp/multipartBody1889364958996244273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768824749,"filename":"image_05022025_15_09_08_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/44b622140a4c29761deb10fdd0ac417a.jpg","text":"TemporaryFile(/tmp/multipartBody6173899134298864624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768824749,"filename":"image_05022025_15_09_59_10676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e06cf2446ad67033363810a44b3ac6e.jpg","text":"TemporaryFile(/tmp/multipartBody3559703125571486893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768824749,"filename":"image_05022025_15_09_29_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114475","file1":"1338114474","file0":"1338114473","file4":"1338114477","file5":"1338114479","file3":"1338114476"},"map_files_photo_id_array":[{"photo_id":"1338114479","filename":"file5"},{"photo_id":"1338114475","filename":"file2"},{"photo_id":"1338114477","filename":"file4"},{"photo_id":"1338114474","filename":"file1"},{"photo_id":"1338114473","filename":"file0"},{"photo_id":"1338114476","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114475":["hashtag1","hashtag2"]},{"1338114474":["hashtag1","hashtag2"]},{"1338114477":["hashtag1","hashtag2"]},{"1338114479":["hashtag1","hashtag2"]},{"1338114473":["hashtag1","hashtag2"]},{"1338114476":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114475, 1338114474, 1338114477, 1338114479, 1338114473, 1338114476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51349377632141 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:07:03.120045
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_58_9702.jpg', 0), ('/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_49_10705.jpg', 0), ('/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_38_9702.jpg', 0), ('/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_28_9691.jpg', 0), ('/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_19_10716.jpg', 0), ('/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_08_9689.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_58_9702.jpg', '/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_49_10705.jpg', '/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_38_9702.jpg', '/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_28_9691.jpg', '/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_19_10716.jpg', '/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_08_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_58_9702.jpg
/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_49_10705.jpg
/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_38_9702.jpg
/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_28_9691.jpg
/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_19_10716.jpg
/home/nano/Desktop/images/05022025/15/08/image_05022025_15_08_08_9689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114496","1338114499","1338114490","1338114492","1338114497","1338114494"],"photo_ids_order":["1338114490","1338114492","1338114494","1338114496","1338114497","1338114499"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d860f4d27780e3d12bdc4884a424e310.jpg","text":"TemporaryFile(/tmp/multipartBody3861554172316806068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768885124,"filename":"image_05022025_15_08_28_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ab25eddfb4aa7d989a2079e7a266b4d.jpg","text":"TemporaryFile(/tmp/multipartBody1679337209974638661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768885124,"filename":"image_05022025_15_08_08_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a545e1af5dbc2324c6f1566e139ee25c.jpg","text":"TemporaryFile(/tmp/multipartBody5714596096237242605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768885124,"filename":"image_05022025_15_08_58_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a2ac6bd29576b288730ef55a11cdc8d.jpg","text":"TemporaryFile(/tmp/multipartBody7705416526765096080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768885124,"filename":"image_05022025_15_08_49_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bbc4f7636f0627f5178e520ee47cf149.jpg","text":"TemporaryFile(/tmp/multipartBody7434249029552677409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768885124,"filename":"image_05022025_15_08_19_10716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/127a5bc885be0aee79ffacbad2ed248a.jpg","text":"TemporaryFile(/tmp/multipartBody3098140766212227915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768885124,"filename":"image_05022025_15_08_38_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114494","file1":"1338114492","file0":"1338114490","file4":"1338114497","file5":"1338114499","file3":"1338114496"},"map_files_photo_id_array":[{"photo_id":"1338114499","filename":"file5"},{"photo_id":"1338114494","filename":"file2"},{"photo_id":"1338114497","filename":"file4"},{"photo_id":"1338114492","filename":"file1"},{"photo_id":"1338114490","filename":"file0"},{"photo_id":"1338114496","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114496":["hashtag1","hashtag2"]},{"1338114499":["hashtag1","hashtag2"]},{"1338114490":["hashtag1","hashtag2"]},{"1338114492":["hashtag1","hashtag2"]},{"1338114497":["hashtag1","hashtag2"]},{"1338114494":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114496, 1338114499, 1338114490, 1338114492, 1338114497, 1338114494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.897631645202637 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:08:02.195203
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_58_9687.jpg', 0), ('/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_49_9667.jpg', 0), ('/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_39_10709.jpg', 0), ('/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_28_9672.jpg', 0), ('/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_19_9688.jpg', 0), ('/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_09_10705.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_58_9687.jpg', '/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_49_9667.jpg', '/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_39_10709.jpg', '/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_28_9672.jpg', '/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_19_9688.jpg', '/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_09_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_58_9687.jpg
/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_49_9667.jpg
/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_39_10709.jpg
/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_28_9672.jpg
/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_19_9688.jpg
/home/nano/Desktop/images/05022025/15/07/image_05022025_15_07_09_10705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114509","1338114508","1338114511","1338114519","1338114513","1338114515"],"photo_ids_order":["1338114508","1338114509","1338114511","1338114513","1338114515","1338114519"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fbeb370ccbb5269c8f2bdd9744373d41.jpg","text":"TemporaryFile(/tmp/multipartBody6864337257859658662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768944079,"filename":"image_05022025_15_07_49_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d17a4924e29d2c05cfba3d4c4bdd0cb.jpg","text":"TemporaryFile(/tmp/multipartBody2875049188677279264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768944079,"filename":"image_05022025_15_07_58_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1415ba050d519f70ab99e62c4b546ef.jpg","text":"TemporaryFile(/tmp/multipartBody4033662557369328658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768944079,"filename":"image_05022025_15_07_39_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e36ff8f28613261e09a82813bdf351b9.jpg","text":"TemporaryFile(/tmp/multipartBody3218059595828583547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768944079,"filename":"image_05022025_15_07_09_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cca958572b5e8a13236c8f390becddce.jpg","text":"TemporaryFile(/tmp/multipartBody6177620398956930145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768944079,"filename":"image_05022025_15_07_28_9672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7354c3cb504384acc3eea23dab20d0d.jpg","text":"TemporaryFile(/tmp/multipartBody4231587306301374825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739768944079,"filename":"image_05022025_15_07_19_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114511","file1":"1338114509","file0":"1338114508","file4":"1338114515","file5":"1338114519","file3":"1338114513"},"map_files_photo_id_array":[{"photo_id":"1338114519","filename":"file5"},{"photo_id":"1338114511","filename":"file2"},{"photo_id":"1338114515","filename":"file4"},{"photo_id":"1338114509","filename":"file1"},{"photo_id":"1338114508","filename":"file0"},{"photo_id":"1338114513","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114509":["hashtag1","hashtag2"]},{"1338114508":["hashtag1","hashtag2"]},{"1338114511":["hashtag1","hashtag2"]},{"1338114519":["hashtag1","hashtag2"]},{"1338114513":["hashtag1","hashtag2"]},{"1338114515":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114509, 1338114508, 1338114511, 1338114519, 1338114513, 1338114515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66313815116882 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:09:02.618597
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_58_9655.jpg', 0), ('/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_48_9654.jpg', 0), ('/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_39_10702.jpg', 0), ('/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_28_9679.jpg', 0), ('/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_18_9719.jpg', 0), ('/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_09_10691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_58_9655.jpg', '/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_48_9654.jpg', '/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_39_10702.jpg', '/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_28_9679.jpg', '/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_18_9719.jpg', '/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_09_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_58_9655.jpg
/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_48_9654.jpg
/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_39_10702.jpg
/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_28_9679.jpg
/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_18_9719.jpg
/home/nano/Desktop/images/05022025/15/06/image_05022025_15_06_09_10691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114530","1338114532","1338114541","1338114537","1338114534","1338114536"],"photo_ids_order":["1338114530","1338114532","1338114534","1338114536","1338114537","1338114541"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88fc9f8b13c3f8801de9b40a827e476e.jpg","text":"TemporaryFile(/tmp/multipartBody7341324020284313165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769004377,"filename":"image_05022025_15_06_58_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b9402398f5d0ebba40818110837552b2.jpg","text":"TemporaryFile(/tmp/multipartBody8797596004008985322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769004377,"filename":"image_05022025_15_06_48_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e26b7974d0813475538453fb4569236.jpg","text":"TemporaryFile(/tmp/multipartBody4570665037410861458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769004377,"filename":"image_05022025_15_06_09_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/73f9fb9d7d2452b74ca4b0f50a3ea859.jpg","text":"TemporaryFile(/tmp/multipartBody3600824657516624396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769004377,"filename":"image_05022025_15_06_18_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/769f9d0feee1917ff3eba78dc3de44d6.jpg","text":"TemporaryFile(/tmp/multipartBody4221762687850377620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769004377,"filename":"image_05022025_15_06_39_10702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/470c53d40e75d876c8b909ce195d66ff.jpg","text":"TemporaryFile(/tmp/multipartBody8152195192555944390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769004377,"filename":"image_05022025_15_06_28_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114534","file1":"1338114532","file0":"1338114530","file4":"1338114537","file5":"1338114541","file3":"1338114536"},"map_files_photo_id_array":[{"photo_id":"1338114541","filename":"file5"},{"photo_id":"1338114534","filename":"file2"},{"photo_id":"1338114537","filename":"file4"},{"photo_id":"1338114532","filename":"file1"},{"photo_id":"1338114530","filename":"file0"},{"photo_id":"1338114536","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114530":["hashtag1","hashtag2"]},{"1338114532":["hashtag1","hashtag2"]},{"1338114541":["hashtag1","hashtag2"]},{"1338114537":["hashtag1","hashtag2"]},{"1338114534":["hashtag1","hashtag2"]},{"1338114536":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114530, 1338114532, 1338114541, 1338114537, 1338114534, 1338114536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.387821674346924 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:10:02.444876
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_59_9716.jpg', 0), ('/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_49_10734.jpg', 0), ('/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_38_9714.jpg', 0), ('/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_28_9717.jpg', 0), ('/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_19_9713.jpg', 0), ('/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_09_10717.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_59_9716.jpg', '/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_49_10734.jpg', '/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_38_9714.jpg', '/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_28_9717.jpg', '/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_19_9713.jpg', '/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_09_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_59_9716.jpg
/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_49_10734.jpg
/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_38_9714.jpg
/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_28_9717.jpg
/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_19_9713.jpg
/home/nano/Desktop/images/05022025/14/58/image_05022025_14_58_09_10717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114556","1338114558","1338114552","1338114560","1338114554","1338114563"],"photo_ids_order":["1338114552","1338114554","1338114556","1338114558","1338114560","1338114563"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4cb26066d4c0c66c9a790c1dbc3ce06c.jpg","text":"TemporaryFile(/tmp/multipartBody7309545864789626947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769064436,"filename":"image_05022025_14_58_38_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/84e2fe99b125e1c993cdd73619a63b6d.jpg","text":"TemporaryFile(/tmp/multipartBody3410723421740749568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769064436,"filename":"image_05022025_14_58_28_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28340091a5c14c2a76d735418acca558.jpg","text":"TemporaryFile(/tmp/multipartBody4544953207333860124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769064436,"filename":"image_05022025_14_58_59_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e09ee402417bc05e172b3273bc92d6d.jpg","text":"TemporaryFile(/tmp/multipartBody8859166022270483501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769064436,"filename":"image_05022025_14_58_19_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d43aab28f6f16cc57f189f0001d7c3e.jpg","text":"TemporaryFile(/tmp/multipartBody3207164710811342682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769064436,"filename":"image_05022025_14_58_49_10734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/985280ea4600d50efd641264f6b945be.jpg","text":"TemporaryFile(/tmp/multipartBody3325311957950216018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769064436,"filename":"image_05022025_14_58_09_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114556","file1":"1338114554","file0":"1338114552","file4":"1338114560","file5":"1338114563","file3":"1338114558"},"map_files_photo_id_array":[{"photo_id":"1338114563","filename":"file5"},{"photo_id":"1338114556","filename":"file2"},{"photo_id":"1338114560","filename":"file4"},{"photo_id":"1338114554","filename":"file1"},{"photo_id":"1338114552","filename":"file0"},{"photo_id":"1338114558","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114556":["hashtag1","hashtag2"]},{"1338114558":["hashtag1","hashtag2"]},{"1338114552":["hashtag1","hashtag2"]},{"1338114560":["hashtag1","hashtag2"]},{"1338114554":["hashtag1","hashtag2"]},{"1338114563":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114556, 1338114558, 1338114552, 1338114560, 1338114554, 1338114563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8873450756073 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:11:02.701445
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_59_10721.jpg', 0), ('/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_48_9715.jpg', 0), ('/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_38_9716.jpg', 0), ('/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_29_10731.jpg', 0), ('/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_18_9720.jpg', 0), ('/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_08_9733.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_59_10721.jpg', '/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_48_9715.jpg', '/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_38_9716.jpg', '/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_29_10731.jpg', '/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_18_9720.jpg', '/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_08_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_59_10721.jpg
/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_48_9715.jpg
/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_38_9716.jpg
/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_29_10731.jpg
/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_18_9720.jpg
/home/nano/Desktop/images/05022025/14/56/image_05022025_14_56_08_9733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114580","1338114574","1338114582","1338114576","1338114584","1338114578"],"photo_ids_order":["1338114574","1338114576","1338114578","1338114580","1338114582","1338114584"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/095178c9da6097087c832e7d2d283750.jpg","text":"TemporaryFile(/tmp/multipartBody1295589463983815477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769124453,"filename":"image_05022025_14_56_29_10731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/726886231829568f1a0e64de016cb21a.jpg","text":"TemporaryFile(/tmp/multipartBody2456910286757427672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769124453,"filename":"image_05022025_14_56_59_10721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bbdf98bb4562d210dc9db8f93e2ee1d7.jpg","text":"TemporaryFile(/tmp/multipartBody4879848660520976034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769124453,"filename":"image_05022025_14_56_18_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d362f7afb95064fb2f81ea2427854c7c.jpg","text":"TemporaryFile(/tmp/multipartBody1173098868933908207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769124453,"filename":"image_05022025_14_56_48_9715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0668bd7d3ab74da99afd7325779b56fe.jpg","text":"TemporaryFile(/tmp/multipartBody428823648138830810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769124453,"filename":"image_05022025_14_56_08_9733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f1397acb07e75aad0a2f042383b6df8.jpg","text":"TemporaryFile(/tmp/multipartBody2033386791391759211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769124453,"filename":"image_05022025_14_56_38_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114578","file1":"1338114576","file0":"1338114574","file4":"1338114582","file5":"1338114584","file3":"1338114580"},"map_files_photo_id_array":[{"photo_id":"1338114584","filename":"file5"},{"photo_id":"1338114578","filename":"file2"},{"photo_id":"1338114582","filename":"file4"},{"photo_id":"1338114576","filename":"file1"},{"photo_id":"1338114574","filename":"file0"},{"photo_id":"1338114580","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114580":["hashtag1","hashtag2"]},{"1338114574":["hashtag1","hashtag2"]},{"1338114582":["hashtag1","hashtag2"]},{"1338114576":["hashtag1","hashtag2"]},{"1338114584":["hashtag1","hashtag2"]},{"1338114578":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114580, 1338114574, 1338114582, 1338114576, 1338114584, 1338114578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.19527268409729 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:12:02.717272
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_58_9709.jpg', 0), ('/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_48_9705.jpg', 0), ('/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_39_9715.jpg', 0), ('/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_29_10718.jpg', 0), ('/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_18_9718.jpg', 0), ('/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_08_9719.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_58_9709.jpg', '/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_48_9705.jpg', '/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_39_9715.jpg', '/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_29_10718.jpg', '/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_18_9718.jpg', '/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_08_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_58_9709.jpg
/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_48_9705.jpg
/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_39_9715.jpg
/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_29_10718.jpg
/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_18_9718.jpg
/home/nano/Desktop/images/05022025/13/58/image_05022025_13_58_08_9719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114602","1338114605","1338114610","1338114596","1338114599","1338114593"],"photo_ids_order":["1338114593","1338114596","1338114599","1338114602","1338114605","1338114610"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76a53daa72de9882e655c3a80406d452.jpg","text":"TemporaryFile(/tmp/multipartBody1567863083963817952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769184664,"filename":"image_05022025_13_58_29_10718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/deaafaa4c33b0ed0e3290b0ef17a2950.jpg","text":"TemporaryFile(/tmp/multipartBody2523990112147400234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769184664,"filename":"image_05022025_13_58_18_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/56336f6dea990c24c0866df74bd90911.jpg","text":"TemporaryFile(/tmp/multipartBody1110766504440957396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769184664,"filename":"image_05022025_13_58_08_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f564277e844cba1bbeed8c9f3038373f.jpg","text":"TemporaryFile(/tmp/multipartBody4789068101491606515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769184664,"filename":"image_05022025_13_58_48_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0c54a41c4c37538c3adb0281fac69be.jpg","text":"TemporaryFile(/tmp/multipartBody428329029050861874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769184664,"filename":"image_05022025_13_58_39_9715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e926348f21255dcaa13a9a21cc6874d.jpg","text":"TemporaryFile(/tmp/multipartBody1757748604134468187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769184664,"filename":"image_05022025_13_58_58_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114599","file1":"1338114596","file0":"1338114593","file4":"1338114605","file5":"1338114610","file3":"1338114602"},"map_files_photo_id_array":[{"photo_id":"1338114610","filename":"file5"},{"photo_id":"1338114599","filename":"file2"},{"photo_id":"1338114605","filename":"file4"},{"photo_id":"1338114596","filename":"file1"},{"photo_id":"1338114593","filename":"file0"},{"photo_id":"1338114602","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114602":["hashtag1","hashtag2"]},{"1338114605":["hashtag1","hashtag2"]},{"1338114610":["hashtag1","hashtag2"]},{"1338114596":["hashtag1","hashtag2"]},{"1338114599":["hashtag1","hashtag2"]},{"1338114593":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114602, 1338114605, 1338114610, 1338114596, 1338114599, 1338114593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.290175914764404 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:13:02.964911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_58_9680.jpg', 0), ('/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_49_9693.jpg', 0), ('/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_39_10678.jpg', 0), ('/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_28_9688.jpg', 0), ('/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_19_9691.jpg', 0), ('/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_09_10680.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_58_9680.jpg', '/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_49_9693.jpg', '/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_39_10678.jpg', '/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_28_9688.jpg', '/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_19_9691.jpg', '/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_09_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_58_9680.jpg
/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_49_9693.jpg
/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_39_10678.jpg
/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_28_9688.jpg
/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_19_9691.jpg
/home/nano/Desktop/images/05022025/13/14/image_05022025_13_14_09_10680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114626","1338114637","1338114621","1338114630","1338114624","1338114627"],"photo_ids_order":["1338114621","1338114624","1338114626","1338114627","1338114630","1338114637"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16f44a7c58a0f0120e2ab1991d837d54.jpg","text":"TemporaryFile(/tmp/multipartBody7707990978495055576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769244813,"filename":"image_05022025_13_14_39_10678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71490b81732cd9a515433db07e1cae41.jpg","text":"TemporaryFile(/tmp/multipartBody5181012687354111198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769244813,"filename":"image_05022025_13_14_09_10680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8ce47a6f6c87999274a0b77fc257b42.jpg","text":"TemporaryFile(/tmp/multipartBody8685503583830852841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769244813,"filename":"image_05022025_13_14_58_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d5cfa361b3b67423ea92531fb40fc34.jpg","text":"TemporaryFile(/tmp/multipartBody4585304764174165715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769244813,"filename":"image_05022025_13_14_19_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cd28a4d5b9a19f11142c05db3e53de1.jpg","text":"TemporaryFile(/tmp/multipartBody8223937991803226613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769244813,"filename":"image_05022025_13_14_49_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8fff16a0dd5036565a351ba513b5ade.jpg","text":"TemporaryFile(/tmp/multipartBody1303711326210019247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769244813,"filename":"image_05022025_13_14_28_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114626","file1":"1338114624","file0":"1338114621","file4":"1338114630","file5":"1338114637","file3":"1338114627"},"map_files_photo_id_array":[{"photo_id":"1338114637","filename":"file5"},{"photo_id":"1338114626","filename":"file2"},{"photo_id":"1338114630","filename":"file4"},{"photo_id":"1338114624","filename":"file1"},{"photo_id":"1338114621","filename":"file0"},{"photo_id":"1338114627","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114626":["hashtag1","hashtag2"]},{"1338114637":["hashtag1","hashtag2"]},{"1338114621":["hashtag1","hashtag2"]},{"1338114630":["hashtag1","hashtag2"]},{"1338114624":["hashtag1","hashtag2"]},{"1338114627":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114626, 1338114637, 1338114621, 1338114630, 1338114624, 1338114627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.488239526748657 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:14:03.190788
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_58_9698.jpg', 0), ('/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_48_9693.jpg', 0), ('/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_39_9697.jpg', 0), ('/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_29_10720.jpg', 0), ('/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_18_9701.jpg', 0), ('/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_09_9704.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_58_9698.jpg', '/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_48_9693.jpg', '/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_39_9697.jpg', '/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_29_10720.jpg', '/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_18_9701.jpg', '/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_09_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_58_9698.jpg
/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_48_9693.jpg
/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_39_9697.jpg
/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_29_10720.jpg
/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_18_9701.jpg
/home/nano/Desktop/images/05022025/12/46/image_05022025_12_46_09_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114676","1338114679","1338114670","1338114673","1338114675","1338114668"],"photo_ids_order":["1338114668","1338114670","1338114673","1338114675","1338114676","1338114679"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2aebf23883f93949a6fb2d9478f35f07.jpg","text":"TemporaryFile(/tmp/multipartBody4101705776224243166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769305031,"filename":"image_05022025_12_46_18_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0361b2d3480e88a1e2d14f7c2a5ca7ae.jpg","text":"TemporaryFile(/tmp/multipartBody5751916851091519849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769305031,"filename":"image_05022025_12_46_09_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ae43c5f3aa0904773b5cd67dea548d7.jpg","text":"TemporaryFile(/tmp/multipartBody4264047724653845165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769305031,"filename":"image_05022025_12_46_48_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f71f7f851e33cf093425d0594069fa3d.jpg","text":"TemporaryFile(/tmp/multipartBody8729520685481375271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769305031,"filename":"image_05022025_12_46_39_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e8fc6da76fb787baf5414410a61d5e0.jpg","text":"TemporaryFile(/tmp/multipartBody5822573530584865838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769305031,"filename":"image_05022025_12_46_29_10720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3fd8b8ecdf957200dfc1a9f15578cb30.jpg","text":"TemporaryFile(/tmp/multipartBody4324147698251007520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769305031,"filename":"image_05022025_12_46_58_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114673","file1":"1338114670","file0":"1338114668","file4":"1338114676","file5":"1338114679","file3":"1338114675"},"map_files_photo_id_array":[{"photo_id":"1338114679","filename":"file5"},{"photo_id":"1338114673","filename":"file2"},{"photo_id":"1338114676","filename":"file4"},{"photo_id":"1338114670","filename":"file1"},{"photo_id":"1338114668","filename":"file0"},{"photo_id":"1338114675","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114676":["hashtag1","hashtag2"]},{"1338114679":["hashtag1","hashtag2"]},{"1338114670":["hashtag1","hashtag2"]},{"1338114673":["hashtag1","hashtag2"]},{"1338114675":["hashtag1","hashtag2"]},{"1338114668":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114676, 1338114679, 1338114670, 1338114673, 1338114675, 1338114668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73982357978821 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:15:02.187141
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_58_9655.jpg', 0), ('/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_49_10664.jpg', 0), ('/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_38_9633.jpg', 0), ('/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_28_9619.jpg', 0), ('/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_19_10638.jpg', 0), ('/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_08_9695.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_58_9655.jpg', '/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_49_10664.jpg', '/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_38_9633.jpg', '/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_28_9619.jpg', '/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_19_10638.jpg', '/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_08_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_58_9655.jpg
/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_49_10664.jpg
/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_38_9633.jpg
/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_28_9619.jpg
/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_19_10638.jpg
/home/nano/Desktop/images/05022025/11/58/image_05022025_11_58_08_9695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114722","1338114697","1338114715","1338114700","1338114703","1338114696"],"photo_ids_order":["1338114696","1338114697","1338114700","1338114703","1338114715","1338114722"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6d00fdc5318ed65827291ad0016d429.jpg","text":"TemporaryFile(/tmp/multipartBody4753031908686097860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769364027,"filename":"image_05022025_11_58_08_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b6c65aaae499422ffecc0489aec8360.jpg","text":"TemporaryFile(/tmp/multipartBody4450138911094920018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769364027,"filename":"image_05022025_11_58_49_10664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/825081a5c1a6da91ea2bc2beddd5cc7f.jpg","text":"TemporaryFile(/tmp/multipartBody3534786286449460563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769364027,"filename":"image_05022025_11_58_19_10638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3294d3a9013b2aecea8a5910f020e8fe.jpg","text":"TemporaryFile(/tmp/multipartBody5134992509631953405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769364027,"filename":"image_05022025_11_58_38_9633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2b40c9a1bff958d06b30074505962af.jpg","text":"TemporaryFile(/tmp/multipartBody440290306892012913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769364027,"filename":"image_05022025_11_58_28_9619.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7eadb23624107ac9f46ee8bbc922f776.jpg","text":"TemporaryFile(/tmp/multipartBody827719175743394653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769364027,"filename":"image_05022025_11_58_58_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114700","file1":"1338114697","file0":"1338114696","file4":"1338114715","file5":"1338114722","file3":"1338114703"},"map_files_photo_id_array":[{"photo_id":"1338114722","filename":"file5"},{"photo_id":"1338114700","filename":"file2"},{"photo_id":"1338114715","filename":"file4"},{"photo_id":"1338114697","filename":"file1"},{"photo_id":"1338114696","filename":"file0"},{"photo_id":"1338114703","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114722":["hashtag1","hashtag2"]},{"1338114697":["hashtag1","hashtag2"]},{"1338114715":["hashtag1","hashtag2"]},{"1338114700":["hashtag1","hashtag2"]},{"1338114703":["hashtag1","hashtag2"]},{"1338114696":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114722, 1338114697, 1338114715, 1338114700, 1338114703, 1338114696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.821208715438843 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:16:02.255695
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_58_9674.jpg', 0), ('/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_49_10648.jpg', 0), ('/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_38_9749.jpg', 0), ('/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_28_9657.jpg', 0), ('/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_19_10700.jpg', 0), ('/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_08_9810.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_58_9674.jpg', '/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_49_10648.jpg', '/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_38_9749.jpg', '/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_28_9657.jpg', '/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_19_10700.jpg', '/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_08_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_58_9674.jpg
/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_49_10648.jpg
/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_38_9749.jpg
/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_28_9657.jpg
/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_19_10700.jpg
/home/nano/Desktop/images/05022025/11/55/image_05022025_11_55_08_9810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114737","1338114739","1338114733","1338114741","1338114735","1338114746"],"photo_ids_order":["1338114733","1338114735","1338114737","1338114739","1338114741","1338114746"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f785f384203c595e63995e6aaf1d0c5.jpg","text":"TemporaryFile(/tmp/multipartBody1913218047357013147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769424140,"filename":"image_05022025_11_55_38_9749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c6476c1d372915463284c8d9d50e33b.jpg","text":"TemporaryFile(/tmp/multipartBody7123102553613507839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769424140,"filename":"image_05022025_11_55_28_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46c4c80e000285ae21bf149d1ef2bfb4.jpg","text":"TemporaryFile(/tmp/multipartBody6221202753186428959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769424140,"filename":"image_05022025_11_55_58_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/204330d62de4dfcd4b76b3e2bc363f6a.jpg","text":"TemporaryFile(/tmp/multipartBody6137577696509221493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769424140,"filename":"image_05022025_11_55_19_10700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/047803b6cad1d80f6d17ec5c0b4fefac.jpg","text":"TemporaryFile(/tmp/multipartBody5293397703515587760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769424140,"filename":"image_05022025_11_55_49_10648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b4583501e8596591f1ef16eb942bbea.jpg","text":"TemporaryFile(/tmp/multipartBody3214992125109721744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769424140,"filename":"image_05022025_11_55_08_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114737","file1":"1338114735","file0":"1338114733","file4":"1338114741","file5":"1338114746","file3":"1338114739"},"map_files_photo_id_array":[{"photo_id":"1338114746","filename":"file5"},{"photo_id":"1338114737","filename":"file2"},{"photo_id":"1338114741","filename":"file4"},{"photo_id":"1338114735","filename":"file1"},{"photo_id":"1338114733","filename":"file0"},{"photo_id":"1338114739","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114737":["hashtag1","hashtag2"]},{"1338114739":["hashtag1","hashtag2"]},{"1338114733":["hashtag1","hashtag2"]},{"1338114741":["hashtag1","hashtag2"]},{"1338114735":["hashtag1","hashtag2"]},{"1338114746":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114737, 1338114739, 1338114733, 1338114741, 1338114735, 1338114746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.928191661834717 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:17:02.701011
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_59_9847.jpg', 0), ('/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_49_9836.jpg', 0), ('/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_39_10860.jpg', 0), ('/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_28_9828.jpg', 0), ('/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_18_9842.jpg', 0), ('/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_08_9860.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_59_9847.jpg', '/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_49_9836.jpg', '/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_39_10860.jpg', '/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_28_9828.jpg', '/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_18_9842.jpg', '/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_08_9860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_59_9847.jpg
/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_49_9836.jpg
/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_39_10860.jpg
/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_28_9828.jpg
/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_18_9842.jpg
/home/nano/Desktop/images/05022025/10/56/image_05022025_10_56_08_9860.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114775","1338114777","1338114782","1338114779","1338114770","1338114773"],"photo_ids_order":["1338114770","1338114773","1338114775","1338114777","1338114779","1338114782"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a49fd3fcdb3b5e863a987dbaf597c90c.jpg","text":"TemporaryFile(/tmp/multipartBody8949293435873963692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769485042,"filename":"image_05022025_10_56_39_10860.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/607d0af6456a320cdf33dad5ea222376.jpg","text":"TemporaryFile(/tmp/multipartBody7435973699247883998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769485042,"filename":"image_05022025_10_56_28_9828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb3ebe8c8bb3ad232312e052bdf9715b.jpg","text":"TemporaryFile(/tmp/multipartBody8289543970559800545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769485042,"filename":"image_05022025_10_56_08_9860.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dcb11959beedd28b9a457bf2c5698826.jpg","text":"TemporaryFile(/tmp/multipartBody8703689593335150640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769485042,"filename":"image_05022025_10_56_18_9842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6bd465c1171b929fdd236f8204d2bb87.jpg","text":"TemporaryFile(/tmp/multipartBody6511294997793635412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769485042,"filename":"image_05022025_10_56_59_9847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/37fc3f9826fcd1b0ef83f107f352ef7f.jpg","text":"TemporaryFile(/tmp/multipartBody2560921821804799482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769485042,"filename":"image_05022025_10_56_49_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114775","file1":"1338114773","file0":"1338114770","file4":"1338114779","file5":"1338114782","file3":"1338114777"},"map_files_photo_id_array":[{"photo_id":"1338114782","filename":"file5"},{"photo_id":"1338114775","filename":"file2"},{"photo_id":"1338114779","filename":"file4"},{"photo_id":"1338114773","filename":"file1"},{"photo_id":"1338114770","filename":"file0"},{"photo_id":"1338114777","filename":"file3"}],"portfolio_id":20232663,"hashtag_by_photo_ids":[{"1338114775":["hashtag1","hashtag2"]},{"1338114777":["hashtag1","hashtag2"]},{"1338114782":["hashtag1","hashtag2"]},{"1338114779":["hashtag1","hashtag2"]},{"1338114770":["hashtag1","hashtag2"]},{"1338114773":["hashtag1","hashtag2"]}],"comms":"Portfolio 20232663 used, photo_id : ArrayBuffer(1338114775, 1338114777, 1338114782, 1338114779, 1338114770, 1338114773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9544038772583 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:18:02.552752
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
  port_id : 20232663
  datou_current_id : 2547917
in upload_from_sqlite, uploading in 20232663
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/05022025/10/09/image_05022025_10_09_58_9638.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/05022025/10/09/image_05022025_10_09_58_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2547917&datou=0
/home/nano/Desktop/images/05022025/10/09/image_05022025_10_09_58_9638.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114794"],"photo_id":"1338114794","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a6ff62d29c75f1205dbe2c932b7b2901.jpg","text":"TemporaryFile(/tmp/multipartBody4689207501079941930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769543416,"filename":"image_05022025_10_09_58_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338114794"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338114794"}],"hashtags":[],"portfolio_id":"20232663","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 9.944487571716309 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:18:32.259349
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_59_10784.jpg', 0), ('/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_49_9770.jpg', 0), ('/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_39_9793.jpg', 0), ('/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_29_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_19_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_10_10778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_59_10784.jpg', '/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_49_9770.jpg', '/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_39_9793.jpg', '/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_29_9771.jpg', '/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_19_9771.jpg', '/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_10_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_59_10784.jpg
/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_49_9770.jpg
/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_39_9793.jpg
/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_29_9771.jpg
/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_19_9771.jpg
/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_10_10778.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.9469294548034668 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:19:03.161445
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_59_10784.jpg', 0), ('/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_49_9770.jpg', 0), ('/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_39_9793.jpg', 0), ('/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_29_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_19_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_10_10778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_59_10784.jpg', '/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_49_9770.jpg', '/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_39_9793.jpg', '/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_29_9771.jpg', '/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_19_9771.jpg', '/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_10_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_59_10784.jpg
/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_49_9770.jpg
/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_39_9793.jpg
/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_29_9771.jpg
/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_19_9771.jpg
/home/nano/Desktop/images/06022025/23/59/image_06022025_23_59_10_10778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114818","1338114823","1338114817","1338114829","1338114820","1338114819"],"photo_ids_order":["1338114817","1338114818","1338114819","1338114820","1338114823","1338114829"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/882abb3e0f32724b2e8f13326775882a.jpg","text":"TemporaryFile(/tmp/multipartBody3551768450973528489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769605198,"filename":"image_06022025_23_59_49_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0840809547d9fe08589d92e63c6dddd9.jpg","text":"TemporaryFile(/tmp/multipartBody2334362960912799642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769605198,"filename":"image_06022025_23_59_19_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a81939b4489f44f79b9b1414f8f04834.jpg","text":"TemporaryFile(/tmp/multipartBody5341185828901099113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769605198,"filename":"image_06022025_23_59_59_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26e46263daed96008cdcfe2ad1279a56.jpg","text":"TemporaryFile(/tmp/multipartBody7822130155047746721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769605198,"filename":"image_06022025_23_59_10_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/629d4966878c441f523eac4a08d7460f.jpg","text":"TemporaryFile(/tmp/multipartBody5555079798579432163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769605198,"filename":"image_06022025_23_59_29_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/231122e3420b5ae63f276d7e5a5c3eeb.jpg","text":"TemporaryFile(/tmp/multipartBody4763636617027501673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769605198,"filename":"image_06022025_23_59_39_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114819","file1":"1338114818","file0":"1338114817","file4":"1338114823","file5":"1338114829","file3":"1338114820"},"map_files_photo_id_array":[{"photo_id":"1338114829","filename":"file5"},{"photo_id":"1338114819","filename":"file2"},{"photo_id":"1338114823","filename":"file4"},{"photo_id":"1338114818","filename":"file1"},{"photo_id":"1338114817","filename":"file0"},{"photo_id":"1338114820","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338114818":["hashtag1","hashtag2"]},{"1338114823":["hashtag1","hashtag2"]},{"1338114817":["hashtag1","hashtag2"]},{"1338114829":["hashtag1","hashtag2"]},{"1338114820":["hashtag1","hashtag2"]},{"1338114819":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338114818, 1338114823, 1338114817, 1338114829, 1338114820, 1338114819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06853151321411 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:20:02.847756
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_59_9776.jpg', 0), ('/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_49_9778.jpg', 0), ('/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_39_9780.jpg', 0), ('/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_29_10788.jpg', 0), ('/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_19_9797.jpg', 0), ('/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_09_9791.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_59_9776.jpg', '/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_49_9778.jpg', '/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_39_9780.jpg', '/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_29_10788.jpg', '/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_19_9797.jpg', '/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_09_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_59_9776.jpg
/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_49_9778.jpg
/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_39_9780.jpg
/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_29_10788.jpg
/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_19_9797.jpg
/home/nano/Desktop/images/06022025/23/58/image_06022025_23_58_09_9791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114853","1338114850","1338114847","1338114849","1338114851","1338114848"],"photo_ids_order":["1338114847","1338114848","1338114849","1338114850","1338114851","1338114853"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0784d8dd3c7c147c63e11c2eab9d059e.jpg","text":"TemporaryFile(/tmp/multipartBody189436734784807759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769664807,"filename":"image_06022025_23_58_09_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/558bdbd72e5e094db3f3db87de6c0b44.jpg","text":"TemporaryFile(/tmp/multipartBody1604109106979167715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769664807,"filename":"image_06022025_23_58_29_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c201b12c50e6bf6063b1338352421168.jpg","text":"TemporaryFile(/tmp/multipartBody7915079728297523712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769664807,"filename":"image_06022025_23_58_59_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f944c120dcf1f8cbfaa74d018f768c3c.jpg","text":"TemporaryFile(/tmp/multipartBody6031687117505052294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769664807,"filename":"image_06022025_23_58_39_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf7f96696595260416b9076695c61ce7.jpg","text":"TemporaryFile(/tmp/multipartBody7163174767332555763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769664807,"filename":"image_06022025_23_58_19_9797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/449da1fc11c066fcac5be2bd979ab17e.jpg","text":"TemporaryFile(/tmp/multipartBody8953543435207300301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769664807,"filename":"image_06022025_23_58_49_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114849","file1":"1338114848","file0":"1338114847","file4":"1338114851","file5":"1338114853","file3":"1338114850"},"map_files_photo_id_array":[{"photo_id":"1338114853","filename":"file5"},{"photo_id":"1338114849","filename":"file2"},{"photo_id":"1338114851","filename":"file4"},{"photo_id":"1338114848","filename":"file1"},{"photo_id":"1338114847","filename":"file0"},{"photo_id":"1338114850","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338114853":["hashtag1","hashtag2"]},{"1338114850":["hashtag1","hashtag2"]},{"1338114847":["hashtag1","hashtag2"]},{"1338114849":["hashtag1","hashtag2"]},{"1338114851":["hashtag1","hashtag2"]},{"1338114848":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338114853, 1338114850, 1338114847, 1338114849, 1338114851, 1338114848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.328479051589966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:21:03.006154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_59_9775.jpg', 0), ('/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_49_9786.jpg', 0), ('/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_40_10793.jpg', 0), ('/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_29_9776.jpg', 0), ('/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_19_9775.jpg', 0), ('/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_09_9796.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_59_9775.jpg', '/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_49_9786.jpg', '/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_40_10793.jpg', '/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_29_9776.jpg', '/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_19_9775.jpg', '/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_09_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_59_9775.jpg
/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_49_9786.jpg
/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_40_10793.jpg
/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_29_9776.jpg
/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_19_9775.jpg
/home/nano/Desktop/images/06022025/23/57/image_06022025_23_57_09_9796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114868","1338114865","1338114870","1338114864","1338114867","1338114866"],"photo_ids_order":["1338114864","1338114865","1338114866","1338114867","1338114868","1338114870"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a067a4f1788cdac41d71c76bea80b27.jpg","text":"TemporaryFile(/tmp/multipartBody5138273190708226977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769724873,"filename":"image_06022025_23_57_19_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d2f048c80c3a6fd1e221ba241e278f2.jpg","text":"TemporaryFile(/tmp/multipartBody6633838641795411103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769724873,"filename":"image_06022025_23_57_49_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70fbc3cd76bfceffc257db724316a7bd.jpg","text":"TemporaryFile(/tmp/multipartBody1103176292082449978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769724873,"filename":"image_06022025_23_57_09_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/182dd238653f607172c1cf57e008cb89.jpg","text":"TemporaryFile(/tmp/multipartBody2984822158469908591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769724873,"filename":"image_06022025_23_57_59_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4cea9bbb11af8adc69ce9eb346898b99.jpg","text":"TemporaryFile(/tmp/multipartBody6499912949440824625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769724873,"filename":"image_06022025_23_57_29_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1874d8a5fc9263d5cd990578c42bae07.jpg","text":"TemporaryFile(/tmp/multipartBody6001831162222273379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769724873,"filename":"image_06022025_23_57_40_10793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114866","file1":"1338114865","file0":"1338114864","file4":"1338114868","file5":"1338114870","file3":"1338114867"},"map_files_photo_id_array":[{"photo_id":"1338114870","filename":"file5"},{"photo_id":"1338114866","filename":"file2"},{"photo_id":"1338114868","filename":"file4"},{"photo_id":"1338114865","filename":"file1"},{"photo_id":"1338114864","filename":"file0"},{"photo_id":"1338114867","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338114868":["hashtag1","hashtag2"]},{"1338114865":["hashtag1","hashtag2"]},{"1338114870":["hashtag1","hashtag2"]},{"1338114864":["hashtag1","hashtag2"]},{"1338114867":["hashtag1","hashtag2"]},{"1338114866":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338114868, 1338114865, 1338114870, 1338114864, 1338114867, 1338114866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00557827949524 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:22:02.102197
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_59_9772.jpg', 0), ('/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_49_9770.jpg', 0), ('/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_39_9772.jpg', 0), ('/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_29_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_20_10800.jpg', 0), ('/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_09_9780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_59_9772.jpg', '/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_49_9770.jpg', '/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_39_9772.jpg', '/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_29_9771.jpg', '/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_20_10800.jpg', '/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_09_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_59_9772.jpg
/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_49_9770.jpg
/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_39_9772.jpg
/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_29_9771.jpg
/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_20_10800.jpg
/home/nano/Desktop/images/06022025/23/35/image_06022025_23_35_09_9780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114886","1338114883","1338114882","1338114885","1338114888","1338114884"],"photo_ids_order":["1338114882","1338114883","1338114884","1338114885","1338114886","1338114888"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4cf3ee5b6bd07f90867ddb47699151cc.jpg","text":"TemporaryFile(/tmp/multipartBody2784127779524413855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769784000,"filename":"image_06022025_23_35_20_10800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e00ba102414a122724758c4861cc419.jpg","text":"TemporaryFile(/tmp/multipartBody91668639917694131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769784000,"filename":"image_06022025_23_35_49_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/419e521ab90b656e499b22c312f342c5.jpg","text":"TemporaryFile(/tmp/multipartBody3639901501955509054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769784000,"filename":"image_06022025_23_35_59_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d75397ced372a49832313ab80fea6f1.jpg","text":"TemporaryFile(/tmp/multipartBody1687136620403889070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769784000,"filename":"image_06022025_23_35_29_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b662346f1cb113461b54c51c2c45545.jpg","text":"TemporaryFile(/tmp/multipartBody5648316892379993582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769784000,"filename":"image_06022025_23_35_09_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f34150b9959e6aa396d28320589f58de.jpg","text":"TemporaryFile(/tmp/multipartBody4119785163434457033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769784000,"filename":"image_06022025_23_35_39_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114884","file1":"1338114883","file0":"1338114882","file4":"1338114886","file5":"1338114888","file3":"1338114885"},"map_files_photo_id_array":[{"photo_id":"1338114888","filename":"file5"},{"photo_id":"1338114884","filename":"file2"},{"photo_id":"1338114886","filename":"file4"},{"photo_id":"1338114883","filename":"file1"},{"photo_id":"1338114882","filename":"file0"},{"photo_id":"1338114885","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338114886":["hashtag1","hashtag2"]},{"1338114883":["hashtag1","hashtag2"]},{"1338114882":["hashtag1","hashtag2"]},{"1338114885":["hashtag1","hashtag2"]},{"1338114888":["hashtag1","hashtag2"]},{"1338114884":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338114886, 1338114883, 1338114882, 1338114885, 1338114888, 1338114884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.68472933769226 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:23:02.323485
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_59_9798.jpg', 0), ('/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_50_10788.jpg', 0), ('/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_39_9773.jpg', 0), ('/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_29_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_19_9793.jpg', 0), ('/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_09_10774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_59_9798.jpg', '/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_50_10788.jpg', '/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_39_9773.jpg', '/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_29_9771.jpg', '/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_19_9793.jpg', '/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_09_10774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_59_9798.jpg
/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_50_10788.jpg
/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_39_9773.jpg
/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_29_9771.jpg
/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_19_9793.jpg
/home/nano/Desktop/images/06022025/22/58/image_06022025_22_58_09_10774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114902","1338114904","1338114901","1338114900","1338114903","1338114906"],"photo_ids_order":["1338114900","1338114901","1338114902","1338114903","1338114904","1338114906"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/61ab74ea25ea6c6b81e83c29ba7d6e31.jpg","text":"TemporaryFile(/tmp/multipartBody57557945921170228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769844546,"filename":"image_06022025_22_58_39_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2fb2516b96f51de71537777b4987c1f7.jpg","text":"TemporaryFile(/tmp/multipartBody2500967737184244349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769844546,"filename":"image_06022025_22_58_19_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08305875320db21ea443c54c3b5176f9.jpg","text":"TemporaryFile(/tmp/multipartBody5583591390166553550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769844546,"filename":"image_06022025_22_58_50_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de7fb7d847fffec3dd90d397f91f1641.jpg","text":"TemporaryFile(/tmp/multipartBody8241295367366627907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769844546,"filename":"image_06022025_22_58_59_9798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de07b5485ac6a3b87483f3d8ad26a8ba.jpg","text":"TemporaryFile(/tmp/multipartBody430315198089661992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769844546,"filename":"image_06022025_22_58_29_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71f61906034d9b7e2f89d65a68850de1.jpg","text":"TemporaryFile(/tmp/multipartBody3658104562826529783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769844546,"filename":"image_06022025_22_58_09_10774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114902","file1":"1338114901","file0":"1338114900","file4":"1338114904","file5":"1338114906","file3":"1338114903"},"map_files_photo_id_array":[{"photo_id":"1338114906","filename":"file5"},{"photo_id":"1338114902","filename":"file2"},{"photo_id":"1338114904","filename":"file4"},{"photo_id":"1338114901","filename":"file1"},{"photo_id":"1338114900","filename":"file0"},{"photo_id":"1338114903","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338114902":["hashtag1","hashtag2"]},{"1338114904":["hashtag1","hashtag2"]},{"1338114901":["hashtag1","hashtag2"]},{"1338114900":["hashtag1","hashtag2"]},{"1338114903":["hashtag1","hashtag2"]},{"1338114906":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338114902, 1338114904, 1338114901, 1338114900, 1338114903, 1338114906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.832011461257935 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:24:02.841327
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_59_9776.jpg', 0), ('/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_49_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_39_9773.jpg', 0), ('/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_29_9772.jpg', 0), ('/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_20_10777.jpg', 0), ('/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_09_9779.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_59_9776.jpg', '/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_49_9771.jpg', '/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_39_9773.jpg', '/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_29_9772.jpg', '/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_20_10777.jpg', '/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_09_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_59_9776.jpg
/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_49_9771.jpg
/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_39_9773.jpg
/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_29_9772.jpg
/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_20_10777.jpg
/home/nano/Desktop/images/06022025/22/57/image_06022025_22_57_09_9779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114920","1338114922","1338114919","1338114921","1338114924","1338114918"],"photo_ids_order":["1338114918","1338114919","1338114920","1338114921","1338114922","1338114924"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b752af9e46b3c9fbec7e2a2da65c4d3a.jpg","text":"TemporaryFile(/tmp/multipartBody1821886650639916969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769904800,"filename":"image_06022025_22_57_39_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f913b4a902da28e3904f6c642bf9fba4.jpg","text":"TemporaryFile(/tmp/multipartBody3295900999464699208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769904800,"filename":"image_06022025_22_57_20_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/41e17a0610b7816ad17c68aec165dbd7.jpg","text":"TemporaryFile(/tmp/multipartBody2144750869566775605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769904800,"filename":"image_06022025_22_57_49_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bcfc0cb7602621ac399b337e49d5fa1f.jpg","text":"TemporaryFile(/tmp/multipartBody6755969194147704790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769904800,"filename":"image_06022025_22_57_29_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ec29c92a42d2e5b41cc1d35d76bb237.jpg","text":"TemporaryFile(/tmp/multipartBody6575413454847269618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769904800,"filename":"image_06022025_22_57_09_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1834440baba3415e92b52f86099615c.jpg","text":"TemporaryFile(/tmp/multipartBody7179092327226842662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769904800,"filename":"image_06022025_22_57_59_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114920","file1":"1338114919","file0":"1338114918","file4":"1338114922","file5":"1338114924","file3":"1338114921"},"map_files_photo_id_array":[{"photo_id":"1338114924","filename":"file5"},{"photo_id":"1338114920","filename":"file2"},{"photo_id":"1338114922","filename":"file4"},{"photo_id":"1338114919","filename":"file1"},{"photo_id":"1338114918","filename":"file0"},{"photo_id":"1338114921","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338114920":["hashtag1","hashtag2"]},{"1338114922":["hashtag1","hashtag2"]},{"1338114919":["hashtag1","hashtag2"]},{"1338114921":["hashtag1","hashtag2"]},{"1338114924":["hashtag1","hashtag2"]},{"1338114918":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338114920, 1338114922, 1338114919, 1338114921, 1338114924, 1338114918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52658271789551 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:25:02.788884
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_59_9770.jpg', 0), ('/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_49_9770.jpg', 0), ('/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_39_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_29_9791.jpg', 0), ('/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_20_10779.jpg', 0), ('/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_09_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_59_9770.jpg', '/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_49_9770.jpg', '/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_39_9771.jpg', '/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_29_9791.jpg', '/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_20_10779.jpg', '/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_09_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_59_9770.jpg
/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_49_9770.jpg
/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_39_9771.jpg
/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_29_9791.jpg
/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_20_10779.jpg
/home/nano/Desktop/images/06022025/22/42/image_06022025_22_42_09_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114941","1338114940","1338114943","1338114937","1338114939","1338114938"],"photo_ids_order":["1338114937","1338114938","1338114939","1338114940","1338114941","1338114943"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5908d7f5631ac7d99d4318954e7d7071.jpg","text":"TemporaryFile(/tmp/multipartBody6089402926137363114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769964887,"filename":"image_06022025_22_42_20_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3627ecc509c197323c63b38a2662d172.jpg","text":"TemporaryFile(/tmp/multipartBody8504993778471138159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769964887,"filename":"image_06022025_22_42_29_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c50bbac1d41f140b5cd2821c138b00c.jpg","text":"TemporaryFile(/tmp/multipartBody1883756531600276237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769964887,"filename":"image_06022025_22_42_09_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3841b2a89f6c19d335a8d10a8d3d2acb.jpg","text":"TemporaryFile(/tmp/multipartBody3694451687232733143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769964887,"filename":"image_06022025_22_42_59_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f65f34745d4d3e5fb799f7a074ca8c81.jpg","text":"TemporaryFile(/tmp/multipartBody5595254098153427950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769964887,"filename":"image_06022025_22_42_39_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8641e2a5ee22b3238c2b7ff3f941abf7.jpg","text":"TemporaryFile(/tmp/multipartBody6694792794008053973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739769964887,"filename":"image_06022025_22_42_49_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114939","file1":"1338114938","file0":"1338114937","file4":"1338114941","file5":"1338114943","file3":"1338114940"},"map_files_photo_id_array":[{"photo_id":"1338114943","filename":"file5"},{"photo_id":"1338114939","filename":"file2"},{"photo_id":"1338114941","filename":"file4"},{"photo_id":"1338114938","filename":"file1"},{"photo_id":"1338114937","filename":"file0"},{"photo_id":"1338114940","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338114941":["hashtag1","hashtag2"]},{"1338114940":["hashtag1","hashtag2"]},{"1338114943":["hashtag1","hashtag2"]},{"1338114937":["hashtag1","hashtag2"]},{"1338114939":["hashtag1","hashtag2"]},{"1338114938":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338114941, 1338114940, 1338114943, 1338114937, 1338114939, 1338114938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.801424980163574 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:26:02.846073
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_59_10779.jpg', 0), ('/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_49_9787.jpg', 0), ('/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_39_9769.jpg', 0), ('/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_29_9767.jpg', 0), ('/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_19_9798.jpg', 0), ('/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_10_10804.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_59_10779.jpg', '/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_49_9787.jpg', '/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_39_9769.jpg', '/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_29_9767.jpg', '/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_19_9798.jpg', '/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_10_10804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_59_10779.jpg
/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_49_9787.jpg
/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_39_9769.jpg
/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_29_9767.jpg
/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_19_9798.jpg
/home/nano/Desktop/images/06022025/22/28/image_06022025_22_28_10_10804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114961","1338114955","1338114958","1338114957","1338114956","1338114959"],"photo_ids_order":["1338114955","1338114956","1338114957","1338114958","1338114959","1338114961"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d60409be4334743a6d41dbec6125264f.jpg","text":"TemporaryFile(/tmp/multipartBody5763911675887403154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770024555,"filename":"image_06022025_22_28_10_10804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c9571a7ec9a1c7a1a81f46ee6d9bfac.jpg","text":"TemporaryFile(/tmp/multipartBody5551177407034533320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770024555,"filename":"image_06022025_22_28_59_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/621b74fabdfb60c309f9bba11c5490ab.jpg","text":"TemporaryFile(/tmp/multipartBody3224602416550681415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770024555,"filename":"image_06022025_22_28_29_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0848d842d3dc23a649e8a335e1c215c.jpg","text":"TemporaryFile(/tmp/multipartBody932648213184343120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770024555,"filename":"image_06022025_22_28_39_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/124a301393c80a1da6c59846db1c48e9.jpg","text":"TemporaryFile(/tmp/multipartBody4513244789542251204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770024555,"filename":"image_06022025_22_28_49_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4bec8c19960ad4e2e24eb88f982d7242.jpg","text":"TemporaryFile(/tmp/multipartBody5321971196442861432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770024555,"filename":"image_06022025_22_28_19_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114957","file1":"1338114956","file0":"1338114955","file4":"1338114959","file5":"1338114961","file3":"1338114958"},"map_files_photo_id_array":[{"photo_id":"1338114961","filename":"file5"},{"photo_id":"1338114957","filename":"file2"},{"photo_id":"1338114959","filename":"file4"},{"photo_id":"1338114956","filename":"file1"},{"photo_id":"1338114955","filename":"file0"},{"photo_id":"1338114958","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338114961":["hashtag1","hashtag2"]},{"1338114955":["hashtag1","hashtag2"]},{"1338114958":["hashtag1","hashtag2"]},{"1338114957":["hashtag1","hashtag2"]},{"1338114956":["hashtag1","hashtag2"]},{"1338114959":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338114961, 1338114955, 1338114958, 1338114957, 1338114956, 1338114959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.037158727645874 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:27:03.113717
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_59_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_49_9765.jpg', 0), ('/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_39_9767.jpg', 0), ('/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_29_10783.jpg', 0), ('/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_19_9795.jpg', 0), ('/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_09_9784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_59_9771.jpg', '/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_49_9765.jpg', '/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_39_9767.jpg', '/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_29_10783.jpg', '/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_19_9795.jpg', '/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_09_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_59_9771.jpg
/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_49_9765.jpg
/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_39_9767.jpg
/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_29_10783.jpg
/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_19_9795.jpg
/home/nano/Desktop/images/06022025/22/04/image_06022025_22_04_09_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338114985","1338114982","1338114981","1338114980","1338114983","1338114977"],"photo_ids_order":["1338114977","1338114980","1338114981","1338114982","1338114983","1338114985"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aaa22f9651cc7cc9269f9ef3f7f579e5.jpg","text":"TemporaryFile(/tmp/multipartBody5879835807730387315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770085108,"filename":"image_06022025_22_04_09_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87e0f75c40a610c318e75ce3153fc055.jpg","text":"TemporaryFile(/tmp/multipartBody17968628309993457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770085108,"filename":"image_06022025_22_04_29_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf7c4f443b9a5914f4d7ee4ad42beb71.jpg","text":"TemporaryFile(/tmp/multipartBody9017921335246867836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770085108,"filename":"image_06022025_22_04_39_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb9e9c4d211a638440109d12f2c4d3fe.jpg","text":"TemporaryFile(/tmp/multipartBody3417099380209796261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770085108,"filename":"image_06022025_22_04_49_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/74eac7e70b8d00755d46f15f8d0996e8.jpg","text":"TemporaryFile(/tmp/multipartBody7995934154733673959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770085108,"filename":"image_06022025_22_04_19_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/585ac81eabfdd6684a17f0fdde51c4d7.jpg","text":"TemporaryFile(/tmp/multipartBody4619422484410712600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770085108,"filename":"image_06022025_22_04_59_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338114981","file1":"1338114980","file0":"1338114977","file4":"1338114983","file5":"1338114985","file3":"1338114982"},"map_files_photo_id_array":[{"photo_id":"1338114985","filename":"file5"},{"photo_id":"1338114981","filename":"file2"},{"photo_id":"1338114983","filename":"file4"},{"photo_id":"1338114980","filename":"file1"},{"photo_id":"1338114977","filename":"file0"},{"photo_id":"1338114982","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338114985":["hashtag1","hashtag2"]},{"1338114982":["hashtag1","hashtag2"]},{"1338114981":["hashtag1","hashtag2"]},{"1338114980":["hashtag1","hashtag2"]},{"1338114983":["hashtag1","hashtag2"]},{"1338114977":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338114985, 1338114982, 1338114981, 1338114980, 1338114983, 1338114977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8964638710022 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:28:03.050476
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_59_9762.jpg', 0), ('/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_49_9765.jpg', 0), ('/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_39_9765.jpg', 0), ('/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_29_10773.jpg', 0), ('/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_19_9764.jpg', 0), ('/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_09_9767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_59_9762.jpg', '/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_49_9765.jpg', '/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_39_9765.jpg', '/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_29_10773.jpg', '/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_19_9764.jpg', '/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_09_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_59_9762.jpg
/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_49_9765.jpg
/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_39_9765.jpg
/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_29_10773.jpg
/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_19_9764.jpg
/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_09_9767.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.043457269668579 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:28:32.739424
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_59_9762.jpg', 0), ('/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_49_9765.jpg', 0), ('/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_39_9765.jpg', 0), ('/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_29_10773.jpg', 0), ('/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_19_9764.jpg', 0), ('/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_09_9767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_59_9762.jpg', '/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_49_9765.jpg', '/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_39_9765.jpg', '/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_29_10773.jpg', '/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_19_9764.jpg', '/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_09_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_59_9762.jpg
/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_49_9765.jpg
/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_39_9765.jpg
/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_29_10773.jpg
/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_19_9764.jpg
/home/nano/Desktop/images/06022025/20/53/image_06022025_20_53_09_9767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115015","1338115012","1338115006","1338115009","1338115017","1338115019"],"photo_ids_order":["1338115006","1338115009","1338115012","1338115015","1338115017","1338115019"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1118b3e1464fe5a8e52385e5f898a847.jpg","text":"TemporaryFile(/tmp/multipartBody3925394270710940329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770174746,"filename":"image_06022025_20_53_29_10773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d8e37faa5f102f7977ed679cca58518.jpg","text":"TemporaryFile(/tmp/multipartBody8970914458491845015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770174746,"filename":"image_06022025_20_53_39_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df37180512a5ffd9bd8a156b57abf279.jpg","text":"TemporaryFile(/tmp/multipartBody7932345721032061529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770174746,"filename":"image_06022025_20_53_59_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e941a046e1bacfa99b2345e310438d7d.jpg","text":"TemporaryFile(/tmp/multipartBody7890719545107346482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770174746,"filename":"image_06022025_20_53_49_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/141251503f6036d71d7a865ba1a962c1.jpg","text":"TemporaryFile(/tmp/multipartBody2994031784443823616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770174746,"filename":"image_06022025_20_53_19_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/add4fa4d11b2944e25cbe80c53f5588e.jpg","text":"TemporaryFile(/tmp/multipartBody997953282168108203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770174746,"filename":"image_06022025_20_53_09_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115012","file1":"1338115009","file0":"1338115006","file4":"1338115017","file5":"1338115019","file3":"1338115015"},"map_files_photo_id_array":[{"photo_id":"1338115019","filename":"file5"},{"photo_id":"1338115012","filename":"file2"},{"photo_id":"1338115017","filename":"file4"},{"photo_id":"1338115009","filename":"file1"},{"photo_id":"1338115006","filename":"file0"},{"photo_id":"1338115015","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115015":["hashtag1","hashtag2"]},{"1338115012":["hashtag1","hashtag2"]},{"1338115006":["hashtag1","hashtag2"]},{"1338115009":["hashtag1","hashtag2"]},{"1338115017":["hashtag1","hashtag2"]},{"1338115019":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115015, 1338115012, 1338115006, 1338115009, 1338115017, 1338115019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.207332611083984 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:29:31.919037
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_59_9646.jpg', 0), ('/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_50_10662.jpg', 0), ('/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_39_9644.jpg', 0), ('/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_29_9658.jpg', 0), ('/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_20_10660.jpg', 0), ('/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_09_9638.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_59_9646.jpg', '/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_50_10662.jpg', '/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_39_9644.jpg', '/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_29_9658.jpg', '/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_20_10660.jpg', '/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_09_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_59_9646.jpg
/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_50_10662.jpg
/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_39_9644.jpg
/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_29_9658.jpg
/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_20_10660.jpg
/home/nano/Desktop/images/06022025/19/35/image_06022025_19_35_09_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115039","1338115037","1338115031","1338115025","1338115034","1338115028"],"photo_ids_order":["1338115025","1338115028","1338115031","1338115034","1338115037","1338115039"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49a86715686ce540ba12a6233562ba96.jpg","text":"TemporaryFile(/tmp/multipartBody2014179796978536373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770233338,"filename":"image_06022025_19_35_09_9638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/63dde5a63cae1a4571a7545d9f853efd.jpg","text":"TemporaryFile(/tmp/multipartBody1438435131638358306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770233338,"filename":"image_06022025_19_35_20_10660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc986f7d1886f47836db469b0e2f8ecc.jpg","text":"TemporaryFile(/tmp/multipartBody3245578319403028770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770233338,"filename":"image_06022025_19_35_39_9644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6841e3024a08f36f81d0ab9baec701fb.jpg","text":"TemporaryFile(/tmp/multipartBody2092309310125023561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770233338,"filename":"image_06022025_19_35_59_9646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da0e1714c933f100e6f6fa6cb3da4a3c.jpg","text":"TemporaryFile(/tmp/multipartBody171089210239283089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770233338,"filename":"image_06022025_19_35_29_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ecd8c633954e632d0736103cb638ca78.jpg","text":"TemporaryFile(/tmp/multipartBody8924459662206419898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770233338,"filename":"image_06022025_19_35_50_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115031","file1":"1338115028","file0":"1338115025","file4":"1338115037","file5":"1338115039","file3":"1338115034"},"map_files_photo_id_array":[{"photo_id":"1338115039","filename":"file5"},{"photo_id":"1338115031","filename":"file2"},{"photo_id":"1338115037","filename":"file4"},{"photo_id":"1338115028","filename":"file1"},{"photo_id":"1338115025","filename":"file0"},{"photo_id":"1338115034","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115039":["hashtag1","hashtag2"]},{"1338115037":["hashtag1","hashtag2"]},{"1338115031":["hashtag1","hashtag2"]},{"1338115025":["hashtag1","hashtag2"]},{"1338115034":["hashtag1","hashtag2"]},{"1338115028":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115039, 1338115037, 1338115031, 1338115025, 1338115034, 1338115028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.584041595458984 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:30:32.080896
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_59_9747.jpg', 0), ('/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_50_10884.jpg', 0), ('/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_39_9817.jpg', 0), ('/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_29_9727.jpg', 0), ('/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_19_9903.jpg', 0), ('/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_09_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_59_9747.jpg', '/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_50_10884.jpg', '/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_39_9817.jpg', '/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_29_9727.jpg', '/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_19_9903.jpg', '/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_09_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_59_9747.jpg
/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_50_10884.jpg
/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_39_9817.jpg
/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_29_9727.jpg
/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_19_9903.jpg
/home/nano/Desktop/images/06022025/19/23/image_06022025_19_23_09_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115051","1338115060","1338115057","1338115044","1338115047","1338115049"],"photo_ids_order":["1338115044","1338115047","1338115049","1338115051","1338115057","1338115060"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14e516b1fc26fd513cd6d66d275d5f3b.jpg","text":"TemporaryFile(/tmp/multipartBody8193212395536636410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770294606,"filename":"image_06022025_19_23_29_9727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/72e42c96306efc4e1e5d995ef2530a20.jpg","text":"TemporaryFile(/tmp/multipartBody8521777476586551256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770294606,"filename":"image_06022025_19_23_09_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/734dc53531424010f6b4356e6b1a969a.jpg","text":"TemporaryFile(/tmp/multipartBody6909961942287707655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770294606,"filename":"image_06022025_19_23_19_9903.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f71ba3bfeeb73b99d971643b02ba504.jpg","text":"TemporaryFile(/tmp/multipartBody6324612421628601579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770294606,"filename":"image_06022025_19_23_59_9747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79d8ac65ac8d9adf1c24fcabee5aedbf.jpg","text":"TemporaryFile(/tmp/multipartBody6417037654993691126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770294606,"filename":"image_06022025_19_23_50_10884.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3611bef7d293aeffe59cd3f21b6f5081.jpg","text":"TemporaryFile(/tmp/multipartBody5886982505338023075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770294606,"filename":"image_06022025_19_23_39_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115049","file1":"1338115047","file0":"1338115044","file4":"1338115057","file5":"1338115060","file3":"1338115051"},"map_files_photo_id_array":[{"photo_id":"1338115060","filename":"file5"},{"photo_id":"1338115049","filename":"file2"},{"photo_id":"1338115057","filename":"file4"},{"photo_id":"1338115047","filename":"file1"},{"photo_id":"1338115044","filename":"file0"},{"photo_id":"1338115051","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115051":["hashtag1","hashtag2"]},{"1338115060":["hashtag1","hashtag2"]},{"1338115057":["hashtag1","hashtag2"]},{"1338115044":["hashtag1","hashtag2"]},{"1338115047":["hashtag1","hashtag2"]},{"1338115049":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115051, 1338115060, 1338115057, 1338115044, 1338115047, 1338115049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.172690629959106 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:31:32.224443
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/18/57/image_06022025_18_58_00_10761.jpg', 0), ('/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_49_9773.jpg', 0), ('/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_39_9756.jpg', 0), ('/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_29_9754.jpg', 0), ('/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_19_10763.jpg', 0), ('/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_09_9697.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/18/57/image_06022025_18_58_00_10761.jpg', '/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_49_9773.jpg', '/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_39_9756.jpg', '/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_29_9754.jpg', '/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_19_10763.jpg', '/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_09_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/18/57/image_06022025_18_58_00_10761.jpg
/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_49_9773.jpg
/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_39_9756.jpg
/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_29_9754.jpg
/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_19_10763.jpg
/home/nano/Desktop/images/06022025/18/57/image_06022025_18_57_09_9697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115072","1338115069","1338115077","1338115074","1338115076","1338115079"],"photo_ids_order":["1338115069","1338115072","1338115074","1338115076","1338115077","1338115079"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e5016a7473397db214767e100ed667b.jpg","text":"TemporaryFile(/tmp/multipartBody8613405575202531109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770354540,"filename":"image_06022025_18_57_49_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59bc85191a8003cd7e9ee5bd261ddd6b.jpg","text":"TemporaryFile(/tmp/multipartBody595207419651023583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770354540,"filename":"image_06022025_18_58_00_10761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/051cb716e9416fed61817b0a049d0eeb.jpg","text":"TemporaryFile(/tmp/multipartBody3029316679536978861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770354540,"filename":"image_06022025_18_57_19_10763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e0bf86b5ca2649eaea853dca5c51f03.jpg","text":"TemporaryFile(/tmp/multipartBody2640494040693391206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770354540,"filename":"image_06022025_18_57_39_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e68c5b339ec31216131abce0c2f95d96.jpg","text":"TemporaryFile(/tmp/multipartBody4947210062333470115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770354540,"filename":"image_06022025_18_57_29_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d711677495010e84498a2656e32ab75.jpg","text":"TemporaryFile(/tmp/multipartBody4516624851367237325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770354540,"filename":"image_06022025_18_57_09_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115074","file1":"1338115072","file0":"1338115069","file4":"1338115077","file5":"1338115079","file3":"1338115076"},"map_files_photo_id_array":[{"photo_id":"1338115079","filename":"file5"},{"photo_id":"1338115074","filename":"file2"},{"photo_id":"1338115077","filename":"file4"},{"photo_id":"1338115072","filename":"file1"},{"photo_id":"1338115069","filename":"file0"},{"photo_id":"1338115076","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115072":["hashtag1","hashtag2"]},{"1338115069":["hashtag1","hashtag2"]},{"1338115077":["hashtag1","hashtag2"]},{"1338115074":["hashtag1","hashtag2"]},{"1338115076":["hashtag1","hashtag2"]},{"1338115079":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115072, 1338115069, 1338115077, 1338115074, 1338115076, 1338115079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.079701900482178 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:32:32.387188
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_59_10655.jpg', 0), ('/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_49_9650.jpg', 0), ('/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_39_9650.jpg', 0), ('/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_30_10685.jpg', 0), ('/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_19_9630.jpg', 0), ('/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_09_9652.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_59_10655.jpg', '/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_49_9650.jpg', '/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_39_9650.jpg', '/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_30_10685.jpg', '/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_19_9630.jpg', '/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_09_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_59_10655.jpg
/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_49_9650.jpg
/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_39_9650.jpg
/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_30_10685.jpg
/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_19_9630.jpg
/home/nano/Desktop/images/06022025/18/08/image_06022025_18_08_09_9652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115095","1338115098","1338115101","1338115091","1338115103","1338115099"],"photo_ids_order":["1338115091","1338115095","1338115098","1338115099","1338115101","1338115103"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc7848a4b12984f7e973d52acb298692.jpg","text":"TemporaryFile(/tmp/multipartBody2857388394066803474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770414260,"filename":"image_06022025_18_08_49_9650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8b3f860ed0d22af4846f08491b0136c.jpg","text":"TemporaryFile(/tmp/multipartBody1759179842013126947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770414260,"filename":"image_06022025_18_08_39_9650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec252d30121c791dc2747f2e09bd838f.jpg","text":"TemporaryFile(/tmp/multipartBody2252508494814136242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770414260,"filename":"image_06022025_18_08_19_9630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fbb8d44dad68ba2502adedf6c5e86242.jpg","text":"TemporaryFile(/tmp/multipartBody4926448945614312868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770414260,"filename":"image_06022025_18_08_59_10655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4451e829394a133ad644ac74729365a7.jpg","text":"TemporaryFile(/tmp/multipartBody5979390816747194277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770414260,"filename":"image_06022025_18_08_09_9652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be436bdb913780bc13d30fe3c24145c2.jpg","text":"TemporaryFile(/tmp/multipartBody1958476462436543397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770414260,"filename":"image_06022025_18_08_30_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115098","file1":"1338115095","file0":"1338115091","file4":"1338115101","file5":"1338115103","file3":"1338115099"},"map_files_photo_id_array":[{"photo_id":"1338115103","filename":"file5"},{"photo_id":"1338115098","filename":"file2"},{"photo_id":"1338115101","filename":"file4"},{"photo_id":"1338115095","filename":"file1"},{"photo_id":"1338115091","filename":"file0"},{"photo_id":"1338115099","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115095":["hashtag1","hashtag2"]},{"1338115098":["hashtag1","hashtag2"]},{"1338115101":["hashtag1","hashtag2"]},{"1338115091":["hashtag1","hashtag2"]},{"1338115103":["hashtag1","hashtag2"]},{"1338115099":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115095, 1338115098, 1338115101, 1338115091, 1338115103, 1338115099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.982914924621582 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:33:32.576874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_59_10652.jpg', 0), ('/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_49_9644.jpg', 0), ('/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_39_9648.jpg', 0), ('/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_29_10678.jpg', 0), ('/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_19_9655.jpg', 0), ('/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_09_9651.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_59_10652.jpg', '/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_49_9644.jpg', '/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_39_9648.jpg', '/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_29_10678.jpg', '/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_19_9655.jpg', '/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_09_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_59_10652.jpg
/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_49_9644.jpg
/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_39_9648.jpg
/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_29_10678.jpg
/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_19_9655.jpg
/home/nano/Desktop/images/06022025/17/58/image_06022025_17_58_09_9651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115114","1338115117","1338115113","1338115122","1338115118","1338115109"],"photo_ids_order":["1338115109","1338115113","1338115114","1338115117","1338115118","1338115122"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f6ca6426be7f51f5cbe7b1218b6addc.jpg","text":"TemporaryFile(/tmp/multipartBody3981646632300952837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770474495,"filename":"image_06022025_17_58_39_9648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b9c00705ac1956c46e3bbe65f497bfe0.jpg","text":"TemporaryFile(/tmp/multipartBody2526243699662802237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770474495,"filename":"image_06022025_17_58_29_10678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03010678a06b13c4191339d19dde9c8c.jpg","text":"TemporaryFile(/tmp/multipartBody2584404948030939977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770474495,"filename":"image_06022025_17_58_49_9644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e7f30424135ccda8b6485c0581b34dd1.jpg","text":"TemporaryFile(/tmp/multipartBody4852388041318754550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770474495,"filename":"image_06022025_17_58_09_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6cf729c1a275d5d48255dbe8b8a67fa.jpg","text":"TemporaryFile(/tmp/multipartBody5016043852514565594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770474495,"filename":"image_06022025_17_58_19_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a425376c8c8cd23b860982e12cefa137.jpg","text":"TemporaryFile(/tmp/multipartBody7255439044712614159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770474495,"filename":"image_06022025_17_58_59_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115114","file1":"1338115113","file0":"1338115109","file4":"1338115118","file5":"1338115122","file3":"1338115117"},"map_files_photo_id_array":[{"photo_id":"1338115122","filename":"file5"},{"photo_id":"1338115114","filename":"file2"},{"photo_id":"1338115118","filename":"file4"},{"photo_id":"1338115113","filename":"file1"},{"photo_id":"1338115109","filename":"file0"},{"photo_id":"1338115117","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115114":["hashtag1","hashtag2"]},{"1338115117":["hashtag1","hashtag2"]},{"1338115113":["hashtag1","hashtag2"]},{"1338115122":["hashtag1","hashtag2"]},{"1338115118":["hashtag1","hashtag2"]},{"1338115109":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115114, 1338115117, 1338115113, 1338115122, 1338115118, 1338115109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.34022665023804 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:34:32.802197
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_59_9662.jpg', 0), ('/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_50_10653.jpg', 0), ('/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_39_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_29_9644.jpg', 0), ('/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_20_10661.jpg', 0), ('/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_09_9659.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_59_9662.jpg', '/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_50_10653.jpg', '/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_39_9667.jpg', '/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_29_9644.jpg', '/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_20_10661.jpg', '/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_09_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_59_9662.jpg
/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_50_10653.jpg
/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_39_9667.jpg
/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_29_9644.jpg
/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_20_10661.jpg
/home/nano/Desktop/images/06022025/17/39/image_06022025_17_39_09_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115138","1338115143","1338115140","1338115136","1338115130","1338115133"],"photo_ids_order":["1338115130","1338115133","1338115136","1338115138","1338115140","1338115143"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88579f970b543ff369dfd0a326ff26c3.jpg","text":"TemporaryFile(/tmp/multipartBody633232323630138863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770535951,"filename":"image_06022025_17_39_29_9644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2dba95607afd4065d7d3c6d76e7f3913.jpg","text":"TemporaryFile(/tmp/multipartBody5115172680498978317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770535951,"filename":"image_06022025_17_39_09_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15fe4d10ede29e8f734e6f75382afdd1.jpg","text":"TemporaryFile(/tmp/multipartBody1465433859746502109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770535951,"filename":"image_06022025_17_39_20_10661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1982015ff5afafa354d4fcbdf2e06c2f.jpg","text":"TemporaryFile(/tmp/multipartBody8193666444061798118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770535951,"filename":"image_06022025_17_39_39_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb739d640a52345d5ed43fe37d94ff98.jpg","text":"TemporaryFile(/tmp/multipartBody148537745985703526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770535951,"filename":"image_06022025_17_39_59_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/43d9c6e1eff4eda94565dff741088d8a.jpg","text":"TemporaryFile(/tmp/multipartBody7385812398502556708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770535951,"filename":"image_06022025_17_39_50_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115136","file1":"1338115133","file0":"1338115130","file4":"1338115140","file5":"1338115143","file3":"1338115138"},"map_files_photo_id_array":[{"photo_id":"1338115143","filename":"file5"},{"photo_id":"1338115136","filename":"file2"},{"photo_id":"1338115140","filename":"file4"},{"photo_id":"1338115133","filename":"file1"},{"photo_id":"1338115130","filename":"file0"},{"photo_id":"1338115138","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115138":["hashtag1","hashtag2"]},{"1338115143":["hashtag1","hashtag2"]},{"1338115140":["hashtag1","hashtag2"]},{"1338115136":["hashtag1","hashtag2"]},{"1338115130":["hashtag1","hashtag2"]},{"1338115133":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115138, 1338115143, 1338115140, 1338115136, 1338115130, 1338115133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.731454849243164 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:35:31.933804
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_59_10654.jpg', 0), ('/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_49_9650.jpg', 0), ('/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_39_9650.jpg', 0), ('/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_29_10645.jpg', 0), ('/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_19_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_09_9665.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_59_10654.jpg', '/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_49_9650.jpg', '/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_39_9650.jpg', '/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_29_10645.jpg', '/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_19_9667.jpg', '/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_09_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_59_10654.jpg
/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_49_9650.jpg
/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_39_9650.jpg
/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_29_10645.jpg
/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_19_9667.jpg
/home/nano/Desktop/images/06022025/17/28/image_06022025_17_28_09_9665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115171","1338115179","1338115173","1338115181","1338115175","1338115177"],"photo_ids_order":["1338115171","1338115173","1338115175","1338115177","1338115179","1338115181"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2fbf7963b200fb66246e4e7593143b16.jpg","text":"TemporaryFile(/tmp/multipartBody1688409297981708532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770593871,"filename":"image_06022025_17_28_59_10654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a09c41f12004e7ea685491d28ac83aab.jpg","text":"TemporaryFile(/tmp/multipartBody6466578710427967988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770593871,"filename":"image_06022025_17_28_19_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c5c086e6572a9b60b15558283bf2aaca.jpg","text":"TemporaryFile(/tmp/multipartBody211253631665290733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770593871,"filename":"image_06022025_17_28_49_9650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f7eb342ba420e6278f4b3a4169bfa72.jpg","text":"TemporaryFile(/tmp/multipartBody7896440520830102478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770593871,"filename":"image_06022025_17_28_09_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b15706970289ab36f59ddce33dd011a4.jpg","text":"TemporaryFile(/tmp/multipartBody2245362640425226222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770593871,"filename":"image_06022025_17_28_39_9650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3e1cabaebc3a927e818637f9ee7b9b3.jpg","text":"TemporaryFile(/tmp/multipartBody3411020053435878967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770593871,"filename":"image_06022025_17_28_29_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115175","file1":"1338115173","file0":"1338115171","file4":"1338115179","file5":"1338115181","file3":"1338115177"},"map_files_photo_id_array":[{"photo_id":"1338115181","filename":"file5"},{"photo_id":"1338115175","filename":"file2"},{"photo_id":"1338115179","filename":"file4"},{"photo_id":"1338115173","filename":"file1"},{"photo_id":"1338115171","filename":"file0"},{"photo_id":"1338115177","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115171":["hashtag1","hashtag2"]},{"1338115179":["hashtag1","hashtag2"]},{"1338115173":["hashtag1","hashtag2"]},{"1338115181":["hashtag1","hashtag2"]},{"1338115175":["hashtag1","hashtag2"]},{"1338115177":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115171, 1338115179, 1338115173, 1338115181, 1338115175, 1338115177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34674406051636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:36:32.073036
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_59_9649.jpg', 0), ('/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_49_10673.jpg', 0), ('/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_39_9638.jpg', 0), ('/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_29_9624.jpg', 0), ('/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_20_10669.jpg', 0), ('/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_09_9656.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_59_9649.jpg', '/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_49_10673.jpg', '/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_39_9638.jpg', '/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_29_9624.jpg', '/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_20_10669.jpg', '/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_09_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_59_9649.jpg
/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_49_10673.jpg
/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_39_9638.jpg
/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_29_9624.jpg
/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_20_10669.jpg
/home/nano/Desktop/images/06022025/17/03/image_06022025_17_03_09_9656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115212","1338115215","1338115196","1338115202","1338115205","1338115198"],"photo_ids_order":["1338115196","1338115198","1338115202","1338115205","1338115212","1338115215"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe46459f736f248a8d0d946f3ef0bb80.jpg","text":"TemporaryFile(/tmp/multipartBody3715532638481677862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770653811,"filename":"image_06022025_17_03_20_10669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc91dcc9d73f4252d677323917bdac05.jpg","text":"TemporaryFile(/tmp/multipartBody9104655629132220423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770653811,"filename":"image_06022025_17_03_09_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f47ff6bfa13764965b7182c59709ed4.jpg","text":"TemporaryFile(/tmp/multipartBody5982959714682971898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770653811,"filename":"image_06022025_17_03_59_9649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d73d7156a19ee7e74dc5bc67be21959f.jpg","text":"TemporaryFile(/tmp/multipartBody1715266507573469697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770653811,"filename":"image_06022025_17_03_39_9638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a2e03321c1928898387fe469767b02e.jpg","text":"TemporaryFile(/tmp/multipartBody9118402490518420486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770653811,"filename":"image_06022025_17_03_29_9624.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/835b2b2b1871fbcbc6ad9ac4645af379.jpg","text":"TemporaryFile(/tmp/multipartBody849736852478942308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770653811,"filename":"image_06022025_17_03_49_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115202","file1":"1338115198","file0":"1338115196","file4":"1338115212","file5":"1338115215","file3":"1338115205"},"map_files_photo_id_array":[{"photo_id":"1338115215","filename":"file5"},{"photo_id":"1338115202","filename":"file2"},{"photo_id":"1338115212","filename":"file4"},{"photo_id":"1338115198","filename":"file1"},{"photo_id":"1338115196","filename":"file0"},{"photo_id":"1338115205","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115212":["hashtag1","hashtag2"]},{"1338115215":["hashtag1","hashtag2"]},{"1338115196":["hashtag1","hashtag2"]},{"1338115202":["hashtag1","hashtag2"]},{"1338115205":["hashtag1","hashtag2"]},{"1338115198":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115212, 1338115215, 1338115196, 1338115202, 1338115205, 1338115198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40698957443237 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:37:32.237554
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_59_9661.jpg', 0), ('/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_50_10681.jpg', 0), ('/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_39_9674.jpg', 0), ('/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_29_9654.jpg', 0), ('/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_20_10655.jpg', 0), ('/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_09_9633.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_59_9661.jpg', '/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_50_10681.jpg', '/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_39_9674.jpg', '/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_29_9654.jpg', '/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_20_10655.jpg', '/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_09_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_59_9661.jpg
/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_50_10681.jpg
/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_39_9674.jpg
/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_29_9654.jpg
/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_20_10655.jpg
/home/nano/Desktop/images/06022025/17/02/image_06022025_17_02_09_9633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115231","1338115234","1338115237","1338115239","1338115229","1338115226"],"photo_ids_order":["1338115226","1338115229","1338115231","1338115234","1338115237","1338115239"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/186e0726f5ed9cf43fc028ff20937a70.jpg","text":"TemporaryFile(/tmp/multipartBody3198330651777739652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770713741,"filename":"image_06022025_17_02_39_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cfd908c5f5027ccac03c8be39764a45c.jpg","text":"TemporaryFile(/tmp/multipartBody216985978332210354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770713741,"filename":"image_06022025_17_02_29_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b757dd4c710b70d5d94c9a8e6e6b3cb3.jpg","text":"TemporaryFile(/tmp/multipartBody8670826499960356276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770713741,"filename":"image_06022025_17_02_20_10655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/132443c7449cc60533ee6391bb0b8bf7.jpg","text":"TemporaryFile(/tmp/multipartBody511172639510043788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770713741,"filename":"image_06022025_17_02_09_9633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4b45f4bfdcaf181a2abf157bba7cd7f.jpg","text":"TemporaryFile(/tmp/multipartBody3807364596567221311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770713741,"filename":"image_06022025_17_02_50_10681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/671f8f0000d347de994000cb1695b0d8.jpg","text":"TemporaryFile(/tmp/multipartBody4193626372684074742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770713741,"filename":"image_06022025_17_02_59_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115231","file1":"1338115229","file0":"1338115226","file4":"1338115237","file5":"1338115239","file3":"1338115234"},"map_files_photo_id_array":[{"photo_id":"1338115239","filename":"file5"},{"photo_id":"1338115231","filename":"file2"},{"photo_id":"1338115237","filename":"file4"},{"photo_id":"1338115229","filename":"file1"},{"photo_id":"1338115226","filename":"file0"},{"photo_id":"1338115234","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115231":["hashtag1","hashtag2"]},{"1338115234":["hashtag1","hashtag2"]},{"1338115237":["hashtag1","hashtag2"]},{"1338115239":["hashtag1","hashtag2"]},{"1338115229":["hashtag1","hashtag2"]},{"1338115226":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115231, 1338115234, 1338115237, 1338115239, 1338115229, 1338115226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.002633094787598 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:38:32.397478
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_59_9681.jpg', 0), ('/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_50_10681.jpg', 0), ('/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_39_9655.jpg', 0), ('/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_29_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_20_10682.jpg', 0), ('/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_09_9664.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_59_9681.jpg', '/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_50_10681.jpg', '/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_39_9655.jpg', '/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_29_9660.jpg', '/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_20_10682.jpg', '/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_09_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_59_9681.jpg
/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_50_10681.jpg
/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_39_9655.jpg
/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_29_9660.jpg
/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_20_10682.jpg
/home/nano/Desktop/images/06022025/17/01/image_06022025_17_01_09_9664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115272","1338115269","1338115247","1338115262","1338115250","1338115244"],"photo_ids_order":["1338115244","1338115247","1338115250","1338115262","1338115269","1338115272"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc1a99b86d59ee2793d569c613c50ab8.jpg","text":"TemporaryFile(/tmp/multipartBody2317928429425039992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770774274,"filename":"image_06022025_17_01_09_9664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a54d5567936012a01301c6560fffffc4.jpg","text":"TemporaryFile(/tmp/multipartBody2849483727762511895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770774274,"filename":"image_06022025_17_01_20_10682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28bc10f3c3bf1b279bd8e49b90bb5738.jpg","text":"TemporaryFile(/tmp/multipartBody1310037457945333911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770774274,"filename":"image_06022025_17_01_50_10681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7853dc22fc9a579e86cf02372bd0118.jpg","text":"TemporaryFile(/tmp/multipartBody2858520743512973060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770774274,"filename":"image_06022025_17_01_29_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e6db0a9bd03d0bc1e15dca2fcae145b.jpg","text":"TemporaryFile(/tmp/multipartBody3584300557629955783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770774274,"filename":"image_06022025_17_01_39_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e84112a22dd0c766f1e405e112c59f8c.jpg","text":"TemporaryFile(/tmp/multipartBody4363578531981302793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770774274,"filename":"image_06022025_17_01_59_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115250","file1":"1338115247","file0":"1338115244","file4":"1338115269","file5":"1338115272","file3":"1338115262"},"map_files_photo_id_array":[{"photo_id":"1338115272","filename":"file5"},{"photo_id":"1338115250","filename":"file2"},{"photo_id":"1338115269","filename":"file4"},{"photo_id":"1338115247","filename":"file1"},{"photo_id":"1338115244","filename":"file0"},{"photo_id":"1338115262","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115272":["hashtag1","hashtag2"]},{"1338115269":["hashtag1","hashtag2"]},{"1338115247":["hashtag1","hashtag2"]},{"1338115262":["hashtag1","hashtag2"]},{"1338115250":["hashtag1","hashtag2"]},{"1338115244":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115272, 1338115269, 1338115247, 1338115262, 1338115250, 1338115244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87795352935791 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:39:32.567469
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_59_9651.jpg', 0), ('/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_50_10652.jpg', 0), ('/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_39_9653.jpg', 0), ('/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_29_9665.jpg', 0), ('/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_20_10660.jpg', 0), ('/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_09_9642.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_59_9651.jpg', '/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_50_10652.jpg', '/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_39_9653.jpg', '/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_29_9665.jpg', '/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_20_10660.jpg', '/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_09_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_59_9651.jpg
/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_50_10652.jpg
/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_39_9653.jpg
/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_29_9665.jpg
/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_20_10660.jpg
/home/nano/Desktop/images/06022025/17/00/image_06022025_17_00_09_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115281","1338115278","1338115283","1338115292","1338115286","1338115289"],"photo_ids_order":["1338115278","1338115281","1338115283","1338115286","1338115289","1338115292"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ddeed94faa1c48c76f5754b63bd5897.jpg","text":"TemporaryFile(/tmp/multipartBody1987229563319104724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770834695,"filename":"image_06022025_17_00_50_10652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee4a5a53f3341883079cb4547d42998a.jpg","text":"TemporaryFile(/tmp/multipartBody8897860742808473824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770834695,"filename":"image_06022025_17_00_59_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8350be87731916d68fcaa548b00f7624.jpg","text":"TemporaryFile(/tmp/multipartBody7826070423028102438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770834695,"filename":"image_06022025_17_00_39_9653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bfe3751a2f930933364a85a094750dad.jpg","text":"TemporaryFile(/tmp/multipartBody861757640710124955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770834695,"filename":"image_06022025_17_00_09_9642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a2b13f48ac5283da27847657dee6830.jpg","text":"TemporaryFile(/tmp/multipartBody951865602502478842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770834695,"filename":"image_06022025_17_00_29_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/02ce79977a0f39a0f202f2e9755ced0d.jpg","text":"TemporaryFile(/tmp/multipartBody1905189109104974988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770834695,"filename":"image_06022025_17_00_20_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115283","file1":"1338115281","file0":"1338115278","file4":"1338115289","file5":"1338115292","file3":"1338115286"},"map_files_photo_id_array":[{"photo_id":"1338115292","filename":"file5"},{"photo_id":"1338115283","filename":"file2"},{"photo_id":"1338115289","filename":"file4"},{"photo_id":"1338115281","filename":"file1"},{"photo_id":"1338115278","filename":"file0"},{"photo_id":"1338115286","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115281":["hashtag1","hashtag2"]},{"1338115278":["hashtag1","hashtag2"]},{"1338115283":["hashtag1","hashtag2"]},{"1338115292":["hashtag1","hashtag2"]},{"1338115286":["hashtag1","hashtag2"]},{"1338115289":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115281, 1338115278, 1338115283, 1338115292, 1338115286, 1338115289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.118886470794678 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:40:32.711504
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_59_10651.jpg', 0), ('/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_49_9659.jpg', 0), ('/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_39_9652.jpg', 0), ('/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_29_10635.jpg', 0), ('/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_19_9646.jpg', 0), ('/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_09_9633.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_59_10651.jpg', '/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_49_9659.jpg', '/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_39_9652.jpg', '/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_29_10635.jpg', '/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_19_9646.jpg', '/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_09_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_59_10651.jpg
/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_49_9659.jpg
/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_39_9652.jpg
/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_29_10635.jpg
/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_19_9646.jpg
/home/nano/Desktop/images/06022025/16/59/image_06022025_16_59_09_9633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115309","1338115305","1338115298","1338115295","1338115301","1338115307"],"photo_ids_order":["1338115295","1338115298","1338115301","1338115305","1338115307","1338115309"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fde4e0bb489fa5cdcc0f0f3d88517e1d.jpg","text":"TemporaryFile(/tmp/multipartBody2033754493166429360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770894501,"filename":"image_06022025_16_59_09_9633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21c5ebd00551723e66954a70c4e99eb1.jpg","text":"TemporaryFile(/tmp/multipartBody8772192981924609554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770894501,"filename":"image_06022025_16_59_29_10635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af17d9557eda9e5e37c7dde17f56fe85.jpg","text":"TemporaryFile(/tmp/multipartBody6658842762646296936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770894501,"filename":"image_06022025_16_59_49_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2142c29b56fb1d639c0accb99dfe7ae6.jpg","text":"TemporaryFile(/tmp/multipartBody3002205755032281820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770894501,"filename":"image_06022025_16_59_59_10651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15d147b549bf25f02c264ed7c8fb0365.jpg","text":"TemporaryFile(/tmp/multipartBody2342642122367802729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770894501,"filename":"image_06022025_16_59_39_9652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/add6c7cc61c66f7d2d2973b596a0044b.jpg","text":"TemporaryFile(/tmp/multipartBody7539907313107405654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770894501,"filename":"image_06022025_16_59_19_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115301","file1":"1338115298","file0":"1338115295","file4":"1338115307","file5":"1338115309","file3":"1338115305"},"map_files_photo_id_array":[{"photo_id":"1338115309","filename":"file5"},{"photo_id":"1338115301","filename":"file2"},{"photo_id":"1338115307","filename":"file4"},{"photo_id":"1338115298","filename":"file1"},{"photo_id":"1338115295","filename":"file0"},{"photo_id":"1338115305","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115309":["hashtag1","hashtag2"]},{"1338115305":["hashtag1","hashtag2"]},{"1338115298":["hashtag1","hashtag2"]},{"1338115295":["hashtag1","hashtag2"]},{"1338115301":["hashtag1","hashtag2"]},{"1338115307":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115309, 1338115305, 1338115298, 1338115295, 1338115301, 1338115307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.64488983154297 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:41:31.869000
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_59_10669.jpg', 0), ('/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_49_9638.jpg', 0), ('/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_39_9666.jpg', 0), ('/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_29_10646.jpg', 0), ('/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_19_9648.jpg', 0), ('/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_09_9658.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_59_10669.jpg', '/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_49_9638.jpg', '/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_39_9666.jpg', '/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_29_10646.jpg', '/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_19_9648.jpg', '/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_09_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_59_10669.jpg
/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_49_9638.jpg
/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_39_9666.jpg
/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_29_10646.jpg
/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_19_9648.jpg
/home/nano/Desktop/images/06022025/16/58/image_06022025_16_58_09_9658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115327","1338115321","1338115315","1338115318","1338115323","1338115326"],"photo_ids_order":["1338115315","1338115318","1338115321","1338115323","1338115326","1338115327"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e062563223221480b6e3e1182c4fd2cb.jpg","text":"TemporaryFile(/tmp/multipartBody3531848489984951987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770953907,"filename":"image_06022025_16_58_09_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2504df24b53da042040cd47a23229cb.jpg","text":"TemporaryFile(/tmp/multipartBody5790200093110642221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770953907,"filename":"image_06022025_16_58_39_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/214097653abed8758d826e257cde9cfb.jpg","text":"TemporaryFile(/tmp/multipartBody4083161771689533104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770953907,"filename":"image_06022025_16_58_59_10669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/493874db22627c901e79290d2ec2ba2c.jpg","text":"TemporaryFile(/tmp/multipartBody2064272660319229000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770953907,"filename":"image_06022025_16_58_49_9638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88a96d2fd686cd7d9a28c0f365effdde.jpg","text":"TemporaryFile(/tmp/multipartBody3548576400248576432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770953907,"filename":"image_06022025_16_58_29_10646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6635862132a2e6bdf9572bc96f340ea0.jpg","text":"TemporaryFile(/tmp/multipartBody4592598411584814879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739770953907,"filename":"image_06022025_16_58_19_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115321","file1":"1338115318","file0":"1338115315","file4":"1338115326","file5":"1338115327","file3":"1338115323"},"map_files_photo_id_array":[{"photo_id":"1338115327","filename":"file5"},{"photo_id":"1338115321","filename":"file2"},{"photo_id":"1338115326","filename":"file4"},{"photo_id":"1338115318","filename":"file1"},{"photo_id":"1338115315","filename":"file0"},{"photo_id":"1338115323","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115327":["hashtag1","hashtag2"]},{"1338115321":["hashtag1","hashtag2"]},{"1338115315":["hashtag1","hashtag2"]},{"1338115318":["hashtag1","hashtag2"]},{"1338115323":["hashtag1","hashtag2"]},{"1338115326":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115327, 1338115321, 1338115315, 1338115318, 1338115323, 1338115326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.374353647232056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:42:31.998313
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_59_10646.jpg', 0), ('/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_49_9651.jpg', 0), ('/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_39_9662.jpg', 0), ('/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_30_10657.jpg', 0), ('/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_19_9623.jpg', 0), ('/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_09_9651.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_59_10646.jpg', '/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_49_9651.jpg', '/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_39_9662.jpg', '/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_30_10657.jpg', '/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_19_9623.jpg', '/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_09_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_59_10646.jpg
/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_49_9651.jpg
/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_39_9662.jpg
/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_30_10657.jpg
/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_19_9623.jpg
/home/nano/Desktop/images/06022025/16/57/image_06022025_16_57_09_9651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115339","1338115333","1338115336","1338115344","1338115346","1338115340"],"photo_ids_order":["1338115333","1338115336","1338115339","1338115340","1338115344","1338115346"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e607bc1c3e7ff464652a57bf0e196e10.jpg","text":"TemporaryFile(/tmp/multipartBody2377411996504576274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771013961,"filename":"image_06022025_16_57_39_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/194398d30fb85fc1f00d8470db8104ee.jpg","text":"TemporaryFile(/tmp/multipartBody5530340512133715792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771013961,"filename":"image_06022025_16_57_59_10646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ecb8189321d60e73ec42aca1c20612a.jpg","text":"TemporaryFile(/tmp/multipartBody1460892764686325212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771013961,"filename":"image_06022025_16_57_49_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8cb1f0854e023c97297546dc082437b2.jpg","text":"TemporaryFile(/tmp/multipartBody3683070161719679030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771013961,"filename":"image_06022025_16_57_19_9623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6fa7d4fc9afbb360c0cacf1e5151ed87.jpg","text":"TemporaryFile(/tmp/multipartBody6842958165954207514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771013961,"filename":"image_06022025_16_57_09_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c81b9c18c61ce0ee00a43b42a7837c7.jpg","text":"TemporaryFile(/tmp/multipartBody5380366698238893286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771013961,"filename":"image_06022025_16_57_30_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115339","file1":"1338115336","file0":"1338115333","file4":"1338115344","file5":"1338115346","file3":"1338115340"},"map_files_photo_id_array":[{"photo_id":"1338115346","filename":"file5"},{"photo_id":"1338115339","filename":"file2"},{"photo_id":"1338115344","filename":"file4"},{"photo_id":"1338115336","filename":"file1"},{"photo_id":"1338115333","filename":"file0"},{"photo_id":"1338115340","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115339":["hashtag1","hashtag2"]},{"1338115333":["hashtag1","hashtag2"]},{"1338115336":["hashtag1","hashtag2"]},{"1338115344":["hashtag1","hashtag2"]},{"1338115346":["hashtag1","hashtag2"]},{"1338115340":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115339, 1338115333, 1338115336, 1338115344, 1338115346, 1338115340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.145490407943726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:43:32.181293
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/56/image_06022025_16_57_00_10667.jpg', 0), ('/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_49_9640.jpg', 0), ('/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_39_10657.jpg', 0), ('/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_29_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_19_9638.jpg', 0), ('/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_09_10663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/56/image_06022025_16_57_00_10667.jpg', '/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_49_9640.jpg', '/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_39_10657.jpg', '/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_29_9667.jpg', '/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_19_9638.jpg', '/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_09_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/56/image_06022025_16_57_00_10667.jpg
/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_49_9640.jpg
/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_39_10657.jpg
/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_29_9667.jpg
/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_19_9638.jpg
/home/nano/Desktop/images/06022025/16/56/image_06022025_16_56_09_10663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115360","1338115362","1338115364","1338115352","1338115355","1338115358"],"photo_ids_order":["1338115352","1338115355","1338115358","1338115360","1338115362","1338115364"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a1da0242e9ebed29a71581265cd1f9b.jpg","text":"TemporaryFile(/tmp/multipartBody3313011786884421062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771074070,"filename":"image_06022025_16_56_29_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f6a6e58ace480dfc3ac2ceb5b94747d.jpg","text":"TemporaryFile(/tmp/multipartBody3070310775375266830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771074070,"filename":"image_06022025_16_56_19_9638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/753f68abda4d05d439f300ed4514e14c.jpg","text":"TemporaryFile(/tmp/multipartBody5251440362148382461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771074070,"filename":"image_06022025_16_56_09_10663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/66a28566b212eb9d7c9e8f26b5eff13d.jpg","text":"TemporaryFile(/tmp/multipartBody5692226483728803254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771074070,"filename":"image_06022025_16_57_00_10667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/01f1b26c360855f0a7e2a0e229ca29e9.jpg","text":"TemporaryFile(/tmp/multipartBody7701853894082168271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771074070,"filename":"image_06022025_16_56_49_9640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf25451e4aa03c6081ff5fc89f5b98be.jpg","text":"TemporaryFile(/tmp/multipartBody1107814930210704800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771074070,"filename":"image_06022025_16_56_39_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115358","file1":"1338115355","file0":"1338115352","file4":"1338115362","file5":"1338115364","file3":"1338115360"},"map_files_photo_id_array":[{"photo_id":"1338115364","filename":"file5"},{"photo_id":"1338115358","filename":"file2"},{"photo_id":"1338115362","filename":"file4"},{"photo_id":"1338115355","filename":"file1"},{"photo_id":"1338115352","filename":"file0"},{"photo_id":"1338115360","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115360":["hashtag1","hashtag2"]},{"1338115362":["hashtag1","hashtag2"]},{"1338115364":["hashtag1","hashtag2"]},{"1338115352":["hashtag1","hashtag2"]},{"1338115355":["hashtag1","hashtag2"]},{"1338115358":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115360, 1338115362, 1338115364, 1338115352, 1338115355, 1338115358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90444874763489 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:44:32.315768
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_59_9668.jpg', 0), ('/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_49_9656.jpg', 0), ('/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_39_10614.jpg', 0), ('/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_29_9648.jpg', 0), ('/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_19_9656.jpg', 0), ('/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_09_10671.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_59_9668.jpg', '/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_49_9656.jpg', '/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_39_10614.jpg', '/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_29_9648.jpg', '/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_19_9656.jpg', '/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_09_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_59_9668.jpg
/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_49_9656.jpg
/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_39_10614.jpg
/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_29_9648.jpg
/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_19_9656.jpg
/home/nano/Desktop/images/06022025/16/55/image_06022025_16_55_09_10671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115383","1338115379","1338115370","1338115373","1338115376","1338115381"],"photo_ids_order":["1338115370","1338115373","1338115376","1338115379","1338115381","1338115383"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/73b1cae81cde49b2f11ee2760396432c.jpg","text":"TemporaryFile(/tmp/multipartBody5217954225100582735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771134218,"filename":"image_06022025_16_55_09_10671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/164a19d2858879682a4579e99c5dc59f.jpg","text":"TemporaryFile(/tmp/multipartBody3580544020375558260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771134218,"filename":"image_06022025_16_55_29_9648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1a6b1e29befd6a487caf468b6edf9864.jpg","text":"TemporaryFile(/tmp/multipartBody1682854756895614335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771134218,"filename":"image_06022025_16_55_59_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c81bf3b708fa2c71fe4a5c46eee6fa93.jpg","text":"TemporaryFile(/tmp/multipartBody258650942848375170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771134218,"filename":"image_06022025_16_55_49_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c95c4f4a5a407f846b6b8a972b7e6ab.jpg","text":"TemporaryFile(/tmp/multipartBody7035397732774763639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771134218,"filename":"image_06022025_16_55_39_10614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ffd0b0506cfdb22b6eaed61fae90b769.jpg","text":"TemporaryFile(/tmp/multipartBody6290978399795882172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771134218,"filename":"image_06022025_16_55_19_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115376","file1":"1338115373","file0":"1338115370","file4":"1338115381","file5":"1338115383","file3":"1338115379"},"map_files_photo_id_array":[{"photo_id":"1338115383","filename":"file5"},{"photo_id":"1338115376","filename":"file2"},{"photo_id":"1338115381","filename":"file4"},{"photo_id":"1338115373","filename":"file1"},{"photo_id":"1338115370","filename":"file0"},{"photo_id":"1338115379","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115383":["hashtag1","hashtag2"]},{"1338115379":["hashtag1","hashtag2"]},{"1338115370":["hashtag1","hashtag2"]},{"1338115373":["hashtag1","hashtag2"]},{"1338115376":["hashtag1","hashtag2"]},{"1338115381":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115383, 1338115379, 1338115370, 1338115373, 1338115376, 1338115381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.52907943725586 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:45:32.468181
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_59_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_49_9659.jpg', 0), ('/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_39_10683.jpg', 0), ('/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_29_9707.jpg', 0), ('/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_19_9763.jpg', 0), ('/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_09_9803.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_59_9660.jpg', '/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_49_9659.jpg', '/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_39_10683.jpg', '/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_29_9707.jpg', '/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_19_9763.jpg', '/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_09_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_59_9660.jpg
/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_49_9659.jpg
/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_39_10683.jpg
/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_29_9707.jpg
/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_19_9763.jpg
/home/nano/Desktop/images/06022025/16/54/image_06022025_16_54_09_9803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115399","1338115417","1338115392","1338115389","1338115419","1338115409"],"photo_ids_order":["1338115389","1338115392","1338115399","1338115409","1338115417","1338115419"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c5a4c9c0bcbc30e68e2894c022f31e69.jpg","text":"TemporaryFile(/tmp/multipartBody3728942653777228415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771194054,"filename":"image_06022025_16_54_39_10683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c00f0cf33b5b6403340d0eee98b53602.jpg","text":"TemporaryFile(/tmp/multipartBody2154474652560493767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771194054,"filename":"image_06022025_16_54_19_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/95023ab21230f3fa3659f032cc1481c2.jpg","text":"TemporaryFile(/tmp/multipartBody6127632824250885586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771194054,"filename":"image_06022025_16_54_49_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db7c7c3cec288654734091d5dcafca04.jpg","text":"TemporaryFile(/tmp/multipartBody2968569319557350148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771194054,"filename":"image_06022025_16_54_59_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6e0f44fc730d1613817c2429a889b2d.jpg","text":"TemporaryFile(/tmp/multipartBody2957357418318671551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771194054,"filename":"image_06022025_16_54_09_9803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa1526ce6f8ba1e945ea871123aa21dc.jpg","text":"TemporaryFile(/tmp/multipartBody264925210866771889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771194054,"filename":"image_06022025_16_54_29_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115399","file1":"1338115392","file0":"1338115389","file4":"1338115417","file5":"1338115419","file3":"1338115409"},"map_files_photo_id_array":[{"photo_id":"1338115419","filename":"file5"},{"photo_id":"1338115399","filename":"file2"},{"photo_id":"1338115417","filename":"file4"},{"photo_id":"1338115392","filename":"file1"},{"photo_id":"1338115389","filename":"file0"},{"photo_id":"1338115409","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115399":["hashtag1","hashtag2"]},{"1338115417":["hashtag1","hashtag2"]},{"1338115392":["hashtag1","hashtag2"]},{"1338115389":["hashtag1","hashtag2"]},{"1338115419":["hashtag1","hashtag2"]},{"1338115409":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115399, 1338115417, 1338115392, 1338115389, 1338115419, 1338115409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.776899099349976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:46:32.604920
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_59_10827.jpg', 0), ('/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_49_9820.jpg', 0), ('/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_39_9803.jpg', 0), ('/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_29_9783.jpg', 0), ('/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_19_9787.jpg', 0), ('/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_09_9823.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_59_10827.jpg', '/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_49_9820.jpg', '/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_39_9803.jpg', '/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_29_9783.jpg', '/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_19_9787.jpg', '/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_09_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_59_10827.jpg
/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_49_9820.jpg
/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_39_9803.jpg
/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_29_9783.jpg
/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_19_9787.jpg
/home/nano/Desktop/images/06022025/16/53/image_06022025_16_53_09_9823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115438","1338115426","1338115423","1338115433","1338115436","1338115430"],"photo_ids_order":["1338115423","1338115426","1338115430","1338115433","1338115436","1338115438"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff3b06eef0457c39b7bcd661c9279aad.jpg","text":"TemporaryFile(/tmp/multipartBody8910806044221665768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771256949,"filename":"image_06022025_16_53_09_9823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19c6f95e83bc3123b21cf891778a60bb.jpg","text":"TemporaryFile(/tmp/multipartBody3453422018663207275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771256949,"filename":"image_06022025_16_53_49_9820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1fdc8a1f0715ddeb0562441afb29ee2.jpg","text":"TemporaryFile(/tmp/multipartBody4367929092176498275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771256949,"filename":"image_06022025_16_53_59_10827.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d9a12d6a6492abf058beb708c42a1284.jpg","text":"TemporaryFile(/tmp/multipartBody7471942979743059338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771256949,"filename":"image_06022025_16_53_29_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5671247f70b9fa34ba0fbef22aa7ae39.jpg","text":"TemporaryFile(/tmp/multipartBody105110371049062283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771256949,"filename":"image_06022025_16_53_19_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da27336d158d6a79f8b35f4af73869af.jpg","text":"TemporaryFile(/tmp/multipartBody550006832378588080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771256949,"filename":"image_06022025_16_53_39_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115430","file1":"1338115426","file0":"1338115423","file4":"1338115436","file5":"1338115438","file3":"1338115433"},"map_files_photo_id_array":[{"photo_id":"1338115438","filename":"file5"},{"photo_id":"1338115430","filename":"file2"},{"photo_id":"1338115436","filename":"file4"},{"photo_id":"1338115426","filename":"file1"},{"photo_id":"1338115423","filename":"file0"},{"photo_id":"1338115433","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115438":["hashtag1","hashtag2"]},{"1338115426":["hashtag1","hashtag2"]},{"1338115423":["hashtag1","hashtag2"]},{"1338115433":["hashtag1","hashtag2"]},{"1338115436":["hashtag1","hashtag2"]},{"1338115430":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115438, 1338115426, 1338115423, 1338115433, 1338115436, 1338115430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46255612373352 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:47:32.729680
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/52/image_06022025_16_53_00_10761.jpg', 0), ('/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_49_9748.jpg', 0), ('/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_39_9764.jpg', 0), ('/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_29_9819.jpg', 0), ('/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_20_10814.jpg', 0), ('/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_09_9802.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/52/image_06022025_16_53_00_10761.jpg', '/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_49_9748.jpg', '/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_39_9764.jpg', '/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_29_9819.jpg', '/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_20_10814.jpg', '/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_09_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/52/image_06022025_16_53_00_10761.jpg
/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_49_9748.jpg
/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_39_9764.jpg
/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_29_9819.jpg
/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_20_10814.jpg
/home/nano/Desktop/images/06022025/16/52/image_06022025_16_52_09_9802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115462","1338115456","1338115450","1338115453","1338115447","1338115460"],"photo_ids_order":["1338115447","1338115450","1338115453","1338115456","1338115460","1338115462"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/329ddedee7e8ce7fb33f8dfa2e9cf1bc.jpg","text":"TemporaryFile(/tmp/multipartBody3878775683790798536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771315184,"filename":"image_06022025_16_52_09_9802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6bd2bb6771da718c62aed102cfa6e3dd.jpg","text":"TemporaryFile(/tmp/multipartBody462744149034134563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771315184,"filename":"image_06022025_16_52_29_9819.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ee82a615e5ca013c6c0cdbe8d595913.jpg","text":"TemporaryFile(/tmp/multipartBody4810152368012166232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771315184,"filename":"image_06022025_16_52_49_9748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/93f8ddb78aff8d85c8ae7d6e934da849.jpg","text":"TemporaryFile(/tmp/multipartBody4587883601884358675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771315184,"filename":"image_06022025_16_52_39_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/588a6c7da93749934936a040f46c5868.jpg","text":"TemporaryFile(/tmp/multipartBody8060921133508283685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771315184,"filename":"image_06022025_16_53_00_10761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6b834e636359c55740900e7b17cdd0f2.jpg","text":"TemporaryFile(/tmp/multipartBody7567366549688113975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771315184,"filename":"image_06022025_16_52_20_10814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115453","file1":"1338115450","file0":"1338115447","file4":"1338115460","file5":"1338115462","file3":"1338115456"},"map_files_photo_id_array":[{"photo_id":"1338115462","filename":"file5"},{"photo_id":"1338115453","filename":"file2"},{"photo_id":"1338115460","filename":"file4"},{"photo_id":"1338115450","filename":"file1"},{"photo_id":"1338115447","filename":"file0"},{"photo_id":"1338115456","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115462":["hashtag1","hashtag2"]},{"1338115456":["hashtag1","hashtag2"]},{"1338115450":["hashtag1","hashtag2"]},{"1338115453":["hashtag1","hashtag2"]},{"1338115447":["hashtag1","hashtag2"]},{"1338115460":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115462, 1338115456, 1338115450, 1338115453, 1338115447, 1338115460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01050043106079 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:48:31.888910
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_59_9827.jpg', 0), ('/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_49_9808.jpg', 0), ('/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_39_9801.jpg', 0), ('/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_29_9845.jpg', 0), ('/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_20_10827.jpg', 0), ('/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_09_9824.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_59_9827.jpg', '/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_49_9808.jpg', '/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_39_9801.jpg', '/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_29_9845.jpg', '/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_20_10827.jpg', '/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_09_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_59_9827.jpg
/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_49_9808.jpg
/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_39_9801.jpg
/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_29_9845.jpg
/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_20_10827.jpg
/home/nano/Desktop/images/06022025/16/51/image_06022025_16_51_09_9824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115483","1338115477","1338115470","1338115482","1338115475","1338115480"],"photo_ids_order":["1338115470","1338115475","1338115477","1338115480","1338115482","1338115483"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a5c0547dfd448ed32308c4db7d36628.jpg","text":"TemporaryFile(/tmp/multipartBody471007491173182189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771374561,"filename":"image_06022025_16_51_09_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7318e19bc1142a1b58024076a286633e.jpg","text":"TemporaryFile(/tmp/multipartBody2946393918169604090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771374561,"filename":"image_06022025_16_51_39_9801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/29bf7429b15b842d22600b9b6110bcda.jpg","text":"TemporaryFile(/tmp/multipartBody6438046823992899584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771374561,"filename":"image_06022025_16_51_59_9827.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/698bdc1b21e3abced465dcbf96dab624.jpg","text":"TemporaryFile(/tmp/multipartBody4646682016174560170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771374561,"filename":"image_06022025_16_51_20_10827.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98139666967cb7b6d057b681f6e868c0.jpg","text":"TemporaryFile(/tmp/multipartBody4264737833978897567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771374561,"filename":"image_06022025_16_51_49_9808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/831144e63c52377e45256119db235060.jpg","text":"TemporaryFile(/tmp/multipartBody3953489161092302150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771374561,"filename":"image_06022025_16_51_29_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115477","file1":"1338115475","file0":"1338115470","file4":"1338115482","file5":"1338115483","file3":"1338115480"},"map_files_photo_id_array":[{"photo_id":"1338115483","filename":"file5"},{"photo_id":"1338115477","filename":"file2"},{"photo_id":"1338115482","filename":"file4"},{"photo_id":"1338115475","filename":"file1"},{"photo_id":"1338115470","filename":"file0"},{"photo_id":"1338115480","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115483":["hashtag1","hashtag2"]},{"1338115477":["hashtag1","hashtag2"]},{"1338115470":["hashtag1","hashtag2"]},{"1338115482":["hashtag1","hashtag2"]},{"1338115475":["hashtag1","hashtag2"]},{"1338115480":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115483, 1338115477, 1338115470, 1338115482, 1338115475, 1338115480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82525181770325 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:49:32.039135
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_59_9817.jpg', 0), ('/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_49_9796.jpg', 0), ('/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_39_9802.jpg', 0), ('/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_30_10849.jpg', 0), ('/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_19_9831.jpg', 0), ('/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_09_9831.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_59_9817.jpg', '/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_49_9796.jpg', '/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_39_9802.jpg', '/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_30_10849.jpg', '/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_19_9831.jpg', '/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_09_9831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_59_9817.jpg
/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_49_9796.jpg
/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_39_9802.jpg
/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_30_10849.jpg
/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_19_9831.jpg
/home/nano/Desktop/images/06022025/16/50/image_06022025_16_50_09_9831.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115501","1338115488","1338115496","1338115499","1338115490","1338115493"],"photo_ids_order":["1338115488","1338115490","1338115493","1338115496","1338115499","1338115501"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce357b2e32fb4254c6bc16fa2a2c9ac6.jpg","text":"TemporaryFile(/tmp/multipartBody8899822551950080805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771434308,"filename":"image_06022025_16_50_09_9831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aac10489eac8e486033069476a698bc2.jpg","text":"TemporaryFile(/tmp/multipartBody1458421199823282705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771434308,"filename":"image_06022025_16_50_59_9817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca037b52967551c1a7415824247562af.jpg","text":"TemporaryFile(/tmp/multipartBody7227177768955753022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771434308,"filename":"image_06022025_16_50_30_10849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57944e535e060d08698e224682f62ec9.jpg","text":"TemporaryFile(/tmp/multipartBody1773615677370742082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771434308,"filename":"image_06022025_16_50_19_9831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e977cf1e1479e9f7198a6476209c171b.jpg","text":"TemporaryFile(/tmp/multipartBody8273783801595841440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771434308,"filename":"image_06022025_16_50_49_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2baedbe4fc653088b27fee91255efbf8.jpg","text":"TemporaryFile(/tmp/multipartBody8492823504230479954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771434308,"filename":"image_06022025_16_50_39_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115493","file1":"1338115490","file0":"1338115488","file4":"1338115499","file5":"1338115501","file3":"1338115496"},"map_files_photo_id_array":[{"photo_id":"1338115501","filename":"file5"},{"photo_id":"1338115493","filename":"file2"},{"photo_id":"1338115499","filename":"file4"},{"photo_id":"1338115490","filename":"file1"},{"photo_id":"1338115488","filename":"file0"},{"photo_id":"1338115496","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115501":["hashtag1","hashtag2"]},{"1338115488":["hashtag1","hashtag2"]},{"1338115496":["hashtag1","hashtag2"]},{"1338115499":["hashtag1","hashtag2"]},{"1338115490":["hashtag1","hashtag2"]},{"1338115493":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115501, 1338115488, 1338115496, 1338115499, 1338115490, 1338115493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.563236713409424 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:50:32.208366
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_59_9841.jpg', 0), ('/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_49_9646.jpg', 0), ('/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_40_10667.jpg', 0), ('/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_29_9655.jpg', 0), ('/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_19_9636.jpg', 0), ('/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_10_10669.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_59_9841.jpg', '/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_49_9646.jpg', '/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_40_10667.jpg', '/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_29_9655.jpg', '/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_19_9636.jpg', '/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_10_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_59_9841.jpg
/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_49_9646.jpg
/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_40_10667.jpg
/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_29_9655.jpg
/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_19_9636.jpg
/home/nano/Desktop/images/06022025/16/49/image_06022025_16_49_10_10669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115519","1338115510","1338115513","1338115507","1338115516","1338115521"],"photo_ids_order":["1338115507","1338115510","1338115513","1338115516","1338115519","1338115521"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a391c987b45c75205e56474ae2d2851b.jpg","text":"TemporaryFile(/tmp/multipartBody1039566451835471908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771494394,"filename":"image_06022025_16_49_19_9636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f85132c50c9ee7f7abce3899d45d8d1.jpg","text":"TemporaryFile(/tmp/multipartBody3880591548009952630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771494394,"filename":"image_06022025_16_49_49_9646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2892f88338ec31a4c09258451e1c007.jpg","text":"TemporaryFile(/tmp/multipartBody3371540115225812078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771494394,"filename":"image_06022025_16_49_40_10667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c01491f7add40e592586234cf4a645f8.jpg","text":"TemporaryFile(/tmp/multipartBody6567253992741704902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771494394,"filename":"image_06022025_16_49_59_9841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a35ef0cd8aad52398daf7547ae08aaff.jpg","text":"TemporaryFile(/tmp/multipartBody2204485557775987533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771494394,"filename":"image_06022025_16_49_29_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/04dc2a8bdacc20c3589edb2fbef688e6.jpg","text":"TemporaryFile(/tmp/multipartBody465956215105898463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771494394,"filename":"image_06022025_16_49_10_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115513","file1":"1338115510","file0":"1338115507","file4":"1338115519","file5":"1338115521","file3":"1338115516"},"map_files_photo_id_array":[{"photo_id":"1338115521","filename":"file5"},{"photo_id":"1338115513","filename":"file2"},{"photo_id":"1338115519","filename":"file4"},{"photo_id":"1338115510","filename":"file1"},{"photo_id":"1338115507","filename":"file0"},{"photo_id":"1338115516","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115519":["hashtag1","hashtag2"]},{"1338115510":["hashtag1","hashtag2"]},{"1338115513":["hashtag1","hashtag2"]},{"1338115507":["hashtag1","hashtag2"]},{"1338115516":["hashtag1","hashtag2"]},{"1338115521":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115519, 1338115510, 1338115513, 1338115507, 1338115516, 1338115521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.17551302909851 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:51:32.359899
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_59_9733.jpg', 0), ('/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_49_9652.jpg', 0), ('/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_40_10660.jpg', 0), ('/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_29_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_19_9639.jpg', 0), ('/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_10_10661.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_59_9733.jpg', '/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_49_9652.jpg', '/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_40_10660.jpg', '/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_29_9660.jpg', '/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_19_9639.jpg', '/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_10_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_59_9733.jpg
/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_49_9652.jpg
/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_40_10660.jpg
/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_29_9660.jpg
/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_19_9639.jpg
/home/nano/Desktop/images/06022025/16/48/image_06022025_16_48_10_10661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115537","1338115544","1338115538","1338115547","1338115541","1338115535"],"photo_ids_order":["1338115535","1338115537","1338115538","1338115541","1338115544","1338115547"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/309f34a5a07929bc7061b49eeeb6b1fb.jpg","text":"TemporaryFile(/tmp/multipartBody2849130832274003176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771554457,"filename":"image_06022025_16_48_49_9652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f58edf2f2046fc51d10fcd252e818d5.jpg","text":"TemporaryFile(/tmp/multipartBody8101010117940174729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771554457,"filename":"image_06022025_16_48_19_9639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/031fd31b2b85567170008824c6342508.jpg","text":"TemporaryFile(/tmp/multipartBody3176460518114124956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771554457,"filename":"image_06022025_16_48_40_10660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53f8207c9c4e41f36f64e5cfd52b0f9c.jpg","text":"TemporaryFile(/tmp/multipartBody1763108228800557984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771554457,"filename":"image_06022025_16_48_10_10661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/66e6009187514fdd7691a5dac6a00c3e.jpg","text":"TemporaryFile(/tmp/multipartBody8660247323719391204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771554457,"filename":"image_06022025_16_48_29_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd9445650001beb372d5a5b21bf4dc18.jpg","text":"TemporaryFile(/tmp/multipartBody3489083316731633718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771554457,"filename":"image_06022025_16_48_59_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115538","file1":"1338115537","file0":"1338115535","file4":"1338115544","file5":"1338115547","file3":"1338115541"},"map_files_photo_id_array":[{"photo_id":"1338115547","filename":"file5"},{"photo_id":"1338115538","filename":"file2"},{"photo_id":"1338115544","filename":"file4"},{"photo_id":"1338115537","filename":"file1"},{"photo_id":"1338115535","filename":"file0"},{"photo_id":"1338115541","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115537":["hashtag1","hashtag2"]},{"1338115544":["hashtag1","hashtag2"]},{"1338115538":["hashtag1","hashtag2"]},{"1338115547":["hashtag1","hashtag2"]},{"1338115541":["hashtag1","hashtag2"]},{"1338115535":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115537, 1338115544, 1338115538, 1338115547, 1338115541, 1338115535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.50495743751526 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:52:32.529852
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_59_9663.jpg', 0), ('/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_49_9668.jpg', 0), ('/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_40_10650.jpg', 0), ('/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_29_9661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_19_9663.jpg', 0), ('/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_10_10691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_59_9663.jpg', '/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_49_9668.jpg', '/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_40_10650.jpg', '/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_29_9661.jpg', '/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_19_9663.jpg', '/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_10_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_59_9663.jpg
/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_49_9668.jpg
/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_40_10650.jpg
/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_29_9661.jpg
/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_19_9663.jpg
/home/nano/Desktop/images/06022025/16/47/image_06022025_16_47_10_10691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115582","1338115576","1338115578","1338115580","1338115568","1338115573"],"photo_ids_order":["1338115568","1338115573","1338115576","1338115578","1338115580","1338115582"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/62155807754fe89e3587d84b454f663a.jpg","text":"TemporaryFile(/tmp/multipartBody7893498058586430991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771614495,"filename":"image_06022025_16_47_10_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13c99e778ee35ba811a34872886b1182.jpg","text":"TemporaryFile(/tmp/multipartBody3676864335942626861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771614495,"filename":"image_06022025_16_47_40_10650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4af428a1c0b070354fadfe3808c74b03.jpg","text":"TemporaryFile(/tmp/multipartBody6225797523612908148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771614495,"filename":"image_06022025_16_47_29_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb994d75ba0a77f0e5b31742dee13b14.jpg","text":"TemporaryFile(/tmp/multipartBody3957823588917739787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771614495,"filename":"image_06022025_16_47_19_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/32356fd5d17c0a1c3f69dccf5012e899.jpg","text":"TemporaryFile(/tmp/multipartBody4950387427398166065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771614495,"filename":"image_06022025_16_47_59_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ee65a1cc254aab17185cfbfc626bae1.jpg","text":"TemporaryFile(/tmp/multipartBody4230873826996636876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771614495,"filename":"image_06022025_16_47_49_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115576","file1":"1338115573","file0":"1338115568","file4":"1338115580","file5":"1338115582","file3":"1338115578"},"map_files_photo_id_array":[{"photo_id":"1338115582","filename":"file5"},{"photo_id":"1338115576","filename":"file2"},{"photo_id":"1338115580","filename":"file4"},{"photo_id":"1338115573","filename":"file1"},{"photo_id":"1338115568","filename":"file0"},{"photo_id":"1338115578","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115582":["hashtag1","hashtag2"]},{"1338115576":["hashtag1","hashtag2"]},{"1338115578":["hashtag1","hashtag2"]},{"1338115580":["hashtag1","hashtag2"]},{"1338115568":["hashtag1","hashtag2"]},{"1338115573":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115582, 1338115576, 1338115578, 1338115580, 1338115568, 1338115573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84533405303955 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:53:32.671470
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_59_9639.jpg', 0), ('/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_49_9687.jpg', 0), ('/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_40_10804.jpg', 0), ('/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_29_9803.jpg', 0), ('/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_19_9746.jpg', 0), ('/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_09_9807.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_59_9639.jpg', '/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_49_9687.jpg', '/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_40_10804.jpg', '/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_29_9803.jpg', '/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_19_9746.jpg', '/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_09_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_59_9639.jpg
/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_49_9687.jpg
/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_40_10804.jpg
/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_29_9803.jpg
/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_19_9746.jpg
/home/nano/Desktop/images/06022025/16/46/image_06022025_16_46_09_9807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115596","1338115599","1338115590","1338115593","1338115602","1338115604"],"photo_ids_order":["1338115590","1338115593","1338115596","1338115599","1338115602","1338115604"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4855e1b626b0a29c6e6eaf174715c96d.jpg","text":"TemporaryFile(/tmp/multipartBody218836504065276599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771674762,"filename":"image_06022025_16_46_40_10804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e662a62597937e5089c50ca648bfd10.jpg","text":"TemporaryFile(/tmp/multipartBody7099158563047282286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771674762,"filename":"image_06022025_16_46_29_9803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/420eec1a4fb8300a3874eda8358b4c50.jpg","text":"TemporaryFile(/tmp/multipartBody4155079747665449944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771674762,"filename":"image_06022025_16_46_59_9639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/41aa47e7508dc6c33fb313163cc92919.jpg","text":"TemporaryFile(/tmp/multipartBody486520063786132095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771674762,"filename":"image_06022025_16_46_49_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dddfb7262685f3d740efbf0342b9c7ec.jpg","text":"TemporaryFile(/tmp/multipartBody5034928567571931731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771674762,"filename":"image_06022025_16_46_19_9746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb55f7bef8890eb1cbf957a291812759.jpg","text":"TemporaryFile(/tmp/multipartBody3910247928787217100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771674762,"filename":"image_06022025_16_46_09_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115596","file1":"1338115593","file0":"1338115590","file4":"1338115602","file5":"1338115604","file3":"1338115599"},"map_files_photo_id_array":[{"photo_id":"1338115604","filename":"file5"},{"photo_id":"1338115596","filename":"file2"},{"photo_id":"1338115602","filename":"file4"},{"photo_id":"1338115593","filename":"file1"},{"photo_id":"1338115590","filename":"file0"},{"photo_id":"1338115599","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115596":["hashtag1","hashtag2"]},{"1338115599":["hashtag1","hashtag2"]},{"1338115590":["hashtag1","hashtag2"]},{"1338115593":["hashtag1","hashtag2"]},{"1338115602":["hashtag1","hashtag2"]},{"1338115604":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115596, 1338115599, 1338115590, 1338115593, 1338115602, 1338115604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.83297824859619 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:54:31.798492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_59_9814.jpg', 0), ('/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_50_10847.jpg', 0), ('/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_39_9786.jpg', 0), ('/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_29_9769.jpg', 0), ('/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_19_9793.jpg', 0), ('/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_09_10789.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_59_9814.jpg', '/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_50_10847.jpg', '/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_39_9786.jpg', '/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_29_9769.jpg', '/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_19_9793.jpg', '/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_09_10789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_59_9814.jpg
/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_50_10847.jpg
/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_39_9786.jpg
/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_29_9769.jpg
/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_19_9793.jpg
/home/nano/Desktop/images/06022025/16/45/image_06022025_16_45_09_10789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115642","1338115629","1338115620","1338115614","1338115637","1338115640"],"photo_ids_order":["1338115614","1338115620","1338115629","1338115637","1338115640","1338115642"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e86c0f05ce44faf7418d0ab754976c60.jpg","text":"TemporaryFile(/tmp/multipartBody8446175251907222215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771733838,"filename":"image_06022025_16_45_09_10789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8fe0d2001efa0764fcab7dd64c8506d.jpg","text":"TemporaryFile(/tmp/multipartBody3017453259615698199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771733838,"filename":"image_06022025_16_45_39_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d6f614f351cec93f6c5a5dd21de2cd6.jpg","text":"TemporaryFile(/tmp/multipartBody3145902588583108149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771733838,"filename":"image_06022025_16_45_50_10847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24dbc02fddf9af041c7c57ba31cfa078.jpg","text":"TemporaryFile(/tmp/multipartBody5480502030662714885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771733838,"filename":"image_06022025_16_45_59_9814.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cced78ae45ffb1fb89f9893b7a6b146f.jpg","text":"TemporaryFile(/tmp/multipartBody3936396024211729299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771733838,"filename":"image_06022025_16_45_29_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3f0e990bdecea5fabee69e90d9c34ce.jpg","text":"TemporaryFile(/tmp/multipartBody2023154903792074875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771733838,"filename":"image_06022025_16_45_19_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115629","file1":"1338115620","file0":"1338115614","file4":"1338115640","file5":"1338115642","file3":"1338115637"},"map_files_photo_id_array":[{"photo_id":"1338115642","filename":"file5"},{"photo_id":"1338115629","filename":"file2"},{"photo_id":"1338115640","filename":"file4"},{"photo_id":"1338115620","filename":"file1"},{"photo_id":"1338115614","filename":"file0"},{"photo_id":"1338115637","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115642":["hashtag1","hashtag2"]},{"1338115629":["hashtag1","hashtag2"]},{"1338115620":["hashtag1","hashtag2"]},{"1338115614":["hashtag1","hashtag2"]},{"1338115637":["hashtag1","hashtag2"]},{"1338115640":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115642, 1338115629, 1338115620, 1338115614, 1338115637, 1338115640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.999922275543213 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:55:31.956257
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_59_9781.jpg', 0), ('/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_49_9814.jpg', 0), ('/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_39_9818.jpg', 0), ('/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_29_9799.jpg', 0), ('/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_19_9785.jpg', 0), ('/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_10_10805.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_59_9781.jpg', '/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_49_9814.jpg', '/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_39_9818.jpg', '/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_29_9799.jpg', '/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_19_9785.jpg', '/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_10_10805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_59_9781.jpg
/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_49_9814.jpg
/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_39_9818.jpg
/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_29_9799.jpg
/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_19_9785.jpg
/home/nano/Desktop/images/06022025/16/44/image_06022025_16_44_10_10805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115663","1338115661","1338115655","1338115658","1338115652","1338115649"],"photo_ids_order":["1338115649","1338115652","1338115655","1338115658","1338115661","1338115663"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7278f56bf4550339afab592c66e13484.jpg","text":"TemporaryFile(/tmp/multipartBody6044649142959263781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771794153,"filename":"image_06022025_16_44_10_10805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/875a38ffe2dd598f27f56fba93fc91f1.jpg","text":"TemporaryFile(/tmp/multipartBody4634840858194659989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771794153,"filename":"image_06022025_16_44_19_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ce36a999241d4a154b6f827258e21e2.jpg","text":"TemporaryFile(/tmp/multipartBody154284653650594438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771794153,"filename":"image_06022025_16_44_39_9818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4dd1041284d9076b5ffb2fdf4537c2c3.jpg","text":"TemporaryFile(/tmp/multipartBody7759601590860261345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771794153,"filename":"image_06022025_16_44_29_9799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7da7507a64175d82bf82c80ddf8c9c6.jpg","text":"TemporaryFile(/tmp/multipartBody3047709915763757028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771794153,"filename":"image_06022025_16_44_49_9814.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e54a20a641735a5b2b9bed0797746a72.jpg","text":"TemporaryFile(/tmp/multipartBody8223736467255484155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771794153,"filename":"image_06022025_16_44_59_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115655","file1":"1338115652","file0":"1338115649","file4":"1338115661","file5":"1338115663","file3":"1338115658"},"map_files_photo_id_array":[{"photo_id":"1338115663","filename":"file5"},{"photo_id":"1338115655","filename":"file2"},{"photo_id":"1338115661","filename":"file4"},{"photo_id":"1338115652","filename":"file1"},{"photo_id":"1338115649","filename":"file0"},{"photo_id":"1338115658","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115663":["hashtag1","hashtag2"]},{"1338115661":["hashtag1","hashtag2"]},{"1338115655":["hashtag1","hashtag2"]},{"1338115658":["hashtag1","hashtag2"]},{"1338115652":["hashtag1","hashtag2"]},{"1338115649":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115663, 1338115661, 1338115655, 1338115658, 1338115652, 1338115649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38023829460144 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:56:32.113463
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_59_9835.jpg', 0), ('/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_49_9848.jpg', 0), ('/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_39_9831.jpg', 0), ('/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_29_9841.jpg', 0), ('/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_19_10662.jpg', 0), ('/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_09_9682.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_59_9835.jpg', '/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_49_9848.jpg', '/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_39_9831.jpg', '/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_29_9841.jpg', '/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_19_10662.jpg', '/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_09_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_59_9835.jpg
/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_49_9848.jpg
/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_39_9831.jpg
/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_29_9841.jpg
/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_19_10662.jpg
/home/nano/Desktop/images/06022025/16/43/image_06022025_16_43_09_9682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115695","1338115692","1338115680","1338115697","1338115682","1338115676"],"photo_ids_order":["1338115676","1338115680","1338115682","1338115692","1338115695","1338115697"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1f673b3fa7b42cba5acce2457d3341c.jpg","text":"TemporaryFile(/tmp/multipartBody1573421227942774783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771854418,"filename":"image_06022025_16_43_19_10662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee47870b1cb081c9917a573b5a9d2777.jpg","text":"TemporaryFile(/tmp/multipartBody6250179502782124392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771854418,"filename":"image_06022025_16_43_29_9841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/91d7880b3027902db87203cbb4713a14.jpg","text":"TemporaryFile(/tmp/multipartBody9159809456095767168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771854418,"filename":"image_06022025_16_43_49_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/534a3c5dc17111c86ee2d67d8a18ea11.jpg","text":"TemporaryFile(/tmp/multipartBody8168838651321454884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771854418,"filename":"image_06022025_16_43_09_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/66f769f6c05738cb7196fe4ed25bec31.jpg","text":"TemporaryFile(/tmp/multipartBody1949507600272343891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771854418,"filename":"image_06022025_16_43_39_9831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3101b257a3e6327f19c11cc31420ff25.jpg","text":"TemporaryFile(/tmp/multipartBody296177997280348802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739771854418,"filename":"image_06022025_16_43_59_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115682","file1":"1338115680","file0":"1338115676","file4":"1338115695","file5":"1338115697","file3":"1338115692"},"map_files_photo_id_array":[{"photo_id":"1338115697","filename":"file5"},{"photo_id":"1338115682","filename":"file2"},{"photo_id":"1338115695","filename":"file4"},{"photo_id":"1338115680","filename":"file1"},{"photo_id":"1338115676","filename":"file0"},{"photo_id":"1338115692","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115695":["hashtag1","hashtag2"]},{"1338115692":["hashtag1","hashtag2"]},{"1338115680":["hashtag1","hashtag2"]},{"1338115697":["hashtag1","hashtag2"]},{"1338115682":["hashtag1","hashtag2"]},{"1338115676":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115695, 1338115692, 1338115680, 1338115697, 1338115682, 1338115676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.28181719779968 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:57:32.254216
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_59_9640.jpg', 0), ('/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_49_10660.jpg', 0), ('/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_39_9671.jpg', 0), ('/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_29_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_19_10661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_09_9643.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_59_9640.jpg', '/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_49_10660.jpg', '/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_39_9671.jpg', '/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_29_9667.jpg', '/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_19_10661.jpg', '/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_09_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_59_9640.jpg
/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_49_10660.jpg
/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_39_9671.jpg
/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_29_9667.jpg
/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_19_10661.jpg
/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_09_9643.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 06:59:02.883180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_59_9640.jpg', 0), ('/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_49_10660.jpg', 0), ('/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_39_9671.jpg', 0), ('/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_29_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_19_10661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_09_9643.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_59_9640.jpg', '/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_49_10660.jpg', '/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_39_9671.jpg', '/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_29_9667.jpg', '/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_19_10661.jpg', '/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_09_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_59_9640.jpg
/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_49_10660.jpg
/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_39_9671.jpg
/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_29_9667.jpg
/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_19_10661.jpg
/home/nano/Desktop/images/06022025/16/42/image_06022025_16_42_09_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115741","1338115752","1338115746","1338115749","1338115743","1338115737"],"photo_ids_order":["1338115737","1338115741","1338115743","1338115746","1338115749","1338115752"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c37888f90c17641d19774ab663f9a8e6.jpg","text":"TemporaryFile(/tmp/multipartBody7506080871745708350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772004762,"filename":"image_06022025_16_42_49_10660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f32a17c759f00477f585ba4028a7a51.jpg","text":"TemporaryFile(/tmp/multipartBody1077515116145207475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772004762,"filename":"image_06022025_16_42_09_9643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1a61391960f4a25fa2f908e94594eca8.jpg","text":"TemporaryFile(/tmp/multipartBody7066347389907660810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772004762,"filename":"image_06022025_16_42_29_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6d259a8de174c169bf5c7fdb1a4bd93.jpg","text":"TemporaryFile(/tmp/multipartBody5959875833571439881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772004762,"filename":"image_06022025_16_42_19_10661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2841bd15b25748446d7053e9976351c2.jpg","text":"TemporaryFile(/tmp/multipartBody8156065751130545369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772004762,"filename":"image_06022025_16_42_39_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4125211848516ba2476e95c8d4a2006f.jpg","text":"TemporaryFile(/tmp/multipartBody1914959728407411683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772004762,"filename":"image_06022025_16_42_59_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115743","file1":"1338115741","file0":"1338115737","file4":"1338115749","file5":"1338115752","file3":"1338115746"},"map_files_photo_id_array":[{"photo_id":"1338115752","filename":"file5"},{"photo_id":"1338115743","filename":"file2"},{"photo_id":"1338115749","filename":"file4"},{"photo_id":"1338115741","filename":"file1"},{"photo_id":"1338115737","filename":"file0"},{"photo_id":"1338115746","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115741":["hashtag1","hashtag2"]},{"1338115752":["hashtag1","hashtag2"]},{"1338115746":["hashtag1","hashtag2"]},{"1338115749":["hashtag1","hashtag2"]},{"1338115743":["hashtag1","hashtag2"]},{"1338115737":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115741, 1338115752, 1338115746, 1338115749, 1338115743, 1338115737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56565594673157 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:00:02.671979
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_59_9663.jpg', 0), ('/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_50_10668.jpg', 0), ('/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_39_9664.jpg', 0), ('/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_29_9647.jpg', 0), ('/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_20_10679.jpg', 0), ('/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_09_9686.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_59_9663.jpg', '/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_50_10668.jpg', '/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_39_9664.jpg', '/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_29_9647.jpg', '/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_20_10679.jpg', '/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_09_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_59_9663.jpg
/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_50_10668.jpg
/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_39_9664.jpg
/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_29_9647.jpg
/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_20_10679.jpg
/home/nano/Desktop/images/06022025/16/41/image_06022025_16_41_09_9686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115774","1338115776","1338115779","1338115767","1338115772","1338115769"],"photo_ids_order":["1338115767","1338115769","1338115772","1338115774","1338115776","1338115779"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6c46c0b7909dc6f4b6f8e0b2ce654d0.jpg","text":"TemporaryFile(/tmp/multipartBody6578727345607736527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772064159,"filename":"image_06022025_16_41_29_9647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/355fba971fa04a9098de071eafacecfc.jpg","text":"TemporaryFile(/tmp/multipartBody1576528832188387751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772064159,"filename":"image_06022025_16_41_20_10679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc3bfbb0fdfd636fea4aca5a595a46c4.jpg","text":"TemporaryFile(/tmp/multipartBody4157207598614608423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772064159,"filename":"image_06022025_16_41_09_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/731b65876b849cc995cef4cdc25e181c.jpg","text":"TemporaryFile(/tmp/multipartBody8357031733724355760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772064159,"filename":"image_06022025_16_41_59_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a901ef32e5bec84c6ce36bb2e22bb64c.jpg","text":"TemporaryFile(/tmp/multipartBody705527752008437334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772064159,"filename":"image_06022025_16_41_39_9664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d2f6674e48e58f57f0a142c15e506e4d.jpg","text":"TemporaryFile(/tmp/multipartBody2859320780167905370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772064159,"filename":"image_06022025_16_41_50_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115772","file1":"1338115769","file0":"1338115767","file4":"1338115776","file5":"1338115779","file3":"1338115774"},"map_files_photo_id_array":[{"photo_id":"1338115779","filename":"file5"},{"photo_id":"1338115772","filename":"file2"},{"photo_id":"1338115776","filename":"file4"},{"photo_id":"1338115769","filename":"file1"},{"photo_id":"1338115767","filename":"file0"},{"photo_id":"1338115774","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115774":["hashtag1","hashtag2"]},{"1338115776":["hashtag1","hashtag2"]},{"1338115779":["hashtag1","hashtag2"]},{"1338115767":["hashtag1","hashtag2"]},{"1338115772":["hashtag1","hashtag2"]},{"1338115769":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115774, 1338115776, 1338115779, 1338115767, 1338115772, 1338115769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.837751388549805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:01:03.173767
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_59_9657.jpg', 0), ('/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_50_10689.jpg', 0), ('/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_39_9644.jpg', 0), ('/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_29_9726.jpg', 0), ('/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_19_10697.jpg', 0), ('/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_09_9747.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_59_9657.jpg', '/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_50_10689.jpg', '/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_39_9644.jpg', '/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_29_9726.jpg', '/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_19_10697.jpg', '/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_09_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_59_9657.jpg
/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_50_10689.jpg
/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_39_9644.jpg
/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_29_9726.jpg
/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_19_10697.jpg
/home/nano/Desktop/images/06022025/16/40/image_06022025_16_40_09_9747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115801","1338115794","1338115797","1338115800","1338115803","1338115792"],"photo_ids_order":["1338115792","1338115794","1338115797","1338115800","1338115801","1338115803"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/84018dfd6ba6cd90a04b02dfa9d40cb5.jpg","text":"TemporaryFile(/tmp/multipartBody6661418027091903027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772125154,"filename":"image_06022025_16_40_19_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/84c14cb82afaa6785faf387237b1b515.jpg","text":"TemporaryFile(/tmp/multipartBody8804442216753223728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772125154,"filename":"image_06022025_16_40_50_10689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e14b371b02a58de99eadd1a733d46bd5.jpg","text":"TemporaryFile(/tmp/multipartBody7919308088068660465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772125154,"filename":"image_06022025_16_40_39_9644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2c1d9510060a80d7c49911e4bf9d734.jpg","text":"TemporaryFile(/tmp/multipartBody3005237563975782395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772125154,"filename":"image_06022025_16_40_29_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c863f3df6d3c0fd5241ed777b084d6b7.jpg","text":"TemporaryFile(/tmp/multipartBody2378910690824188232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772125154,"filename":"image_06022025_16_40_09_9747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b96587704fb596fffe6c605a48d657ca.jpg","text":"TemporaryFile(/tmp/multipartBody1831144685676190957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772125154,"filename":"image_06022025_16_40_59_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115797","file1":"1338115794","file0":"1338115792","file4":"1338115801","file5":"1338115803","file3":"1338115800"},"map_files_photo_id_array":[{"photo_id":"1338115803","filename":"file5"},{"photo_id":"1338115797","filename":"file2"},{"photo_id":"1338115801","filename":"file4"},{"photo_id":"1338115794","filename":"file1"},{"photo_id":"1338115792","filename":"file0"},{"photo_id":"1338115800","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115801":["hashtag1","hashtag2"]},{"1338115794":["hashtag1","hashtag2"]},{"1338115797":["hashtag1","hashtag2"]},{"1338115800":["hashtag1","hashtag2"]},{"1338115803":["hashtag1","hashtag2"]},{"1338115792":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115801, 1338115794, 1338115797, 1338115800, 1338115803, 1338115792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.424033641815186 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:02:03.029102
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_59_9816.jpg', 0), ('/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_49_9744.jpg', 0), ('/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_39_10746.jpg', 0), ('/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_29_9766.jpg', 0), ('/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_19_9753.jpg', 0), ('/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_09_9702.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_59_9816.jpg', '/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_49_9744.jpg', '/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_39_10746.jpg', '/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_29_9766.jpg', '/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_19_9753.jpg', '/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_09_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_59_9816.jpg
/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_49_9744.jpg
/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_39_10746.jpg
/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_29_9766.jpg
/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_19_9753.jpg
/home/nano/Desktop/images/06022025/16/39/image_06022025_16_39_09_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115828","1338115816","1338115825","1338115823","1338115817","1338115820"],"photo_ids_order":["1338115816","1338115817","1338115820","1338115823","1338115825","1338115828"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6000ec7f49d058185d804732f1bb8c2f.jpg","text":"TemporaryFile(/tmp/multipartBody5883432974754611697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772186599,"filename":"image_06022025_16_39_09_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54f49e87cf406eb477d7c7aabeb0db09.jpg","text":"TemporaryFile(/tmp/multipartBody3969315075436188894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772186599,"filename":"image_06022025_16_39_59_9816.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3bf739efcc56056ca699ecfdf05b5f1a.jpg","text":"TemporaryFile(/tmp/multipartBody1464879503893897059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772186599,"filename":"image_06022025_16_39_19_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d2ced29a9d2ee04173bb255e7783988c.jpg","text":"TemporaryFile(/tmp/multipartBody2984314437351865544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772186599,"filename":"image_06022025_16_39_29_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6f3bc58f9c82a7667dd36a2578c37be.jpg","text":"TemporaryFile(/tmp/multipartBody342585511144929137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772186599,"filename":"image_06022025_16_39_49_9744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a79d0edb6dc4d70073076a5fcfd14e7.jpg","text":"TemporaryFile(/tmp/multipartBody4440433895231075578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772186599,"filename":"image_06022025_16_39_39_10746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115820","file1":"1338115817","file0":"1338115816","file4":"1338115825","file5":"1338115828","file3":"1338115823"},"map_files_photo_id_array":[{"photo_id":"1338115828","filename":"file5"},{"photo_id":"1338115820","filename":"file2"},{"photo_id":"1338115825","filename":"file4"},{"photo_id":"1338115817","filename":"file1"},{"photo_id":"1338115816","filename":"file0"},{"photo_id":"1338115823","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115828":["hashtag1","hashtag2"]},{"1338115816":["hashtag1","hashtag2"]},{"1338115825":["hashtag1","hashtag2"]},{"1338115823":["hashtag1","hashtag2"]},{"1338115817":["hashtag1","hashtag2"]},{"1338115820":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115828, 1338115816, 1338115825, 1338115823, 1338115817, 1338115820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75254964828491 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:03:03.223492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_59_10664.jpg', 0), ('/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_49_9708.jpg', 0), ('/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_39_9727.jpg', 0), ('/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_29_10694.jpg', 0), ('/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_19_9657.jpg', 0), ('/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_09_9732.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_59_10664.jpg', '/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_49_9708.jpg', '/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_39_9727.jpg', '/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_29_10694.jpg', '/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_19_9657.jpg', '/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_09_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_59_10664.jpg
/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_49_9708.jpg
/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_39_9727.jpg
/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_29_10694.jpg
/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_19_9657.jpg
/home/nano/Desktop/images/06022025/16/38/image_06022025_16_38_09_9732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338115998","1338116003","1338116000","1338115993","1338115996","1338115990"],"photo_ids_order":["1338115990","1338115993","1338115996","1338115998","1338116000","1338116003"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b6a56774cf557775330fd2614b10f9c6.jpg","text":"TemporaryFile(/tmp/multipartBody7335185289009129464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772245238,"filename":"image_06022025_16_38_29_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e124bf0e481ca7fd357d6a510b5db74.jpg","text":"TemporaryFile(/tmp/multipartBody4129934765003750787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772245238,"filename":"image_06022025_16_38_09_9732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4c79a0636d0894b6053ddeb4352f9b6.jpg","text":"TemporaryFile(/tmp/multipartBody3642261407832948882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772245238,"filename":"image_06022025_16_38_19_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e9af29b24f28d564a7d4542c8dac8cd.jpg","text":"TemporaryFile(/tmp/multipartBody209749370176040369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772245238,"filename":"image_06022025_16_38_49_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2a4e8bbff8d53cd5486304f07408bbc.jpg","text":"TemporaryFile(/tmp/multipartBody8952033997539552443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772245238,"filename":"image_06022025_16_38_39_9727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/10326ce9dbc21bbaedfe4de8d406e368.jpg","text":"TemporaryFile(/tmp/multipartBody1666306741951622502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772245238,"filename":"image_06022025_16_38_59_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338115996","file1":"1338115993","file0":"1338115990","file4":"1338116000","file5":"1338116003","file3":"1338115998"},"map_files_photo_id_array":[{"photo_id":"1338116003","filename":"file5"},{"photo_id":"1338115996","filename":"file2"},{"photo_id":"1338116000","filename":"file4"},{"photo_id":"1338115993","filename":"file1"},{"photo_id":"1338115990","filename":"file0"},{"photo_id":"1338115998","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338115998":["hashtag1","hashtag2"]},{"1338116003":["hashtag1","hashtag2"]},{"1338116000":["hashtag1","hashtag2"]},{"1338115993":["hashtag1","hashtag2"]},{"1338115996":["hashtag1","hashtag2"]},{"1338115990":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338115998, 1338116003, 1338116000, 1338115993, 1338115996, 1338115990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.99695920944214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:04:02.779131
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_59_9753.jpg', 0), ('/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_50_10782.jpg', 0), ('/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_39_9734.jpg', 0), ('/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_29_9723.jpg', 0), ('/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_19_9746.jpg', 0), ('/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_10_10761.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_59_9753.jpg', '/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_50_10782.jpg', '/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_39_9734.jpg', '/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_29_9723.jpg', '/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_19_9746.jpg', '/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_10_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_59_9753.jpg
/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_50_10782.jpg
/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_39_9734.jpg
/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_29_9723.jpg
/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_19_9746.jpg
/home/nano/Desktop/images/06022025/16/37/image_06022025_16_37_10_10761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338116023","1338116022","1338116025","1338116028","1338116045","1338116032"],"photo_ids_order":["1338116022","1338116023","1338116025","1338116028","1338116032","1338116045"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/84d9ff6d52e23f261122934dcbfdb932.jpg","text":"TemporaryFile(/tmp/multipartBody5895996724080723144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772304801,"filename":"image_06022025_16_37_50_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19048f08d80c2ad53aaf94b71860574b.jpg","text":"TemporaryFile(/tmp/multipartBody8521602644775702689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772304801,"filename":"image_06022025_16_37_59_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb003b3e75dc1663a65b42c9db5668ca.jpg","text":"TemporaryFile(/tmp/multipartBody7263125689331767733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772304801,"filename":"image_06022025_16_37_39_9734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/484a349c483866e90e7c95aa7087c62b.jpg","text":"TemporaryFile(/tmp/multipartBody2610349808373779377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772304801,"filename":"image_06022025_16_37_29_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ae45d302039f9ebc57be28a81f7e825.jpg","text":"TemporaryFile(/tmp/multipartBody6370777613476667562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772304801,"filename":"image_06022025_16_37_10_10761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c058c69a1c5e9690a025efce386c8f0.jpg","text":"TemporaryFile(/tmp/multipartBody8058737454809781650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772304801,"filename":"image_06022025_16_37_19_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338116025","file1":"1338116023","file0":"1338116022","file4":"1338116032","file5":"1338116045","file3":"1338116028"},"map_files_photo_id_array":[{"photo_id":"1338116045","filename":"file5"},{"photo_id":"1338116025","filename":"file2"},{"photo_id":"1338116032","filename":"file4"},{"photo_id":"1338116023","filename":"file1"},{"photo_id":"1338116022","filename":"file0"},{"photo_id":"1338116028","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338116023":["hashtag1","hashtag2"]},{"1338116022":["hashtag1","hashtag2"]},{"1338116025":["hashtag1","hashtag2"]},{"1338116028":["hashtag1","hashtag2"]},{"1338116045":["hashtag1","hashtag2"]},{"1338116032":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338116023, 1338116022, 1338116025, 1338116028, 1338116045, 1338116032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32083821296692 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:05:02.492929
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_59_9742.jpg', 0), ('/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_49_9744.jpg', 0), ('/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_39_10653.jpg', 0), ('/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_29_9757.jpg', 0), ('/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_19_9681.jpg', 0), ('/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_09_9695.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_59_9742.jpg', '/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_49_9744.jpg', '/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_39_10653.jpg', '/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_29_9757.jpg', '/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_19_9681.jpg', '/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_09_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_59_9742.jpg
/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_49_9744.jpg
/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_39_10653.jpg
/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_29_9757.jpg
/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_19_9681.jpg
/home/nano/Desktop/images/06022025/16/36/image_06022025_16_36_09_9695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338116349","1338116235","1338116357","1338116159","1338116318","1338116362"],"photo_ids_order":["1338116159","1338116235","1338116318","1338116349","1338116357","1338116362"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/35e3b56653268e366c6bdc3d45e50cc7.jpg","text":"TemporaryFile(/tmp/multipartBody7522000512391900646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772364347,"filename":"image_06022025_16_36_29_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c715d521d705223ee65b8d23aebbdcb.jpg","text":"TemporaryFile(/tmp/multipartBody1317427142186143448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772364347,"filename":"image_06022025_16_36_49_9744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/beedf07da2f1e46b90bcf436f8291a39.jpg","text":"TemporaryFile(/tmp/multipartBody6412259269266434327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772364347,"filename":"image_06022025_16_36_19_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb961243430325b01dd3c5564c589f34.jpg","text":"TemporaryFile(/tmp/multipartBody2908601861869237618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772364347,"filename":"image_06022025_16_36_59_9742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77c31c3d04e5dbe7901d48b08ce6edff.jpg","text":"TemporaryFile(/tmp/multipartBody5635074719479029507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772364347,"filename":"image_06022025_16_36_39_10653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38521f236249f8043d8a037134d436b2.jpg","text":"TemporaryFile(/tmp/multipartBody4337178567421921038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772364347,"filename":"image_06022025_16_36_09_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338116318","file1":"1338116235","file0":"1338116159","file4":"1338116357","file5":"1338116362","file3":"1338116349"},"map_files_photo_id_array":[{"photo_id":"1338116362","filename":"file5"},{"photo_id":"1338116318","filename":"file2"},{"photo_id":"1338116357","filename":"file4"},{"photo_id":"1338116235","filename":"file1"},{"photo_id":"1338116159","filename":"file0"},{"photo_id":"1338116349","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338116349":["hashtag1","hashtag2"]},{"1338116235":["hashtag1","hashtag2"]},{"1338116357":["hashtag1","hashtag2"]},{"1338116159":["hashtag1","hashtag2"]},{"1338116318":["hashtag1","hashtag2"]},{"1338116362":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338116349, 1338116235, 1338116357, 1338116159, 1338116318, 1338116362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.462313413619995 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:06:02.507154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/35/image_06022025_16_36_00_10753.jpg', 0), ('/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_49_9800.jpg', 0), ('/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_39_9897.jpg', 0), ('/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_29_9706.jpg', 0), ('/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_19_10693.jpg', 0), ('/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_09_9678.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/35/image_06022025_16_36_00_10753.jpg', '/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_49_9800.jpg', '/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_39_9897.jpg', '/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_29_9706.jpg', '/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_19_10693.jpg', '/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_09_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/35/image_06022025_16_36_00_10753.jpg
/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_49_9800.jpg
/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_39_9897.jpg
/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_29_9706.jpg
/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_19_10693.jpg
/home/nano/Desktop/images/06022025/16/35/image_06022025_16_35_09_9678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338116499","1338116508","1338116502","1338116511","1338116505","1338116507"],"photo_ids_order":["1338116499","1338116502","1338116505","1338116507","1338116508","1338116511"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26042fbceb95d7e1325438e5bd619f54.jpg","text":"TemporaryFile(/tmp/multipartBody1172338894618477098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772424509,"filename":"image_06022025_16_36_00_10753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1bb58bfaa877ca71ffea9fd701e4e722.jpg","text":"TemporaryFile(/tmp/multipartBody5608616908413170902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772424509,"filename":"image_06022025_16_35_19_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e3c20e62e48c318845b0b4f4a070d28.jpg","text":"TemporaryFile(/tmp/multipartBody5884286532734327723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772424509,"filename":"image_06022025_16_35_49_9800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c50ff812a8b3943228704793710486c5.jpg","text":"TemporaryFile(/tmp/multipartBody4641119789852394507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772424509,"filename":"image_06022025_16_35_09_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f1a58ac35eaa6f39ebf4e520a973f5f.jpg","text":"TemporaryFile(/tmp/multipartBody571530036992277315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772424509,"filename":"image_06022025_16_35_39_9897.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b32287a9b5efdcd6bb057b86a655a8e.jpg","text":"TemporaryFile(/tmp/multipartBody1807440686034399951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772424509,"filename":"image_06022025_16_35_29_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338116505","file1":"1338116502","file0":"1338116499","file4":"1338116508","file5":"1338116511","file3":"1338116507"},"map_files_photo_id_array":[{"photo_id":"1338116511","filename":"file5"},{"photo_id":"1338116505","filename":"file2"},{"photo_id":"1338116508","filename":"file4"},{"photo_id":"1338116502","filename":"file1"},{"photo_id":"1338116499","filename":"file0"},{"photo_id":"1338116507","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338116499":["hashtag1","hashtag2"]},{"1338116508":["hashtag1","hashtag2"]},{"1338116502":["hashtag1","hashtag2"]},{"1338116511":["hashtag1","hashtag2"]},{"1338116505":["hashtag1","hashtag2"]},{"1338116507":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338116499, 1338116508, 1338116502, 1338116511, 1338116505, 1338116507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52103805541992 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:07:02.986317
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_59_9648.jpg', 0), ('/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_49_10656.jpg', 0), ('/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_39_9641.jpg', 0), ('/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_29_9665.jpg', 0), ('/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_19_10683.jpg', 0), ('/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_09_9677.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_59_9648.jpg', '/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_49_10656.jpg', '/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_39_9641.jpg', '/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_29_9665.jpg', '/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_19_10683.jpg', '/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_09_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_59_9648.jpg
/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_49_10656.jpg
/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_39_9641.jpg
/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_29_9665.jpg
/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_19_10683.jpg
/home/nano/Desktop/images/06022025/16/34/image_06022025_16_34_09_9677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338116539","1338116550","1338116544","1338116541","1338116546","1338116548"],"photo_ids_order":["1338116539","1338116541","1338116544","1338116546","1338116548","1338116550"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f24c72a62cc74651ae929f3a052edb3.jpg","text":"TemporaryFile(/tmp/multipartBody5366477671069425885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772484481,"filename":"image_06022025_16_34_59_9648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6a2d2511ac47fb5eeb546230d3beb5e.jpg","text":"TemporaryFile(/tmp/multipartBody2648254643053353305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772484481,"filename":"image_06022025_16_34_09_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1d5c0edec0e6feee84eca3ac8c53bf5.jpg","text":"TemporaryFile(/tmp/multipartBody1398256616543279990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772484481,"filename":"image_06022025_16_34_39_9641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a76c63051ae6e725536ddadc099192f.jpg","text":"TemporaryFile(/tmp/multipartBody2985997756429820388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772484481,"filename":"image_06022025_16_34_49_10656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c16728dad669d64002519b6206deb25b.jpg","text":"TemporaryFile(/tmp/multipartBody7909858023132429642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772484481,"filename":"image_06022025_16_34_29_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/52c15daed34dbca217298a94492c80d5.jpg","text":"TemporaryFile(/tmp/multipartBody7791820565120372605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772484481,"filename":"image_06022025_16_34_19_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338116544","file1":"1338116541","file0":"1338116539","file4":"1338116548","file5":"1338116550","file3":"1338116546"},"map_files_photo_id_array":[{"photo_id":"1338116550","filename":"file5"},{"photo_id":"1338116544","filename":"file2"},{"photo_id":"1338116548","filename":"file4"},{"photo_id":"1338116541","filename":"file1"},{"photo_id":"1338116539","filename":"file0"},{"photo_id":"1338116546","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338116539":["hashtag1","hashtag2"]},{"1338116550":["hashtag1","hashtag2"]},{"1338116544":["hashtag1","hashtag2"]},{"1338116541":["hashtag1","hashtag2"]},{"1338116546":["hashtag1","hashtag2"]},{"1338116548":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338116539, 1338116550, 1338116544, 1338116541, 1338116546, 1338116548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.97211766242981 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:08:02.880506
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_59_9658.jpg', 0), ('/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_49_10676.jpg', 0), ('/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_39_9636.jpg', 0), ('/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_29_9656.jpg', 0), ('/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_19_10665.jpg', 0), ('/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_09_9657.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_59_9658.jpg', '/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_49_10676.jpg', '/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_39_9636.jpg', '/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_29_9656.jpg', '/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_19_10665.jpg', '/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_09_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_59_9658.jpg
/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_49_10676.jpg
/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_39_9636.jpg
/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_29_9656.jpg
/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_19_10665.jpg
/home/nano/Desktop/images/06022025/16/33/image_06022025_16_33_09_9657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338116580","1338116573","1338116576","1338116579","1338116570","1338116584"],"photo_ids_order":["1338116570","1338116573","1338116576","1338116579","1338116580","1338116584"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d5ed34fda2e4d41e15fa2ebdef155a9.jpg","text":"TemporaryFile(/tmp/multipartBody7416286408470981433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772544879,"filename":"image_06022025_16_33_19_10665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4fee63562f0bc170a6cb014446f3b28d.jpg","text":"TemporaryFile(/tmp/multipartBody4675542939855080630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772544879,"filename":"image_06022025_16_33_49_10676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8fbbc37e9440533e6c009f828df03dc6.jpg","text":"TemporaryFile(/tmp/multipartBody3627633078650614816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772544879,"filename":"image_06022025_16_33_39_9636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57524bd1ec80aacb0f76d39aec5dee17.jpg","text":"TemporaryFile(/tmp/multipartBody5216465064428594264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772544879,"filename":"image_06022025_16_33_29_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ef1c454f9638446e97d88c830cf035f7.jpg","text":"TemporaryFile(/tmp/multipartBody7184364466790864540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772544879,"filename":"image_06022025_16_33_59_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97fd8839bb5ca0b6b264da8ba456c37e.jpg","text":"TemporaryFile(/tmp/multipartBody7306410276769177850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772544879,"filename":"image_06022025_16_33_09_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338116576","file1":"1338116573","file0":"1338116570","file4":"1338116580","file5":"1338116584","file3":"1338116579"},"map_files_photo_id_array":[{"photo_id":"1338116584","filename":"file5"},{"photo_id":"1338116576","filename":"file2"},{"photo_id":"1338116580","filename":"file4"},{"photo_id":"1338116573","filename":"file1"},{"photo_id":"1338116570","filename":"file0"},{"photo_id":"1338116579","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338116580":["hashtag1","hashtag2"]},{"1338116573":["hashtag1","hashtag2"]},{"1338116576":["hashtag1","hashtag2"]},{"1338116579":["hashtag1","hashtag2"]},{"1338116570":["hashtag1","hashtag2"]},{"1338116584":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338116580, 1338116573, 1338116576, 1338116579, 1338116570, 1338116584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.769858837127686 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:09:03.462310
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.504743099212646 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>88fme6a2o</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>88fme6a2o</strong>.
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:10:03.064012
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.76196312904358 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>88fme9kic</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>88fme9kic</strong>.
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:11:03.135747
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.183727979660034 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>88fmed5g3</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>88fmed5g3</strong>.
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:12:03.208874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.29750204086304 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>88fmeggfa</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>88fmeggfa</strong>.
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:13:02.611151
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.37522029876709 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>88fmek0df</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>88fmek0df</strong>.
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:14:03.031272
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg', '/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_59_9655.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_49_10667.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_39_9683.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_29_9660.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_19_10661.jpg
/home/nano/Desktop/images/06022025/16/32/image_06022025_16_32_09_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338116611","1338116637","1338116604","1338116621","1338116615","1338116629"],"photo_ids_order":["1338116604","1338116611","1338116615","1338116621","1338116629","1338116637"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f55aae5a1d5bf80ff84460a027cbccb.jpg","text":"TemporaryFile(/tmp/multipartBody6269335232860275603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772919441,"filename":"image_06022025_16_32_49_10667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f8303b37c1d39f982eb03dfd55ca96d.jpg","text":"TemporaryFile(/tmp/multipartBody9207807739453040586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772919441,"filename":"image_06022025_16_32_09_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9764abf70c5962ae35b078ad63d3a6b.jpg","text":"TemporaryFile(/tmp/multipartBody4649986184566443598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772919441,"filename":"image_06022025_16_32_59_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2501f2426f6a9fec53fa2264cc941b17.jpg","text":"TemporaryFile(/tmp/multipartBody3967213454773098572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772919441,"filename":"image_06022025_16_32_29_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae6d1315d2798916994650d0d619e03f.jpg","text":"TemporaryFile(/tmp/multipartBody8935978140360841211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772919441,"filename":"image_06022025_16_32_39_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd1616ab37e07980cbfdb2904f6e4e7d.jpg","text":"TemporaryFile(/tmp/multipartBody7983718020519917751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772919441,"filename":"image_06022025_16_32_19_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338116615","file1":"1338116611","file0":"1338116604","file4":"1338116629","file5":"1338116637","file3":"1338116621"},"map_files_photo_id_array":[{"photo_id":"1338116637","filename":"file5"},{"photo_id":"1338116615","filename":"file2"},{"photo_id":"1338116629","filename":"file4"},{"photo_id":"1338116611","filename":"file1"},{"photo_id":"1338116604","filename":"file0"},{"photo_id":"1338116621","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338116611":["hashtag1","hashtag2"]},{"1338116637":["hashtag1","hashtag2"]},{"1338116604":["hashtag1","hashtag2"]},{"1338116621":["hashtag1","hashtag2"]},{"1338116615":["hashtag1","hashtag2"]},{"1338116629":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338116611, 1338116637, 1338116604, 1338116621, 1338116615, 1338116629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.04519081115723 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:15:02.988685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_59_9652.jpg', 0), ('/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_49_10680.jpg', 0), ('/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_39_9657.jpg', 0), ('/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_29_9664.jpg', 0), ('/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_19_10653.jpg', 0), ('/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_09_9654.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_59_9652.jpg', '/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_49_10680.jpg', '/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_39_9657.jpg', '/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_29_9664.jpg', '/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_19_10653.jpg', '/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_09_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_59_9652.jpg
/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_49_10680.jpg
/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_39_9657.jpg
/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_29_9664.jpg
/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_19_10653.jpg
/home/nano/Desktop/images/06022025/16/31/image_06022025_16_31_09_9654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338116667","1338116652","1338116657","1338116662","1338116671","1338116674"],"photo_ids_order":["1338116652","1338116657","1338116662","1338116667","1338116671","1338116674"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ddc1ecd78c89edf464f75431f1ef81d4.jpg","text":"TemporaryFile(/tmp/multipartBody7355438099932754896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772964711,"filename":"image_06022025_16_31_29_9664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/62a7a73808eeb7f7c44b59831447609e.jpg","text":"TemporaryFile(/tmp/multipartBody3502390919031109501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772964711,"filename":"image_06022025_16_31_59_9652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/11991aa568b6d9ea450bf8373b68991c.jpg","text":"TemporaryFile(/tmp/multipartBody7474469362453870589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772964711,"filename":"image_06022025_16_31_49_10680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a965977e0f52939ed0d553e8e5f1371.jpg","text":"TemporaryFile(/tmp/multipartBody2727870378596616140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772964711,"filename":"image_06022025_16_31_39_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d91d1331eeee95ce24266870c96ef9e8.jpg","text":"TemporaryFile(/tmp/multipartBody6607442097256855892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772964711,"filename":"image_06022025_16_31_19_10653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1a8345f1010c5ccd7b5c34bbb88635f.jpg","text":"TemporaryFile(/tmp/multipartBody276196894051724237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739772964711,"filename":"image_06022025_16_31_09_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338116662","file1":"1338116657","file0":"1338116652","file4":"1338116671","file5":"1338116674","file3":"1338116667"},"map_files_photo_id_array":[{"photo_id":"1338116674","filename":"file5"},{"photo_id":"1338116662","filename":"file2"},{"photo_id":"1338116671","filename":"file4"},{"photo_id":"1338116657","filename":"file1"},{"photo_id":"1338116652","filename":"file0"},{"photo_id":"1338116667","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338116667":["hashtag1","hashtag2"]},{"1338116652":["hashtag1","hashtag2"]},{"1338116657":["hashtag1","hashtag2"]},{"1338116662":["hashtag1","hashtag2"]},{"1338116671":["hashtag1","hashtag2"]},{"1338116674":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338116667, 1338116652, 1338116657, 1338116662, 1338116671, 1338116674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.203866720199585 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:16:03.039496
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_59_9637.jpg', 0), ('/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_49_10665.jpg', 0), ('/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_39_9648.jpg', 0), ('/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_29_9662.jpg', 0), ('/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_19_10683.jpg', 0), ('/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_09_9699.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_59_9637.jpg', '/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_49_10665.jpg', '/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_39_9648.jpg', '/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_29_9662.jpg', '/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_19_10683.jpg', '/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_09_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_59_9637.jpg
/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_49_10665.jpg
/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_39_9648.jpg
/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_29_9662.jpg
/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_19_10683.jpg
/home/nano/Desktop/images/06022025/16/30/image_06022025_16_30_09_9699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338116722","1338116709","1338116717","1338116702","1338116705","1338116714"],"photo_ids_order":["1338116702","1338116705","1338116709","1338116714","1338116717","1338116722"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ccfb49286436ae0cfd55dcd09e00e1ec.jpg","text":"TemporaryFile(/tmp/multipartBody1362697822444754239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773024959,"filename":"image_06022025_16_30_09_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6071e71f05ce1dd9b55efcc0e97216a6.jpg","text":"TemporaryFile(/tmp/multipartBody5514873447631473909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773024959,"filename":"image_06022025_16_30_39_9648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cfff78bc2c1f11d10c336b06b2d41e38.jpg","text":"TemporaryFile(/tmp/multipartBody1708458917760452745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773024959,"filename":"image_06022025_16_30_19_10683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc2bf12d78e4609317f33ebd9fc70383.jpg","text":"TemporaryFile(/tmp/multipartBody7054629099394943953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773024959,"filename":"image_06022025_16_30_59_9637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2891051197da7e6046a67b708d9d2658.jpg","text":"TemporaryFile(/tmp/multipartBody2061708787711274181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773024959,"filename":"image_06022025_16_30_49_10665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/89c3de07850b5807682ae3d733b7e0ec.jpg","text":"TemporaryFile(/tmp/multipartBody1195456097741856575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773024959,"filename":"image_06022025_16_30_29_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338116709","file1":"1338116705","file0":"1338116702","file4":"1338116717","file5":"1338116722","file3":"1338116714"},"map_files_photo_id_array":[{"photo_id":"1338116722","filename":"file5"},{"photo_id":"1338116709","filename":"file2"},{"photo_id":"1338116717","filename":"file4"},{"photo_id":"1338116705","filename":"file1"},{"photo_id":"1338116702","filename":"file0"},{"photo_id":"1338116714","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338116722":["hashtag1","hashtag2"]},{"1338116709":["hashtag1","hashtag2"]},{"1338116717":["hashtag1","hashtag2"]},{"1338116702":["hashtag1","hashtag2"]},{"1338116705":["hashtag1","hashtag2"]},{"1338116714":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338116722, 1338116709, 1338116717, 1338116702, 1338116705, 1338116714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.462735176086426 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:17:03.188943
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_59_9657.jpg', 0), ('/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_49_10657.jpg', 0), ('/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_39_9691.jpg', 0), ('/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_29_9672.jpg', 0), ('/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_19_10659.jpg', 0), ('/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_09_9664.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_59_9657.jpg', '/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_49_10657.jpg', '/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_39_9691.jpg', '/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_29_9672.jpg', '/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_19_10659.jpg', '/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_09_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_59_9657.jpg
/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_49_10657.jpg
/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_39_9691.jpg
/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_29_9672.jpg
/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_19_10659.jpg
/home/nano/Desktop/images/06022025/16/29/image_06022025_16_29_09_9664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338116754","1338116748","1338116759","1338116756","1338116764","1338116752"],"photo_ids_order":["1338116748","1338116752","1338116754","1338116756","1338116759","1338116764"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c3e6564d87bfe6e639bd0ba78fec0c3.jpg","text":"TemporaryFile(/tmp/multipartBody8425405656657352694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773085038,"filename":"image_06022025_16_29_39_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/91e1e80697efe2edd6187a6c0e1502f9.jpg","text":"TemporaryFile(/tmp/multipartBody5335946005023699529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773085038,"filename":"image_06022025_16_29_59_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/631d1d223e961eadad1490d0da16d0c3.jpg","text":"TemporaryFile(/tmp/multipartBody1447054129559133859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773085038,"filename":"image_06022025_16_29_19_10659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90fc5a5685d0a7340d6b184618b31b39.jpg","text":"TemporaryFile(/tmp/multipartBody8818377558198202662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773085038,"filename":"image_06022025_16_29_29_9672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/640bef9f12c06d124026a01629193d78.jpg","text":"TemporaryFile(/tmp/multipartBody5200219839859701946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773085038,"filename":"image_06022025_16_29_09_9664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28b0011f6c19d47e367d765dadb7cac2.jpg","text":"TemporaryFile(/tmp/multipartBody4931233269553003263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773085038,"filename":"image_06022025_16_29_49_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338116754","file1":"1338116752","file0":"1338116748","file4":"1338116759","file5":"1338116764","file3":"1338116756"},"map_files_photo_id_array":[{"photo_id":"1338116764","filename":"file5"},{"photo_id":"1338116754","filename":"file2"},{"photo_id":"1338116759","filename":"file4"},{"photo_id":"1338116752","filename":"file1"},{"photo_id":"1338116748","filename":"file0"},{"photo_id":"1338116756","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338116754":["hashtag1","hashtag2"]},{"1338116748":["hashtag1","hashtag2"]},{"1338116759":["hashtag1","hashtag2"]},{"1338116756":["hashtag1","hashtag2"]},{"1338116764":["hashtag1","hashtag2"]},{"1338116752":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338116754, 1338116748, 1338116759, 1338116756, 1338116764, 1338116752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.22280216217041 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:18:02.410522
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_59_9658.jpg', 0), ('/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_49_10694.jpg', 0), ('/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_39_9665.jpg', 0), ('/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_29_9664.jpg', 0), ('/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_19_10671.jpg', 0), ('/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_09_9660.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_59_9658.jpg', '/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_49_10694.jpg', '/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_39_9665.jpg', '/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_29_9664.jpg', '/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_19_10671.jpg', '/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_09_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_59_9658.jpg
/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_49_10694.jpg
/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_39_9665.jpg
/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_29_9664.jpg
/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_19_10671.jpg
/home/nano/Desktop/images/06022025/16/28/image_06022025_16_28_09_9660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338116800","1338116805","1338116808","1338116802","1338116813","1338116797"],"photo_ids_order":["1338116797","1338116800","1338116802","1338116805","1338116808","1338116813"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d6ddf8246aee07b21fa66772d908097.jpg","text":"TemporaryFile(/tmp/multipartBody7054443457491214212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773144168,"filename":"image_06022025_16_28_49_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00b0f3bc670715bfafd60cefff443bcb.jpg","text":"TemporaryFile(/tmp/multipartBody7335499930113006444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773144168,"filename":"image_06022025_16_28_29_9664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46931a19face10d9daf911b04321d3ef.jpg","text":"TemporaryFile(/tmp/multipartBody8312442856034324458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773144168,"filename":"image_06022025_16_28_19_10671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca3c93b5c91c991efb895a63fd8af128.jpg","text":"TemporaryFile(/tmp/multipartBody1774007272706648430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773144168,"filename":"image_06022025_16_28_39_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e40b7a2dac127a0b75a4df139a43aa3a.jpg","text":"TemporaryFile(/tmp/multipartBody6747040800110991370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773144168,"filename":"image_06022025_16_28_09_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99d65c6d0b16f0fcb7a6c1b45184148e.jpg","text":"TemporaryFile(/tmp/multipartBody4200125150702538913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773144168,"filename":"image_06022025_16_28_59_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338116802","file1":"1338116800","file0":"1338116797","file4":"1338116808","file5":"1338116813","file3":"1338116805"},"map_files_photo_id_array":[{"photo_id":"1338116813","filename":"file5"},{"photo_id":"1338116802","filename":"file2"},{"photo_id":"1338116808","filename":"file4"},{"photo_id":"1338116800","filename":"file1"},{"photo_id":"1338116797","filename":"file0"},{"photo_id":"1338116805","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338116800":["hashtag1","hashtag2"]},{"1338116805":["hashtag1","hashtag2"]},{"1338116808":["hashtag1","hashtag2"]},{"1338116802":["hashtag1","hashtag2"]},{"1338116813":["hashtag1","hashtag2"]},{"1338116797":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338116800, 1338116805, 1338116808, 1338116802, 1338116813, 1338116797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.14565658569336 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:19:02.793796
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_59_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_49_10705.jpg', 0), ('/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_39_9652.jpg', 0), ('/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_29_9651.jpg', 0), ('/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_19_10645.jpg', 0), ('/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_09_9680.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_59_9660.jpg', '/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_49_10705.jpg', '/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_39_9652.jpg', '/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_29_9651.jpg', '/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_19_10645.jpg', '/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_09_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_59_9660.jpg
/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_49_10705.jpg
/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_39_9652.jpg
/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_29_9651.jpg
/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_19_10645.jpg
/home/nano/Desktop/images/06022025/16/27/image_06022025_16_27_09_9680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338116856","1338116850","1338116864","1338116843","1338116860","1338116845"],"photo_ids_order":["1338116843","1338116845","1338116850","1338116856","1338116860","1338116864"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a79212faf590fdc0ef03087f939f29c3.jpg","text":"TemporaryFile(/tmp/multipartBody401626740291451636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773204627,"filename":"image_06022025_16_27_29_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b5309446b4736bce6b181adb63c72cc8.jpg","text":"TemporaryFile(/tmp/multipartBody2207931673897623191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773204627,"filename":"image_06022025_16_27_39_9652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c529334ea3da0836f71ced06b61d2ee.jpg","text":"TemporaryFile(/tmp/multipartBody6991280339393857269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773204627,"filename":"image_06022025_16_27_09_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb03961bf7c920848a3a0e815920ee4f.jpg","text":"TemporaryFile(/tmp/multipartBody245947934011021631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773204627,"filename":"image_06022025_16_27_59_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2103119623b0f4427016779042106a04.jpg","text":"TemporaryFile(/tmp/multipartBody7628010259678572285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773204627,"filename":"image_06022025_16_27_19_10645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9bda7daf57a7fee6c328d407b1e435f4.jpg","text":"TemporaryFile(/tmp/multipartBody1500267158733909071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773204627,"filename":"image_06022025_16_27_49_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338116850","file1":"1338116845","file0":"1338116843","file4":"1338116860","file5":"1338116864","file3":"1338116856"},"map_files_photo_id_array":[{"photo_id":"1338116864","filename":"file5"},{"photo_id":"1338116850","filename":"file2"},{"photo_id":"1338116860","filename":"file4"},{"photo_id":"1338116845","filename":"file1"},{"photo_id":"1338116843","filename":"file0"},{"photo_id":"1338116856","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338116856":["hashtag1","hashtag2"]},{"1338116850":["hashtag1","hashtag2"]},{"1338116864":["hashtag1","hashtag2"]},{"1338116843":["hashtag1","hashtag2"]},{"1338116860":["hashtag1","hashtag2"]},{"1338116845":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338116856, 1338116850, 1338116864, 1338116843, 1338116860, 1338116845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12670278549194 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:20:02.785033
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_59_9651.jpg', 0), ('/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_49_10679.jpg', 0), ('/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_39_9645.jpg', 0), ('/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_29_9686.jpg', 0), ('/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_19_10660.jpg', 0), ('/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_09_9697.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_59_9651.jpg', '/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_49_10679.jpg', '/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_39_9645.jpg', '/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_29_9686.jpg', '/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_19_10660.jpg', '/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_09_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_59_9651.jpg
/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_49_10679.jpg
/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_39_9645.jpg
/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_29_9686.jpg
/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_19_10660.jpg
/home/nano/Desktop/images/06022025/16/26/image_06022025_16_26_09_9697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338116929","1338116916","1338116919","1338116927","1338116912","1338116936"],"photo_ids_order":["1338116912","1338116916","1338116919","1338116927","1338116929","1338116936"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26fbd4977dd6fc04dbae55750e3cf5e8.jpg","text":"TemporaryFile(/tmp/multipartBody6150953739596306280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773264602,"filename":"image_06022025_16_26_19_10660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1aa0252eb79efba61a6c73664e99d2aa.jpg","text":"TemporaryFile(/tmp/multipartBody1094738474998885405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773264602,"filename":"image_06022025_16_26_49_10679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc47a4c95fab6112c32dadbc0d5fe55f.jpg","text":"TemporaryFile(/tmp/multipartBody7321053316798913861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773264602,"filename":"image_06022025_16_26_39_9645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eaffd1e462bc005a7246485ba806277b.jpg","text":"TemporaryFile(/tmp/multipartBody9170894363342608419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773264602,"filename":"image_06022025_16_26_29_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40067ad501023f86ecc190c0c1f1ec1c.jpg","text":"TemporaryFile(/tmp/multipartBody1080827153822398158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773264602,"filename":"image_06022025_16_26_59_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e2a70fdedd72470365bb7de3a1948f71.jpg","text":"TemporaryFile(/tmp/multipartBody7053835890778779949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773264602,"filename":"image_06022025_16_26_09_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338116919","file1":"1338116916","file0":"1338116912","file4":"1338116929","file5":"1338116936","file3":"1338116927"},"map_files_photo_id_array":[{"photo_id":"1338116936","filename":"file5"},{"photo_id":"1338116919","filename":"file2"},{"photo_id":"1338116929","filename":"file4"},{"photo_id":"1338116916","filename":"file1"},{"photo_id":"1338116912","filename":"file0"},{"photo_id":"1338116927","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338116929":["hashtag1","hashtag2"]},{"1338116916":["hashtag1","hashtag2"]},{"1338116919":["hashtag1","hashtag2"]},{"1338116927":["hashtag1","hashtag2"]},{"1338116912":["hashtag1","hashtag2"]},{"1338116936":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338116929, 1338116916, 1338116919, 1338116927, 1338116912, 1338116936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.76883316040039 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:21:02.936716
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_59_9661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_49_10673.jpg', 0), ('/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_39_9657.jpg', 0), ('/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_29_9666.jpg', 0), ('/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_19_10674.jpg', 0), ('/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_09_9682.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_59_9661.jpg', '/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_49_10673.jpg', '/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_39_9657.jpg', '/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_29_9666.jpg', '/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_19_10674.jpg', '/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_09_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_59_9661.jpg
/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_49_10673.jpg
/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_39_9657.jpg
/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_29_9666.jpg
/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_19_10674.jpg
/home/nano/Desktop/images/06022025/16/25/image_06022025_16_25_09_9682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338116991","1338116999","1338117014","1338116987","1338117004","1338117007"],"photo_ids_order":["1338116987","1338116991","1338116999","1338117004","1338117007","1338117014"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/311f322b66233959295b9f65a65e1e27.jpg","text":"TemporaryFile(/tmp/multipartBody5191896598863224426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773324797,"filename":"image_06022025_16_25_49_10673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21f1d48509a8d63310d372e6e1c2c4cc.jpg","text":"TemporaryFile(/tmp/multipartBody7454384606795395526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773324797,"filename":"image_06022025_16_25_39_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9bcb92c8e4c46de191bf305033922375.jpg","text":"TemporaryFile(/tmp/multipartBody537464925030405328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773324797,"filename":"image_06022025_16_25_09_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0741907700381a28318a4a5a9e76bc78.jpg","text":"TemporaryFile(/tmp/multipartBody4614015949904621163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773324797,"filename":"image_06022025_16_25_59_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/360f2bed8f796486663358b7a7a8bca7.jpg","text":"TemporaryFile(/tmp/multipartBody5600156959604660619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773324797,"filename":"image_06022025_16_25_29_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1375d0bbcbc2e6a9229eea3c5ac3063f.jpg","text":"TemporaryFile(/tmp/multipartBody3202051696189985465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773324797,"filename":"image_06022025_16_25_19_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338116999","file1":"1338116991","file0":"1338116987","file4":"1338117007","file5":"1338117014","file3":"1338117004"},"map_files_photo_id_array":[{"photo_id":"1338117014","filename":"file5"},{"photo_id":"1338116999","filename":"file2"},{"photo_id":"1338117007","filename":"file4"},{"photo_id":"1338116991","filename":"file1"},{"photo_id":"1338116987","filename":"file0"},{"photo_id":"1338117004","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338116991":["hashtag1","hashtag2"]},{"1338116999":["hashtag1","hashtag2"]},{"1338117014":["hashtag1","hashtag2"]},{"1338116987":["hashtag1","hashtag2"]},{"1338117004":["hashtag1","hashtag2"]},{"1338117007":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338116991, 1338116999, 1338117014, 1338116987, 1338117004, 1338117007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9850857257843 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:22:03.078280
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_59_9677.jpg', 0), ('/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_49_10653.jpg', 0), ('/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_39_9677.jpg', 0), ('/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_29_9656.jpg', 0), ('/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_19_10664.jpg', 0), ('/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_09_9675.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_59_9677.jpg', '/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_49_10653.jpg', '/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_39_9677.jpg', '/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_29_9656.jpg', '/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_19_10664.jpg', '/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_09_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_59_9677.jpg
/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_49_10653.jpg
/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_39_9677.jpg
/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_29_9656.jpg
/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_19_10664.jpg
/home/nano/Desktop/images/06022025/16/24/image_06022025_16_24_09_9675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117057","1338117062","1338117059","1338117050","1338117053","1338117052"],"photo_ids_order":["1338117050","1338117052","1338117053","1338117057","1338117059","1338117062"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a9e840697dd02d6c4baa6aef3001ecb3.jpg","text":"TemporaryFile(/tmp/multipartBody5585566180351594042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773384920,"filename":"image_06022025_16_24_29_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/645fbb670c861210954ffb038a898613.jpg","text":"TemporaryFile(/tmp/multipartBody5670987138250993933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773384920,"filename":"image_06022025_16_24_09_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c7c0fe4c12aa4716a8772106f8924ca.jpg","text":"TemporaryFile(/tmp/multipartBody6788753404373835670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773384920,"filename":"image_06022025_16_24_19_10664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee9bae8e9d7a919510e0f0e549f49604.jpg","text":"TemporaryFile(/tmp/multipartBody3235342136897466607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773384920,"filename":"image_06022025_16_24_59_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c3d6112d60f950d406ae10a404a852a.jpg","text":"TemporaryFile(/tmp/multipartBody949881845279065327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773384920,"filename":"image_06022025_16_24_39_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6995ede2461099e420b69c349e9c18d7.jpg","text":"TemporaryFile(/tmp/multipartBody2760529799076463451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773384920,"filename":"image_06022025_16_24_49_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117053","file1":"1338117052","file0":"1338117050","file4":"1338117059","file5":"1338117062","file3":"1338117057"},"map_files_photo_id_array":[{"photo_id":"1338117062","filename":"file5"},{"photo_id":"1338117053","filename":"file2"},{"photo_id":"1338117059","filename":"file4"},{"photo_id":"1338117052","filename":"file1"},{"photo_id":"1338117050","filename":"file0"},{"photo_id":"1338117057","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117057":["hashtag1","hashtag2"]},{"1338117062":["hashtag1","hashtag2"]},{"1338117059":["hashtag1","hashtag2"]},{"1338117050":["hashtag1","hashtag2"]},{"1338117053":["hashtag1","hashtag2"]},{"1338117052":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117057, 1338117062, 1338117059, 1338117050, 1338117053, 1338117052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.057053327560425 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:23:03.458725
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_59_9662.jpg', 0), ('/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_49_10667.jpg', 0), ('/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_39_9641.jpg', 0), ('/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_29_9661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_19_10678.jpg', 0), ('/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_09_9671.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_59_9662.jpg', '/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_49_10667.jpg', '/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_39_9641.jpg', '/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_29_9661.jpg', '/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_19_10678.jpg', '/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_09_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_59_9662.jpg
/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_49_10667.jpg
/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_39_9641.jpg
/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_29_9661.jpg
/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_19_10678.jpg
/home/nano/Desktop/images/06022025/16/23/image_06022025_16_23_09_9671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117144","1338117120","1338117125","1338117134","1338117107","1338117097"],"photo_ids_order":["1338117097","1338117107","1338117120","1338117125","1338117134","1338117144"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0834be616f4656897d796d8d3e64e50.jpg","text":"TemporaryFile(/tmp/multipartBody1563618617845979807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773445040,"filename":"image_06022025_16_23_09_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e4638b41dc17b770d39d04593686a38.jpg","text":"TemporaryFile(/tmp/multipartBody9149644799609391833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773445040,"filename":"image_06022025_16_23_39_9641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf45e2f78bf2fb943632451e34aeac33.jpg","text":"TemporaryFile(/tmp/multipartBody113436509909325668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773445040,"filename":"image_06022025_16_23_29_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08c7e36185af65c436f26d7e86ed7314.jpg","text":"TemporaryFile(/tmp/multipartBody8306238892878879845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773445040,"filename":"image_06022025_16_23_19_10678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae27a91ee431ea955c04f195472dfa88.jpg","text":"TemporaryFile(/tmp/multipartBody4293830031780848071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773445040,"filename":"image_06022025_16_23_49_10667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d39e6f373362239021e3987e7dde6c9c.jpg","text":"TemporaryFile(/tmp/multipartBody8655120754097275638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773445040,"filename":"image_06022025_16_23_59_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117120","file1":"1338117107","file0":"1338117097","file4":"1338117134","file5":"1338117144","file3":"1338117125"},"map_files_photo_id_array":[{"photo_id":"1338117144","filename":"file5"},{"photo_id":"1338117120","filename":"file2"},{"photo_id":"1338117134","filename":"file4"},{"photo_id":"1338117107","filename":"file1"},{"photo_id":"1338117097","filename":"file0"},{"photo_id":"1338117125","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117144":["hashtag1","hashtag2"]},{"1338117120":["hashtag1","hashtag2"]},{"1338117125":["hashtag1","hashtag2"]},{"1338117134":["hashtag1","hashtag2"]},{"1338117107":["hashtag1","hashtag2"]},{"1338117097":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117144, 1338117120, 1338117125, 1338117134, 1338117107, 1338117097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.915046453475952 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:24:02.778822
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_59_9684.jpg', 0), ('/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_49_10662.jpg', 0), ('/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_39_9662.jpg', 0), ('/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_29_9675.jpg', 0), ('/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_19_10662.jpg', 0), ('/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_09_9677.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_59_9684.jpg', '/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_49_10662.jpg', '/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_39_9662.jpg', '/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_29_9675.jpg', '/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_19_10662.jpg', '/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_09_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_59_9684.jpg
/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_49_10662.jpg
/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_39_9662.jpg
/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_29_9675.jpg
/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_19_10662.jpg
/home/nano/Desktop/images/06022025/16/22/image_06022025_16_22_09_9677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117191","1338117194","1338117187","1338117181","1338117175","1338117177"],"photo_ids_order":["1338117175","1338117177","1338117181","1338117187","1338117191","1338117194"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05c9c441fbd3a174daa9bc7cda2154b5.jpg","text":"TemporaryFile(/tmp/multipartBody8019127365104207114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773504774,"filename":"image_06022025_16_22_19_10662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d450ced4ca2e0426ff96de09d15cc1d3.jpg","text":"TemporaryFile(/tmp/multipartBody1402436296838472013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773504774,"filename":"image_06022025_16_22_09_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d103e775897bfadd23d2d89adc47e0e9.jpg","text":"TemporaryFile(/tmp/multipartBody2954203960904647797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773504774,"filename":"image_06022025_16_22_29_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2400ec5172949b0ae31c0001ff9bd0c0.jpg","text":"TemporaryFile(/tmp/multipartBody4345339800716952093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773504774,"filename":"image_06022025_16_22_39_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/097f0a7406f85d79bf6e20efb4648fe8.jpg","text":"TemporaryFile(/tmp/multipartBody7259636852871866596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773504774,"filename":"image_06022025_16_22_59_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee0890a287a3540c476282a2163adbfe.jpg","text":"TemporaryFile(/tmp/multipartBody444621111782821464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773504774,"filename":"image_06022025_16_22_49_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117181","file1":"1338117177","file0":"1338117175","file4":"1338117191","file5":"1338117194","file3":"1338117187"},"map_files_photo_id_array":[{"photo_id":"1338117194","filename":"file5"},{"photo_id":"1338117181","filename":"file2"},{"photo_id":"1338117191","filename":"file4"},{"photo_id":"1338117177","filename":"file1"},{"photo_id":"1338117175","filename":"file0"},{"photo_id":"1338117187","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117191":["hashtag1","hashtag2"]},{"1338117194":["hashtag1","hashtag2"]},{"1338117187":["hashtag1","hashtag2"]},{"1338117181":["hashtag1","hashtag2"]},{"1338117175":["hashtag1","hashtag2"]},{"1338117177":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117191, 1338117194, 1338117187, 1338117181, 1338117175, 1338117177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63028001785278 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:25:02.904927
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_59_9651.jpg', 0), ('/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_49_10655.jpg', 0), ('/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_39_9669.jpg', 0), ('/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_29_9671.jpg', 0), ('/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_19_10705.jpg', 0), ('/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_09_9659.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_59_9651.jpg', '/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_49_10655.jpg', '/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_39_9669.jpg', '/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_29_9671.jpg', '/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_19_10705.jpg', '/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_09_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_59_9651.jpg
/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_49_10655.jpg
/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_39_9669.jpg
/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_29_9671.jpg
/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_19_10705.jpg
/home/nano/Desktop/images/06022025/16/21/image_06022025_16_21_09_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117234","1338117228","1338117216","1338117242","1338117236","1338117220"],"photo_ids_order":["1338117216","1338117220","1338117228","1338117234","1338117236","1338117242"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6351c9b2182b4fce1f0c28b106d0dcc.jpg","text":"TemporaryFile(/tmp/multipartBody3339438676366460743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773564703,"filename":"image_06022025_16_21_29_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dda125969b9d980ddf8278c92db6f963.jpg","text":"TemporaryFile(/tmp/multipartBody3829788925347061684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773564703,"filename":"image_06022025_16_21_39_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/52faab9bd3eead981f822ddee98d3f24.jpg","text":"TemporaryFile(/tmp/multipartBody8909829126794268096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773564703,"filename":"image_06022025_16_21_59_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97daa3ad8c5e74f506326c23d84173fe.jpg","text":"TemporaryFile(/tmp/multipartBody1747249134621353779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773564703,"filename":"image_06022025_16_21_09_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ecbc1f2a175f3b33a6a3b763d87635be.jpg","text":"TemporaryFile(/tmp/multipartBody7521274631359908026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773564703,"filename":"image_06022025_16_21_19_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e6c5ea6bd6bcac66f442c9d977ba50dd.jpg","text":"TemporaryFile(/tmp/multipartBody3344726610545061170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773564703,"filename":"image_06022025_16_21_49_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117228","file1":"1338117220","file0":"1338117216","file4":"1338117236","file5":"1338117242","file3":"1338117234"},"map_files_photo_id_array":[{"photo_id":"1338117242","filename":"file5"},{"photo_id":"1338117228","filename":"file2"},{"photo_id":"1338117236","filename":"file4"},{"photo_id":"1338117220","filename":"file1"},{"photo_id":"1338117216","filename":"file0"},{"photo_id":"1338117234","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117234":["hashtag1","hashtag2"]},{"1338117228":["hashtag1","hashtag2"]},{"1338117216":["hashtag1","hashtag2"]},{"1338117242":["hashtag1","hashtag2"]},{"1338117236":["hashtag1","hashtag2"]},{"1338117220":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117234, 1338117228, 1338117216, 1338117242, 1338117236, 1338117220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62351441383362 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:26:02.717784
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_59_9678.jpg', 0), ('/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_49_10666.jpg', 0), ('/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_39_9654.jpg', 0), ('/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_29_9668.jpg', 0), ('/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_19_10653.jpg', 0), ('/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_09_9662.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_59_9678.jpg', '/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_49_10666.jpg', '/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_39_9654.jpg', '/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_29_9668.jpg', '/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_19_10653.jpg', '/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_09_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_59_9678.jpg
/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_49_10666.jpg
/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_39_9654.jpg
/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_29_9668.jpg
/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_19_10653.jpg
/home/nano/Desktop/images/06022025/16/20/image_06022025_16_20_09_9662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117290","1338117275","1338117269","1338117292","1338117294","1338117282"],"photo_ids_order":["1338117269","1338117275","1338117282","1338117290","1338117292","1338117294"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5455913a2b134901a124374d758800c7.jpg","text":"TemporaryFile(/tmp/multipartBody7509724821111572238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773624351,"filename":"image_06022025_16_20_29_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dfbffe579205e6c49dea933ebedc38bc.jpg","text":"TemporaryFile(/tmp/multipartBody1896164345053253150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773624351,"filename":"image_06022025_16_20_49_10666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e95a74b8a74451f56795d6f317078b3.jpg","text":"TemporaryFile(/tmp/multipartBody2135001841432777281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773624351,"filename":"image_06022025_16_20_59_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d187393d1cf003597b3e76be2f9d1581.jpg","text":"TemporaryFile(/tmp/multipartBody9020439601062566802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773624351,"filename":"image_06022025_16_20_19_10653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c95637bc06ae1e49afeff2ce0676172.jpg","text":"TemporaryFile(/tmp/multipartBody193038910674887721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773624351,"filename":"image_06022025_16_20_09_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3259465875af0b0b29c218b45f142a15.jpg","text":"TemporaryFile(/tmp/multipartBody2362388276871415048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773624351,"filename":"image_06022025_16_20_39_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117282","file1":"1338117275","file0":"1338117269","file4":"1338117292","file5":"1338117294","file3":"1338117290"},"map_files_photo_id_array":[{"photo_id":"1338117294","filename":"file5"},{"photo_id":"1338117282","filename":"file2"},{"photo_id":"1338117292","filename":"file4"},{"photo_id":"1338117275","filename":"file1"},{"photo_id":"1338117269","filename":"file0"},{"photo_id":"1338117290","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117290":["hashtag1","hashtag2"]},{"1338117275":["hashtag1","hashtag2"]},{"1338117269":["hashtag1","hashtag2"]},{"1338117292":["hashtag1","hashtag2"]},{"1338117294":["hashtag1","hashtag2"]},{"1338117282":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117290, 1338117275, 1338117269, 1338117292, 1338117294, 1338117282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.80653667449951 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:27:03.089514
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_59_9665.jpg', 0), ('/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_49_10670.jpg', 0), ('/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_39_9661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_29_9690.jpg', 0), ('/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_19_10665.jpg', 0), ('/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_09_9663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_59_9665.jpg', '/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_49_10670.jpg', '/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_39_9661.jpg', '/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_29_9690.jpg', '/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_19_10665.jpg', '/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_09_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_59_9665.jpg
/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_49_10670.jpg
/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_39_9661.jpg
/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_29_9690.jpg
/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_19_10665.jpg
/home/nano/Desktop/images/06022025/16/19/image_06022025_16_19_09_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117345","1338117353","1338117356","1338117338","1338117349","1338117328"],"photo_ids_order":["1338117328","1338117338","1338117345","1338117349","1338117353","1338117356"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b7f5abdef9bbed5db5f8c442b23bd7c.jpg","text":"TemporaryFile(/tmp/multipartBody5212617553439455518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773684655,"filename":"image_06022025_16_19_39_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/edf97ff703071dadb44724f90359897e.jpg","text":"TemporaryFile(/tmp/multipartBody751527651565144924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773684655,"filename":"image_06022025_16_19_19_10665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77c53018edd18b6cc0013662833f833f.jpg","text":"TemporaryFile(/tmp/multipartBody3097516185973834245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773684655,"filename":"image_06022025_16_19_09_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b563ebd26ee8c481f62cb5775cf5907.jpg","text":"TemporaryFile(/tmp/multipartBody7615059156781238930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773684655,"filename":"image_06022025_16_19_49_10670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e55212d4e0e56bee7966173834313e5.jpg","text":"TemporaryFile(/tmp/multipartBody164011915195058878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773684655,"filename":"image_06022025_16_19_29_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e67e9fa3b4db5264cdfb4e436daba045.jpg","text":"TemporaryFile(/tmp/multipartBody5719700733770697620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773684655,"filename":"image_06022025_16_19_59_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117345","file1":"1338117338","file0":"1338117328","file4":"1338117353","file5":"1338117356","file3":"1338117349"},"map_files_photo_id_array":[{"photo_id":"1338117356","filename":"file5"},{"photo_id":"1338117345","filename":"file2"},{"photo_id":"1338117353","filename":"file4"},{"photo_id":"1338117338","filename":"file1"},{"photo_id":"1338117328","filename":"file0"},{"photo_id":"1338117349","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117345":["hashtag1","hashtag2"]},{"1338117353":["hashtag1","hashtag2"]},{"1338117356":["hashtag1","hashtag2"]},{"1338117338":["hashtag1","hashtag2"]},{"1338117349":["hashtag1","hashtag2"]},{"1338117328":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117345, 1338117353, 1338117356, 1338117338, 1338117349, 1338117328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.30324673652649 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:28:02.986124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_59_9657.jpg', 0), ('/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_49_10662.jpg', 0), ('/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_39_9687.jpg', 0), ('/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_29_9675.jpg', 0), ('/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_19_10671.jpg', 0), ('/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_09_9676.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_59_9657.jpg', '/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_49_10662.jpg', '/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_39_9687.jpg', '/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_29_9675.jpg', '/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_19_10671.jpg', '/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_09_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_59_9657.jpg
/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_49_10662.jpg
/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_39_9687.jpg
/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_29_9675.jpg
/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_19_10671.jpg
/home/nano/Desktop/images/06022025/16/18/image_06022025_16_18_09_9676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117390","1338117386","1338117383","1338117376","1338117379","1338117381"],"photo_ids_order":["1338117376","1338117379","1338117381","1338117383","1338117386","1338117390"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc59328d11b7ace2bdc5d9728889cce2.jpg","text":"TemporaryFile(/tmp/multipartBody8532606661064964892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773744637,"filename":"image_06022025_16_18_09_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c92c88a83bb3bd77c37dfb8cbc72e00b.jpg","text":"TemporaryFile(/tmp/multipartBody6514149336515168712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773744637,"filename":"image_06022025_16_18_19_10671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba4883e31b851545ba8a21b18d8b8c34.jpg","text":"TemporaryFile(/tmp/multipartBody2961691304813339403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773744637,"filename":"image_06022025_16_18_29_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9009b29c0440e5431e8131d8695ebf34.jpg","text":"TemporaryFile(/tmp/multipartBody822285877002788430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773744637,"filename":"image_06022025_16_18_59_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/61b78c869b900276c542e13eb4d55f08.jpg","text":"TemporaryFile(/tmp/multipartBody5783822650373461643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773744637,"filename":"image_06022025_16_18_49_10662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ac6379aaa295e0d98ed2086f0741cca.jpg","text":"TemporaryFile(/tmp/multipartBody7657233016401716033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773744637,"filename":"image_06022025_16_18_39_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117381","file1":"1338117379","file0":"1338117376","file4":"1338117386","file5":"1338117390","file3":"1338117383"},"map_files_photo_id_array":[{"photo_id":"1338117390","filename":"file5"},{"photo_id":"1338117381","filename":"file2"},{"photo_id":"1338117386","filename":"file4"},{"photo_id":"1338117379","filename":"file1"},{"photo_id":"1338117376","filename":"file0"},{"photo_id":"1338117383","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117390":["hashtag1","hashtag2"]},{"1338117386":["hashtag1","hashtag2"]},{"1338117383":["hashtag1","hashtag2"]},{"1338117376":["hashtag1","hashtag2"]},{"1338117379":["hashtag1","hashtag2"]},{"1338117381":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117390, 1338117386, 1338117383, 1338117376, 1338117379, 1338117381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81364679336548 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:29:03.691042
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_59_9649.jpg', 0), ('/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_49_10699.jpg', 0), ('/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_39_9661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_29_9679.jpg', 0), ('/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_19_10680.jpg', 0), ('/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_09_9668.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_59_9649.jpg', '/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_49_10699.jpg', '/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_39_9661.jpg', '/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_29_9679.jpg', '/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_19_10680.jpg', '/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_09_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_59_9649.jpg
/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_49_10699.jpg
/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_39_9661.jpg
/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_29_9679.jpg
/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_19_10680.jpg
/home/nano/Desktop/images/06022025/16/17/image_06022025_16_17_09_9668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117441","1338117432","1338117417","1338117422","1338117427","1338117436"],"photo_ids_order":["1338117417","1338117422","1338117427","1338117432","1338117436","1338117441"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5edeb434d530db6343fba665754c24fc.jpg","text":"TemporaryFile(/tmp/multipartBody2582724240089480367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773805952,"filename":"image_06022025_16_17_09_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8621487ddd02fcd2699bf8a889d11563.jpg","text":"TemporaryFile(/tmp/multipartBody7635110539445556218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773805952,"filename":"image_06022025_16_17_29_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d44d7d93a6596344dabb448f1a37945.jpg","text":"TemporaryFile(/tmp/multipartBody7467878990720527278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773805952,"filename":"image_06022025_16_17_59_9649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ba8f98541c919e5bf23daa6639f1c74.jpg","text":"TemporaryFile(/tmp/multipartBody3318276999649747305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773805952,"filename":"image_06022025_16_17_49_10699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d50d7aa56a4449373c8bb27fcfb71bb8.jpg","text":"TemporaryFile(/tmp/multipartBody5715398850911414034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773805952,"filename":"image_06022025_16_17_39_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/daba175d29a0482d0c3e730262c2ba9f.jpg","text":"TemporaryFile(/tmp/multipartBody3225609791816963381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773805952,"filename":"image_06022025_16_17_19_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117427","file1":"1338117422","file0":"1338117417","file4":"1338117436","file5":"1338117441","file3":"1338117432"},"map_files_photo_id_array":[{"photo_id":"1338117441","filename":"file5"},{"photo_id":"1338117427","filename":"file2"},{"photo_id":"1338117436","filename":"file4"},{"photo_id":"1338117422","filename":"file1"},{"photo_id":"1338117417","filename":"file0"},{"photo_id":"1338117432","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117441":["hashtag1","hashtag2"]},{"1338117432":["hashtag1","hashtag2"]},{"1338117417":["hashtag1","hashtag2"]},{"1338117422":["hashtag1","hashtag2"]},{"1338117427":["hashtag1","hashtag2"]},{"1338117436":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117441, 1338117432, 1338117417, 1338117422, 1338117427, 1338117436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9118537902832 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:30:02.286672
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_59_9659.jpg', 0), ('/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_49_10659.jpg', 0), ('/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_39_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_29_9653.jpg', 0), ('/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_19_10659.jpg', 0), ('/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_09_9669.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_59_9659.jpg', '/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_49_10659.jpg', '/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_39_9667.jpg', '/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_29_9653.jpg', '/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_19_10659.jpg', '/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_09_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_59_9659.jpg
/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_49_10659.jpg
/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_39_9667.jpg
/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_29_9653.jpg
/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_19_10659.jpg
/home/nano/Desktop/images/06022025/16/16/image_06022025_16_16_09_9669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117477","1338117461","1338117464","1338117481","1338117474","1338117468"],"photo_ids_order":["1338117461","1338117464","1338117468","1338117474","1338117477","1338117481"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/83c505377c3821d56fd9c4980ec17175.jpg","text":"TemporaryFile(/tmp/multipartBody4895307369167015752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773863966,"filename":"image_06022025_16_16_19_10659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24500357d743484cadce65a7faf8c1c2.jpg","text":"TemporaryFile(/tmp/multipartBody5576120781813168450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773863966,"filename":"image_06022025_16_16_59_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ca8c422a7e73b4ee45b4d4269fd4b6c.jpg","text":"TemporaryFile(/tmp/multipartBody8903196067716050042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773863966,"filename":"image_06022025_16_16_49_10659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d94ad3909a98520503e5c64db561b07a.jpg","text":"TemporaryFile(/tmp/multipartBody3328099401700188896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773863966,"filename":"image_06022025_16_16_09_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/acb3e57cea4535cbe0555cfc90fe6a30.jpg","text":"TemporaryFile(/tmp/multipartBody424805538256872890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773863966,"filename":"image_06022025_16_16_29_9653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2bec778b1b7d3f7c0effae270b6b48a1.jpg","text":"TemporaryFile(/tmp/multipartBody2118656901459176444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773863966,"filename":"image_06022025_16_16_39_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117468","file1":"1338117464","file0":"1338117461","file4":"1338117477","file5":"1338117481","file3":"1338117474"},"map_files_photo_id_array":[{"photo_id":"1338117481","filename":"file5"},{"photo_id":"1338117468","filename":"file2"},{"photo_id":"1338117477","filename":"file4"},{"photo_id":"1338117464","filename":"file1"},{"photo_id":"1338117461","filename":"file0"},{"photo_id":"1338117474","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117477":["hashtag1","hashtag2"]},{"1338117461":["hashtag1","hashtag2"]},{"1338117464":["hashtag1","hashtag2"]},{"1338117481":["hashtag1","hashtag2"]},{"1338117474":["hashtag1","hashtag2"]},{"1338117468":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117477, 1338117461, 1338117464, 1338117481, 1338117474, 1338117468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44952201843262 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:31:02.711900
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_59_9662.jpg', 0), ('/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_49_10693.jpg', 0), ('/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_39_9680.jpg', 0), ('/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_29_9692.jpg', 0), ('/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_19_9682.jpg', 0), ('/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_10_10663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_59_9662.jpg', '/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_49_10693.jpg', '/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_39_9680.jpg', '/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_29_9692.jpg', '/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_19_9682.jpg', '/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_10_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_59_9662.jpg
/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_49_10693.jpg
/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_39_9680.jpg
/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_29_9692.jpg
/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_19_9682.jpg
/home/nano/Desktop/images/06022025/16/15/image_06022025_16_15_10_10663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117510","1338117504","1338117515","1338117509","1338117512","1338117517"],"photo_ids_order":["1338117504","1338117509","1338117510","1338117512","1338117515","1338117517"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff828883252f31e79717f26486b1cfaf.jpg","text":"TemporaryFile(/tmp/multipartBody178899692396067173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773924233,"filename":"image_06022025_16_15_39_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/29f4a8ed73ab06e17ed980fe6f6c074f.jpg","text":"TemporaryFile(/tmp/multipartBody5258990010959845935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773924233,"filename":"image_06022025_16_15_59_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dfcf65e187dd917715daacf9c20cd472.jpg","text":"TemporaryFile(/tmp/multipartBody4017751752918071958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773924233,"filename":"image_06022025_16_15_19_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c66f99e00a1b3924b27a48a218e237ac.jpg","text":"TemporaryFile(/tmp/multipartBody702969352448852015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773924233,"filename":"image_06022025_16_15_49_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d47364fa0c43b9967ddb8f17a95af3c.jpg","text":"TemporaryFile(/tmp/multipartBody1736219632674108723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773924233,"filename":"image_06022025_16_15_29_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79bb3d5bf6e4988900cfcd13ac095f76.jpg","text":"TemporaryFile(/tmp/multipartBody894204245759499447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773924233,"filename":"image_06022025_16_15_10_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117510","file1":"1338117509","file0":"1338117504","file4":"1338117515","file5":"1338117517","file3":"1338117512"},"map_files_photo_id_array":[{"photo_id":"1338117517","filename":"file5"},{"photo_id":"1338117510","filename":"file2"},{"photo_id":"1338117515","filename":"file4"},{"photo_id":"1338117509","filename":"file1"},{"photo_id":"1338117504","filename":"file0"},{"photo_id":"1338117512","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117510":["hashtag1","hashtag2"]},{"1338117504":["hashtag1","hashtag2"]},{"1338117515":["hashtag1","hashtag2"]},{"1338117509":["hashtag1","hashtag2"]},{"1338117512":["hashtag1","hashtag2"]},{"1338117517":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117510, 1338117504, 1338117515, 1338117509, 1338117512, 1338117517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.44933247566223 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:32:02.434087
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_59_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_49_9663.jpg', 0), ('/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_40_10669.jpg', 0), ('/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_29_9664.jpg', 0), ('/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_19_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_10_10660.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_59_9660.jpg', '/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_49_9663.jpg', '/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_40_10669.jpg', '/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_29_9664.jpg', '/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_19_9694.jpg', '/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_10_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_59_9660.jpg
/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_49_9663.jpg
/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_40_10669.jpg
/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_29_9664.jpg
/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_19_9694.jpg
/home/nano/Desktop/images/06022025/16/14/image_06022025_16_14_10_10660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117564","1338117562","1338117556","1338117559","1338117568","1338117553"],"photo_ids_order":["1338117553","1338117556","1338117559","1338117562","1338117564","1338117568"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e7b044f601b516652312ca63d9567a8.jpg","text":"TemporaryFile(/tmp/multipartBody3994493875409252488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773984515,"filename":"image_06022025_16_14_19_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c798bcaa9ae33106b8883c57970b8547.jpg","text":"TemporaryFile(/tmp/multipartBody1867325532176633374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773984515,"filename":"image_06022025_16_14_29_9664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8b3261f0c06929b85715a33863675f5.jpg","text":"TemporaryFile(/tmp/multipartBody2571893628132934682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773984515,"filename":"image_06022025_16_14_49_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/127522473caf306e0262c3ec718c2d3d.jpg","text":"TemporaryFile(/tmp/multipartBody4931912071271219959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773984515,"filename":"image_06022025_16_14_40_10669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0f121f0b9a8d9f818f4970161221480.jpg","text":"TemporaryFile(/tmp/multipartBody2276771930416774653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773984515,"filename":"image_06022025_16_14_10_10660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/771742150b4db5d4c622ff6e4307c243.jpg","text":"TemporaryFile(/tmp/multipartBody1304955524556510432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739773984515,"filename":"image_06022025_16_14_59_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117559","file1":"1338117556","file0":"1338117553","file4":"1338117564","file5":"1338117568","file3":"1338117562"},"map_files_photo_id_array":[{"photo_id":"1338117568","filename":"file5"},{"photo_id":"1338117559","filename":"file2"},{"photo_id":"1338117564","filename":"file4"},{"photo_id":"1338117556","filename":"file1"},{"photo_id":"1338117553","filename":"file0"},{"photo_id":"1338117562","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117564":["hashtag1","hashtag2"]},{"1338117562":["hashtag1","hashtag2"]},{"1338117556":["hashtag1","hashtag2"]},{"1338117559":["hashtag1","hashtag2"]},{"1338117568":["hashtag1","hashtag2"]},{"1338117553":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117564, 1338117562, 1338117556, 1338117559, 1338117568, 1338117553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.103722095489502 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:33:03.002071
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_59_9677.jpg', 0), ('/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_49_9673.jpg', 0), ('/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_40_10677.jpg', 0), ('/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_29_9670.jpg', 0), ('/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_19_9666.jpg', 0), ('/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_10_10699.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_59_9677.jpg', '/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_49_9673.jpg', '/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_40_10677.jpg', '/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_29_9670.jpg', '/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_19_9666.jpg', '/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_10_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_59_9677.jpg
/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_49_9673.jpg
/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_40_10677.jpg
/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_29_9670.jpg
/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_19_9666.jpg
/home/nano/Desktop/images/06022025/16/13/image_06022025_16_13_10_10699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117618","1338117606","1338117620","1338117623","1338117611","1338117616"],"photo_ids_order":["1338117606","1338117611","1338117616","1338117618","1338117620","1338117623"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c950685796455e18243159b927c5f677.jpg","text":"TemporaryFile(/tmp/multipartBody5404566837251233760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774044471,"filename":"image_06022025_16_13_29_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b9a9d5092842cb09d64d15e54ed52143.jpg","text":"TemporaryFile(/tmp/multipartBody2759046631395512600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774044471,"filename":"image_06022025_16_13_59_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e0fc4b1aa5719adccc1b67c4b92325d.jpg","text":"TemporaryFile(/tmp/multipartBody2142404735330919720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774044471,"filename":"image_06022025_16_13_19_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d2356d5722241fa29421011a92933a6.jpg","text":"TemporaryFile(/tmp/multipartBody499444106224265271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774044471,"filename":"image_06022025_16_13_10_10699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/410a3e56787d72bebe98d59cf157d29c.jpg","text":"TemporaryFile(/tmp/multipartBody1905986256379898063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774044471,"filename":"image_06022025_16_13_49_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b44b8bf37d8cda139a1849ba135926c.jpg","text":"TemporaryFile(/tmp/multipartBody2085479559820212411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774044471,"filename":"image_06022025_16_13_40_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117616","file1":"1338117611","file0":"1338117606","file4":"1338117620","file5":"1338117623","file3":"1338117618"},"map_files_photo_id_array":[{"photo_id":"1338117623","filename":"file5"},{"photo_id":"1338117616","filename":"file2"},{"photo_id":"1338117620","filename":"file4"},{"photo_id":"1338117611","filename":"file1"},{"photo_id":"1338117606","filename":"file0"},{"photo_id":"1338117618","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117618":["hashtag1","hashtag2"]},{"1338117606":["hashtag1","hashtag2"]},{"1338117620":["hashtag1","hashtag2"]},{"1338117623":["hashtag1","hashtag2"]},{"1338117611":["hashtag1","hashtag2"]},{"1338117616":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117618, 1338117606, 1338117620, 1338117623, 1338117611, 1338117616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64531445503235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:34:03.305272
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_59_9709.jpg', 0), ('/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_49_9676.jpg', 0), ('/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_39_10698.jpg', 0), ('/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_29_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_19_9670.jpg', 0), ('/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_09_10666.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_59_9709.jpg', '/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_49_9676.jpg', '/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_39_10698.jpg', '/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_29_9667.jpg', '/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_19_9670.jpg', '/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_09_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_59_9709.jpg
/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_49_9676.jpg
/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_39_10698.jpg
/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_29_9667.jpg
/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_19_9670.jpg
/home/nano/Desktop/images/06022025/16/12/image_06022025_16_12_09_10666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117663","1338117642","1338117671","1338117674","1338117653","1338117646"],"photo_ids_order":["1338117642","1338117646","1338117653","1338117663","1338117671","1338117674"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b19da8a96e233fee6000f277b88545a.jpg","text":"TemporaryFile(/tmp/multipartBody6862357589353847811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774105250,"filename":"image_06022025_16_12_29_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3c3f9bc40178125acaefb62c3852938.jpg","text":"TemporaryFile(/tmp/multipartBody1091062546652423462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774105250,"filename":"image_06022025_16_12_59_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f29f87b7580023c973adee917209af77.jpg","text":"TemporaryFile(/tmp/multipartBody5584622290672541587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774105250,"filename":"image_06022025_16_12_19_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8569293ca5e2139244bb39750a97acac.jpg","text":"TemporaryFile(/tmp/multipartBody5759518101147268050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774105250,"filename":"image_06022025_16_12_09_10666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9a89e89b2fea9714eb991580f7f71f2.jpg","text":"TemporaryFile(/tmp/multipartBody4694025804375216995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774105250,"filename":"image_06022025_16_12_39_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6287cbae2a42ce6a9714d2a427f35f6c.jpg","text":"TemporaryFile(/tmp/multipartBody821396310664951008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774105250,"filename":"image_06022025_16_12_49_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117653","file1":"1338117646","file0":"1338117642","file4":"1338117671","file5":"1338117674","file3":"1338117663"},"map_files_photo_id_array":[{"photo_id":"1338117674","filename":"file5"},{"photo_id":"1338117653","filename":"file2"},{"photo_id":"1338117671","filename":"file4"},{"photo_id":"1338117646","filename":"file1"},{"photo_id":"1338117642","filename":"file0"},{"photo_id":"1338117663","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117663":["hashtag1","hashtag2"]},{"1338117642":["hashtag1","hashtag2"]},{"1338117671":["hashtag1","hashtag2"]},{"1338117674":["hashtag1","hashtag2"]},{"1338117653":["hashtag1","hashtag2"]},{"1338117646":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117663, 1338117642, 1338117671, 1338117674, 1338117653, 1338117646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.243327140808105 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:35:03.125581
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_59_9661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_49_9659.jpg', 0), ('/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_39_10688.jpg', 0), ('/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_29_9666.jpg', 0), ('/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_19_9684.jpg', 0), ('/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_09_10664.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_59_9661.jpg', '/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_49_9659.jpg', '/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_39_10688.jpg', '/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_29_9666.jpg', '/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_19_9684.jpg', '/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_09_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_59_9661.jpg
/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_49_9659.jpg
/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_39_10688.jpg
/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_29_9666.jpg
/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_19_9684.jpg
/home/nano/Desktop/images/06022025/16/11/image_06022025_16_11_09_10664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117711","1338117705","1338117708","1338117697","1338117700","1338117703"],"photo_ids_order":["1338117697","1338117700","1338117703","1338117705","1338117708","1338117711"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e33e89fea2e357f42bde84c1868311f9.jpg","text":"TemporaryFile(/tmp/multipartBody4702073073797464160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774164679,"filename":"image_06022025_16_11_09_10664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4faf19c3b1a9ac1b4554165a2dab993e.jpg","text":"TemporaryFile(/tmp/multipartBody4579899722857965767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774164679,"filename":"image_06022025_16_11_29_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/37aa6ec5d3d67c11b6cc27983a313fda.jpg","text":"TemporaryFile(/tmp/multipartBody7664896877522621947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774164679,"filename":"image_06022025_16_11_19_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7f5f2d81fe1cf66eeb7ff41e7129687.jpg","text":"TemporaryFile(/tmp/multipartBody6623890150417330432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774164679,"filename":"image_06022025_16_11_59_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7e8ed8aac2156d7c60447cfdb2007cb.jpg","text":"TemporaryFile(/tmp/multipartBody6902095315366024698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774164679,"filename":"image_06022025_16_11_49_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b419a9d4c71b84a00d545c34cc0996c6.jpg","text":"TemporaryFile(/tmp/multipartBody7157799788162569780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774164679,"filename":"image_06022025_16_11_39_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117703","file1":"1338117700","file0":"1338117697","file4":"1338117708","file5":"1338117711","file3":"1338117705"},"map_files_photo_id_array":[{"photo_id":"1338117711","filename":"file5"},{"photo_id":"1338117703","filename":"file2"},{"photo_id":"1338117708","filename":"file4"},{"photo_id":"1338117700","filename":"file1"},{"photo_id":"1338117697","filename":"file0"},{"photo_id":"1338117705","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117711":["hashtag1","hashtag2"]},{"1338117705":["hashtag1","hashtag2"]},{"1338117708":["hashtag1","hashtag2"]},{"1338117697":["hashtag1","hashtag2"]},{"1338117700":["hashtag1","hashtag2"]},{"1338117703":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117711, 1338117705, 1338117708, 1338117697, 1338117700, 1338117703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05309796333313 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:36:02.327480
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_59_9695.jpg', 0), ('/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_49_9675.jpg', 0), ('/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_39_10688.jpg', 0), ('/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_29_9644.jpg', 0), ('/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_19_9686.jpg', 0), ('/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_09_10684.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_59_9695.jpg', '/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_49_9675.jpg', '/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_39_10688.jpg', '/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_29_9644.jpg', '/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_19_9686.jpg', '/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_09_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_59_9695.jpg
/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_49_9675.jpg
/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_39_10688.jpg
/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_29_9644.jpg
/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_19_9686.jpg
/home/nano/Desktop/images/06022025/16/10/image_06022025_16_10_09_10684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117752","1338117749","1338117760","1338117754","1338117742","1338117745"],"photo_ids_order":["1338117742","1338117745","1338117749","1338117752","1338117754","1338117760"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3ee6cff15352b8f6c2d63b589af79ea.jpg","text":"TemporaryFile(/tmp/multipartBody8799182595864943977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774224243,"filename":"image_06022025_16_10_29_9644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba9563a4fc024e49ed941d2b19445d3e.jpg","text":"TemporaryFile(/tmp/multipartBody4708689941926015219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774224243,"filename":"image_06022025_16_10_39_10688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7300636ed4f567515ccf405ba019d71b.jpg","text":"TemporaryFile(/tmp/multipartBody1693786604339388535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774224243,"filename":"image_06022025_16_10_09_10684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac16bea89e7ca68c6f659c93aab3db66.jpg","text":"TemporaryFile(/tmp/multipartBody5466197003464986869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774224243,"filename":"image_06022025_16_10_19_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c0ab49ab189607e2986b3dd20034255.jpg","text":"TemporaryFile(/tmp/multipartBody4101399324556112246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774224243,"filename":"image_06022025_16_10_59_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9fdea738d6cfad21b6c042698433e72f.jpg","text":"TemporaryFile(/tmp/multipartBody5295408950741749829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774224243,"filename":"image_06022025_16_10_49_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117749","file1":"1338117745","file0":"1338117742","file4":"1338117754","file5":"1338117760","file3":"1338117752"},"map_files_photo_id_array":[{"photo_id":"1338117760","filename":"file5"},{"photo_id":"1338117749","filename":"file2"},{"photo_id":"1338117754","filename":"file4"},{"photo_id":"1338117745","filename":"file1"},{"photo_id":"1338117742","filename":"file0"},{"photo_id":"1338117752","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117752":["hashtag1","hashtag2"]},{"1338117749":["hashtag1","hashtag2"]},{"1338117760":["hashtag1","hashtag2"]},{"1338117754":["hashtag1","hashtag2"]},{"1338117742":["hashtag1","hashtag2"]},{"1338117745":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117752, 1338117749, 1338117760, 1338117754, 1338117742, 1338117745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08033514022827 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:37:02.692583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_59_9652.jpg', 0), ('/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_49_9651.jpg', 0), ('/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_39_10665.jpg', 0), ('/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_29_9665.jpg', 0), ('/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_19_9668.jpg', 0), ('/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_09_10663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_59_9652.jpg', '/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_49_9651.jpg', '/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_39_10665.jpg', '/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_29_9665.jpg', '/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_19_9668.jpg', '/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_09_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_59_9652.jpg
/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_49_9651.jpg
/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_39_10665.jpg
/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_29_9665.jpg
/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_19_9668.jpg
/home/nano/Desktop/images/06022025/16/09/image_06022025_16_09_09_10663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117849","1338117828","1338117813","1338117816","1338117810","1338117821"],"photo_ids_order":["1338117810","1338117813","1338117816","1338117821","1338117828","1338117849"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b66c07d2897da96ec152a61f20f05fca.jpg","text":"TemporaryFile(/tmp/multipartBody6494775949914335047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774284569,"filename":"image_06022025_16_09_09_10663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a1c9729120dec24961a52e0b64e35edd.jpg","text":"TemporaryFile(/tmp/multipartBody6106637729983308957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774284569,"filename":"image_06022025_16_09_19_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8cf6580bac45ec9a106898824d9cd810.jpg","text":"TemporaryFile(/tmp/multipartBody7681790361529505810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774284569,"filename":"image_06022025_16_09_49_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f223d71463503358becf55aa5985856.jpg","text":"TemporaryFile(/tmp/multipartBody1105108520680792044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774284569,"filename":"image_06022025_16_09_39_10665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e0dd534823611039de9f71e4bfaf7c7.jpg","text":"TemporaryFile(/tmp/multipartBody2927539317083121902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774284569,"filename":"image_06022025_16_09_59_9652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b0d6572763a5d9e33f441c2db2664c0.jpg","text":"TemporaryFile(/tmp/multipartBody4533666984584996098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774284569,"filename":"image_06022025_16_09_29_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117816","file1":"1338117813","file0":"1338117810","file4":"1338117828","file5":"1338117849","file3":"1338117821"},"map_files_photo_id_array":[{"photo_id":"1338117849","filename":"file5"},{"photo_id":"1338117816","filename":"file2"},{"photo_id":"1338117828","filename":"file4"},{"photo_id":"1338117813","filename":"file1"},{"photo_id":"1338117810","filename":"file0"},{"photo_id":"1338117821","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117849":["hashtag1","hashtag2"]},{"1338117828":["hashtag1","hashtag2"]},{"1338117813":["hashtag1","hashtag2"]},{"1338117816":["hashtag1","hashtag2"]},{"1338117810":["hashtag1","hashtag2"]},{"1338117821":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117849, 1338117828, 1338117813, 1338117816, 1338117810, 1338117821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.859201192855835 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:38:02.605009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_59_9676.jpg', 0), ('/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_49_9662.jpg', 0), ('/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_39_10689.jpg', 0), ('/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_29_9657.jpg', 0), ('/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_19_9686.jpg', 0), ('/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_09_9684.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_59_9676.jpg', '/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_49_9662.jpg', '/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_39_10689.jpg', '/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_29_9657.jpg', '/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_19_9686.jpg', '/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_09_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_59_9676.jpg
/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_49_9662.jpg
/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_39_10689.jpg
/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_29_9657.jpg
/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_19_9686.jpg
/home/nano/Desktop/images/06022025/16/08/image_06022025_16_08_09_9684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117888","1338117880","1338117894","1338117882","1338117901","1338117885"],"photo_ids_order":["1338117880","1338117882","1338117885","1338117888","1338117894","1338117901"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/288517d5619661427f0cb10dc92d0024.jpg","text":"TemporaryFile(/tmp/multipartBody5723415686935503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774344460,"filename":"image_06022025_16_08_29_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd35938e6f387aa40dcfdac6dd30b9b3.jpg","text":"TemporaryFile(/tmp/multipartBody5726834888537733469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774344460,"filename":"image_06022025_16_08_59_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/11942308ea31ef177c2a994749786f34.jpg","text":"TemporaryFile(/tmp/multipartBody1336727715733349647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774344460,"filename":"image_06022025_16_08_19_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/02fd98e0ebae5a5855c9c8e5f2828f64.jpg","text":"TemporaryFile(/tmp/multipartBody4191403869355973812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774344460,"filename":"image_06022025_16_08_49_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3fa69860711f26b0721a6296ea0b5023.jpg","text":"TemporaryFile(/tmp/multipartBody8788337039786211278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774344460,"filename":"image_06022025_16_08_09_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8fd2c28eedc58acf9981b22078b66e40.jpg","text":"TemporaryFile(/tmp/multipartBody4823046539414558769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774344460,"filename":"image_06022025_16_08_39_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117885","file1":"1338117882","file0":"1338117880","file4":"1338117894","file5":"1338117901","file3":"1338117888"},"map_files_photo_id_array":[{"photo_id":"1338117901","filename":"file5"},{"photo_id":"1338117885","filename":"file2"},{"photo_id":"1338117894","filename":"file4"},{"photo_id":"1338117882","filename":"file1"},{"photo_id":"1338117880","filename":"file0"},{"photo_id":"1338117888","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117888":["hashtag1","hashtag2"]},{"1338117880":["hashtag1","hashtag2"]},{"1338117894":["hashtag1","hashtag2"]},{"1338117882":["hashtag1","hashtag2"]},{"1338117901":["hashtag1","hashtag2"]},{"1338117885":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117888, 1338117880, 1338117894, 1338117882, 1338117901, 1338117885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.63091778755188 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:39:03.223131
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/07/image_06022025_16_08_00_10679.jpg', 0), ('/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_49_9649.jpg', 0), ('/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_39_9866.jpg', 0), ('/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_29_10717.jpg', 0), ('/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_19_9819.jpg', 0), ('/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_09_9772.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/07/image_06022025_16_08_00_10679.jpg', '/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_49_9649.jpg', '/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_39_9866.jpg', '/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_29_10717.jpg', '/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_19_9819.jpg', '/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_09_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/07/image_06022025_16_08_00_10679.jpg
/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_49_9649.jpg
/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_39_9866.jpg
/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_29_10717.jpg
/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_19_9819.jpg
/home/nano/Desktop/images/06022025/16/07/image_06022025_16_07_09_9772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117930","1338117923","1338117932","1338117926","1338117934","1338117928"],"photo_ids_order":["1338117923","1338117926","1338117928","1338117930","1338117932","1338117934"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f69700db1c01ad091ef93910b91bceef.jpg","text":"TemporaryFile(/tmp/multipartBody6243890639480303403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774404906,"filename":"image_06022025_16_07_29_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b14d6139ce5216c30237b913f040fd0.jpg","text":"TemporaryFile(/tmp/multipartBody4498320996718109728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774404906,"filename":"image_06022025_16_08_00_10679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efc8f3a401fbb121473b8c7f5d6117d9.jpg","text":"TemporaryFile(/tmp/multipartBody4912213166076739570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774404906,"filename":"image_06022025_16_07_19_9819.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/541d719aa44f6cf2a2aab49c0ec72be5.jpg","text":"TemporaryFile(/tmp/multipartBody4740751483313856067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774404906,"filename":"image_06022025_16_07_49_9649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f07b6ea8960bfc05b89f188aee26a68.jpg","text":"TemporaryFile(/tmp/multipartBody5792122850649533633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774404906,"filename":"image_06022025_16_07_09_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4976e7f985c7ffa14a1c53b3abb69b94.jpg","text":"TemporaryFile(/tmp/multipartBody4449224317068547616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774404906,"filename":"image_06022025_16_07_39_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117928","file1":"1338117926","file0":"1338117923","file4":"1338117932","file5":"1338117934","file3":"1338117930"},"map_files_photo_id_array":[{"photo_id":"1338117934","filename":"file5"},{"photo_id":"1338117928","filename":"file2"},{"photo_id":"1338117932","filename":"file4"},{"photo_id":"1338117926","filename":"file1"},{"photo_id":"1338117923","filename":"file0"},{"photo_id":"1338117930","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117930":["hashtag1","hashtag2"]},{"1338117923":["hashtag1","hashtag2"]},{"1338117932":["hashtag1","hashtag2"]},{"1338117926":["hashtag1","hashtag2"]},{"1338117934":["hashtag1","hashtag2"]},{"1338117928":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117930, 1338117923, 1338117932, 1338117926, 1338117934, 1338117928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.72745680809021 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:40:03.041396
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_59_9834.jpg', 0), ('/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_49_9734.jpg', 0), ('/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_40_10737.jpg', 0), ('/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_29_9658.jpg', 0), ('/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_19_9730.jpg', 0), ('/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_09_10685.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_59_9834.jpg', '/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_49_9734.jpg', '/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_40_10737.jpg', '/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_29_9658.jpg', '/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_19_9730.jpg', '/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_09_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_59_9834.jpg
/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_49_9734.jpg
/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_40_10737.jpg
/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_29_9658.jpg
/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_19_9730.jpg
/home/nano/Desktop/images/06022025/16/06/image_06022025_16_06_09_10685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338117969","1338117971","1338117973","1338117967","1338117981","1338117975"],"photo_ids_order":["1338117967","1338117969","1338117971","1338117973","1338117975","1338117981"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70a3f7fcfe95a80333a8dbf7a370de7e.jpg","text":"TemporaryFile(/tmp/multipartBody6444063513605540864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774464833,"filename":"image_06022025_16_06_49_9734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a13b57e8cfc318673c018e3cd80b888d.jpg","text":"TemporaryFile(/tmp/multipartBody5979144063411494966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774464833,"filename":"image_06022025_16_06_40_10737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05eead81155dbe6a0588895d1f7ac028.jpg","text":"TemporaryFile(/tmp/multipartBody2117011838978990319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774464833,"filename":"image_06022025_16_06_29_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92cd5c10241f362d30c7e171ae90a078.jpg","text":"TemporaryFile(/tmp/multipartBody4408953598933664377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774464833,"filename":"image_06022025_16_06_59_9834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ef847fb31c15faa5a6decd1a7c8224e5.jpg","text":"TemporaryFile(/tmp/multipartBody5680412270346014090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774464833,"filename":"image_06022025_16_06_09_10685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a00ff01031580972d1c95c440398c1f0.jpg","text":"TemporaryFile(/tmp/multipartBody1390537848177365633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774464833,"filename":"image_06022025_16_06_19_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338117971","file1":"1338117969","file0":"1338117967","file4":"1338117975","file5":"1338117981","file3":"1338117973"},"map_files_photo_id_array":[{"photo_id":"1338117981","filename":"file5"},{"photo_id":"1338117971","filename":"file2"},{"photo_id":"1338117975","filename":"file4"},{"photo_id":"1338117969","filename":"file1"},{"photo_id":"1338117967","filename":"file0"},{"photo_id":"1338117973","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338117969":["hashtag1","hashtag2"]},{"1338117971":["hashtag1","hashtag2"]},{"1338117973":["hashtag1","hashtag2"]},{"1338117967":["hashtag1","hashtag2"]},{"1338117981":["hashtag1","hashtag2"]},{"1338117975":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338117969, 1338117971, 1338117973, 1338117967, 1338117981, 1338117975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.485856294631958 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:41:03.112846
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_59_9638.jpg', 0), ('/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_49_9650.jpg', 0), ('/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_39_10656.jpg', 0), ('/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_29_9679.jpg', 0), ('/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_19_9651.jpg', 0), ('/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_09_10687.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_59_9638.jpg', '/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_49_9650.jpg', '/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_39_10656.jpg', '/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_29_9679.jpg', '/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_19_9651.jpg', '/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_09_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_59_9638.jpg
/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_49_9650.jpg
/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_39_10656.jpg
/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_29_9679.jpg
/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_19_9651.jpg
/home/nano/Desktop/images/06022025/16/05/image_06022025_16_05_09_10687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118008","1338118010","1338118012","1338118006","1338118000","1338117999"],"photo_ids_order":["1338117999","1338118000","1338118006","1338118008","1338118010","1338118012"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d2c11e868f8a676dbc9d279ee9197c66.jpg","text":"TemporaryFile(/tmp/multipartBody6494469088186602951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774524564,"filename":"image_06022025_16_05_29_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fdbba9160e82c361d9a5e98c3e24d752.jpg","text":"TemporaryFile(/tmp/multipartBody675116034960842490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774524564,"filename":"image_06022025_16_05_19_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21791df913a950205c35708a574b08d9.jpg","text":"TemporaryFile(/tmp/multipartBody4960758487295173068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774524564,"filename":"image_06022025_16_05_09_10687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b636ad9491c4cb080552d057edec012a.jpg","text":"TemporaryFile(/tmp/multipartBody111093822479899891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774524564,"filename":"image_06022025_16_05_39_10656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a04e3531f6434275dcb64d81888255a.jpg","text":"TemporaryFile(/tmp/multipartBody6805640423303555324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774524564,"filename":"image_06022025_16_05_49_9650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af432273ef75b74b681edb24509b8aaf.jpg","text":"TemporaryFile(/tmp/multipartBody3322514512716216557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774524564,"filename":"image_06022025_16_05_59_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118006","file1":"1338118000","file0":"1338117999","file4":"1338118010","file5":"1338118012","file3":"1338118008"},"map_files_photo_id_array":[{"photo_id":"1338118012","filename":"file5"},{"photo_id":"1338118006","filename":"file2"},{"photo_id":"1338118010","filename":"file4"},{"photo_id":"1338118000","filename":"file1"},{"photo_id":"1338117999","filename":"file0"},{"photo_id":"1338118008","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118008":["hashtag1","hashtag2"]},{"1338118010":["hashtag1","hashtag2"]},{"1338118012":["hashtag1","hashtag2"]},{"1338118006":["hashtag1","hashtag2"]},{"1338118000":["hashtag1","hashtag2"]},{"1338117999":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118008, 1338118010, 1338118012, 1338118006, 1338118000, 1338117999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33999824523926 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:42:03.144941
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_59_9793.jpg', 0), ('/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_49_9674.jpg', 0), ('/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_39_10675.jpg', 0), ('/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_29_9673.jpg', 0), ('/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_19_9680.jpg', 0), ('/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_09_9690.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_59_9793.jpg', '/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_49_9674.jpg', '/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_39_10675.jpg', '/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_29_9673.jpg', '/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_19_9680.jpg', '/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_09_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_59_9793.jpg
/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_49_9674.jpg
/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_39_10675.jpg
/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_29_9673.jpg
/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_19_9680.jpg
/home/nano/Desktop/images/06022025/16/04/image_06022025_16_04_09_9690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118025","1338118028","1338118030","1338118024","1338118032","1338118026"],"photo_ids_order":["1338118024","1338118025","1338118026","1338118028","1338118030","1338118032"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39d4652fcd6667fb6c2608ccb11ad67c.jpg","text":"TemporaryFile(/tmp/multipartBody7820510193297964095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774585108,"filename":"image_06022025_16_04_49_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8719553fb2a92d0eb01e872e098e46c9.jpg","text":"TemporaryFile(/tmp/multipartBody2828242413704901955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774585108,"filename":"image_06022025_16_04_29_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/241c9ec6ca2e31a1fdea2ba7e2a36d4b.jpg","text":"TemporaryFile(/tmp/multipartBody3072342052787744786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774585108,"filename":"image_06022025_16_04_19_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7deb65d98002befbeb20f97737357d7a.jpg","text":"TemporaryFile(/tmp/multipartBody2772257013409662203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774585108,"filename":"image_06022025_16_04_59_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3b336fe150d6ccbd1d8ec5b262cb94e.jpg","text":"TemporaryFile(/tmp/multipartBody3816673356290973934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774585108,"filename":"image_06022025_16_04_09_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bdf8eee13da51fa790f0785ccb7968f6.jpg","text":"TemporaryFile(/tmp/multipartBody2205157308802868961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774585108,"filename":"image_06022025_16_04_39_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118026","file1":"1338118025","file0":"1338118024","file4":"1338118030","file5":"1338118032","file3":"1338118028"},"map_files_photo_id_array":[{"photo_id":"1338118032","filename":"file5"},{"photo_id":"1338118026","filename":"file2"},{"photo_id":"1338118030","filename":"file4"},{"photo_id":"1338118025","filename":"file1"},{"photo_id":"1338118024","filename":"file0"},{"photo_id":"1338118028","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118025":["hashtag1","hashtag2"]},{"1338118028":["hashtag1","hashtag2"]},{"1338118030":["hashtag1","hashtag2"]},{"1338118024":["hashtag1","hashtag2"]},{"1338118032":["hashtag1","hashtag2"]},{"1338118026":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118025, 1338118028, 1338118030, 1338118024, 1338118032, 1338118026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.545159101486206 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:43:02.307880
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/03/image_06022025_16_04_00_10661.jpg', 0), ('/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_49_9775.jpg', 0), ('/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_39_9718.jpg', 0), ('/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_29_9880.jpg', 0), ('/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_20_10869.jpg', 0), ('/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_09_9893.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/03/image_06022025_16_04_00_10661.jpg', '/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_49_9775.jpg', '/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_39_9718.jpg', '/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_29_9880.jpg', '/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_20_10869.jpg', '/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_09_9893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/03/image_06022025_16_04_00_10661.jpg
/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_49_9775.jpg
/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_39_9718.jpg
/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_29_9880.jpg
/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_20_10869.jpg
/home/nano/Desktop/images/06022025/16/03/image_06022025_16_03_09_9893.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118064","1338118058","1338118046","1338118045","1338118077","1338118044"],"photo_ids_order":["1338118044","1338118045","1338118046","1338118058","1338118064","1338118077"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/797c3c3629a30eaac83198cecd7a27ed.jpg","text":"TemporaryFile(/tmp/multipartBody7406235778112690144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774644005,"filename":"image_06022025_16_03_20_10869.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0aef979739ecdf17f03ebd3703f88572.jpg","text":"TemporaryFile(/tmp/multipartBody54650793366092456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774644005,"filename":"image_06022025_16_03_29_9880.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a50bbf4783caf8f2a70e985024ba6455.jpg","text":"TemporaryFile(/tmp/multipartBody643219419984235029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774644005,"filename":"image_06022025_16_03_39_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7fbb045e7ecce28df1e64e4cafb80e06.jpg","text":"TemporaryFile(/tmp/multipartBody8111810401180767629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774644005,"filename":"image_06022025_16_03_49_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3560ab338323b68409f2d109c7b5b57.jpg","text":"TemporaryFile(/tmp/multipartBody6862850342036389405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774644005,"filename":"image_06022025_16_03_09_9893.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b01d943ed71f3a5d2fd4d8d41f9496f.jpg","text":"TemporaryFile(/tmp/multipartBody9217143777768403790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774644005,"filename":"image_06022025_16_04_00_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118046","file1":"1338118045","file0":"1338118044","file4":"1338118064","file5":"1338118077","file3":"1338118058"},"map_files_photo_id_array":[{"photo_id":"1338118077","filename":"file5"},{"photo_id":"1338118046","filename":"file2"},{"photo_id":"1338118064","filename":"file4"},{"photo_id":"1338118045","filename":"file1"},{"photo_id":"1338118044","filename":"file0"},{"photo_id":"1338118058","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118064":["hashtag1","hashtag2"]},{"1338118058":["hashtag1","hashtag2"]},{"1338118046":["hashtag1","hashtag2"]},{"1338118045":["hashtag1","hashtag2"]},{"1338118077":["hashtag1","hashtag2"]},{"1338118044":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118064, 1338118058, 1338118046, 1338118045, 1338118077, 1338118044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87090229988098 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:44:02.731293
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_59_9889.jpg', 0), ('/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_49_9763.jpg', 0), ('/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_39_9720.jpg', 0), ('/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_29_10721.jpg', 0), ('/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_19_9838.jpg', 0), ('/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_09_9840.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_59_9889.jpg', '/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_49_9763.jpg', '/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_39_9720.jpg', '/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_29_10721.jpg', '/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_19_9838.jpg', '/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_09_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_59_9889.jpg
/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_49_9763.jpg
/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_39_9720.jpg
/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_29_10721.jpg
/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_19_9838.jpg
/home/nano/Desktop/images/06022025/16/02/image_06022025_16_02_09_9840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118097","1338118101","1338118104","1338118106","1338118099","1338118137"],"photo_ids_order":["1338118097","1338118099","1338118101","1338118104","1338118106","1338118137"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28a62ac318636b9925119ea7ce5ff9be.jpg","text":"TemporaryFile(/tmp/multipartBody4863726184530343220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774704553,"filename":"image_06022025_16_02_59_9889.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/41b186efac8007b431501f1e5c3bff0b.jpg","text":"TemporaryFile(/tmp/multipartBody5271542658909650007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774704553,"filename":"image_06022025_16_02_39_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e0507ab30ac33d9ec283216a4997f2c8.jpg","text":"TemporaryFile(/tmp/multipartBody8220355572412494787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774704553,"filename":"image_06022025_16_02_29_10721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/457491421703924aa0afe31239dd80a1.jpg","text":"TemporaryFile(/tmp/multipartBody5114200073707326948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774704553,"filename":"image_06022025_16_02_19_9838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3321a490e33e9e24deecf5a9e5eeecba.jpg","text":"TemporaryFile(/tmp/multipartBody1808196043775855006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774704553,"filename":"image_06022025_16_02_49_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3c5746e8754a04734d1261aa4ac79be.jpg","text":"TemporaryFile(/tmp/multipartBody8756929893197916191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774704553,"filename":"image_06022025_16_02_09_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118101","file1":"1338118099","file0":"1338118097","file4":"1338118106","file5":"1338118137","file3":"1338118104"},"map_files_photo_id_array":[{"photo_id":"1338118137","filename":"file5"},{"photo_id":"1338118101","filename":"file2"},{"photo_id":"1338118106","filename":"file4"},{"photo_id":"1338118099","filename":"file1"},{"photo_id":"1338118097","filename":"file0"},{"photo_id":"1338118104","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118097":["hashtag1","hashtag2"]},{"1338118101":["hashtag1","hashtag2"]},{"1338118104":["hashtag1","hashtag2"]},{"1338118106":["hashtag1","hashtag2"]},{"1338118099":["hashtag1","hashtag2"]},{"1338118137":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118097, 1338118101, 1338118104, 1338118106, 1338118099, 1338118137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44452118873596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:45:02.795539
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_59_9791.jpg', 0), ('/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_49_9784.jpg', 0), ('/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_39_10745.jpg', 0), ('/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_29_9838.jpg', 0), ('/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_19_9988.jpg', 0), ('/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_09_10052.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_59_9791.jpg', '/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_49_9784.jpg', '/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_39_10745.jpg', '/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_29_9838.jpg', '/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_19_9988.jpg', '/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_09_10052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_59_9791.jpg
/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_49_9784.jpg
/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_39_10745.jpg
/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_29_9838.jpg
/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_19_9988.jpg
/home/nano/Desktop/images/06022025/16/01/image_06022025_16_01_09_10052.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118241","1338118243","1338118246","1338118249","1338118254","1338118251"],"photo_ids_order":["1338118241","1338118243","1338118246","1338118249","1338118251","1338118254"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6380f44299257b4e9ba487ac93461f1d.jpg","text":"TemporaryFile(/tmp/multipartBody5308759835644672434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774766593,"filename":"image_06022025_16_01_59_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/743325de2792ce7b60d0c043d56cbbc8.jpg","text":"TemporaryFile(/tmp/multipartBody7327349409263007144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774766593,"filename":"image_06022025_16_01_49_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/20015763e81acdfd10b8f5918bd7ed5b.jpg","text":"TemporaryFile(/tmp/multipartBody8299018622627056980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774766593,"filename":"image_06022025_16_01_39_10745.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dcf7325f25f1819c32330b9f06814544.jpg","text":"TemporaryFile(/tmp/multipartBody3274991864488605636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774766593,"filename":"image_06022025_16_01_29_9838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eea3aa9475746e53470a9023b6e7fdf3.jpg","text":"TemporaryFile(/tmp/multipartBody9082928209633783467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774766593,"filename":"image_06022025_16_01_09_10052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ef7fbde77967da3dd037f900f545d855.jpg","text":"TemporaryFile(/tmp/multipartBody6480649457947424873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774766593,"filename":"image_06022025_16_01_19_9988.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118246","file1":"1338118243","file0":"1338118241","file4":"1338118251","file5":"1338118254","file3":"1338118249"},"map_files_photo_id_array":[{"photo_id":"1338118254","filename":"file5"},{"photo_id":"1338118246","filename":"file2"},{"photo_id":"1338118251","filename":"file4"},{"photo_id":"1338118243","filename":"file1"},{"photo_id":"1338118241","filename":"file0"},{"photo_id":"1338118249","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118241":["hashtag1","hashtag2"]},{"1338118243":["hashtag1","hashtag2"]},{"1338118246":["hashtag1","hashtag2"]},{"1338118249":["hashtag1","hashtag2"]},{"1338118254":["hashtag1","hashtag2"]},{"1338118251":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118241, 1338118243, 1338118246, 1338118249, 1338118254, 1338118251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13352990150452 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:46:02.777268
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_59_10069.jpg', 0), ('/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_49_10021.jpg', 0), ('/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_39_9918.jpg', 0), ('/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_29_9874.jpg', 0), ('/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_19_9828.jpg', 0), ('/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_09_9991.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_59_10069.jpg', '/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_49_10021.jpg', '/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_39_9918.jpg', '/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_29_9874.jpg', '/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_19_9828.jpg', '/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_09_9991.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_59_10069.jpg
/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_49_10021.jpg
/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_39_9918.jpg
/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_29_9874.jpg
/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_19_9828.jpg
/home/nano/Desktop/images/06022025/16/00/image_06022025_16_00_09_9991.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118320","1338118337","1338118322","1338118282","1338118285","1338118315"],"photo_ids_order":["1338118282","1338118285","1338118315","1338118320","1338118322","1338118337"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce09b061eee03e1fce4feca84149e41c.jpg","text":"TemporaryFile(/tmp/multipartBody1038666831272787151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774825511,"filename":"image_06022025_16_00_29_9874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4ddeec343d1f264490b4c5b5fbf76c6.jpg","text":"TemporaryFile(/tmp/multipartBody4959129091390278233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774825511,"filename":"image_06022025_16_00_09_9991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc8c05dbb796be1b593c7c023e1473de.jpg","text":"TemporaryFile(/tmp/multipartBody9086227749645491799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774825511,"filename":"image_06022025_16_00_19_9828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e57516ccbda8213f5d20a1727e4a203d.jpg","text":"TemporaryFile(/tmp/multipartBody5547189617601394124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774825511,"filename":"image_06022025_16_00_59_10069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c78d27704166f4e0151db8d6e060422e.jpg","text":"TemporaryFile(/tmp/multipartBody95832352399891899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774825511,"filename":"image_06022025_16_00_49_10021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb51389964902f80dff817f0baab6add.jpg","text":"TemporaryFile(/tmp/multipartBody4552978795076472278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774825511,"filename":"image_06022025_16_00_39_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118315","file1":"1338118285","file0":"1338118282","file4":"1338118322","file5":"1338118337","file3":"1338118320"},"map_files_photo_id_array":[{"photo_id":"1338118337","filename":"file5"},{"photo_id":"1338118315","filename":"file2"},{"photo_id":"1338118322","filename":"file4"},{"photo_id":"1338118285","filename":"file1"},{"photo_id":"1338118282","filename":"file0"},{"photo_id":"1338118320","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118320":["hashtag1","hashtag2"]},{"1338118337":["hashtag1","hashtag2"]},{"1338118322":["hashtag1","hashtag2"]},{"1338118282":["hashtag1","hashtag2"]},{"1338118285":["hashtag1","hashtag2"]},{"1338118315":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118320, 1338118337, 1338118322, 1338118282, 1338118285, 1338118315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.994555950164795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:47:03.177094
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_59_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_49_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_39_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_29_9959.jpg', 0), ('/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_19_9957.jpg', 0), ('/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_09_9953.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_59_9956.jpg', '/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_49_9952.jpg', '/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_39_9955.jpg', '/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_29_9959.jpg', '/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_19_9957.jpg', '/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_09_9953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_59_9956.jpg
/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_49_9952.jpg
/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_39_9955.jpg
/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_29_9959.jpg
/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_19_9957.jpg
/home/nano/Desktop/images/06022025/15/59/image_06022025_15_59_09_9953.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118397","1338118400","1338118403","1338118411","1338118414","1338118353"],"photo_ids_order":["1338118353","1338118397","1338118400","1338118403","1338118411","1338118414"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/488c818e5e4bf48aeace010bc89b232a.jpg","text":"TemporaryFile(/tmp/multipartBody4072070158652898695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774885468,"filename":"image_06022025_15_59_49_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd7c9ca593ef1fb25296c69d8c12135d.jpg","text":"TemporaryFile(/tmp/multipartBody1073273105057803139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774885468,"filename":"image_06022025_15_59_39_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e50b647e6b122544a18b2cd378179c39.jpg","text":"TemporaryFile(/tmp/multipartBody8254498181899367777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774885468,"filename":"image_06022025_15_59_29_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/04672afe84b549836e3e991face0546e.jpg","text":"TemporaryFile(/tmp/multipartBody1930032627501428289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774885468,"filename":"image_06022025_15_59_19_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d7aed54d1b12d4836a2a35c7ce74893d.jpg","text":"TemporaryFile(/tmp/multipartBody4845850685401782412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774885468,"filename":"image_06022025_15_59_09_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e1edae4c9d6eed3c9a2f89a1b0a0b2cd.jpg","text":"TemporaryFile(/tmp/multipartBody5578546546282941555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774885468,"filename":"image_06022025_15_59_59_9956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118400","file1":"1338118397","file0":"1338118353","file4":"1338118411","file5":"1338118414","file3":"1338118403"},"map_files_photo_id_array":[{"photo_id":"1338118414","filename":"file5"},{"photo_id":"1338118400","filename":"file2"},{"photo_id":"1338118411","filename":"file4"},{"photo_id":"1338118397","filename":"file1"},{"photo_id":"1338118353","filename":"file0"},{"photo_id":"1338118403","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118397":["hashtag1","hashtag2"]},{"1338118400":["hashtag1","hashtag2"]},{"1338118403":["hashtag1","hashtag2"]},{"1338118411":["hashtag1","hashtag2"]},{"1338118414":["hashtag1","hashtag2"]},{"1338118353":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118397, 1338118400, 1338118403, 1338118411, 1338118414, 1338118353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.371270179748535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:48:03.053135
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_59_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_49_9980.jpg', 0), ('/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_39_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_29_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_20_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_10_9965.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_59_9954.jpg', '/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_49_9980.jpg', '/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_39_9953.jpg', '/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_29_9955.jpg', '/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_20_9951.jpg', '/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_10_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_59_9954.jpg
/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_49_9980.jpg
/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_39_9953.jpg
/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_29_9955.jpg
/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_20_9951.jpg
/home/nano/Desktop/images/06022025/15/58/image_06022025_15_58_10_9965.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118430","1338118442","1338118438","1338118432","1338118435","1338118440"],"photo_ids_order":["1338118430","1338118432","1338118435","1338118438","1338118440","1338118442"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a073b8131c5b9abb30bd4f9615e2604.jpg","text":"TemporaryFile(/tmp/multipartBody2304191235749913741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774945780,"filename":"image_06022025_15_58_59_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4aa76f9a239b6f6769c85725bb8a473.jpg","text":"TemporaryFile(/tmp/multipartBody7384138761783344083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774945780,"filename":"image_06022025_15_58_10_9965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae901baa6ea0b22d2d4e285d228a61a2.jpg","text":"TemporaryFile(/tmp/multipartBody5305027686928071106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774945780,"filename":"image_06022025_15_58_29_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee1ab86ef3c433582ee5833e0a8e5edb.jpg","text":"TemporaryFile(/tmp/multipartBody1969833239686391999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774945780,"filename":"image_06022025_15_58_49_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/11d7787559673b6c8b4c8e7882a6359a.jpg","text":"TemporaryFile(/tmp/multipartBody1421697178361442275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774945780,"filename":"image_06022025_15_58_39_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f1c3b46c3cb3a5c37429ca0bfd41b37.jpg","text":"TemporaryFile(/tmp/multipartBody5364096848426516907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739774945780,"filename":"image_06022025_15_58_20_9951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118435","file1":"1338118432","file0":"1338118430","file4":"1338118440","file5":"1338118442","file3":"1338118438"},"map_files_photo_id_array":[{"photo_id":"1338118442","filename":"file5"},{"photo_id":"1338118435","filename":"file2"},{"photo_id":"1338118440","filename":"file4"},{"photo_id":"1338118432","filename":"file1"},{"photo_id":"1338118430","filename":"file0"},{"photo_id":"1338118438","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118430":["hashtag1","hashtag2"]},{"1338118442":["hashtag1","hashtag2"]},{"1338118438":["hashtag1","hashtag2"]},{"1338118432":["hashtag1","hashtag2"]},{"1338118435":["hashtag1","hashtag2"]},{"1338118440":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118430, 1338118442, 1338118438, 1338118432, 1338118435, 1338118440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.130900144577026 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:49:02.605176
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/57/image_06022025_15_58_00_10963.jpg', 0), ('/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_49_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_39_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_29_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_19_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_09_9956.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/57/image_06022025_15_58_00_10963.jpg', '/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_49_9952.jpg', '/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_39_9954.jpg', '/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_29_9951.jpg', '/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_19_9953.jpg', '/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_09_9956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/57/image_06022025_15_58_00_10963.jpg
/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_49_9952.jpg
/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_39_9954.jpg
/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_29_9951.jpg
/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_19_9953.jpg
/home/nano/Desktop/images/06022025/15/57/image_06022025_15_57_09_9956.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118503","1338118496","1338118475","1338118477","1338118482","1338118485"],"photo_ids_order":["1338118475","1338118477","1338118482","1338118485","1338118496","1338118503"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e03ae0644644ac9de63e46370dd76a15.jpg","text":"TemporaryFile(/tmp/multipartBody8724157909385847560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775005225,"filename":"image_06022025_15_57_09_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5dbf42e5954400db914476f7feaf8de4.jpg","text":"TemporaryFile(/tmp/multipartBody2039926527025825933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775005225,"filename":"image_06022025_15_57_19_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8437250cbdc37deb014997b4ca4408e.jpg","text":"TemporaryFile(/tmp/multipartBody4333311986608140604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775005225,"filename":"image_06022025_15_58_00_10963.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bda994121814a1280425dd9d07de1f48.jpg","text":"TemporaryFile(/tmp/multipartBody9101140260752173298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775005225,"filename":"image_06022025_15_57_49_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d1d8529ef8d131d8cc2935530920a9a.jpg","text":"TemporaryFile(/tmp/multipartBody236435035780702331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775005225,"filename":"image_06022025_15_57_39_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/10c47decb204187ad92ba0abaa70835e.jpg","text":"TemporaryFile(/tmp/multipartBody7996625882557408945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775005225,"filename":"image_06022025_15_57_29_9951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118482","file1":"1338118477","file0":"1338118475","file4":"1338118496","file5":"1338118503","file3":"1338118485"},"map_files_photo_id_array":[{"photo_id":"1338118503","filename":"file5"},{"photo_id":"1338118482","filename":"file2"},{"photo_id":"1338118496","filename":"file4"},{"photo_id":"1338118477","filename":"file1"},{"photo_id":"1338118475","filename":"file0"},{"photo_id":"1338118485","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118503":["hashtag1","hashtag2"]},{"1338118496":["hashtag1","hashtag2"]},{"1338118475":["hashtag1","hashtag2"]},{"1338118477":["hashtag1","hashtag2"]},{"1338118482":["hashtag1","hashtag2"]},{"1338118485":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118503, 1338118496, 1338118475, 1338118477, 1338118482, 1338118485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34085178375244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:50:02.405371
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_59_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_49_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_39_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_29_9971.jpg', 0), ('/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_19_9957.jpg', 0), ('/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_09_9969.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_59_9955.jpg', '/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_49_9952.jpg', '/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_39_9954.jpg', '/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_29_9971.jpg', '/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_19_9957.jpg', '/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_09_9969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_59_9955.jpg
/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_49_9952.jpg
/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_39_9954.jpg
/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_29_9971.jpg
/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_19_9957.jpg
/home/nano/Desktop/images/06022025/15/56/image_06022025_15_56_09_9969.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118565","1338118538","1338118568","1338118563","1338118572","1338118569"],"photo_ids_order":["1338118538","1338118563","1338118565","1338118568","1338118569","1338118572"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb960c20e8212678feedeee3842bfc9e.jpg","text":"TemporaryFile(/tmp/multipartBody1694823546431777893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775064835,"filename":"image_06022025_15_56_39_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03954cd952ea908b612c77c32a255b41.jpg","text":"TemporaryFile(/tmp/multipartBody8201057640306137031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775064835,"filename":"image_06022025_15_56_59_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d67292b11d5207f7084e0404ed7a94f.jpg","text":"TemporaryFile(/tmp/multipartBody5959537614051943373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775064835,"filename":"image_06022025_15_56_29_9971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8016628c6a8baab22a21b1be88ebe692.jpg","text":"TemporaryFile(/tmp/multipartBody5138774658116911902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775064835,"filename":"image_06022025_15_56_49_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a40bcfaa36364b9c4d520a83bf9088c8.jpg","text":"TemporaryFile(/tmp/multipartBody2968040532716288698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775064835,"filename":"image_06022025_15_56_09_9969.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b52ab511dfd46004ac816d8d346435d3.jpg","text":"TemporaryFile(/tmp/multipartBody219651786883849644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775064835,"filename":"image_06022025_15_56_19_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118565","file1":"1338118563","file0":"1338118538","file4":"1338118569","file5":"1338118572","file3":"1338118568"},"map_files_photo_id_array":[{"photo_id":"1338118572","filename":"file5"},{"photo_id":"1338118565","filename":"file2"},{"photo_id":"1338118569","filename":"file4"},{"photo_id":"1338118563","filename":"file1"},{"photo_id":"1338118538","filename":"file0"},{"photo_id":"1338118568","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118565":["hashtag1","hashtag2"]},{"1338118538":["hashtag1","hashtag2"]},{"1338118568":["hashtag1","hashtag2"]},{"1338118563":["hashtag1","hashtag2"]},{"1338118572":["hashtag1","hashtag2"]},{"1338118569":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118565, 1338118538, 1338118568, 1338118563, 1338118572, 1338118569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.070937395095825 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:51:02.590256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_59_9959.jpg', 0), ('/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_49_9959.jpg', 0), ('/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_39_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_29_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_19_9979.jpg', 0), ('/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_09_9978.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_59_9959.jpg', '/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_49_9959.jpg', '/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_39_9956.jpg', '/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_29_9955.jpg', '/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_19_9979.jpg', '/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_09_9978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_59_9959.jpg
/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_49_9959.jpg
/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_39_9956.jpg
/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_29_9955.jpg
/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_19_9979.jpg
/home/nano/Desktop/images/06022025/15/55/image_06022025_15_55_09_9978.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118640","1338118642","1338118650","1338118644","1338118653","1338118647"],"photo_ids_order":["1338118640","1338118642","1338118644","1338118647","1338118650","1338118653"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/85e2b7bd38e179c90bf0cd118f85da64.jpg","text":"TemporaryFile(/tmp/multipartBody8140986676694123585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775125024,"filename":"image_06022025_15_55_59_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/47028a62b2e7c1ce22c37fdff3fb4fb9.jpg","text":"TemporaryFile(/tmp/multipartBody7284618124927932188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775125024,"filename":"image_06022025_15_55_49_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c619a3dafc95c3dd9fb2f5c6d97a1520.jpg","text":"TemporaryFile(/tmp/multipartBody4415888188780062039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775125024,"filename":"image_06022025_15_55_19_9979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9384f8c03ded4df499e2f5986769bd95.jpg","text":"TemporaryFile(/tmp/multipartBody5107212637039054997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775125024,"filename":"image_06022025_15_55_39_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/111dc5dab15d60fe730773f32d435f79.jpg","text":"TemporaryFile(/tmp/multipartBody4462400442786195847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775125024,"filename":"image_06022025_15_55_09_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c79391a1b3fc114f531440831fecb52f.jpg","text":"TemporaryFile(/tmp/multipartBody7214585157058348845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775125024,"filename":"image_06022025_15_55_29_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118644","file1":"1338118642","file0":"1338118640","file4":"1338118650","file5":"1338118653","file3":"1338118647"},"map_files_photo_id_array":[{"photo_id":"1338118653","filename":"file5"},{"photo_id":"1338118644","filename":"file2"},{"photo_id":"1338118650","filename":"file4"},{"photo_id":"1338118642","filename":"file1"},{"photo_id":"1338118640","filename":"file0"},{"photo_id":"1338118647","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118640":["hashtag1","hashtag2"]},{"1338118642":["hashtag1","hashtag2"]},{"1338118650":["hashtag1","hashtag2"]},{"1338118644":["hashtag1","hashtag2"]},{"1338118653":["hashtag1","hashtag2"]},{"1338118647":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118640, 1338118642, 1338118650, 1338118644, 1338118653, 1338118647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72957921028137 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:52:02.702760
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_59_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_49_9957.jpg', 0), ('/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_39_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_29_9979.jpg', 0), ('/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_19_9979.jpg', 0), ('/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_09_9966.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_59_9951.jpg', '/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_49_9957.jpg', '/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_39_9954.jpg', '/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_29_9979.jpg', '/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_19_9979.jpg', '/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_09_9966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_59_9951.jpg
/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_49_9957.jpg
/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_39_9954.jpg
/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_29_9979.jpg
/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_19_9979.jpg
/home/nano/Desktop/images/06022025/15/54/image_06022025_15_54_09_9966.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118694","1338118688","1338118696","1338118699","1338118690","1338118686"],"photo_ids_order":["1338118686","1338118688","1338118690","1338118694","1338118696","1338118699"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3341c416b4b9386a9eadaf742fa6d34.jpg","text":"TemporaryFile(/tmp/multipartBody6597703586341741951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775185299,"filename":"image_06022025_15_54_29_9979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1eec3f2379b5935a5f230398831f36e6.jpg","text":"TemporaryFile(/tmp/multipartBody1313904017179251898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775185299,"filename":"image_06022025_15_54_49_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22de29fe48a505b1403d06207ff1075b.jpg","text":"TemporaryFile(/tmp/multipartBody5821856761091784394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775185299,"filename":"image_06022025_15_54_19_9979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/96d5453804c611087df747c8a284aafd.jpg","text":"TemporaryFile(/tmp/multipartBody7322939982920321014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775185299,"filename":"image_06022025_15_54_09_9966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92e7c0bdf4bc31a904d9663975c6536b.jpg","text":"TemporaryFile(/tmp/multipartBody2849845743850467833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775185299,"filename":"image_06022025_15_54_39_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1efcffef1100efbc58b160d9f18d6d6.jpg","text":"TemporaryFile(/tmp/multipartBody8834920349983200729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775185299,"filename":"image_06022025_15_54_59_9951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118690","file1":"1338118688","file0":"1338118686","file4":"1338118696","file5":"1338118699","file3":"1338118694"},"map_files_photo_id_array":[{"photo_id":"1338118699","filename":"file5"},{"photo_id":"1338118690","filename":"file2"},{"photo_id":"1338118696","filename":"file4"},{"photo_id":"1338118688","filename":"file1"},{"photo_id":"1338118686","filename":"file0"},{"photo_id":"1338118694","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118694":["hashtag1","hashtag2"]},{"1338118688":["hashtag1","hashtag2"]},{"1338118696":["hashtag1","hashtag2"]},{"1338118699":["hashtag1","hashtag2"]},{"1338118690":["hashtag1","hashtag2"]},{"1338118686":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118694, 1338118688, 1338118696, 1338118699, 1338118690, 1338118686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.765005588531494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:53:03.211853
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/53/image_06022025_15_54_00_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_50_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_40_10966.jpg', 0), ('/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_29_9973.jpg', 0), ('/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_19_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_09_9962.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/53/image_06022025_15_54_00_9954.jpg', '/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_50_9955.jpg', '/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_40_10966.jpg', '/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_29_9973.jpg', '/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_19_9956.jpg', '/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_09_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/53/image_06022025_15_54_00_9954.jpg
/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_50_9955.jpg
/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_40_10966.jpg
/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_29_9973.jpg
/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_19_9956.jpg
/home/nano/Desktop/images/06022025/15/53/image_06022025_15_53_09_9962.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118727","1338118732","1338118741","1338118735","1338118729","1338118725"],"photo_ids_order":["1338118725","1338118727","1338118729","1338118732","1338118735","1338118741"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/064b624ef0103b08a1cdfa253f1538d7.jpg","text":"TemporaryFile(/tmp/multipartBody3218170105677312331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775245721,"filename":"image_06022025_15_53_50_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bcfaa1b9dc6e4735ac0136e36208b65d.jpg","text":"TemporaryFile(/tmp/multipartBody6876166004605977993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775245721,"filename":"image_06022025_15_53_29_9973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3e9dea2ee8407eeab5033bc81230bc7.jpg","text":"TemporaryFile(/tmp/multipartBody4603463520515351987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775245721,"filename":"image_06022025_15_53_09_9962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59949b4fdf48e0ce97ec435f4c8670bb.jpg","text":"TemporaryFile(/tmp/multipartBody1320985546456902081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775245721,"filename":"image_06022025_15_53_19_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e4221efacde2c2be0412255001381c3.jpg","text":"TemporaryFile(/tmp/multipartBody8009549551415605211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775245721,"filename":"image_06022025_15_53_40_10966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a312831da71fb0cb8b4cbbfe1dac666.jpg","text":"TemporaryFile(/tmp/multipartBody8402592841755723704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775245721,"filename":"image_06022025_15_54_00_9954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118729","file1":"1338118727","file0":"1338118725","file4":"1338118735","file5":"1338118741","file3":"1338118732"},"map_files_photo_id_array":[{"photo_id":"1338118741","filename":"file5"},{"photo_id":"1338118729","filename":"file2"},{"photo_id":"1338118735","filename":"file4"},{"photo_id":"1338118727","filename":"file1"},{"photo_id":"1338118725","filename":"file0"},{"photo_id":"1338118732","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118727":["hashtag1","hashtag2"]},{"1338118732":["hashtag1","hashtag2"]},{"1338118741":["hashtag1","hashtag2"]},{"1338118735":["hashtag1","hashtag2"]},{"1338118729":["hashtag1","hashtag2"]},{"1338118725":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118727, 1338118732, 1338118741, 1338118735, 1338118729, 1338118725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66890263557434 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:54:03.217570
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_59_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_49_9978.jpg', 0), ('/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_39_9958.jpg', 0), ('/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_29_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_19_9958.jpg', 0), ('/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_09_9956.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_59_9954.jpg', '/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_49_9978.jpg', '/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_39_9958.jpg', '/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_29_9956.jpg', '/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_19_9958.jpg', '/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_09_9956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_59_9954.jpg
/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_49_9978.jpg
/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_39_9958.jpg
/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_29_9956.jpg
/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_19_9958.jpg
/home/nano/Desktop/images/06022025/15/52/image_06022025_15_52_09_9956.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118790","1338118793","1338118766","1338118777","1338118791","1338118779"],"photo_ids_order":["1338118766","1338118777","1338118779","1338118790","1338118791","1338118793"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a494892c9daea860586df1e5c785056c.jpg","text":"TemporaryFile(/tmp/multipartBody5445522207662757628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775305852,"filename":"image_06022025_15_52_29_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d3dda6f6df7f83d3ab12363e3cf091f.jpg","text":"TemporaryFile(/tmp/multipartBody8255721195689970593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775305852,"filename":"image_06022025_15_52_09_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/217d4509c4e8d2741d051bdb75bd2064.jpg","text":"TemporaryFile(/tmp/multipartBody7466167804771638072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775305852,"filename":"image_06022025_15_52_59_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae4563fac84ba06d98136c1a752b41d2.jpg","text":"TemporaryFile(/tmp/multipartBody5498911482547517253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775305852,"filename":"image_06022025_15_52_49_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1873e450996a05062c40db0a27d52c5c.jpg","text":"TemporaryFile(/tmp/multipartBody3556412841837518156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775305852,"filename":"image_06022025_15_52_19_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ecfb3c736e15fd07a6cab927c4fdb642.jpg","text":"TemporaryFile(/tmp/multipartBody1834836896875829958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775305852,"filename":"image_06022025_15_52_39_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118779","file1":"1338118777","file0":"1338118766","file4":"1338118791","file5":"1338118793","file3":"1338118790"},"map_files_photo_id_array":[{"photo_id":"1338118793","filename":"file5"},{"photo_id":"1338118779","filename":"file2"},{"photo_id":"1338118791","filename":"file4"},{"photo_id":"1338118777","filename":"file1"},{"photo_id":"1338118766","filename":"file0"},{"photo_id":"1338118790","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118790":["hashtag1","hashtag2"]},{"1338118793":["hashtag1","hashtag2"]},{"1338118766":["hashtag1","hashtag2"]},{"1338118777":["hashtag1","hashtag2"]},{"1338118791":["hashtag1","hashtag2"]},{"1338118779":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118790, 1338118793, 1338118766, 1338118777, 1338118791, 1338118779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51112937927246 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:55:03.392833
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_59_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_49_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_39_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_29_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_19_9959.jpg', 0), ('/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_09_9992.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_59_9955.jpg', '/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_49_9954.jpg', '/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_39_9954.jpg', '/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_29_9955.jpg', '/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_19_9959.jpg', '/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_09_9992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_59_9955.jpg
/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_49_9954.jpg
/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_39_9954.jpg
/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_29_9955.jpg
/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_19_9959.jpg
/home/nano/Desktop/images/06022025/15/51/image_06022025_15_51_09_9992.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118821","1338118838","1338118819","1338118830","1338118824","1338118827"],"photo_ids_order":["1338118819","1338118821","1338118824","1338118827","1338118830","1338118838"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/600dc8e88daa1b6cab170dbd9b9e020e.jpg","text":"TemporaryFile(/tmp/multipartBody5874818319826605123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775366199,"filename":"image_06022025_15_51_49_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/961538ebccc01698200a8327ff68e772.jpg","text":"TemporaryFile(/tmp/multipartBody5012385107323987236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775366199,"filename":"image_06022025_15_51_09_9992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d369e1a03739fc2ad7e80252ef3c90c5.jpg","text":"TemporaryFile(/tmp/multipartBody8129959513033093109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775366199,"filename":"image_06022025_15_51_59_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7c231b75f9a2682c877dcc7eb675f40.jpg","text":"TemporaryFile(/tmp/multipartBody4424137407067961180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775366199,"filename":"image_06022025_15_51_19_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a6a48d04675784260e9af95130772644.jpg","text":"TemporaryFile(/tmp/multipartBody1498734922785405199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775366199,"filename":"image_06022025_15_51_39_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c93dc718e454ff7f277f89070cf306f9.jpg","text":"TemporaryFile(/tmp/multipartBody8869678575586151331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775366199,"filename":"image_06022025_15_51_29_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118824","file1":"1338118821","file0":"1338118819","file4":"1338118830","file5":"1338118838","file3":"1338118827"},"map_files_photo_id_array":[{"photo_id":"1338118838","filename":"file5"},{"photo_id":"1338118824","filename":"file2"},{"photo_id":"1338118830","filename":"file4"},{"photo_id":"1338118821","filename":"file1"},{"photo_id":"1338118819","filename":"file0"},{"photo_id":"1338118827","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118821":["hashtag1","hashtag2"]},{"1338118838":["hashtag1","hashtag2"]},{"1338118819":["hashtag1","hashtag2"]},{"1338118830":["hashtag1","hashtag2"]},{"1338118824":["hashtag1","hashtag2"]},{"1338118827":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118821, 1338118838, 1338118819, 1338118830, 1338118824, 1338118827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52682709693909 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:56:02.190920
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_59_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_49_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_39_9960.jpg', 0), ('/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_29_9957.jpg', 0), ('/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_19_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_09_9978.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_59_9954.jpg', '/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_49_9951.jpg', '/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_39_9960.jpg', '/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_29_9957.jpg', '/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_19_9954.jpg', '/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_09_9978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_59_9954.jpg
/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_49_9951.jpg
/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_39_9960.jpg
/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_29_9957.jpg
/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_19_9954.jpg
/home/nano/Desktop/images/06022025/15/50/image_06022025_15_50_09_9978.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338118961","1338118963","1338118957","1338118966","1338118954","1338118968"],"photo_ids_order":["1338118954","1338118957","1338118961","1338118963","1338118966","1338118968"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f0a5ae87318d1ba8852bd1b345973f8d.jpg","text":"TemporaryFile(/tmp/multipartBody2843653049607691646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775425019,"filename":"image_06022025_15_50_39_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3bb01d7049692899c44e29ec4d6e13ca.jpg","text":"TemporaryFile(/tmp/multipartBody8328011907831217238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775425019,"filename":"image_06022025_15_50_29_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54cfa548e2f6cf8eb6f44eae5376ee86.jpg","text":"TemporaryFile(/tmp/multipartBody1519987784739508345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775425019,"filename":"image_06022025_15_50_49_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/130304a2f2be83e4b9a776d92699cffc.jpg","text":"TemporaryFile(/tmp/multipartBody3577556906951154641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775425019,"filename":"image_06022025_15_50_19_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d7c39823983eeb64eed669fe3dc9da5.jpg","text":"TemporaryFile(/tmp/multipartBody5916604897262437330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775425019,"filename":"image_06022025_15_50_59_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f4ea0775f93759727d798985a33e60bb.jpg","text":"TemporaryFile(/tmp/multipartBody7476568628383727526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775425019,"filename":"image_06022025_15_50_09_9978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338118961","file1":"1338118957","file0":"1338118954","file4":"1338118966","file5":"1338118968","file3":"1338118963"},"map_files_photo_id_array":[{"photo_id":"1338118968","filename":"file5"},{"photo_id":"1338118961","filename":"file2"},{"photo_id":"1338118966","filename":"file4"},{"photo_id":"1338118957","filename":"file1"},{"photo_id":"1338118954","filename":"file0"},{"photo_id":"1338118963","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338118961":["hashtag1","hashtag2"]},{"1338118963":["hashtag1","hashtag2"]},{"1338118957":["hashtag1","hashtag2"]},{"1338118966":["hashtag1","hashtag2"]},{"1338118954":["hashtag1","hashtag2"]},{"1338118968":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338118961, 1338118963, 1338118957, 1338118966, 1338118954, 1338118968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04287934303284 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:57:02.813346
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_59_9957.jpg', 0), ('/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_50_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_40_9947.jpg', 0), ('/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_30_10965.jpg', 0), ('/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_19_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_09_9959.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_59_9957.jpg', '/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_50_9955.jpg', '/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_40_9947.jpg', '/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_30_10965.jpg', '/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_19_9955.jpg', '/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_09_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_59_9957.jpg
/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_50_9955.jpg
/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_40_9947.jpg
/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_30_10965.jpg
/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_19_9955.jpg
/home/nano/Desktop/images/06022025/15/49/image_06022025_15_49_09_9959.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338119012","1338119017","1338119010","1338119004","1338119007","1338119001"],"photo_ids_order":["1338119001","1338119004","1338119007","1338119010","1338119012","1338119017"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d705c1cf77ae010b51cff6be532f8a9.jpg","text":"TemporaryFile(/tmp/multipartBody1387837385592074119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775485322,"filename":"image_06022025_15_49_19_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99051398397bdb44b50e5741fec68e61.jpg","text":"TemporaryFile(/tmp/multipartBody7957143154295000509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775485322,"filename":"image_06022025_15_49_09_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b0646f22f85ac44e1a95d70c9c99a13.jpg","text":"TemporaryFile(/tmp/multipartBody1589770177670779277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775485322,"filename":"image_06022025_15_49_30_10965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de264d743571b21a146bfbacdbc42a2a.jpg","text":"TemporaryFile(/tmp/multipartBody7864324226459994257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775485322,"filename":"image_06022025_15_49_50_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9047d9022172311d16f40299c1c4ff6b.jpg","text":"TemporaryFile(/tmp/multipartBody3971912221167316492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775485322,"filename":"image_06022025_15_49_40_9947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97ee94994b856c28f25cc1bc92f46231.jpg","text":"TemporaryFile(/tmp/multipartBody7987272359355969112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775485322,"filename":"image_06022025_15_49_59_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338119007","file1":"1338119004","file0":"1338119001","file4":"1338119012","file5":"1338119017","file3":"1338119010"},"map_files_photo_id_array":[{"photo_id":"1338119017","filename":"file5"},{"photo_id":"1338119007","filename":"file2"},{"photo_id":"1338119012","filename":"file4"},{"photo_id":"1338119004","filename":"file1"},{"photo_id":"1338119001","filename":"file0"},{"photo_id":"1338119010","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338119012":["hashtag1","hashtag2"]},{"1338119017":["hashtag1","hashtag2"]},{"1338119010":["hashtag1","hashtag2"]},{"1338119004":["hashtag1","hashtag2"]},{"1338119007":["hashtag1","hashtag2"]},{"1338119001":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338119012, 1338119017, 1338119010, 1338119004, 1338119007, 1338119001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78259992599487 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:58:02.755168
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_59_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_49_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_39_9981.jpg', 0), ('/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_29_9959.jpg', 0), ('/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_19_9981.jpg', 0), ('/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_09_9969.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_59_9951.jpg', '/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_49_9955.jpg', '/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_39_9981.jpg', '/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_29_9959.jpg', '/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_19_9981.jpg', '/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_09_9969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_59_9951.jpg
/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_49_9955.jpg
/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_39_9981.jpg
/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_29_9959.jpg
/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_19_9981.jpg
/home/nano/Desktop/images/06022025/15/48/image_06022025_15_48_09_9969.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338119042","1338119030","1338119040","1338119064","1338119043","1338119037"],"photo_ids_order":["1338119030","1338119037","1338119040","1338119042","1338119043","1338119064"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/977410be7c1e8ae110dd4be5b45ad70d.jpg","text":"TemporaryFile(/tmp/multipartBody2550248150293624233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775545474,"filename":"image_06022025_15_48_29_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8a952e193cd553afa202091bd8f282f.jpg","text":"TemporaryFile(/tmp/multipartBody3225383096744864374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775545474,"filename":"image_06022025_15_48_59_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d80b39d1fd88eb2cc73cceff49b581e.jpg","text":"TemporaryFile(/tmp/multipartBody8005561484283825882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775545474,"filename":"image_06022025_15_48_39_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba144f5841dc9750b510b2f0f00b5de3.jpg","text":"TemporaryFile(/tmp/multipartBody653631117817586788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775545474,"filename":"image_06022025_15_48_09_9969.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05175abd647e2256615c971bebb3cc70.jpg","text":"TemporaryFile(/tmp/multipartBody817619137829618030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775545474,"filename":"image_06022025_15_48_19_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efda9cbed751c83e6ac9baeedb37e522.jpg","text":"TemporaryFile(/tmp/multipartBody4507434855263311806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775545474,"filename":"image_06022025_15_48_49_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338119040","file1":"1338119037","file0":"1338119030","file4":"1338119043","file5":"1338119064","file3":"1338119042"},"map_files_photo_id_array":[{"photo_id":"1338119064","filename":"file5"},{"photo_id":"1338119040","filename":"file2"},{"photo_id":"1338119043","filename":"file4"},{"photo_id":"1338119037","filename":"file1"},{"photo_id":"1338119030","filename":"file0"},{"photo_id":"1338119042","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338119042":["hashtag1","hashtag2"]},{"1338119030":["hashtag1","hashtag2"]},{"1338119040":["hashtag1","hashtag2"]},{"1338119064":["hashtag1","hashtag2"]},{"1338119043":["hashtag1","hashtag2"]},{"1338119037":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338119042, 1338119030, 1338119040, 1338119064, 1338119043, 1338119037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86930847167969 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 07:59:03.298006
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_59_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_49_9957.jpg', 0), ('/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_39_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_29_9966.jpg', 0), ('/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_19_9957.jpg', 0), ('/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_09_9963.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_59_9953.jpg', '/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_49_9957.jpg', '/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_39_9953.jpg', '/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_29_9966.jpg', '/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_19_9957.jpg', '/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_09_9963.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_59_9953.jpg
/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_49_9957.jpg
/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_39_9953.jpg
/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_29_9966.jpg
/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_19_9957.jpg
/home/nano/Desktop/images/06022025/15/47/image_06022025_15_47_09_9963.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338119129","1338119117","1338119105","1338119086","1338119094","1338119124"],"photo_ids_order":["1338119086","1338119094","1338119105","1338119117","1338119124","1338119129"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a4e8d9b5394c3a2fd8dd15bdfc2ff6d.jpg","text":"TemporaryFile(/tmp/multipartBody3691009286503108104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775610548,"filename":"image_06022025_15_47_09_9963.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/deb41d3231690f352aea057dfe7aab3e.jpg","text":"TemporaryFile(/tmp/multipartBody4985991026940784291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775610548,"filename":"image_06022025_15_47_29_9966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3141c946c7705aefff4394f6b1391d6.jpg","text":"TemporaryFile(/tmp/multipartBody739451975011158642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775610548,"filename":"image_06022025_15_47_39_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a98a2a659d5158d64df02aa2881047f.jpg","text":"TemporaryFile(/tmp/multipartBody3804367205610336740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775610548,"filename":"image_06022025_15_47_59_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0f0417846433a61c251dca1b0278e96.jpg","text":"TemporaryFile(/tmp/multipartBody989640899969976963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775610548,"filename":"image_06022025_15_47_49_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3cbde119b6db1be85014d1c29d5deaf1.jpg","text":"TemporaryFile(/tmp/multipartBody3898686231667715862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775610548,"filename":"image_06022025_15_47_19_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338119105","file1":"1338119094","file0":"1338119086","file4":"1338119124","file5":"1338119129","file3":"1338119117"},"map_files_photo_id_array":[{"photo_id":"1338119129","filename":"file5"},{"photo_id":"1338119105","filename":"file2"},{"photo_id":"1338119124","filename":"file4"},{"photo_id":"1338119094","filename":"file1"},{"photo_id":"1338119086","filename":"file0"},{"photo_id":"1338119117","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338119129":["hashtag1","hashtag2"]},{"1338119117":["hashtag1","hashtag2"]},{"1338119105":["hashtag1","hashtag2"]},{"1338119086":["hashtag1","hashtag2"]},{"1338119094":["hashtag1","hashtag2"]},{"1338119124":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338119129, 1338119117, 1338119105, 1338119086, 1338119094, 1338119124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25507998466492 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:00:03.065575
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_59_9957.jpg', 0), ('/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_49_9978.jpg', 0), ('/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_39_9981.jpg', 0), ('/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_29_9981.jpg', 0), ('/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_19_9981.jpg', 0), ('/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_09_9960.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_59_9957.jpg', '/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_49_9978.jpg', '/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_39_9981.jpg', '/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_29_9981.jpg', '/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_19_9981.jpg', '/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_09_9960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_59_9957.jpg
/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_49_9978.jpg
/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_39_9981.jpg
/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_29_9981.jpg
/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_19_9981.jpg
/home/nano/Desktop/images/06022025/15/46/image_06022025_15_46_09_9960.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338119171","1338119165","1338119185","1338119176","1338119181","1338119160"],"photo_ids_order":["1338119160","1338119165","1338119171","1338119176","1338119181","1338119185"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14f0e66c91b6ffbc0da46509336e2eb2.jpg","text":"TemporaryFile(/tmp/multipartBody6829042593862442892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775666078,"filename":"image_06022025_15_46_39_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90e53ce0ab61a30bd720d7003dca62ce.jpg","text":"TemporaryFile(/tmp/multipartBody7178350243187646933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775666078,"filename":"image_06022025_15_46_49_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6450564336c2fc034ef6499ed6217cdb.jpg","text":"TemporaryFile(/tmp/multipartBody4568215748298455111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775666078,"filename":"image_06022025_15_46_09_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2dcdbb82e53523393cb01338b64091d2.jpg","text":"TemporaryFile(/tmp/multipartBody399542508839975018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775666078,"filename":"image_06022025_15_46_29_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f093bcba8276e8c260f92af1d27c6987.jpg","text":"TemporaryFile(/tmp/multipartBody1244477991352377631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775666078,"filename":"image_06022025_15_46_19_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14ccab617307bdab8380d97b19d7eab4.jpg","text":"TemporaryFile(/tmp/multipartBody1648601716492842432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775666078,"filename":"image_06022025_15_46_59_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338119171","file1":"1338119165","file0":"1338119160","file4":"1338119181","file5":"1338119185","file3":"1338119176"},"map_files_photo_id_array":[{"photo_id":"1338119185","filename":"file5"},{"photo_id":"1338119171","filename":"file2"},{"photo_id":"1338119181","filename":"file4"},{"photo_id":"1338119165","filename":"file1"},{"photo_id":"1338119160","filename":"file0"},{"photo_id":"1338119176","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338119171":["hashtag1","hashtag2"]},{"1338119165":["hashtag1","hashtag2"]},{"1338119185":["hashtag1","hashtag2"]},{"1338119176":["hashtag1","hashtag2"]},{"1338119181":["hashtag1","hashtag2"]},{"1338119160":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338119171, 1338119165, 1338119185, 1338119176, 1338119181, 1338119160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66814994812012 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:01:03.282631
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_59_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_49_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_39_9950.jpg', 0), ('/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_29_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_20_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_10_9953.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_59_9953.jpg', '/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_49_9953.jpg', '/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_39_9950.jpg', '/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_29_9953.jpg', '/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_20_9952.jpg', '/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_10_9953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_59_9953.jpg
/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_49_9953.jpg
/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_39_9950.jpg
/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_29_9953.jpg
/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_20_9952.jpg
/home/nano/Desktop/images/06022025/15/45/image_06022025_15_45_10_9953.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338119207","1338119204","1338119224","1338119227","1338119212","1338119217"],"photo_ids_order":["1338119204","1338119207","1338119212","1338119217","1338119224","1338119227"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46511b74f15e60512bcd2b3ca137b595.jpg","text":"TemporaryFile(/tmp/multipartBody4582010787623673008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775725962,"filename":"image_06022025_15_45_49_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9572c9f8a5e42238119cc278f1c8f82.jpg","text":"TemporaryFile(/tmp/multipartBody1332270968575614587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775725962,"filename":"image_06022025_15_45_59_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/afb53bb9c9d4d39527c0aab6cf70d293.jpg","text":"TemporaryFile(/tmp/multipartBody6911127033387633142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775725962,"filename":"image_06022025_15_45_20_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c58a5bcffdecc907559d062f414670b.jpg","text":"TemporaryFile(/tmp/multipartBody7822913744256537742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775725962,"filename":"image_06022025_15_45_10_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/687475aa116ffd531c0a7eb7513aa43b.jpg","text":"TemporaryFile(/tmp/multipartBody4010853001928240365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775725962,"filename":"image_06022025_15_45_39_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2e00e7b7fa5a599f2619ad3b1117021.jpg","text":"TemporaryFile(/tmp/multipartBody5305378704371171721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775725962,"filename":"image_06022025_15_45_29_9953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338119212","file1":"1338119207","file0":"1338119204","file4":"1338119224","file5":"1338119227","file3":"1338119217"},"map_files_photo_id_array":[{"photo_id":"1338119227","filename":"file5"},{"photo_id":"1338119212","filename":"file2"},{"photo_id":"1338119224","filename":"file4"},{"photo_id":"1338119207","filename":"file1"},{"photo_id":"1338119204","filename":"file0"},{"photo_id":"1338119217","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338119207":["hashtag1","hashtag2"]},{"1338119204":["hashtag1","hashtag2"]},{"1338119224":["hashtag1","hashtag2"]},{"1338119227":["hashtag1","hashtag2"]},{"1338119212":["hashtag1","hashtag2"]},{"1338119217":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338119207, 1338119204, 1338119224, 1338119227, 1338119212, 1338119217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.653178691864014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:02:03.109320
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/44/image_06022025_15_45_00_10964.jpg', 0), ('/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_49_9980.jpg', 0), ('/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_39_9980.jpg', 0), ('/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_29_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_19_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_09_9975.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/44/image_06022025_15_45_00_10964.jpg', '/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_49_9980.jpg', '/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_39_9980.jpg', '/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_29_9952.jpg', '/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_19_9956.jpg', '/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_09_9975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/44/image_06022025_15_45_00_10964.jpg
/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_49_9980.jpg
/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_39_9980.jpg
/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_29_9952.jpg
/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_19_9956.jpg
/home/nano/Desktop/images/06022025/15/44/image_06022025_15_44_09_9975.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338119290","1338119293","1338119265","1338119280","1338119282","1338119276"],"photo_ids_order":["1338119265","1338119276","1338119280","1338119282","1338119290","1338119293"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8501e29b9966049773102f1acc67c0c.jpg","text":"TemporaryFile(/tmp/multipartBody8637347212158665609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775785661,"filename":"image_06022025_15_44_19_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88de5b7db771d61be5b2834586da2eea.jpg","text":"TemporaryFile(/tmp/multipartBody8905002192525425176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775785661,"filename":"image_06022025_15_44_09_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd1e8d3bf1cc3521c01bcb17381e9c40.jpg","text":"TemporaryFile(/tmp/multipartBody6528326061379694859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775785661,"filename":"image_06022025_15_45_00_10964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/edf8c83eb64d4d242eb32d7a1ff4d951.jpg","text":"TemporaryFile(/tmp/multipartBody7555955559716827195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775785661,"filename":"image_06022025_15_44_39_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8fd04caf46540dcb3f310e822d489ef1.jpg","text":"TemporaryFile(/tmp/multipartBody258832689592235694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775785661,"filename":"image_06022025_15_44_29_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d01b1b46e6c3008f84612a974dfde25.jpg","text":"TemporaryFile(/tmp/multipartBody6210715326238324278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775785661,"filename":"image_06022025_15_44_49_9980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338119280","file1":"1338119276","file0":"1338119265","file4":"1338119290","file5":"1338119293","file3":"1338119282"},"map_files_photo_id_array":[{"photo_id":"1338119293","filename":"file5"},{"photo_id":"1338119280","filename":"file2"},{"photo_id":"1338119290","filename":"file4"},{"photo_id":"1338119276","filename":"file1"},{"photo_id":"1338119265","filename":"file0"},{"photo_id":"1338119282","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338119290":["hashtag1","hashtag2"]},{"1338119293":["hashtag1","hashtag2"]},{"1338119265":["hashtag1","hashtag2"]},{"1338119280":["hashtag1","hashtag2"]},{"1338119282":["hashtag1","hashtag2"]},{"1338119276":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338119290, 1338119293, 1338119265, 1338119280, 1338119282, 1338119276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60373401641846 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:03:02.683392
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_59_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_49_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_39_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_29_9979.jpg', 0), ('/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_19_9980.jpg', 0), ('/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_09_9956.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_59_9954.jpg', '/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_49_9952.jpg', '/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_39_9954.jpg', '/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_29_9979.jpg', '/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_19_9980.jpg', '/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_09_9956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_59_9954.jpg
/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_49_9952.jpg
/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_39_9954.jpg
/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_29_9979.jpg
/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_19_9980.jpg
/home/nano/Desktop/images/06022025/15/43/image_06022025_15_43_09_9956.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338119423","1338119924","1338119385","1338119928","1338119832","1338119585"],"photo_ids_order":["1338119385","1338119423","1338119585","1338119832","1338119924","1338119928"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6fa09adebe8fa60e56c4676c381461ff.jpg","text":"TemporaryFile(/tmp/multipartBody1245002183957249587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775845022,"filename":"image_06022025_15_43_49_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cce94b25cf8804e6077379600040b547.jpg","text":"TemporaryFile(/tmp/multipartBody914832561855762544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775845022,"filename":"image_06022025_15_43_19_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a58355f2ecf30ecc97174c57cfd950fe.jpg","text":"TemporaryFile(/tmp/multipartBody2523444885408320220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775845022,"filename":"image_06022025_15_43_59_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb8091b6f58f3f165c79442ec025a85a.jpg","text":"TemporaryFile(/tmp/multipartBody1050025434643241944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775845022,"filename":"image_06022025_15_43_09_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c2a36fde0f58cabf7f284278ade9b7a.jpg","text":"TemporaryFile(/tmp/multipartBody358608481577257864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775845022,"filename":"image_06022025_15_43_29_9979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b10f67d83272f1e11becbdd9df08ff42.jpg","text":"TemporaryFile(/tmp/multipartBody6387248427172499175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775845022,"filename":"image_06022025_15_43_39_9954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338119585","file1":"1338119423","file0":"1338119385","file4":"1338119924","file5":"1338119928","file3":"1338119832"},"map_files_photo_id_array":[{"photo_id":"1338119928","filename":"file5"},{"photo_id":"1338119585","filename":"file2"},{"photo_id":"1338119924","filename":"file4"},{"photo_id":"1338119423","filename":"file1"},{"photo_id":"1338119385","filename":"file0"},{"photo_id":"1338119832","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338119423":["hashtag1","hashtag2"]},{"1338119924":["hashtag1","hashtag2"]},{"1338119385":["hashtag1","hashtag2"]},{"1338119928":["hashtag1","hashtag2"]},{"1338119832":["hashtag1","hashtag2"]},{"1338119585":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338119423, 1338119924, 1338119385, 1338119928, 1338119832, 1338119585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22008514404297 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:04:02.686223
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_59_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_49_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_39_9957.jpg', 0), ('/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_29_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_19_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_09_9959.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_59_9954.jpg', '/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_49_9952.jpg', '/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_39_9957.jpg', '/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_29_9954.jpg', '/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_19_9955.jpg', '/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_09_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_59_9954.jpg
/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_49_9952.jpg
/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_39_9957.jpg
/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_29_9954.jpg
/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_19_9955.jpg
/home/nano/Desktop/images/06022025/15/42/image_06022025_15_42_09_9959.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338120092","1338120111","1338120105","1338120095","1338120103","1338120106"],"photo_ids_order":["1338120092","1338120095","1338120103","1338120105","1338120106","1338120111"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f09b81e3ab06950b3a365876ae912cd7.jpg","text":"TemporaryFile(/tmp/multipartBody6035416191754928597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775905589,"filename":"image_06022025_15_42_59_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c254a61dba0466ae2ef97e823a0712d1.jpg","text":"TemporaryFile(/tmp/multipartBody4300133569261458821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775905589,"filename":"image_06022025_15_42_09_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39df31fdaaf7168b01e5b1d68e77e35f.jpg","text":"TemporaryFile(/tmp/multipartBody6548410763216904658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775905589,"filename":"image_06022025_15_42_29_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/04c92eae277c23d9714e8babfc62e91b.jpg","text":"TemporaryFile(/tmp/multipartBody416178780601545163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775905589,"filename":"image_06022025_15_42_49_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aaa87355f8d8e73704ddf15c904b2a1b.jpg","text":"TemporaryFile(/tmp/multipartBody195767671130342763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775905589,"filename":"image_06022025_15_42_39_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1dc072f20e732bc54ea3cf71b598ee41.jpg","text":"TemporaryFile(/tmp/multipartBody4413595033073696582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775905589,"filename":"image_06022025_15_42_19_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338120103","file1":"1338120095","file0":"1338120092","file4":"1338120106","file5":"1338120111","file3":"1338120105"},"map_files_photo_id_array":[{"photo_id":"1338120111","filename":"file5"},{"photo_id":"1338120103","filename":"file2"},{"photo_id":"1338120106","filename":"file4"},{"photo_id":"1338120095","filename":"file1"},{"photo_id":"1338120092","filename":"file0"},{"photo_id":"1338120105","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338120092":["hashtag1","hashtag2"]},{"1338120111":["hashtag1","hashtag2"]},{"1338120105":["hashtag1","hashtag2"]},{"1338120095":["hashtag1","hashtag2"]},{"1338120103":["hashtag1","hashtag2"]},{"1338120106":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338120092, 1338120111, 1338120105, 1338120095, 1338120103, 1338120106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07621932029724 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:05:03.105534
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_59_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_49_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_39_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_29_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_19_9957.jpg', 0), ('/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_10_9988.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_59_9956.jpg', '/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_49_9956.jpg', '/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_39_9956.jpg', '/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_29_9956.jpg', '/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_19_9957.jpg', '/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_10_9988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_59_9956.jpg
/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_49_9956.jpg
/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_39_9956.jpg
/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_29_9956.jpg
/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_19_9957.jpg
/home/nano/Desktop/images/06022025/15/41/image_06022025_15_41_10_9988.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338120154","1338120148","1338120130","1338120132","1338120141","1338120129"],"photo_ids_order":["1338120129","1338120130","1338120132","1338120141","1338120148","1338120154"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b47a11028078bf7fb45a1af1c0c39b7.jpg","text":"TemporaryFile(/tmp/multipartBody4961288281044351259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775965990,"filename":"image_06022025_15_41_10_9988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d284ece347fbae0c8a268a1cc8b880d.jpg","text":"TemporaryFile(/tmp/multipartBody2511616222387582655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775965990,"filename":"image_06022025_15_41_19_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d339754cbeb795458b8e227018660f89.jpg","text":"TemporaryFile(/tmp/multipartBody8505179404328960362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775965990,"filename":"image_06022025_15_41_49_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e0b551003a608b044cab417e18931c87.jpg","text":"TemporaryFile(/tmp/multipartBody1750921636945116518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775965990,"filename":"image_06022025_15_41_39_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea51b30168181386ef27f126351b96cd.jpg","text":"TemporaryFile(/tmp/multipartBody6275838583641976569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775965990,"filename":"image_06022025_15_41_29_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a03c2c7820b86119d46e182b09da80e.jpg","text":"TemporaryFile(/tmp/multipartBody3807686226031792405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739775965990,"filename":"image_06022025_15_41_59_9956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338120132","file1":"1338120130","file0":"1338120129","file4":"1338120148","file5":"1338120154","file3":"1338120141"},"map_files_photo_id_array":[{"photo_id":"1338120154","filename":"file5"},{"photo_id":"1338120132","filename":"file2"},{"photo_id":"1338120148","filename":"file4"},{"photo_id":"1338120130","filename":"file1"},{"photo_id":"1338120129","filename":"file0"},{"photo_id":"1338120141","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338120154":["hashtag1","hashtag2"]},{"1338120148":["hashtag1","hashtag2"]},{"1338120130":["hashtag1","hashtag2"]},{"1338120132":["hashtag1","hashtag2"]},{"1338120141":["hashtag1","hashtag2"]},{"1338120129":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338120154, 1338120148, 1338120130, 1338120132, 1338120141, 1338120129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50721621513367 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:06:02.867455
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/40/image_06022025_15_41_00_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_50_9980.jpg', 0), ('/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_40_9978.jpg', 0), ('/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_30_10964.jpg', 0), ('/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_19_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_09_9967.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/40/image_06022025_15_41_00_9953.jpg', '/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_50_9980.jpg', '/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_40_9978.jpg', '/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_30_10964.jpg', '/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_19_9952.jpg', '/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_09_9967.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/40/image_06022025_15_41_00_9953.jpg
/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_50_9980.jpg
/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_40_9978.jpg
/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_30_10964.jpg
/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_19_9952.jpg
/home/nano/Desktop/images/06022025/15/40/image_06022025_15_40_09_9967.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338120190","1338120184","1338120181","1338120178","1338120183","1338120180"],"photo_ids_order":["1338120178","1338120180","1338120181","1338120183","1338120184","1338120190"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/413efd5b2ac6863ee84054dff8a5a054.jpg","text":"TemporaryFile(/tmp/multipartBody1445909220156830689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776025948,"filename":"image_06022025_15_40_09_9967.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60c5433431d2b8ef17de6025d2a8fd6d.jpg","text":"TemporaryFile(/tmp/multipartBody4388613751118460258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776025948,"filename":"image_06022025_15_40_19_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eccba69b1521e5c2e7890d58f6e780c5.jpg","text":"TemporaryFile(/tmp/multipartBody2902161712830232214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776025948,"filename":"image_06022025_15_40_40_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f170d91be0e017488bc41b1cd74a3250.jpg","text":"TemporaryFile(/tmp/multipartBody1127372084565803008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776025948,"filename":"image_06022025_15_41_00_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9fa465387970fd5ac7972046f107e17f.jpg","text":"TemporaryFile(/tmp/multipartBody4157152259050047274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776025948,"filename":"image_06022025_15_40_30_10964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b28c68988c6a7879a57f6bc289a68227.jpg","text":"TemporaryFile(/tmp/multipartBody8314282308026767628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776025948,"filename":"image_06022025_15_40_50_9980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338120181","file1":"1338120180","file0":"1338120178","file4":"1338120184","file5":"1338120190","file3":"1338120183"},"map_files_photo_id_array":[{"photo_id":"1338120190","filename":"file5"},{"photo_id":"1338120181","filename":"file2"},{"photo_id":"1338120184","filename":"file4"},{"photo_id":"1338120180","filename":"file1"},{"photo_id":"1338120178","filename":"file0"},{"photo_id":"1338120183","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338120190":["hashtag1","hashtag2"]},{"1338120184":["hashtag1","hashtag2"]},{"1338120181":["hashtag1","hashtag2"]},{"1338120178":["hashtag1","hashtag2"]},{"1338120183":["hashtag1","hashtag2"]},{"1338120180":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338120190, 1338120184, 1338120181, 1338120178, 1338120183, 1338120180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86791181564331 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:07:03.208308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_59_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_49_9949.jpg', 0), ('/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_39_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_29_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_19_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_09_9968.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_59_9953.jpg', '/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_49_9949.jpg', '/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_39_9956.jpg', '/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_29_9952.jpg', '/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_19_9954.jpg', '/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_09_9968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_59_9953.jpg
/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_49_9949.jpg
/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_39_9956.jpg
/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_29_9952.jpg
/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_19_9954.jpg
/home/nano/Desktop/images/06022025/15/39/image_06022025_15_39_09_9968.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338120245","1338120253","1338120247","1338120262","1338120250","1338120255"],"photo_ids_order":["1338120245","1338120247","1338120250","1338120253","1338120255","1338120262"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e702293502991f486c9f5320244539e.jpg","text":"TemporaryFile(/tmp/multipartBody2553137990884832387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776085958,"filename":"image_06022025_15_39_59_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb95520c0fcb5131bb1c02de1ebeeb3a.jpg","text":"TemporaryFile(/tmp/multipartBody2669947472011813044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776085958,"filename":"image_06022025_15_39_29_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c99c56537f4d644d70bd4117d015b55.jpg","text":"TemporaryFile(/tmp/multipartBody1422150620256124887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776085958,"filename":"image_06022025_15_39_49_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/042b9ff64dd6b60823a09fc1ce0fc1a7.jpg","text":"TemporaryFile(/tmp/multipartBody8439587572474281291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776085958,"filename":"image_06022025_15_39_09_9968.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a95ef4ed3d62aa88920f22cb9949e56.jpg","text":"TemporaryFile(/tmp/multipartBody5693936302210540656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776085958,"filename":"image_06022025_15_39_39_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7ef0e73a938f6fee2b0521b6db4d679.jpg","text":"TemporaryFile(/tmp/multipartBody7259578696770356461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776085958,"filename":"image_06022025_15_39_19_9954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338120250","file1":"1338120247","file0":"1338120245","file4":"1338120255","file5":"1338120262","file3":"1338120253"},"map_files_photo_id_array":[{"photo_id":"1338120262","filename":"file5"},{"photo_id":"1338120250","filename":"file2"},{"photo_id":"1338120255","filename":"file4"},{"photo_id":"1338120247","filename":"file1"},{"photo_id":"1338120245","filename":"file0"},{"photo_id":"1338120253","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338120245":["hashtag1","hashtag2"]},{"1338120253":["hashtag1","hashtag2"]},{"1338120247":["hashtag1","hashtag2"]},{"1338120262":["hashtag1","hashtag2"]},{"1338120250":["hashtag1","hashtag2"]},{"1338120255":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338120245, 1338120253, 1338120247, 1338120262, 1338120250, 1338120255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.795764207839966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:08:02.235478
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_59_9981.jpg', 0), ('/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_49_9979.jpg', 0), ('/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_39_9957.jpg', 0), ('/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_29_9958.jpg', 0), ('/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_19_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_09_9975.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_59_9981.jpg', '/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_49_9979.jpg', '/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_39_9957.jpg', '/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_29_9958.jpg', '/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_19_9954.jpg', '/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_09_9975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_59_9981.jpg
/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_49_9979.jpg
/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_39_9957.jpg
/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_29_9958.jpg
/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_19_9954.jpg
/home/nano/Desktop/images/06022025/15/38/image_06022025_15_38_09_9975.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338120825","1338120830","1338120827","1338120841","1338120838","1338120823"],"photo_ids_order":["1338120823","1338120825","1338120827","1338120830","1338120838","1338120841"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39dbe5bd8800af97adcd39552edac787.jpg","text":"TemporaryFile(/tmp/multipartBody9015252958205137373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776144649,"filename":"image_06022025_15_38_49_9979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f7e5d7d7650d85c9b465d289289e0cb.jpg","text":"TemporaryFile(/tmp/multipartBody8150715177049353157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776144649,"filename":"image_06022025_15_38_29_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08951489f39e536c8f690f7019567391.jpg","text":"TemporaryFile(/tmp/multipartBody5638255363102117148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776144649,"filename":"image_06022025_15_38_39_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ab8212a6f9bf486574374a2df5bd6ce.jpg","text":"TemporaryFile(/tmp/multipartBody3214952880840641758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776144649,"filename":"image_06022025_15_38_09_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e25b036bb691f9a86c857aff085d8a4c.jpg","text":"TemporaryFile(/tmp/multipartBody1625772305259347266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776144649,"filename":"image_06022025_15_38_19_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ca3d97fc9f2c1dc3d4c2302fe852259.jpg","text":"TemporaryFile(/tmp/multipartBody3952783386072710125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776144649,"filename":"image_06022025_15_38_59_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338120827","file1":"1338120825","file0":"1338120823","file4":"1338120838","file5":"1338120841","file3":"1338120830"},"map_files_photo_id_array":[{"photo_id":"1338120841","filename":"file5"},{"photo_id":"1338120827","filename":"file2"},{"photo_id":"1338120838","filename":"file4"},{"photo_id":"1338120825","filename":"file1"},{"photo_id":"1338120823","filename":"file0"},{"photo_id":"1338120830","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338120825":["hashtag1","hashtag2"]},{"1338120830":["hashtag1","hashtag2"]},{"1338120827":["hashtag1","hashtag2"]},{"1338120841":["hashtag1","hashtag2"]},{"1338120838":["hashtag1","hashtag2"]},{"1338120823":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338120825, 1338120830, 1338120827, 1338120841, 1338120838, 1338120823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.241281270980835 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:09:03.052079
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_59_9958.jpg', 0), ('/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_49_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_39_9957.jpg', 0), ('/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_29_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_19_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_09_9981.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_59_9958.jpg', '/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_49_9951.jpg', '/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_39_9957.jpg', '/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_29_9955.jpg', '/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_19_9954.jpg', '/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_09_9981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_59_9958.jpg
/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_49_9951.jpg
/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_39_9957.jpg
/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_29_9955.jpg
/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_19_9954.jpg
/home/nano/Desktop/images/06022025/15/37/image_06022025_15_37_09_9981.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121061","1338121064","1338121066","1338121071","1338121068","1338121067"],"photo_ids_order":["1338121061","1338121064","1338121066","1338121067","1338121068","1338121071"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc30f5c40371fc6f3f7cb9474bc3e88a.jpg","text":"TemporaryFile(/tmp/multipartBody8398230376134965819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776205734,"filename":"image_06022025_15_37_59_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5dba39788ebce55e136f90e40b31e211.jpg","text":"TemporaryFile(/tmp/multipartBody5151283261818053402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776205734,"filename":"image_06022025_15_37_49_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f51206731af6e40492a7a27302a53f34.jpg","text":"TemporaryFile(/tmp/multipartBody2435274033027632219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776205734,"filename":"image_06022025_15_37_39_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76e9967b876c8b16a713476db486648a.jpg","text":"TemporaryFile(/tmp/multipartBody4369632950599231856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776205734,"filename":"image_06022025_15_37_09_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/48a6f7574dd997a1281d0237a299f4e6.jpg","text":"TemporaryFile(/tmp/multipartBody5830867731090502993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776205734,"filename":"image_06022025_15_37_19_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46f8673674bf2b3d7530e92bf1c75ae2.jpg","text":"TemporaryFile(/tmp/multipartBody6950140440362500115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776205734,"filename":"image_06022025_15_37_29_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121066","file1":"1338121064","file0":"1338121061","file4":"1338121068","file5":"1338121071","file3":"1338121067"},"map_files_photo_id_array":[{"photo_id":"1338121071","filename":"file5"},{"photo_id":"1338121066","filename":"file2"},{"photo_id":"1338121068","filename":"file4"},{"photo_id":"1338121064","filename":"file1"},{"photo_id":"1338121061","filename":"file0"},{"photo_id":"1338121067","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121061":["hashtag1","hashtag2"]},{"1338121064":["hashtag1","hashtag2"]},{"1338121066":["hashtag1","hashtag2"]},{"1338121071":["hashtag1","hashtag2"]},{"1338121068":["hashtag1","hashtag2"]},{"1338121067":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121061, 1338121064, 1338121066, 1338121071, 1338121068, 1338121067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87179493904114 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:10:02.631182
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_59_9949.jpg', 0), ('/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_49_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_40_9961.jpg', 0), ('/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_30_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_20_10965.jpg', 0), ('/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_09_9966.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_59_9949.jpg', '/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_49_9954.jpg', '/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_40_9961.jpg', '/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_30_9956.jpg', '/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_20_10965.jpg', '/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_09_9966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_59_9949.jpg
/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_49_9954.jpg
/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_40_9961.jpg
/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_30_9956.jpg
/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_20_10965.jpg
/home/nano/Desktop/images/06022025/15/36/image_06022025_15_36_09_9966.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121106","1338121100","1338121108","1338121102","1338121098","1338121104"],"photo_ids_order":["1338121098","1338121100","1338121102","1338121104","1338121106","1338121108"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f4f82ca818deea362e22fb8aa9dc97b.jpg","text":"TemporaryFile(/tmp/multipartBody1465612304242264023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776265130,"filename":"image_06022025_15_36_20_10965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5091e2dbc4179f1a8d9b6dcddf6cc7ca.jpg","text":"TemporaryFile(/tmp/multipartBody8256855042646668158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776265130,"filename":"image_06022025_15_36_49_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a6e23f2c88bc5061e24076b6887738e4.jpg","text":"TemporaryFile(/tmp/multipartBody2574614954057879928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776265130,"filename":"image_06022025_15_36_09_9966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df7164ce334899e0c0773500949076be.jpg","text":"TemporaryFile(/tmp/multipartBody6903379053653052660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776265130,"filename":"image_06022025_15_36_40_9961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0dbbbcabd6030eb433764f4a72c40d3a.jpg","text":"TemporaryFile(/tmp/multipartBody1915297117166116458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776265130,"filename":"image_06022025_15_36_59_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/11f124e9b7e4bfafa40832fcb97fe69c.jpg","text":"TemporaryFile(/tmp/multipartBody292507676919560965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776265130,"filename":"image_06022025_15_36_30_9956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121102","file1":"1338121100","file0":"1338121098","file4":"1338121106","file5":"1338121108","file3":"1338121104"},"map_files_photo_id_array":[{"photo_id":"1338121108","filename":"file5"},{"photo_id":"1338121102","filename":"file2"},{"photo_id":"1338121106","filename":"file4"},{"photo_id":"1338121100","filename":"file1"},{"photo_id":"1338121098","filename":"file0"},{"photo_id":"1338121104","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121106":["hashtag1","hashtag2"]},{"1338121100":["hashtag1","hashtag2"]},{"1338121108":["hashtag1","hashtag2"]},{"1338121102":["hashtag1","hashtag2"]},{"1338121098":["hashtag1","hashtag2"]},{"1338121104":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121106, 1338121100, 1338121108, 1338121102, 1338121098, 1338121104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73241972923279 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:11:02.961241
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_59_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_49_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_39_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_29_9958.jpg', 0), ('/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_19_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_09_9962.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_59_9954.jpg', '/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_49_9951.jpg', '/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_39_9956.jpg', '/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_29_9958.jpg', '/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_19_9955.jpg', '/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_09_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_59_9954.jpg
/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_49_9951.jpg
/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_39_9956.jpg
/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_29_9958.jpg
/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_19_9955.jpg
/home/nano/Desktop/images/06022025/15/35/image_06022025_15_35_09_9962.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121139","1338121165","1338121168","1338121141","1338121164","1338121137"],"photo_ids_order":["1338121137","1338121139","1338121141","1338121164","1338121165","1338121168"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/89a6de30e15da5bbdfdc3ba56ddc7138.jpg","text":"TemporaryFile(/tmp/multipartBody1991580994958770986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776325557,"filename":"image_06022025_15_35_49_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e877d61d1e16cc2e0d56ba641634b987.jpg","text":"TemporaryFile(/tmp/multipartBody4993892473763459099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776325557,"filename":"image_06022025_15_35_19_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e53be0a83c339606d38efd64e69d08ce.jpg","text":"TemporaryFile(/tmp/multipartBody8869987903222068865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776325557,"filename":"image_06022025_15_35_09_9962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec346a7335a7aee9a3cfa5bfd3293229.jpg","text":"TemporaryFile(/tmp/multipartBody5744881547753007571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776325557,"filename":"image_06022025_15_35_39_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8476f42cbd069f6f0780f4ed4191f41c.jpg","text":"TemporaryFile(/tmp/multipartBody701908763420138956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776325557,"filename":"image_06022025_15_35_29_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea253335d9472241dfcf2d4a5fefdf30.jpg","text":"TemporaryFile(/tmp/multipartBody7456192773559593095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776325557,"filename":"image_06022025_15_35_59_9954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121141","file1":"1338121139","file0":"1338121137","file4":"1338121165","file5":"1338121168","file3":"1338121164"},"map_files_photo_id_array":[{"photo_id":"1338121168","filename":"file5"},{"photo_id":"1338121141","filename":"file2"},{"photo_id":"1338121165","filename":"file4"},{"photo_id":"1338121139","filename":"file1"},{"photo_id":"1338121137","filename":"file0"},{"photo_id":"1338121164","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121139":["hashtag1","hashtag2"]},{"1338121165":["hashtag1","hashtag2"]},{"1338121168":["hashtag1","hashtag2"]},{"1338121141":["hashtag1","hashtag2"]},{"1338121164":["hashtag1","hashtag2"]},{"1338121137":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121139, 1338121165, 1338121168, 1338121141, 1338121164, 1338121137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13807439804077 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:12:02.866190
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_59_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_49_9958.jpg', 0), ('/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_39_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_29_9983.jpg', 0), ('/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_19_9958.jpg', 0), ('/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_09_9955.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_59_9956.jpg', '/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_49_9958.jpg', '/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_39_9953.jpg', '/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_29_9983.jpg', '/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_19_9958.jpg', '/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_09_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_59_9956.jpg
/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_49_9958.jpg
/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_39_9953.jpg
/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_29_9983.jpg
/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_19_9958.jpg
/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_09_9955.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.652451753616333 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:12:32.507956
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_59_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_49_9958.jpg', 0), ('/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_39_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_29_9983.jpg', 0), ('/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_19_9958.jpg', 0), ('/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_09_9955.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_59_9956.jpg', '/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_49_9958.jpg', '/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_39_9953.jpg', '/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_29_9983.jpg', '/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_19_9958.jpg', '/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_09_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_59_9956.jpg
/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_49_9958.jpg
/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_39_9953.jpg
/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_29_9983.jpg
/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_19_9958.jpg
/home/nano/Desktop/images/06022025/15/34/image_06022025_15_34_09_9955.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121280","1338121268","1338121276","1338121264","1338121272","1338121278"],"photo_ids_order":["1338121264","1338121268","1338121272","1338121276","1338121278","1338121280"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0f4fcd9c43f29cbee7317a2d131be44.jpg","text":"TemporaryFile(/tmp/multipartBody6626214324546926377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776415128,"filename":"image_06022025_15_34_09_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9cf3b8bb974cf9ed586205ad48f304e5.jpg","text":"TemporaryFile(/tmp/multipartBody1391584403009695967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776415128,"filename":"image_06022025_15_34_49_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c1dcef3a3b1a96a660b78434f667f14.jpg","text":"TemporaryFile(/tmp/multipartBody2525037271987903653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776415128,"filename":"image_06022025_15_34_29_9983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/adb7390eafb0a90f6c4b2ad9f1b32863.jpg","text":"TemporaryFile(/tmp/multipartBody7623647805549613592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776415128,"filename":"image_06022025_15_34_59_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/653e2347e3061d7856a02070dea6939f.jpg","text":"TemporaryFile(/tmp/multipartBody7451687117521867899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776415128,"filename":"image_06022025_15_34_39_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f89738b90a427f7fbb880b09f1634b4.jpg","text":"TemporaryFile(/tmp/multipartBody3086263418702785642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776415128,"filename":"image_06022025_15_34_19_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121272","file1":"1338121268","file0":"1338121264","file4":"1338121278","file5":"1338121280","file3":"1338121276"},"map_files_photo_id_array":[{"photo_id":"1338121280","filename":"file5"},{"photo_id":"1338121272","filename":"file2"},{"photo_id":"1338121278","filename":"file4"},{"photo_id":"1338121268","filename":"file1"},{"photo_id":"1338121264","filename":"file0"},{"photo_id":"1338121276","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121280":["hashtag1","hashtag2"]},{"1338121268":["hashtag1","hashtag2"]},{"1338121276":["hashtag1","hashtag2"]},{"1338121264":["hashtag1","hashtag2"]},{"1338121272":["hashtag1","hashtag2"]},{"1338121278":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121280, 1338121268, 1338121276, 1338121264, 1338121272, 1338121278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.643856048583984 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:13:32.673958
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_59_9981.jpg', 0), ('/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_49_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_39_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_29_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_19_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_09_9956.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_59_9981.jpg', '/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_49_9955.jpg', '/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_39_9954.jpg', '/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_29_9955.jpg', '/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_19_9956.jpg', '/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_09_9956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_59_9981.jpg
/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_49_9955.jpg
/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_39_9954.jpg
/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_29_9955.jpg
/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_19_9956.jpg
/home/nano/Desktop/images/06022025/15/33/image_06022025_15_33_09_9956.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121304","1338121306","1338121299","1338121290","1338121295","1338121302"],"photo_ids_order":["1338121290","1338121295","1338121299","1338121302","1338121304","1338121306"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17ecfe384cc3fbdd58e7865550e82d29.jpg","text":"TemporaryFile(/tmp/multipartBody5832163689055149827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776475224,"filename":"image_06022025_15_33_19_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/23d39a6df6757cf6e8372f9047ebcde9.jpg","text":"TemporaryFile(/tmp/multipartBody1352169844534302257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776475224,"filename":"image_06022025_15_33_09_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/805e6628ab4e44b8fe7a23adc8605100.jpg","text":"TemporaryFile(/tmp/multipartBody2699164595445057012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776475224,"filename":"image_06022025_15_33_39_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c11d8865b1fcc2f91bd1106cbfbca242.jpg","text":"TemporaryFile(/tmp/multipartBody5019493508615548616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776475224,"filename":"image_06022025_15_33_59_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6537bfaa617105840495ef1b44a7af7b.jpg","text":"TemporaryFile(/tmp/multipartBody2633191531601665367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776475224,"filename":"image_06022025_15_33_49_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e5ca5806b212191b4268558daef4c3b5.jpg","text":"TemporaryFile(/tmp/multipartBody3813058806610601099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776475224,"filename":"image_06022025_15_33_29_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121299","file1":"1338121295","file0":"1338121290","file4":"1338121304","file5":"1338121306","file3":"1338121302"},"map_files_photo_id_array":[{"photo_id":"1338121306","filename":"file5"},{"photo_id":"1338121299","filename":"file2"},{"photo_id":"1338121304","filename":"file4"},{"photo_id":"1338121295","filename":"file1"},{"photo_id":"1338121290","filename":"file0"},{"photo_id":"1338121302","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121304":["hashtag1","hashtag2"]},{"1338121306":["hashtag1","hashtag2"]},{"1338121299":["hashtag1","hashtag2"]},{"1338121290":["hashtag1","hashtag2"]},{"1338121295":["hashtag1","hashtag2"]},{"1338121302":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121304, 1338121306, 1338121299, 1338121290, 1338121295, 1338121302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96152472496033 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:14:31.794918
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_59_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_49_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_40_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_30_9958.jpg', 0), ('/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_20_10966.jpg', 0), ('/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_09_9960.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_59_9953.jpg', '/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_49_9951.jpg', '/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_40_9954.jpg', '/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_30_9958.jpg', '/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_20_10966.jpg', '/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_09_9960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_59_9953.jpg
/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_49_9951.jpg
/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_40_9954.jpg
/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_30_9958.jpg
/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_20_10966.jpg
/home/nano/Desktop/images/06022025/15/32/image_06022025_15_32_09_9960.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121324","1338121335","1338121332","1338121326","1338121329","1338121320"],"photo_ids_order":["1338121320","1338121324","1338121326","1338121329","1338121332","1338121335"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f48e166bd62151923f41f7b8a95e0d6.jpg","text":"TemporaryFile(/tmp/multipartBody598101883574308874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776534652,"filename":"image_06022025_15_32_49_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79bbebd4f9ecceb096a7d5b3d94df503.jpg","text":"TemporaryFile(/tmp/multipartBody3193471598586904615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776534652,"filename":"image_06022025_15_32_09_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/01e87a773f573e39c0aca72db9e526de.jpg","text":"TemporaryFile(/tmp/multipartBody1395440080947248154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776534652,"filename":"image_06022025_15_32_20_10966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6631eb9d77309da9448a43e8788623f9.jpg","text":"TemporaryFile(/tmp/multipartBody6995264363024991504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776534652,"filename":"image_06022025_15_32_40_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d68e524e47822562faa7485e2f4586c.jpg","text":"TemporaryFile(/tmp/multipartBody8935500657827767397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776534652,"filename":"image_06022025_15_32_30_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9cf06147f73c42e57a5b1ca16a2559c5.jpg","text":"TemporaryFile(/tmp/multipartBody2527213754968924055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776534652,"filename":"image_06022025_15_32_59_9953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121326","file1":"1338121324","file0":"1338121320","file4":"1338121332","file5":"1338121335","file3":"1338121329"},"map_files_photo_id_array":[{"photo_id":"1338121335","filename":"file5"},{"photo_id":"1338121326","filename":"file2"},{"photo_id":"1338121332","filename":"file4"},{"photo_id":"1338121324","filename":"file1"},{"photo_id":"1338121320","filename":"file0"},{"photo_id":"1338121329","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121324":["hashtag1","hashtag2"]},{"1338121335":["hashtag1","hashtag2"]},{"1338121332":["hashtag1","hashtag2"]},{"1338121326":["hashtag1","hashtag2"]},{"1338121329":["hashtag1","hashtag2"]},{"1338121320":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121324, 1338121335, 1338121332, 1338121326, 1338121329, 1338121320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0365788936615 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:15:31.955580
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_59_9958.jpg', 0), ('/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_49_9959.jpg', 0), ('/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_39_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_29_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_19_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_09_9953.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_59_9958.jpg', '/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_49_9959.jpg', '/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_39_9952.jpg', '/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_29_9955.jpg', '/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_19_9954.jpg', '/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_09_9953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_59_9958.jpg
/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_49_9959.jpg
/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_39_9952.jpg
/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_29_9955.jpg
/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_19_9954.jpg
/home/nano/Desktop/images/06022025/15/31/image_06022025_15_31_09_9953.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121355","1338121418","1338121351","1338121362","1338121359","1338121347"],"photo_ids_order":["1338121347","1338121351","1338121355","1338121359","1338121362","1338121418"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/10af7f64c61eaa5ebb03f9f83b72e2d8.jpg","text":"TemporaryFile(/tmp/multipartBody1700455410626196479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776594616,"filename":"image_06022025_15_31_39_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8caf3c7d7a29233f302f28ee9083e616.jpg","text":"TemporaryFile(/tmp/multipartBody5900831631585161877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776594616,"filename":"image_06022025_15_31_09_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2abfb9cdd4bf1eacf976cd5162b9963.jpg","text":"TemporaryFile(/tmp/multipartBody7618727878857913687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776594616,"filename":"image_06022025_15_31_49_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/487fe893be17ccaacbe95f79d90a3950.jpg","text":"TemporaryFile(/tmp/multipartBody6532701704047538592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776594616,"filename":"image_06022025_15_31_19_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/531cf31b2c5e70f7a93af6ddcf148fb4.jpg","text":"TemporaryFile(/tmp/multipartBody377324768520318289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776594616,"filename":"image_06022025_15_31_29_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/588272d263c18ac2ba07f928bac4c5b7.jpg","text":"TemporaryFile(/tmp/multipartBody8669655443739694126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776594616,"filename":"image_06022025_15_31_59_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121355","file1":"1338121351","file0":"1338121347","file4":"1338121362","file5":"1338121418","file3":"1338121359"},"map_files_photo_id_array":[{"photo_id":"1338121418","filename":"file5"},{"photo_id":"1338121355","filename":"file2"},{"photo_id":"1338121362","filename":"file4"},{"photo_id":"1338121351","filename":"file1"},{"photo_id":"1338121347","filename":"file0"},{"photo_id":"1338121359","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121355":["hashtag1","hashtag2"]},{"1338121418":["hashtag1","hashtag2"]},{"1338121351":["hashtag1","hashtag2"]},{"1338121362":["hashtag1","hashtag2"]},{"1338121359":["hashtag1","hashtag2"]},{"1338121347":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121355, 1338121418, 1338121351, 1338121362, 1338121359, 1338121347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16513276100159 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:16:32.116162
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_59_9957.jpg', 0), ('/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_49_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_39_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_29_9963.jpg', 0), ('/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_19_9962.jpg', 0), ('/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_09_9984.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_59_9957.jpg', '/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_49_9955.jpg', '/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_39_9954.jpg', '/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_29_9963.jpg', '/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_19_9962.jpg', '/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_09_9984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_59_9957.jpg
/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_49_9955.jpg
/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_39_9954.jpg
/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_29_9963.jpg
/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_19_9962.jpg
/home/nano/Desktop/images/06022025/15/30/image_06022025_15_30_09_9984.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121538","1338121520","1338121510","1338121528","1338121513","1338121516"],"photo_ids_order":["1338121510","1338121513","1338121516","1338121520","1338121528","1338121538"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/886118a9a8281a0397879c78d20ba242.jpg","text":"TemporaryFile(/tmp/multipartBody2903458867898494757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776654725,"filename":"image_06022025_15_30_09_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8feea62283071ca20bdad9661389149c.jpg","text":"TemporaryFile(/tmp/multipartBody2813136868617673065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776654725,"filename":"image_06022025_15_30_29_9963.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e20ba13793809b773f320aba9b9af0bd.jpg","text":"TemporaryFile(/tmp/multipartBody336199544506361906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776654725,"filename":"image_06022025_15_30_59_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e859444df9ba11b9025803c996bef0c1.jpg","text":"TemporaryFile(/tmp/multipartBody4618817471930986141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776654725,"filename":"image_06022025_15_30_19_9962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/390bc60f775f911324f59015c37de64a.jpg","text":"TemporaryFile(/tmp/multipartBody8155474702093231299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776654725,"filename":"image_06022025_15_30_49_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1cfcdda9fab5b81bcdbfdc4a3352283c.jpg","text":"TemporaryFile(/tmp/multipartBody3206089405734922320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776654725,"filename":"image_06022025_15_30_39_9954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121516","file1":"1338121513","file0":"1338121510","file4":"1338121528","file5":"1338121538","file3":"1338121520"},"map_files_photo_id_array":[{"photo_id":"1338121538","filename":"file5"},{"photo_id":"1338121516","filename":"file2"},{"photo_id":"1338121528","filename":"file4"},{"photo_id":"1338121513","filename":"file1"},{"photo_id":"1338121510","filename":"file0"},{"photo_id":"1338121520","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121538":["hashtag1","hashtag2"]},{"1338121520":["hashtag1","hashtag2"]},{"1338121510":["hashtag1","hashtag2"]},{"1338121528":["hashtag1","hashtag2"]},{"1338121513":["hashtag1","hashtag2"]},{"1338121516":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121538, 1338121520, 1338121510, 1338121528, 1338121513, 1338121516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85989761352539 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:17:32.280396
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_59_9959.jpg', 0), ('/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_49_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_39_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_29_9958.jpg', 0), ('/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_19_9958.jpg', 0), ('/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_09_9968.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_59_9959.jpg', '/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_49_9954.jpg', '/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_39_9956.jpg', '/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_29_9958.jpg', '/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_19_9958.jpg', '/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_09_9968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_59_9959.jpg
/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_49_9954.jpg
/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_39_9956.jpg
/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_29_9958.jpg
/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_19_9958.jpg
/home/nano/Desktop/images/06022025/15/29/image_06022025_15_29_09_9968.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121565","1338121561","1338121572","1338121575","1338121569","1338121557"],"photo_ids_order":["1338121557","1338121561","1338121565","1338121569","1338121572","1338121575"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5cfb4bdb1db5be660ca06fe11d7dc1a2.jpg","text":"TemporaryFile(/tmp/multipartBody8685188198375701771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776714765,"filename":"image_06022025_15_29_39_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d1dcac6181189c8e08d2902531f92ee.jpg","text":"TemporaryFile(/tmp/multipartBody659944261373557053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776714765,"filename":"image_06022025_15_29_49_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ebf13f53f1cd3a47985709180c9afe1b.jpg","text":"TemporaryFile(/tmp/multipartBody5187167447344654219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776714765,"filename":"image_06022025_15_29_19_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/475df644df78551e9f432793d23f680a.jpg","text":"TemporaryFile(/tmp/multipartBody1891462317404842567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776714765,"filename":"image_06022025_15_29_09_9968.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d7e72aba49d6bbc0e4bd4fa3f1b6c8a6.jpg","text":"TemporaryFile(/tmp/multipartBody3675819318068144375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776714765,"filename":"image_06022025_15_29_29_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4309f6b6756c5475d38065afcb348a7.jpg","text":"TemporaryFile(/tmp/multipartBody1740189587118753124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776714765,"filename":"image_06022025_15_29_59_9959.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121565","file1":"1338121561","file0":"1338121557","file4":"1338121572","file5":"1338121575","file3":"1338121569"},"map_files_photo_id_array":[{"photo_id":"1338121575","filename":"file5"},{"photo_id":"1338121565","filename":"file2"},{"photo_id":"1338121572","filename":"file4"},{"photo_id":"1338121561","filename":"file1"},{"photo_id":"1338121557","filename":"file0"},{"photo_id":"1338121569","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121565":["hashtag1","hashtag2"]},{"1338121561":["hashtag1","hashtag2"]},{"1338121572":["hashtag1","hashtag2"]},{"1338121575":["hashtag1","hashtag2"]},{"1338121569":["hashtag1","hashtag2"]},{"1338121557":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121565, 1338121561, 1338121572, 1338121575, 1338121569, 1338121557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62370562553406 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:18:32.443217
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_59_9981.jpg', 0), ('/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_49_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_39_9949.jpg', 0), ('/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_30_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_20_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_10_10973.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_59_9981.jpg', '/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_49_9953.jpg', '/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_39_9949.jpg', '/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_30_9951.jpg', '/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_20_9955.jpg', '/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_10_10973.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_59_9981.jpg
/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_49_9953.jpg
/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_39_9949.jpg
/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_30_9951.jpg
/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_20_9955.jpg
/home/nano/Desktop/images/06022025/15/28/image_06022025_15_28_10_10973.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121594","1338121606","1338121609","1338121602","1338121611","1338121598"],"photo_ids_order":["1338121594","1338121598","1338121602","1338121606","1338121609","1338121611"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/177db2043c2e71e09b93389b30fde39e.jpg","text":"TemporaryFile(/tmp/multipartBody1432044672955587597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776775432,"filename":"image_06022025_15_28_59_9981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/85dca06eaa5e856516ffbce5c20383b9.jpg","text":"TemporaryFile(/tmp/multipartBody4138062499287628217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776775432,"filename":"image_06022025_15_28_30_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d376ca6ac2a44410b32b1d7347bc368.jpg","text":"TemporaryFile(/tmp/multipartBody7640258604126759461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776775432,"filename":"image_06022025_15_28_20_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b56d0d969957018dc7b8805b6f62ab9.jpg","text":"TemporaryFile(/tmp/multipartBody7976387681303669528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776775432,"filename":"image_06022025_15_28_39_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b6c290d536fdf6efe0b30f286fa1a7dc.jpg","text":"TemporaryFile(/tmp/multipartBody5651654621328093575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776775432,"filename":"image_06022025_15_28_10_10973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e1a976545d007a5efae47ee995df8996.jpg","text":"TemporaryFile(/tmp/multipartBody2718032911297008942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776775432,"filename":"image_06022025_15_28_49_9953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121602","file1":"1338121598","file0":"1338121594","file4":"1338121609","file5":"1338121611","file3":"1338121606"},"map_files_photo_id_array":[{"photo_id":"1338121611","filename":"file5"},{"photo_id":"1338121602","filename":"file2"},{"photo_id":"1338121609","filename":"file4"},{"photo_id":"1338121598","filename":"file1"},{"photo_id":"1338121594","filename":"file0"},{"photo_id":"1338121606","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121594":["hashtag1","hashtag2"]},{"1338121606":["hashtag1","hashtag2"]},{"1338121609":["hashtag1","hashtag2"]},{"1338121602":["hashtag1","hashtag2"]},{"1338121611":["hashtag1","hashtag2"]},{"1338121598":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121594, 1338121606, 1338121609, 1338121602, 1338121611, 1338121598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6847665309906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:19:32.578776
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_59_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_49_9957.jpg', 0), ('/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_39_9984.jpg', 0), ('/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_29_9948.jpg', 0), ('/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_19_9956.jpg', 0), ('/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_09_9959.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_59_9955.jpg', '/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_49_9957.jpg', '/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_39_9984.jpg', '/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_29_9948.jpg', '/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_19_9956.jpg', '/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_09_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_59_9955.jpg
/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_49_9957.jpg
/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_39_9984.jpg
/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_29_9948.jpg
/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_19_9956.jpg
/home/nano/Desktop/images/06022025/15/27/image_06022025_15_27_09_9959.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121658","1338121663","1338121651","1338121665","1338121661","1338121655"],"photo_ids_order":["1338121651","1338121655","1338121658","1338121661","1338121663","1338121665"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a37e0a7ec20b33378dbdff7f1dcd47f5.jpg","text":"TemporaryFile(/tmp/multipartBody4002978674134010300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776835300,"filename":"image_06022025_15_27_39_9984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f0814ec53b34947efbfb8c71b7e9374.jpg","text":"TemporaryFile(/tmp/multipartBody1269904346592445589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776835300,"filename":"image_06022025_15_27_19_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f84bdba388679412cce6859c4e76ea76.jpg","text":"TemporaryFile(/tmp/multipartBody7387741522825646847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776835300,"filename":"image_06022025_15_27_59_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/563f28627820592fc3920f44e150ff73.jpg","text":"TemporaryFile(/tmp/multipartBody1684005798490431090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776835300,"filename":"image_06022025_15_27_09_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28fce212c0957904233b068fd585c7ee.jpg","text":"TemporaryFile(/tmp/multipartBody2864384671312349935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776835300,"filename":"image_06022025_15_27_29_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ef7825b36ef1ff118f7cd9f931b9dfb.jpg","text":"TemporaryFile(/tmp/multipartBody8191299382977688893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776835300,"filename":"image_06022025_15_27_49_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121658","file1":"1338121655","file0":"1338121651","file4":"1338121663","file5":"1338121665","file3":"1338121661"},"map_files_photo_id_array":[{"photo_id":"1338121665","filename":"file5"},{"photo_id":"1338121658","filename":"file2"},{"photo_id":"1338121663","filename":"file4"},{"photo_id":"1338121655","filename":"file1"},{"photo_id":"1338121651","filename":"file0"},{"photo_id":"1338121661","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121658":["hashtag1","hashtag2"]},{"1338121663":["hashtag1","hashtag2"]},{"1338121651":["hashtag1","hashtag2"]},{"1338121665":["hashtag1","hashtag2"]},{"1338121661":["hashtag1","hashtag2"]},{"1338121655":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121658, 1338121663, 1338121651, 1338121665, 1338121661, 1338121655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73748517036438 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:20:32.742253
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_59_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_49_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_39_9976.jpg', 0), ('/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_29_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_19_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_09_9967.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_59_9951.jpg', '/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_49_9952.jpg', '/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_39_9976.jpg', '/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_29_9953.jpg', '/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_19_9954.jpg', '/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_09_9967.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_59_9951.jpg
/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_49_9952.jpg
/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_39_9976.jpg
/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_29_9953.jpg
/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_19_9954.jpg
/home/nano/Desktop/images/06022025/15/26/image_06022025_15_26_09_9967.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121696","1338121699","1338121711","1338121708","1338121692","1338121704"],"photo_ids_order":["1338121692","1338121696","1338121699","1338121704","1338121708","1338121711"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/23f22a8cdf11742bc9f0fffe335ce710.jpg","text":"TemporaryFile(/tmp/multipartBody3826360404018154394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776895427,"filename":"image_06022025_15_26_49_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd8f2fe0912c4de0d1d55317edfcdd85.jpg","text":"TemporaryFile(/tmp/multipartBody5622370440660929457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776895427,"filename":"image_06022025_15_26_39_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03a41de984c4629214dc1d41d13f28af.jpg","text":"TemporaryFile(/tmp/multipartBody8525594075492747326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776895427,"filename":"image_06022025_15_26_09_9967.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3bb22ac6ceafaec2687a227120897ff6.jpg","text":"TemporaryFile(/tmp/multipartBody267592854674018838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776895427,"filename":"image_06022025_15_26_19_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc47f80888114fa6e88a2d09ee407e77.jpg","text":"TemporaryFile(/tmp/multipartBody4968703734062328021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776895427,"filename":"image_06022025_15_26_59_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/45da61be064f942829e0dec74cb92081.jpg","text":"TemporaryFile(/tmp/multipartBody5796580943789811462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776895427,"filename":"image_06022025_15_26_29_9953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121699","file1":"1338121696","file0":"1338121692","file4":"1338121708","file5":"1338121711","file3":"1338121704"},"map_files_photo_id_array":[{"photo_id":"1338121711","filename":"file5"},{"photo_id":"1338121699","filename":"file2"},{"photo_id":"1338121708","filename":"file4"},{"photo_id":"1338121696","filename":"file1"},{"photo_id":"1338121692","filename":"file0"},{"photo_id":"1338121704","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121696":["hashtag1","hashtag2"]},{"1338121699":["hashtag1","hashtag2"]},{"1338121711":["hashtag1","hashtag2"]},{"1338121708":["hashtag1","hashtag2"]},{"1338121692":["hashtag1","hashtag2"]},{"1338121704":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121696, 1338121699, 1338121711, 1338121708, 1338121692, 1338121704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.034069538116455 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:21:31.879647
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_59_9955.jpg', 0), ('/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_49_9950.jpg', 0), ('/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_39_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_29_9947.jpg', 0), ('/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_19_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_09_9959.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_59_9955.jpg', '/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_49_9950.jpg', '/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_39_9952.jpg', '/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_29_9947.jpg', '/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_19_9951.jpg', '/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_09_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_59_9955.jpg
/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_49_9950.jpg
/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_39_9952.jpg
/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_29_9947.jpg
/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_19_9951.jpg
/home/nano/Desktop/images/06022025/15/25/image_06022025_15_25_09_9959.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121742","1338121751","1338121738","1338121746","1338121749","1338121734"],"photo_ids_order":["1338121734","1338121738","1338121742","1338121746","1338121749","1338121751"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4cea54ca708d99d1833878de6d43299.jpg","text":"TemporaryFile(/tmp/multipartBody9068572988343969777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776954531,"filename":"image_06022025_15_25_39_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5fe9101caed8ce654c9c67300f601a4a.jpg","text":"TemporaryFile(/tmp/multipartBody1549400998601026734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776954531,"filename":"image_06022025_15_25_09_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e7b537cc2b71362889b9fd7562177bca.jpg","text":"TemporaryFile(/tmp/multipartBody1859382576331496367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776954531,"filename":"image_06022025_15_25_49_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/306ac8d2bc0460807105c625a451e4e0.jpg","text":"TemporaryFile(/tmp/multipartBody5720110100363765054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776954531,"filename":"image_06022025_15_25_29_9947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1200220a990446b79f6e19187d6cb18.jpg","text":"TemporaryFile(/tmp/multipartBody1270726609320816177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776954531,"filename":"image_06022025_15_25_19_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8fd90f02c8f3fdacbb5ab127bcca9a8.jpg","text":"TemporaryFile(/tmp/multipartBody8304896193716582764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739776954531,"filename":"image_06022025_15_25_59_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121742","file1":"1338121738","file0":"1338121734","file4":"1338121749","file5":"1338121751","file3":"1338121746"},"map_files_photo_id_array":[{"photo_id":"1338121751","filename":"file5"},{"photo_id":"1338121742","filename":"file2"},{"photo_id":"1338121749","filename":"file4"},{"photo_id":"1338121738","filename":"file1"},{"photo_id":"1338121734","filename":"file0"},{"photo_id":"1338121746","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121742":["hashtag1","hashtag2"]},{"1338121751":["hashtag1","hashtag2"]},{"1338121738":["hashtag1","hashtag2"]},{"1338121746":["hashtag1","hashtag2"]},{"1338121749":["hashtag1","hashtag2"]},{"1338121734":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121742, 1338121751, 1338121738, 1338121746, 1338121749, 1338121734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.665793895721436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:22:32.035305
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_59_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_49_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_39_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_30_9975.jpg', 0), ('/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_20_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_10_10977.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_59_9952.jpg', '/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_49_9952.jpg', '/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_39_9954.jpg', '/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_30_9975.jpg', '/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_20_9953.jpg', '/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_10_10977.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_59_9952.jpg
/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_49_9952.jpg
/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_39_9954.jpg
/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_30_9975.jpg
/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_20_9953.jpg
/home/nano/Desktop/images/06022025/15/24/image_06022025_15_24_10_10977.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121785","1338121767","1338121787","1338121772","1338121781","1338121775"],"photo_ids_order":["1338121767","1338121772","1338121775","1338121781","1338121785","1338121787"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88b085502398c185e8c813237cdf0a7f.jpg","text":"TemporaryFile(/tmp/multipartBody3491226201068407886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777014872,"filename":"image_06022025_15_24_20_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a4fc53c6a10d71a9c97c72b2ccdc7d7.jpg","text":"TemporaryFile(/tmp/multipartBody3026662698355550382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777014872,"filename":"image_06022025_15_24_59_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e42f066a535bd1afe63a56e4d82dea6.jpg","text":"TemporaryFile(/tmp/multipartBody7319388449607902481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777014872,"filename":"image_06022025_15_24_10_10977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a14967efb9e169d1f56a8f7e29d61394.jpg","text":"TemporaryFile(/tmp/multipartBody3765453945507737269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777014872,"filename":"image_06022025_15_24_49_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/56d2d64abb273ed97d4a25d8741a8dc1.jpg","text":"TemporaryFile(/tmp/multipartBody6919726210064709368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777014872,"filename":"image_06022025_15_24_30_9975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e0d498f1dae90d2845e137a7ef069b9.jpg","text":"TemporaryFile(/tmp/multipartBody5910185455321559198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777014872,"filename":"image_06022025_15_24_39_9954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121775","file1":"1338121772","file0":"1338121767","file4":"1338121785","file5":"1338121787","file3":"1338121781"},"map_files_photo_id_array":[{"photo_id":"1338121787","filename":"file5"},{"photo_id":"1338121775","filename":"file2"},{"photo_id":"1338121785","filename":"file4"},{"photo_id":"1338121772","filename":"file1"},{"photo_id":"1338121767","filename":"file0"},{"photo_id":"1338121781","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121785":["hashtag1","hashtag2"]},{"1338121767":["hashtag1","hashtag2"]},{"1338121787":["hashtag1","hashtag2"]},{"1338121772":["hashtag1","hashtag2"]},{"1338121781":["hashtag1","hashtag2"]},{"1338121775":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121785, 1338121767, 1338121787, 1338121772, 1338121781, 1338121775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82353329658508 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:23:32.236265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_59_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_49_9947.jpg', 0), ('/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_39_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_29_9976.jpg', 0), ('/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_19_9954.jpg', 0), ('/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_09_9960.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_59_9951.jpg', '/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_49_9947.jpg', '/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_39_9952.jpg', '/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_29_9976.jpg', '/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_19_9954.jpg', '/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_09_9960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_59_9951.jpg
/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_49_9947.jpg
/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_39_9952.jpg
/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_29_9976.jpg
/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_19_9954.jpg
/home/nano/Desktop/images/06022025/15/23/image_06022025_15_23_09_9960.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121820","1338121808","1338121822","1338121812","1338121815","1338121818"],"photo_ids_order":["1338121808","1338121812","1338121815","1338121818","1338121820","1338121822"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a5bb94e67e41ea1a34bac686c0c57d55.jpg","text":"TemporaryFile(/tmp/multipartBody1666033289136682806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777074764,"filename":"image_06022025_15_23_19_9954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/35f2582986bb51a4682ddbca1df815a0.jpg","text":"TemporaryFile(/tmp/multipartBody3686077931030634895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777074764,"filename":"image_06022025_15_23_59_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ff06a624d02ba711a17582b096b0b96.jpg","text":"TemporaryFile(/tmp/multipartBody5104312633426274223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777074764,"filename":"image_06022025_15_23_09_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/61c84a13ba8dff2fbaf2968a2599e029.jpg","text":"TemporaryFile(/tmp/multipartBody3341390103627218720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777074764,"filename":"image_06022025_15_23_49_9947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c03e6a337cd3a9abe72442e103dea071.jpg","text":"TemporaryFile(/tmp/multipartBody421272588775597590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777074764,"filename":"image_06022025_15_23_39_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e27d0595dc05702a95a2a5b323bd2466.jpg","text":"TemporaryFile(/tmp/multipartBody316792272200956967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777074764,"filename":"image_06022025_15_23_29_9976.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121815","file1":"1338121812","file0":"1338121808","file4":"1338121820","file5":"1338121822","file3":"1338121818"},"map_files_photo_id_array":[{"photo_id":"1338121822","filename":"file5"},{"photo_id":"1338121815","filename":"file2"},{"photo_id":"1338121820","filename":"file4"},{"photo_id":"1338121812","filename":"file1"},{"photo_id":"1338121808","filename":"file0"},{"photo_id":"1338121818","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121820":["hashtag1","hashtag2"]},{"1338121808":["hashtag1","hashtag2"]},{"1338121822":["hashtag1","hashtag2"]},{"1338121812":["hashtag1","hashtag2"]},{"1338121815":["hashtag1","hashtag2"]},{"1338121818":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121820, 1338121808, 1338121822, 1338121812, 1338121815, 1338121818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35613203048706 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:24:32.389687
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_59_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_49_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_39_9976.jpg', 0), ('/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_29_9978.jpg', 0), ('/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_19_9948.jpg', 0), ('/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_09_9957.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_59_9951.jpg', '/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_49_9952.jpg', '/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_39_9976.jpg', '/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_29_9978.jpg', '/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_19_9948.jpg', '/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_09_9957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_59_9951.jpg
/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_49_9952.jpg
/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_39_9976.jpg
/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_29_9978.jpg
/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_19_9948.jpg
/home/nano/Desktop/images/06022025/15/22/image_06022025_15_22_09_9957.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121858","1338121855","1338121860","1338121863","1338121848","1338121865"],"photo_ids_order":["1338121848","1338121855","1338121858","1338121860","1338121863","1338121865"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b1c2997b7f2093c9a492c9598196591.jpg","text":"TemporaryFile(/tmp/multipartBody9168521680910977046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777135524,"filename":"image_06022025_15_22_39_9976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a82e373403fdf4385d12600b77353b9.jpg","text":"TemporaryFile(/tmp/multipartBody7046151963836316642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777135524,"filename":"image_06022025_15_22_49_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15a3099d267a36d01bdd1eae010c200e.jpg","text":"TemporaryFile(/tmp/multipartBody6813518916711930786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777135524,"filename":"image_06022025_15_22_29_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/94ce13ec82e54ae327c2723c72dd7b47.jpg","text":"TemporaryFile(/tmp/multipartBody6247399259190035822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777135524,"filename":"image_06022025_15_22_19_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e040fb87bd177a7a5b09e48df1408a2.jpg","text":"TemporaryFile(/tmp/multipartBody1159863307717494098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777135524,"filename":"image_06022025_15_22_59_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa190e36dda03c45e492bc18cd558ede.jpg","text":"TemporaryFile(/tmp/multipartBody4552536037158689409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777135524,"filename":"image_06022025_15_22_09_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121858","file1":"1338121855","file0":"1338121848","file4":"1338121863","file5":"1338121865","file3":"1338121860"},"map_files_photo_id_array":[{"photo_id":"1338121865","filename":"file5"},{"photo_id":"1338121858","filename":"file2"},{"photo_id":"1338121863","filename":"file4"},{"photo_id":"1338121855","filename":"file1"},{"photo_id":"1338121848","filename":"file0"},{"photo_id":"1338121860","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121858":["hashtag1","hashtag2"]},{"1338121855":["hashtag1","hashtag2"]},{"1338121860":["hashtag1","hashtag2"]},{"1338121863":["hashtag1","hashtag2"]},{"1338121848":["hashtag1","hashtag2"]},{"1338121865":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121858, 1338121855, 1338121860, 1338121863, 1338121848, 1338121865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08737516403198 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:25:32.547478
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_59_9950.jpg', 0), ('/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_49_9977.jpg', 0), ('/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_39_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_29_9950.jpg', 0), ('/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_19_9953.jpg', 0), ('/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_09_9955.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_59_9950.jpg', '/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_49_9977.jpg', '/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_39_9951.jpg', '/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_29_9950.jpg', '/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_19_9953.jpg', '/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_09_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_59_9950.jpg
/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_49_9977.jpg
/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_39_9951.jpg
/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_29_9950.jpg
/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_19_9953.jpg
/home/nano/Desktop/images/06022025/15/21/image_06022025_15_21_09_9955.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121899","1338121896","1338121905","1338121908","1338121902","1338121892"],"photo_ids_order":["1338121892","1338121896","1338121899","1338121902","1338121905","1338121908"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fceec70861cd01681423c278ed9968ed.jpg","text":"TemporaryFile(/tmp/multipartBody347560506662918251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777195655,"filename":"image_06022025_15_21_39_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/91a0ddeaa53121197f2954f2beb540c4.jpg","text":"TemporaryFile(/tmp/multipartBody7068350197248417088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777195655,"filename":"image_06022025_15_21_49_9977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d0fc7d152274acbb11a314310c176be.jpg","text":"TemporaryFile(/tmp/multipartBody4916805174123493718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777195655,"filename":"image_06022025_15_21_19_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88935262ca9e645f63294c7141ff9148.jpg","text":"TemporaryFile(/tmp/multipartBody2001526838643095977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777195655,"filename":"image_06022025_15_21_09_9955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6be8601bdd3aa348cba4234302c5386.jpg","text":"TemporaryFile(/tmp/multipartBody803625585135928641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777195655,"filename":"image_06022025_15_21_29_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c6655b648f5fa03847dd7682d1d9675.jpg","text":"TemporaryFile(/tmp/multipartBody4482379278090843728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777195655,"filename":"image_06022025_15_21_59_9950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121899","file1":"1338121896","file0":"1338121892","file4":"1338121905","file5":"1338121908","file3":"1338121902"},"map_files_photo_id_array":[{"photo_id":"1338121908","filename":"file5"},{"photo_id":"1338121899","filename":"file2"},{"photo_id":"1338121905","filename":"file4"},{"photo_id":"1338121896","filename":"file1"},{"photo_id":"1338121892","filename":"file0"},{"photo_id":"1338121902","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121899":["hashtag1","hashtag2"]},{"1338121896":["hashtag1","hashtag2"]},{"1338121905":["hashtag1","hashtag2"]},{"1338121908":["hashtag1","hashtag2"]},{"1338121902":["hashtag1","hashtag2"]},{"1338121892":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121899, 1338121896, 1338121905, 1338121908, 1338121902, 1338121892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77557349205017 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:26:32.690582
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_59_9948.jpg', 0), ('/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_49_9948.jpg', 0), ('/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_39_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_30_9949.jpg', 0), ('/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_20_10960.jpg', 0), ('/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_09_9957.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_59_9948.jpg', '/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_49_9948.jpg', '/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_39_9951.jpg', '/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_30_9949.jpg', '/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_20_10960.jpg', '/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_09_9957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_59_9948.jpg
/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_49_9948.jpg
/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_39_9951.jpg
/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_30_9949.jpg
/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_20_10960.jpg
/home/nano/Desktop/images/06022025/15/20/image_06022025_15_20_09_9957.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121940","1338121925","1338121930","1338121933","1338121936","1338121938"],"photo_ids_order":["1338121925","1338121930","1338121933","1338121936","1338121938","1338121940"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a98fff21b9571b536fa807d032c5752.jpg","text":"TemporaryFile(/tmp/multipartBody5496908518132074610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777256055,"filename":"image_06022025_15_20_09_9957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67b7854b0b53287a109162a65837b18d.jpg","text":"TemporaryFile(/tmp/multipartBody5800114673712750423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777256055,"filename":"image_06022025_15_20_59_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40a1e87a4fed2059bdb05a61288fc63f.jpg","text":"TemporaryFile(/tmp/multipartBody5256328714847962616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777256055,"filename":"image_06022025_15_20_49_9948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ccc976000cc842ded62843beed594fa.jpg","text":"TemporaryFile(/tmp/multipartBody3072097567701359717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777256055,"filename":"image_06022025_15_20_39_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/68a98aefa55697d3d9f0a9c470fa50a9.jpg","text":"TemporaryFile(/tmp/multipartBody4730251677326272169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777256055,"filename":"image_06022025_15_20_30_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/33403d323f89d300f5d49eceb48f9337.jpg","text":"TemporaryFile(/tmp/multipartBody3556110165295854721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777256055,"filename":"image_06022025_15_20_20_10960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121933","file1":"1338121930","file0":"1338121925","file4":"1338121938","file5":"1338121940","file3":"1338121936"},"map_files_photo_id_array":[{"photo_id":"1338121940","filename":"file5"},{"photo_id":"1338121933","filename":"file2"},{"photo_id":"1338121938","filename":"file4"},{"photo_id":"1338121930","filename":"file1"},{"photo_id":"1338121925","filename":"file0"},{"photo_id":"1338121936","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121940":["hashtag1","hashtag2"]},{"1338121925":["hashtag1","hashtag2"]},{"1338121930":["hashtag1","hashtag2"]},{"1338121933":["hashtag1","hashtag2"]},{"1338121936":["hashtag1","hashtag2"]},{"1338121938":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121940, 1338121925, 1338121930, 1338121933, 1338121936, 1338121938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69040060043335 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:27:31.892476
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_59_9948.jpg', 0), ('/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_49_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_39_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_29_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_19_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_09_9953.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_59_9948.jpg', '/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_49_9951.jpg', '/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_39_9951.jpg', '/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_29_9952.jpg', '/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_19_9951.jpg', '/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_09_9953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_59_9948.jpg
/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_49_9951.jpg
/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_39_9951.jpg
/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_29_9952.jpg
/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_19_9951.jpg
/home/nano/Desktop/images/06022025/15/19/image_06022025_15_19_09_9953.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121958","1338121963","1338121966","1338121969","1338121968","1338121952"],"photo_ids_order":["1338121952","1338121958","1338121963","1338121966","1338121968","1338121969"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8cc605674f3d16c2b8a509844a8cbff8.jpg","text":"TemporaryFile(/tmp/multipartBody5627885326974782305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777314827,"filename":"image_06022025_15_19_49_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2130530eade08c2896c315e1d7f23f64.jpg","text":"TemporaryFile(/tmp/multipartBody381953105126196566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777314827,"filename":"image_06022025_15_19_39_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db64d2bb79a3f058539fbe3ca89181a1.jpg","text":"TemporaryFile(/tmp/multipartBody2080350871144640923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777314827,"filename":"image_06022025_15_19_29_9952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e3524a0778d604d4e47dd74497a2008.jpg","text":"TemporaryFile(/tmp/multipartBody856951233045806480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777314827,"filename":"image_06022025_15_19_09_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4054e4fc81612da52b3fbe48bdfa41fd.jpg","text":"TemporaryFile(/tmp/multipartBody116692611089358243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777314827,"filename":"image_06022025_15_19_19_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a0a60c5ca1e11f6787f6ab6fbc366ee.jpg","text":"TemporaryFile(/tmp/multipartBody2641298364065410908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777314827,"filename":"image_06022025_15_19_59_9948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121963","file1":"1338121958","file0":"1338121952","file4":"1338121968","file5":"1338121969","file3":"1338121966"},"map_files_photo_id_array":[{"photo_id":"1338121969","filename":"file5"},{"photo_id":"1338121963","filename":"file2"},{"photo_id":"1338121968","filename":"file4"},{"photo_id":"1338121958","filename":"file1"},{"photo_id":"1338121952","filename":"file0"},{"photo_id":"1338121966","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121958":["hashtag1","hashtag2"]},{"1338121963":["hashtag1","hashtag2"]},{"1338121966":["hashtag1","hashtag2"]},{"1338121969":["hashtag1","hashtag2"]},{"1338121968":["hashtag1","hashtag2"]},{"1338121952":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121958, 1338121963, 1338121966, 1338121969, 1338121968, 1338121952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70024847984314 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:28:32.052024
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_59_9949.jpg', 0), ('/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_49_9949.jpg', 0), ('/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_39_9949.jpg', 0), ('/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_29_9978.jpg', 0), ('/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_19_9951.jpg', 0), ('/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_09_9960.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_59_9949.jpg', '/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_49_9949.jpg', '/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_39_9949.jpg', '/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_29_9978.jpg', '/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_19_9951.jpg', '/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_09_9960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_59_9949.jpg
/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_49_9949.jpg
/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_39_9949.jpg
/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_29_9978.jpg
/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_19_9951.jpg
/home/nano/Desktop/images/06022025/15/18/image_06022025_15_18_09_9960.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338121999","1338122002","1338121992","1338121995","1338121983","1338121988"],"photo_ids_order":["1338121983","1338121988","1338121992","1338121995","1338121999","1338122002"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1a676609f7e09815e11ac2ffd1a67862.jpg","text":"TemporaryFile(/tmp/multipartBody534551733400471772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777374765,"filename":"image_06022025_15_18_19_9951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0cdd1aec95d9dc6b9b79657b9ef5ee9.jpg","text":"TemporaryFile(/tmp/multipartBody2920302471928383990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777374765,"filename":"image_06022025_15_18_09_9960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed4da022ea7153beec3ff388f3cc1f97.jpg","text":"TemporaryFile(/tmp/multipartBody4031831635733009562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777374765,"filename":"image_06022025_15_18_39_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b0e4bd5f4f252c4c4e73af5ff73a67a.jpg","text":"TemporaryFile(/tmp/multipartBody5499069902421317357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777374765,"filename":"image_06022025_15_18_29_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9e31754040fcc2ee0fdf47aa3501d11.jpg","text":"TemporaryFile(/tmp/multipartBody4897876328678754908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777374765,"filename":"image_06022025_15_18_59_9949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed86f05f259d8bddb2d77281c442bd91.jpg","text":"TemporaryFile(/tmp/multipartBody1338546699771889646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777374765,"filename":"image_06022025_15_18_49_9949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338121992","file1":"1338121988","file0":"1338121983","file4":"1338121999","file5":"1338122002","file3":"1338121995"},"map_files_photo_id_array":[{"photo_id":"1338122002","filename":"file5"},{"photo_id":"1338121992","filename":"file2"},{"photo_id":"1338121999","filename":"file4"},{"photo_id":"1338121988","filename":"file1"},{"photo_id":"1338121983","filename":"file0"},{"photo_id":"1338121995","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338121999":["hashtag1","hashtag2"]},{"1338122002":["hashtag1","hashtag2"]},{"1338121992":["hashtag1","hashtag2"]},{"1338121995":["hashtag1","hashtag2"]},{"1338121983":["hashtag1","hashtag2"]},{"1338121988":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338121999, 1338122002, 1338121992, 1338121995, 1338121983, 1338121988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00003385543823 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:29:32.254451
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_59_9945.jpg', 0), ('/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_49_9950.jpg', 0), ('/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_39_9944.jpg', 0), ('/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_29_9950.jpg', 0), ('/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_19_9952.jpg', 0), ('/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_09_9962.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_59_9945.jpg', '/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_49_9950.jpg', '/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_39_9944.jpg', '/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_29_9950.jpg', '/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_19_9952.jpg', '/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_09_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_59_9945.jpg
/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_49_9950.jpg
/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_39_9944.jpg
/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_29_9950.jpg
/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_19_9952.jpg
/home/nano/Desktop/images/06022025/15/17/image_06022025_15_17_09_9962.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122024","1338122029","1338122020","1338122037","1338122031","1338122034"],"photo_ids_order":["1338122020","1338122024","1338122029","1338122031","1338122034","1338122037"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8294328b5c3ca98efc3d650ecb15aa06.jpg","text":"TemporaryFile(/tmp/multipartBody8368808689540146966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777435301,"filename":"image_06022025_15_17_49_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f6c19e2797aca47bff2d2c90d270a3f.jpg","text":"TemporaryFile(/tmp/multipartBody2128933064144770757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777435301,"filename":"image_06022025_15_17_39_9944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/41fe4eca1ec8c6daf9b1a42e376e3347.jpg","text":"TemporaryFile(/tmp/multipartBody4801138363888641793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777435301,"filename":"image_06022025_15_17_59_9945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c39afd6a010968bf648f0ab77ad4f93.jpg","text":"TemporaryFile(/tmp/multipartBody3603062355199719871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777435301,"filename":"image_06022025_15_17_09_9962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49166d8ec643c3b6c9b1bdf0d90de6aa.jpg","text":"TemporaryFile(/tmp/multipartBody5901049504024915391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777435301,"filename":"image_06022025_15_17_29_9950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/960d60769d3498580fa6e82fdf9f4f3c.jpg","text":"TemporaryFile(/tmp/multipartBody7992198788791030482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777435301,"filename":"image_06022025_15_17_19_9952.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122029","file1":"1338122024","file0":"1338122020","file4":"1338122034","file5":"1338122037","file3":"1338122031"},"map_files_photo_id_array":[{"photo_id":"1338122037","filename":"file5"},{"photo_id":"1338122029","filename":"file2"},{"photo_id":"1338122034","filename":"file4"},{"photo_id":"1338122024","filename":"file1"},{"photo_id":"1338122020","filename":"file0"},{"photo_id":"1338122031","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122024":["hashtag1","hashtag2"]},{"1338122029":["hashtag1","hashtag2"]},{"1338122020":["hashtag1","hashtag2"]},{"1338122037":["hashtag1","hashtag2"]},{"1338122031":["hashtag1","hashtag2"]},{"1338122034":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122024, 1338122029, 1338122020, 1338122037, 1338122031, 1338122034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91486692428589 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:30:32.396576
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/16/image_06022025_15_17_00_9942.jpg', 0), ('/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_50_9965.jpg', 0), ('/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_40_10979.jpg', 0), ('/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_29_9933.jpg', 0), ('/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_19_9939.jpg', 0), ('/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_09_9966.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/16/image_06022025_15_17_00_9942.jpg', '/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_50_9965.jpg', '/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_40_10979.jpg', '/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_29_9933.jpg', '/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_19_9939.jpg', '/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_09_9966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/16/image_06022025_15_17_00_9942.jpg
/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_50_9965.jpg
/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_40_10979.jpg
/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_29_9933.jpg
/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_19_9939.jpg
/home/nano/Desktop/images/06022025/15/16/image_06022025_15_16_09_9966.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122065","1338122091","1338122079","1338122094","1338122088","1338122070"],"photo_ids_order":["1338122065","1338122070","1338122079","1338122088","1338122091","1338122094"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05207267f0320feff5c6f345947dd4dd.jpg","text":"TemporaryFile(/tmp/multipartBody130567111215543440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777495061,"filename":"image_06022025_15_17_00_9942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/386f5b710bd6ab42e6c6ad069d8ef6fb.jpg","text":"TemporaryFile(/tmp/multipartBody7647840490001936463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777495061,"filename":"image_06022025_15_16_19_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba0ef0a177d68d36363005b0a9764fd6.jpg","text":"TemporaryFile(/tmp/multipartBody3032600038945676988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777495061,"filename":"image_06022025_15_16_40_10979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/014a6fcc20f2bbe9fd7926291b27824e.jpg","text":"TemporaryFile(/tmp/multipartBody921681910914140588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777495061,"filename":"image_06022025_15_16_09_9966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59e05f52c903586ada3aab6c3c7d8555.jpg","text":"TemporaryFile(/tmp/multipartBody6014946317836396861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777495061,"filename":"image_06022025_15_16_29_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/93511bd62872282ab2ed010b0473defe.jpg","text":"TemporaryFile(/tmp/multipartBody7476295007355236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777495061,"filename":"image_06022025_15_16_50_9965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122079","file1":"1338122070","file0":"1338122065","file4":"1338122091","file5":"1338122094","file3":"1338122088"},"map_files_photo_id_array":[{"photo_id":"1338122094","filename":"file5"},{"photo_id":"1338122079","filename":"file2"},{"photo_id":"1338122091","filename":"file4"},{"photo_id":"1338122070","filename":"file1"},{"photo_id":"1338122065","filename":"file0"},{"photo_id":"1338122088","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122065":["hashtag1","hashtag2"]},{"1338122091":["hashtag1","hashtag2"]},{"1338122079":["hashtag1","hashtag2"]},{"1338122094":["hashtag1","hashtag2"]},{"1338122088":["hashtag1","hashtag2"]},{"1338122070":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122065, 1338122091, 1338122079, 1338122094, 1338122088, 1338122070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.331608295440674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:31:32.539192
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_59_9935.jpg', 0), ('/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_49_9941.jpg', 0), ('/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_39_9940.jpg', 0), ('/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_29_9964.jpg', 0), ('/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_19_9936.jpg', 0), ('/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_09_9972.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_59_9935.jpg', '/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_49_9941.jpg', '/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_39_9940.jpg', '/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_29_9964.jpg', '/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_19_9936.jpg', '/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_09_9972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_59_9935.jpg
/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_49_9941.jpg
/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_39_9940.jpg
/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_29_9964.jpg
/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_19_9936.jpg
/home/nano/Desktop/images/06022025/15/15/image_06022025_15_15_09_9972.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122137","1338122116","1338122121","1338122145","1338122124","1338122127"],"photo_ids_order":["1338122116","1338122121","1338122124","1338122127","1338122137","1338122145"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/51ce5bc375e1e77a0426f3ae9de088cd.jpg","text":"TemporaryFile(/tmp/multipartBody6038344629954447892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777555149,"filename":"image_06022025_15_15_19_9936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd035e635dbdbe11eef06a86fece6218.jpg","text":"TemporaryFile(/tmp/multipartBody4283830349446701341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777555149,"filename":"image_06022025_15_15_59_9935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7671f0352fc299ba491a4294d3cf1b78.jpg","text":"TemporaryFile(/tmp/multipartBody6611368904946334438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777555149,"filename":"image_06022025_15_15_49_9941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e13da900fd70259dcaf63f534dca7d2c.jpg","text":"TemporaryFile(/tmp/multipartBody2879873013084630874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777555149,"filename":"image_06022025_15_15_09_9972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ddbf98835325daa41de5c7f32004051d.jpg","text":"TemporaryFile(/tmp/multipartBody6876771042922743766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777555149,"filename":"image_06022025_15_15_39_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/345cb514e32b8f7685b845dc1fe6d684.jpg","text":"TemporaryFile(/tmp/multipartBody5244539575399645690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777555149,"filename":"image_06022025_15_15_29_9964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122124","file1":"1338122121","file0":"1338122116","file4":"1338122137","file5":"1338122145","file3":"1338122127"},"map_files_photo_id_array":[{"photo_id":"1338122145","filename":"file5"},{"photo_id":"1338122124","filename":"file2"},{"photo_id":"1338122137","filename":"file4"},{"photo_id":"1338122121","filename":"file1"},{"photo_id":"1338122116","filename":"file0"},{"photo_id":"1338122127","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122137":["hashtag1","hashtag2"]},{"1338122116":["hashtag1","hashtag2"]},{"1338122121":["hashtag1","hashtag2"]},{"1338122145":["hashtag1","hashtag2"]},{"1338122124":["hashtag1","hashtag2"]},{"1338122127":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122137, 1338122116, 1338122121, 1338122145, 1338122124, 1338122127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80452609062195 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:32:32.695412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_59_9933.jpg', 0), ('/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_49_9926.jpg', 0), ('/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_39_9928.jpg', 0), ('/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_29_9958.jpg', 0), ('/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_19_9933.jpg', 0), ('/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_09_9940.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_59_9933.jpg', '/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_49_9926.jpg', '/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_39_9928.jpg', '/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_29_9958.jpg', '/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_19_9933.jpg', '/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_09_9940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_59_9933.jpg
/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_49_9926.jpg
/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_39_9928.jpg
/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_29_9958.jpg
/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_19_9933.jpg
/home/nano/Desktop/images/06022025/15/14/image_06022025_15_14_09_9940.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122188","1338122182","1338122185","1338122190","1338122178","1338122193"],"photo_ids_order":["1338122178","1338122182","1338122185","1338122188","1338122190","1338122193"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0a14335f5752d0c9ea99a2f4ce34dd2.jpg","text":"TemporaryFile(/tmp/multipartBody4086560212115649309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777615239,"filename":"image_06022025_15_14_29_9958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/55182a986e4e76eef8b6371b0aac160a.jpg","text":"TemporaryFile(/tmp/multipartBody888396841015586825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777615239,"filename":"image_06022025_15_14_49_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d824f23e90e04fea521c922b6ffa13ae.jpg","text":"TemporaryFile(/tmp/multipartBody4967453601542297730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777615239,"filename":"image_06022025_15_14_39_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed7a9d8af763624a0280e6b8b49fded5.jpg","text":"TemporaryFile(/tmp/multipartBody2381076424498234038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777615239,"filename":"image_06022025_15_14_19_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc80c86740f66577271a4014b2a84c9d.jpg","text":"TemporaryFile(/tmp/multipartBody8930073537672914037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777615239,"filename":"image_06022025_15_14_59_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3c4fc66aa3d8bc8c7a4d4a2a61ea09f.jpg","text":"TemporaryFile(/tmp/multipartBody6975597489493480461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777615239,"filename":"image_06022025_15_14_09_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122185","file1":"1338122182","file0":"1338122178","file4":"1338122190","file5":"1338122193","file3":"1338122188"},"map_files_photo_id_array":[{"photo_id":"1338122193","filename":"file5"},{"photo_id":"1338122185","filename":"file2"},{"photo_id":"1338122190","filename":"file4"},{"photo_id":"1338122182","filename":"file1"},{"photo_id":"1338122178","filename":"file0"},{"photo_id":"1338122188","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122188":["hashtag1","hashtag2"]},{"1338122182":["hashtag1","hashtag2"]},{"1338122185":["hashtag1","hashtag2"]},{"1338122190":["hashtag1","hashtag2"]},{"1338122178":["hashtag1","hashtag2"]},{"1338122193":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122188, 1338122182, 1338122185, 1338122190, 1338122178, 1338122193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36672616004944 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:33:31.853494
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_59_9941.jpg', 0), ('/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_50_10867.jpg', 0), ('/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_39_9704.jpg', 0), ('/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_29_10246.jpg', 0), ('/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_19_9224.jpg', 0), ('/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_09_10244.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_59_9941.jpg', '/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_50_10867.jpg', '/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_39_9704.jpg', '/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_29_10246.jpg', '/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_19_9224.jpg', '/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_09_10244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_59_9941.jpg
/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_50_10867.jpg
/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_39_9704.jpg
/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_29_10246.jpg
/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_19_9224.jpg
/home/nano/Desktop/images/06022025/15/13/image_06022025_15_13_09_10244.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122242","1338122245","1338122230","1338122233","1338122238","1338122226"],"photo_ids_order":["1338122226","1338122230","1338122233","1338122238","1338122242","1338122245"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/203baccf05f7942f088b55421ec93485.jpg","text":"TemporaryFile(/tmp/multipartBody3868444450923855423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777674190,"filename":"image_06022025_15_13_19_9224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e650bf7a08a48302a0d51e92fe8e985.jpg","text":"TemporaryFile(/tmp/multipartBody4680509551601286219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777674190,"filename":"image_06022025_15_13_09_10244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/295781d8d2766d436fd965a590a627ab.jpg","text":"TemporaryFile(/tmp/multipartBody2961568015084083244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777674190,"filename":"image_06022025_15_13_50_10867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/946a2e99387d78676dcfef4ea583807e.jpg","text":"TemporaryFile(/tmp/multipartBody1343806509812778925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777674190,"filename":"image_06022025_15_13_39_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2f4ed07d5e691e8895d71a6fa6ac122.jpg","text":"TemporaryFile(/tmp/multipartBody9177186935131596547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777674190,"filename":"image_06022025_15_13_29_10246.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fab075af28a954aa0454c06521c26312.jpg","text":"TemporaryFile(/tmp/multipartBody2967754885153162664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777674190,"filename":"image_06022025_15_13_59_9941.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122233","file1":"1338122230","file0":"1338122226","file4":"1338122242","file5":"1338122245","file3":"1338122238"},"map_files_photo_id_array":[{"photo_id":"1338122245","filename":"file5"},{"photo_id":"1338122233","filename":"file2"},{"photo_id":"1338122242","filename":"file4"},{"photo_id":"1338122230","filename":"file1"},{"photo_id":"1338122226","filename":"file0"},{"photo_id":"1338122238","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122242":["hashtag1","hashtag2"]},{"1338122245":["hashtag1","hashtag2"]},{"1338122230":["hashtag1","hashtag2"]},{"1338122233":["hashtag1","hashtag2"]},{"1338122238":["hashtag1","hashtag2"]},{"1338122226":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122242, 1338122245, 1338122230, 1338122233, 1338122238, 1338122226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71429467201233 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:34:32.002510
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_59_10235.jpg', 0), ('/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_49_10238.jpg', 0), ('/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_39_9232.jpg', 0), ('/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_30_10236.jpg', 0), ('/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_19_10233.jpg', 0), ('/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_09_10257.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_59_10235.jpg', '/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_49_10238.jpg', '/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_39_9232.jpg', '/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_30_10236.jpg', '/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_19_10233.jpg', '/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_09_10257.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_59_10235.jpg
/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_49_10238.jpg
/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_39_9232.jpg
/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_30_10236.jpg
/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_19_10233.jpg
/home/nano/Desktop/images/06022025/15/12/image_06022025_15_12_09_10257.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122287","1338122272","1338122277","1338122280","1338122282","1338122267"],"photo_ids_order":["1338122267","1338122272","1338122277","1338122280","1338122282","1338122287"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/558a1242b4f99b73de1ee04f773a7d53.jpg","text":"TemporaryFile(/tmp/multipartBody1866049444348901227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777734906,"filename":"image_06022025_15_12_09_10257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/047477bd875ab66b8bf1c5921cf2b884.jpg","text":"TemporaryFile(/tmp/multipartBody4670337397794276506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777734906,"filename":"image_06022025_15_12_49_10238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e047e08643133dc66efb3379e6df9286.jpg","text":"TemporaryFile(/tmp/multipartBody72424322008331016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777734906,"filename":"image_06022025_15_12_39_9232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/929d0cec15e774331ed75909bb7bca29.jpg","text":"TemporaryFile(/tmp/multipartBody1645174846735421894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777734906,"filename":"image_06022025_15_12_30_10236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cbc2df7864972d77fcb3c4e611102dfd.jpg","text":"TemporaryFile(/tmp/multipartBody999075913360894672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777734906,"filename":"image_06022025_15_12_19_10233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8d696298e6aa06183b3b511462b2e63.jpg","text":"TemporaryFile(/tmp/multipartBody6696395035386138644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777734906,"filename":"image_06022025_15_12_59_10235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122277","file1":"1338122272","file0":"1338122267","file4":"1338122282","file5":"1338122287","file3":"1338122280"},"map_files_photo_id_array":[{"photo_id":"1338122287","filename":"file5"},{"photo_id":"1338122277","filename":"file2"},{"photo_id":"1338122282","filename":"file4"},{"photo_id":"1338122272","filename":"file1"},{"photo_id":"1338122267","filename":"file0"},{"photo_id":"1338122280","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122287":["hashtag1","hashtag2"]},{"1338122272":["hashtag1","hashtag2"]},{"1338122277":["hashtag1","hashtag2"]},{"1338122280":["hashtag1","hashtag2"]},{"1338122282":["hashtag1","hashtag2"]},{"1338122267":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122287, 1338122272, 1338122277, 1338122280, 1338122282, 1338122267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.934717655181885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:35:32.147771
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_59_9238.jpg', 0), ('/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_50_10230.jpg', 0), ('/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_39_10275.jpg', 0), ('/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_29_10240.jpg', 0), ('/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_19_9240.jpg', 0), ('/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_10_10238.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_59_9238.jpg', '/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_50_10230.jpg', '/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_39_10275.jpg', '/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_29_10240.jpg', '/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_19_9240.jpg', '/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_10_10238.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_59_9238.jpg
/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_50_10230.jpg
/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_39_10275.jpg
/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_29_10240.jpg
/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_19_9240.jpg
/home/nano/Desktop/images/06022025/15/11/image_06022025_15_11_10_10238.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122321","1338122318","1338122326","1338122314","1338122328","1338122324"],"photo_ids_order":["1338122314","1338122318","1338122321","1338122324","1338122326","1338122328"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e14eda4961f189546d7d8a3c1617f66a.jpg","text":"TemporaryFile(/tmp/multipartBody669118230968163949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777794932,"filename":"image_06022025_15_11_39_10275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6dfadcd4bda84203c7f3c9f12bc9bc12.jpg","text":"TemporaryFile(/tmp/multipartBody2251013994621552867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777794932,"filename":"image_06022025_15_11_50_10230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92bba8b8c45d6dbd2f766c5abe8060e3.jpg","text":"TemporaryFile(/tmp/multipartBody8614573125678032708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777794932,"filename":"image_06022025_15_11_19_9240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5630742161ce9f015b91a5d807ac0765.jpg","text":"TemporaryFile(/tmp/multipartBody7154029055486785251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777794932,"filename":"image_06022025_15_11_59_9238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e464efff16c5d92cffc06f354e32c993.jpg","text":"TemporaryFile(/tmp/multipartBody1756337110211950250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777794932,"filename":"image_06022025_15_11_10_10238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e7fe76706189373790346527036f0df.jpg","text":"TemporaryFile(/tmp/multipartBody464445396393325018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777794932,"filename":"image_06022025_15_11_29_10240.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122321","file1":"1338122318","file0":"1338122314","file4":"1338122326","file5":"1338122328","file3":"1338122324"},"map_files_photo_id_array":[{"photo_id":"1338122328","filename":"file5"},{"photo_id":"1338122321","filename":"file2"},{"photo_id":"1338122326","filename":"file4"},{"photo_id":"1338122318","filename":"file1"},{"photo_id":"1338122314","filename":"file0"},{"photo_id":"1338122324","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122321":["hashtag1","hashtag2"]},{"1338122318":["hashtag1","hashtag2"]},{"1338122326":["hashtag1","hashtag2"]},{"1338122314":["hashtag1","hashtag2"]},{"1338122328":["hashtag1","hashtag2"]},{"1338122324":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122321, 1338122318, 1338122326, 1338122314, 1338122328, 1338122324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64516735076904 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:36:32.289183
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/10/image_06022025_15_11_00_10267.jpg', 0), ('/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_49_10234.jpg', 0), ('/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_39_9229.jpg', 0), ('/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_30_10344.jpg', 0), ('/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_19_10283.jpg', 0), ('/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_09_9389.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/10/image_06022025_15_11_00_10267.jpg', '/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_49_10234.jpg', '/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_39_9229.jpg', '/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_30_10344.jpg', '/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_19_10283.jpg', '/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_09_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/10/image_06022025_15_11_00_10267.jpg
/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_49_10234.jpg
/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_39_9229.jpg
/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_30_10344.jpg
/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_19_10283.jpg
/home/nano/Desktop/images/06022025/15/10/image_06022025_15_10_09_9389.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122362","1338122359","1338122352","1338122361","1338122355","1338122357"],"photo_ids_order":["1338122352","1338122355","1338122357","1338122359","1338122361","1338122362"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa35398f63bdfbe2fe0ba93489973995.jpg","text":"TemporaryFile(/tmp/multipartBody285249935607299297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777861409,"filename":"image_06022025_15_10_09_9389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9430ce9ba5472842682c0941df18fa59.jpg","text":"TemporaryFile(/tmp/multipartBody3276852646707542518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777861409,"filename":"image_06022025_15_10_30_10344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64d289059fcca01c4bc5ee7361a36539.jpg","text":"TemporaryFile(/tmp/multipartBody2837209009459746160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777861409,"filename":"image_06022025_15_11_00_10267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d336370a51d225a2a0781482cbad328.jpg","text":"TemporaryFile(/tmp/multipartBody7403802919542423869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777861409,"filename":"image_06022025_15_10_19_10283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ecfe7acf2d6dddc18ca964e6be069f86.jpg","text":"TemporaryFile(/tmp/multipartBody8915506453844813376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777861409,"filename":"image_06022025_15_10_49_10234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7441fd9a5a6543abad7eb6f84480e06d.jpg","text":"TemporaryFile(/tmp/multipartBody5625101917582763080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777861409,"filename":"image_06022025_15_10_39_9229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122357","file1":"1338122355","file0":"1338122352","file4":"1338122361","file5":"1338122362","file3":"1338122359"},"map_files_photo_id_array":[{"photo_id":"1338122362","filename":"file5"},{"photo_id":"1338122357","filename":"file2"},{"photo_id":"1338122361","filename":"file4"},{"photo_id":"1338122355","filename":"file1"},{"photo_id":"1338122352","filename":"file0"},{"photo_id":"1338122359","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122362":["hashtag1","hashtag2"]},{"1338122359":["hashtag1","hashtag2"]},{"1338122352":["hashtag1","hashtag2"]},{"1338122361":["hashtag1","hashtag2"]},{"1338122355":["hashtag1","hashtag2"]},{"1338122357":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122362, 1338122359, 1338122352, 1338122361, 1338122355, 1338122357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.195513010025024 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:37:32.461012
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/09/image_06022025_15_10_00_10345.jpg', 0), ('/home/nano/Desktop/images/06022025/15/09/image_06022025_15_09_49_10519.jpg', 0), ('/home/nano/Desktop/images/06022025/15/09/image_06022025_15_09_39_10118.jpg', 0), ('/home/nano/Desktop/images/06022025/15/07/image_06022025_15_07_35_10186.jpg', 0), ('/home/nano/Desktop/images/06022025/15/07/image_06022025_15_07_24_10049.jpg', 0), ('/home/nano/Desktop/images/06022025/15/07/image_06022025_15_07_14_10082.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/09/image_06022025_15_10_00_10345.jpg', '/home/nano/Desktop/images/06022025/15/09/image_06022025_15_09_49_10519.jpg', '/home/nano/Desktop/images/06022025/15/09/image_06022025_15_09_39_10118.jpg', '/home/nano/Desktop/images/06022025/15/07/image_06022025_15_07_35_10186.jpg', '/home/nano/Desktop/images/06022025/15/07/image_06022025_15_07_24_10049.jpg', '/home/nano/Desktop/images/06022025/15/07/image_06022025_15_07_14_10082.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/09/image_06022025_15_10_00_10345.jpg
/home/nano/Desktop/images/06022025/15/09/image_06022025_15_09_49_10519.jpg
/home/nano/Desktop/images/06022025/15/09/image_06022025_15_09_39_10118.jpg
/home/nano/Desktop/images/06022025/15/07/image_06022025_15_07_35_10186.jpg
/home/nano/Desktop/images/06022025/15/07/image_06022025_15_07_24_10049.jpg
/home/nano/Desktop/images/06022025/15/07/image_06022025_15_07_14_10082.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122389","1338122401","1338122397","1338122399","1338122403","1338122393"],"photo_ids_order":["1338122389","1338122393","1338122397","1338122399","1338122401","1338122403"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e197168732a070e707b008ca4ea13e4.jpg","text":"TemporaryFile(/tmp/multipartBody4786097569009175681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777921282,"filename":"image_06022025_15_10_00_10345.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0904efb6bc52cfed08ff48a4c85daa4.jpg","text":"TemporaryFile(/tmp/multipartBody625362305155572473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777921282,"filename":"image_06022025_15_07_24_10049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59a531812da49c8712c6f5eaeb4fbb88.jpg","text":"TemporaryFile(/tmp/multipartBody5826239880400228688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777921282,"filename":"image_06022025_15_09_39_10118.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d1bee8d62805e8f3a9c0b5ae415c4fc.jpg","text":"TemporaryFile(/tmp/multipartBody2018844964481496911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777921282,"filename":"image_06022025_15_07_35_10186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c05da95896aa45dd6b762ba1aafc7a71.jpg","text":"TemporaryFile(/tmp/multipartBody7432781590872838312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777921282,"filename":"image_06022025_15_07_14_10082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/029b960237b0e4a5c919159bd127bb99.jpg","text":"TemporaryFile(/tmp/multipartBody626290962041940534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777921282,"filename":"image_06022025_15_09_49_10519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122397","file1":"1338122393","file0":"1338122389","file4":"1338122401","file5":"1338122403","file3":"1338122399"},"map_files_photo_id_array":[{"photo_id":"1338122403","filename":"file5"},{"photo_id":"1338122397","filename":"file2"},{"photo_id":"1338122401","filename":"file4"},{"photo_id":"1338122393","filename":"file1"},{"photo_id":"1338122389","filename":"file0"},{"photo_id":"1338122399","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122389":["hashtag1","hashtag2"]},{"1338122401":["hashtag1","hashtag2"]},{"1338122397":["hashtag1","hashtag2"]},{"1338122399":["hashtag1","hashtag2"]},{"1338122403":["hashtag1","hashtag2"]},{"1338122393":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122389, 1338122401, 1338122397, 1338122399, 1338122403, 1338122393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84499955177307 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:38:32.679232
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/06/image_06022025_15_07_04_10043.jpg', 0), ('/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_54_10048.jpg', 0), ('/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_44_10037.jpg', 0), ('/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_34_10045.jpg', 0), ('/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_24_10019.jpg', 0), ('/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_14_10041.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/06/image_06022025_15_07_04_10043.jpg', '/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_54_10048.jpg', '/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_44_10037.jpg', '/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_34_10045.jpg', '/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_24_10019.jpg', '/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_14_10041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/06/image_06022025_15_07_04_10043.jpg
/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_54_10048.jpg
/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_44_10037.jpg
/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_34_10045.jpg
/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_24_10019.jpg
/home/nano/Desktop/images/06022025/15/06/image_06022025_15_06_14_10041.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122430","1338122433","1338122427","1338122436","1338122438","1338122423"],"photo_ids_order":["1338122423","1338122427","1338122430","1338122433","1338122436","1338122438"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f7874b5796da985f4d0706e5707994c.jpg","text":"TemporaryFile(/tmp/multipartBody4355095228930668034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777975051,"filename":"image_06022025_15_06_44_10037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26352c08a9422b52e5e75d7aa3537772.jpg","text":"TemporaryFile(/tmp/multipartBody3666472489980604584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777975051,"filename":"image_06022025_15_06_34_10045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c9297beebaa0bc430ee2bc9581ae532.jpg","text":"TemporaryFile(/tmp/multipartBody4035469738338801430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777975051,"filename":"image_06022025_15_06_54_10048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/210bfe003691dafca887ba0acb40d1c6.jpg","text":"TemporaryFile(/tmp/multipartBody2913916166297636985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777975051,"filename":"image_06022025_15_06_24_10019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d77d8b0f152f8db5d670b9b112fe1a4a.jpg","text":"TemporaryFile(/tmp/multipartBody6316009370168714496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777975051,"filename":"image_06022025_15_06_14_10041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c8f7b3fd080bbd3da1cd86b4598335d.jpg","text":"TemporaryFile(/tmp/multipartBody2974259905427389132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739777975051,"filename":"image_06022025_15_07_04_10043.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122430","file1":"1338122427","file0":"1338122423","file4":"1338122436","file5":"1338122438","file3":"1338122433"},"map_files_photo_id_array":[{"photo_id":"1338122438","filename":"file5"},{"photo_id":"1338122430","filename":"file2"},{"photo_id":"1338122436","filename":"file4"},{"photo_id":"1338122427","filename":"file1"},{"photo_id":"1338122423","filename":"file0"},{"photo_id":"1338122433","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122430":["hashtag1","hashtag2"]},{"1338122433":["hashtag1","hashtag2"]},{"1338122427":["hashtag1","hashtag2"]},{"1338122436":["hashtag1","hashtag2"]},{"1338122438":["hashtag1","hashtag2"]},{"1338122423":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122430, 1338122433, 1338122427, 1338122436, 1338122438, 1338122423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.805532932281494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:39:31.860881
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/05/image_06022025_15_06_04_10013.jpg', 0), ('/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_54_10002.jpg', 0), ('/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_44_10048.jpg', 0), ('/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_34_10024.jpg', 0), ('/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_24_10153.jpg', 0), ('/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_14_10093.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/05/image_06022025_15_06_04_10013.jpg', '/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_54_10002.jpg', '/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_44_10048.jpg', '/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_34_10024.jpg', '/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_24_10153.jpg', '/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_14_10093.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/05/image_06022025_15_06_04_10013.jpg
/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_54_10002.jpg
/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_44_10048.jpg
/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_34_10024.jpg
/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_24_10153.jpg
/home/nano/Desktop/images/06022025/15/05/image_06022025_15_05_14_10093.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122479","1338122476","1338122481","1338122466","1338122460","1338122471"],"photo_ids_order":["1338122460","1338122466","1338122471","1338122476","1338122479","1338122481"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f174198e46d0166b0f6a5f7016ad980.jpg","text":"TemporaryFile(/tmp/multipartBody6685329746813910475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778034683,"filename":"image_06022025_15_05_24_10153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a42f962a90d92668e0f69f9a7ee4c07b.jpg","text":"TemporaryFile(/tmp/multipartBody758752392811056374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778034683,"filename":"image_06022025_15_05_34_10024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/198ad7fb17b569493a5eba6c39747faa.jpg","text":"TemporaryFile(/tmp/multipartBody1335682521543394088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778034683,"filename":"image_06022025_15_05_14_10093.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a7757114d020bb1a125904812cfa78c8.jpg","text":"TemporaryFile(/tmp/multipartBody135623629348867081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778034683,"filename":"image_06022025_15_05_54_10002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f679a4e7b895ee09a1eb6778c919213.jpg","text":"TemporaryFile(/tmp/multipartBody6018199987305149903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778034683,"filename":"image_06022025_15_06_04_10013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0254226e3779d0c0f6f6575980831db7.jpg","text":"TemporaryFile(/tmp/multipartBody5705126646962303883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778034683,"filename":"image_06022025_15_05_44_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122471","file1":"1338122466","file0":"1338122460","file4":"1338122479","file5":"1338122481","file3":"1338122476"},"map_files_photo_id_array":[{"photo_id":"1338122481","filename":"file5"},{"photo_id":"1338122471","filename":"file2"},{"photo_id":"1338122479","filename":"file4"},{"photo_id":"1338122466","filename":"file1"},{"photo_id":"1338122460","filename":"file0"},{"photo_id":"1338122476","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122479":["hashtag1","hashtag2"]},{"1338122476":["hashtag1","hashtag2"]},{"1338122481":["hashtag1","hashtag2"]},{"1338122466":["hashtag1","hashtag2"]},{"1338122460":["hashtag1","hashtag2"]},{"1338122471":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122479, 1338122476, 1338122481, 1338122466, 1338122460, 1338122471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58530306816101 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:40:32.012231
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_54_10748.jpg', 0), ('/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_43_9529.jpg', 0), ('/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_34_9787.jpg', 0), ('/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_24_10748.jpg', 0), ('/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_13_10179.jpg', 0), ('/home/nano/Desktop/images/06022025/15/02/image_06022025_15_02_29_10673.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_54_10748.jpg', '/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_43_9529.jpg', '/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_34_9787.jpg', '/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_24_10748.jpg', '/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_13_10179.jpg', '/home/nano/Desktop/images/06022025/15/02/image_06022025_15_02_29_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_54_10748.jpg
/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_43_9529.jpg
/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_34_9787.jpg
/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_24_10748.jpg
/home/nano/Desktop/images/06022025/15/03/image_06022025_15_03_13_10179.jpg
/home/nano/Desktop/images/06022025/15/02/image_06022025_15_02_29_10673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122509","1338122529","1338122514","1338122523","1338122531","1338122519"],"photo_ids_order":["1338122509","1338122514","1338122519","1338122523","1338122529","1338122531"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/37c31764a45a4d9b1af2838790639e9c.jpg","text":"TemporaryFile(/tmp/multipartBody590995596933893164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778093911,"filename":"image_06022025_15_03_54_10748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50656402aed46e0b78fee5841dea2ef3.jpg","text":"TemporaryFile(/tmp/multipartBody1225388186854156227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778093911,"filename":"image_06022025_15_03_13_10179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e0a81a1ba052362b41b0f5de8aabdad.jpg","text":"TemporaryFile(/tmp/multipartBody5522884136620972269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778093911,"filename":"image_06022025_15_03_43_9529.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c93fdb3be35a810234f716a449fa183e.jpg","text":"TemporaryFile(/tmp/multipartBody1484281621397566889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778093911,"filename":"image_06022025_15_03_24_10748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b6937e331dba8a997f2b831c93cf835.jpg","text":"TemporaryFile(/tmp/multipartBody6129775341237899836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778093911,"filename":"image_06022025_15_02_29_10673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ad7af0b9e9f25a99fcfe421625173e5.jpg","text":"TemporaryFile(/tmp/multipartBody8163728287359675195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778093911,"filename":"image_06022025_15_03_34_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122519","file1":"1338122514","file0":"1338122509","file4":"1338122529","file5":"1338122531","file3":"1338122523"},"map_files_photo_id_array":[{"photo_id":"1338122531","filename":"file5"},{"photo_id":"1338122519","filename":"file2"},{"photo_id":"1338122529","filename":"file4"},{"photo_id":"1338122514","filename":"file1"},{"photo_id":"1338122509","filename":"file0"},{"photo_id":"1338122523","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122509":["hashtag1","hashtag2"]},{"1338122529":["hashtag1","hashtag2"]},{"1338122514":["hashtag1","hashtag2"]},{"1338122523":["hashtag1","hashtag2"]},{"1338122531":["hashtag1","hashtag2"]},{"1338122519":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122509, 1338122529, 1338122514, 1338122523, 1338122531, 1338122519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07171654701233 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:41:32.169161
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/02/image_06022025_15_02_18_9819.jpg', 0), ('/home/nano/Desktop/images/06022025/15/02/image_06022025_15_02_08_9913.jpg', 0), ('/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_59_9945.jpg', 0), ('/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_49_9801.jpg', 0), ('/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_39_9846.jpg', 0), ('/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_29_10853.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/02/image_06022025_15_02_18_9819.jpg', '/home/nano/Desktop/images/06022025/15/02/image_06022025_15_02_08_9913.jpg', '/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_59_9945.jpg', '/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_49_9801.jpg', '/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_39_9846.jpg', '/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_29_10853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/02/image_06022025_15_02_18_9819.jpg
/home/nano/Desktop/images/06022025/15/02/image_06022025_15_02_08_9913.jpg
/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_59_9945.jpg
/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_49_9801.jpg
/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_39_9846.jpg
/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_29_10853.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122566","1338122569","1338122577","1338122562","1338122559","1338122568"],"photo_ids_order":["1338122559","1338122562","1338122566","1338122568","1338122569","1338122577"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/adc2e279b751da3002b052393ac96237.jpg","text":"TemporaryFile(/tmp/multipartBody5325331414276084851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778153900,"filename":"image_06022025_15_01_59_9945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/731af4b86524feff96703aeb2b0da931.jpg","text":"TemporaryFile(/tmp/multipartBody8691044265682724282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778153900,"filename":"image_06022025_15_01_39_9846.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f26de4abb73b3ba19fd118b9c8cc996.jpg","text":"TemporaryFile(/tmp/multipartBody4794368860236028913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778153900,"filename":"image_06022025_15_01_29_10853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff6b50968009cb00bb2d82eae58ebf90.jpg","text":"TemporaryFile(/tmp/multipartBody7739004307342150252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778153900,"filename":"image_06022025_15_02_08_9913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8540c60bd31dbed4c09c8184e75d97f.jpg","text":"TemporaryFile(/tmp/multipartBody4206556215384367581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778153900,"filename":"image_06022025_15_02_18_9819.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b483f509375f63ee53fea15569c285df.jpg","text":"TemporaryFile(/tmp/multipartBody5581751191410733102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778153900,"filename":"image_06022025_15_01_49_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122566","file1":"1338122562","file0":"1338122559","file4":"1338122569","file5":"1338122577","file3":"1338122568"},"map_files_photo_id_array":[{"photo_id":"1338122577","filename":"file5"},{"photo_id":"1338122566","filename":"file2"},{"photo_id":"1338122569","filename":"file4"},{"photo_id":"1338122562","filename":"file1"},{"photo_id":"1338122559","filename":"file0"},{"photo_id":"1338122568","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122566":["hashtag1","hashtag2"]},{"1338122569":["hashtag1","hashtag2"]},{"1338122577":["hashtag1","hashtag2"]},{"1338122562":["hashtag1","hashtag2"]},{"1338122559":["hashtag1","hashtag2"]},{"1338122568":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122566, 1338122569, 1338122577, 1338122562, 1338122559, 1338122568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.960925579071045 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:42:32.335645
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_18_9844.jpg', 0), ('/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_08_9834.jpg', 0), ('/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_58_9847.jpg', 0), ('/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_49_9839.jpg', 0), ('/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_39_9840.jpg', 0), ('/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_29_10857.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_18_9844.jpg', '/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_08_9834.jpg', '/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_58_9847.jpg', '/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_49_9839.jpg', '/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_39_9840.jpg', '/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_29_10857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_18_9844.jpg
/home/nano/Desktop/images/06022025/15/01/image_06022025_15_01_08_9834.jpg
/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_58_9847.jpg
/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_49_9839.jpg
/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_39_9840.jpg
/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_29_10857.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122627","1338122632","1338122629","1338122623","1338122625","1338122621"],"photo_ids_order":["1338122621","1338122623","1338122625","1338122627","1338122629","1338122632"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70d3599739fa2d5cc7f55e5f64b4619c.jpg","text":"TemporaryFile(/tmp/multipartBody6765690839836185407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778214259,"filename":"image_06022025_15_00_49_9839.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f9ff1380b70aa459cd01d6f20b5ded0.jpg","text":"TemporaryFile(/tmp/multipartBody6491908520113455196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778214259,"filename":"image_06022025_15_00_29_10857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f78522ad615533ebc86b6b6d76feb3e4.jpg","text":"TemporaryFile(/tmp/multipartBody3553603894854089825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778214259,"filename":"image_06022025_15_00_39_9840.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9045c740fbbebd3e3fdb29259f97e77a.jpg","text":"TemporaryFile(/tmp/multipartBody7036391622817187050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778214259,"filename":"image_06022025_15_01_08_9834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e7b4400014bc28855847eb2961605e9.jpg","text":"TemporaryFile(/tmp/multipartBody4840985584260450873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778214259,"filename":"image_06022025_15_00_58_9847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3131023b1ecbedd66f46380a70e1c45.jpg","text":"TemporaryFile(/tmp/multipartBody3928232256648006211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778214259,"filename":"image_06022025_15_01_18_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122625","file1":"1338122623","file0":"1338122621","file4":"1338122629","file5":"1338122632","file3":"1338122627"},"map_files_photo_id_array":[{"photo_id":"1338122632","filename":"file5"},{"photo_id":"1338122625","filename":"file2"},{"photo_id":"1338122629","filename":"file4"},{"photo_id":"1338122623","filename":"file1"},{"photo_id":"1338122621","filename":"file0"},{"photo_id":"1338122627","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122627":["hashtag1","hashtag2"]},{"1338122632":["hashtag1","hashtag2"]},{"1338122629":["hashtag1","hashtag2"]},{"1338122623":["hashtag1","hashtag2"]},{"1338122625":["hashtag1","hashtag2"]},{"1338122621":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122627, 1338122632, 1338122629, 1338122623, 1338122625, 1338122621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.033952951431274 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:43:32.528286
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_18_9848.jpg', 0), ('/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_08_9854.jpg', 0), ('/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_58_9834.jpg', 0), ('/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_48_9845.jpg', 0), ('/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_39_9837.jpg', 0), ('/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_29_9854.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_18_9848.jpg', '/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_08_9854.jpg', '/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_58_9834.jpg', '/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_48_9845.jpg', '/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_39_9837.jpg', '/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_29_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_18_9848.jpg
/home/nano/Desktop/images/06022025/15/00/image_06022025_15_00_08_9854.jpg
/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_58_9834.jpg
/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_48_9845.jpg
/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_39_9837.jpg
/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_29_9854.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122659","1338122668","1338122655","1338122664","1338122666","1338122660"],"photo_ids_order":["1338122655","1338122659","1338122660","1338122664","1338122666","1338122668"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bdc21a75403ff41bbd2a37d8073c2362.jpg","text":"TemporaryFile(/tmp/multipartBody2781626735140666882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778274287,"filename":"image_06022025_15_00_08_9854.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9fa0767d4285b9a67219f34c58a65bc6.jpg","text":"TemporaryFile(/tmp/multipartBody5245482790025008424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778274287,"filename":"image_06022025_14_59_29_9854.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b45de989a22a4acffbbccfc8d24d0ca.jpg","text":"TemporaryFile(/tmp/multipartBody9148416886834238701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778274287,"filename":"image_06022025_15_00_18_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6542d4776a657a7f4c62945e156b610c.jpg","text":"TemporaryFile(/tmp/multipartBody722816805775761699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778274287,"filename":"image_06022025_14_59_48_9845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a3d17f7b6712387ea734de98728be63.jpg","text":"TemporaryFile(/tmp/multipartBody5565610530553552509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778274287,"filename":"image_06022025_14_59_39_9837.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a6a507fbedf0f33da72e636196d050cf.jpg","text":"TemporaryFile(/tmp/multipartBody8395041806642529656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778274287,"filename":"image_06022025_14_59_58_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122660","file1":"1338122659","file0":"1338122655","file4":"1338122666","file5":"1338122668","file3":"1338122664"},"map_files_photo_id_array":[{"photo_id":"1338122668","filename":"file5"},{"photo_id":"1338122660","filename":"file2"},{"photo_id":"1338122666","filename":"file4"},{"photo_id":"1338122659","filename":"file1"},{"photo_id":"1338122655","filename":"file0"},{"photo_id":"1338122664","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122659":["hashtag1","hashtag2"]},{"1338122668":["hashtag1","hashtag2"]},{"1338122655":["hashtag1","hashtag2"]},{"1338122664":["hashtag1","hashtag2"]},{"1338122666":["hashtag1","hashtag2"]},{"1338122660":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122659, 1338122668, 1338122655, 1338122664, 1338122666, 1338122660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45623588562012 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:44:32.677436
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_19_10862.jpg', 0), ('/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_08_9840.jpg', 0), ('/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_58_9840.jpg', 0), ('/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_48_9838.jpg', 0), ('/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_39_9842.jpg', 0), ('/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_29_9838.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_19_10862.jpg', '/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_08_9840.jpg', '/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_58_9840.jpg', '/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_48_9838.jpg', '/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_39_9842.jpg', '/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_29_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_19_10862.jpg
/home/nano/Desktop/images/06022025/14/59/image_06022025_14_59_08_9840.jpg
/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_58_9840.jpg
/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_48_9838.jpg
/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_39_9842.jpg
/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_29_9838.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122689","1338122708","1338122704","1338122700","1338122684","1338122693"],"photo_ids_order":["1338122684","1338122689","1338122693","1338122700","1338122704","1338122708"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed396c0b84ff55e4948039642530e1da.jpg","text":"TemporaryFile(/tmp/multipartBody6967236251088517445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778334800,"filename":"image_06022025_14_59_08_9840.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/548a640e2a01ab688d877de3fbc3ce4d.jpg","text":"TemporaryFile(/tmp/multipartBody6735219238539553247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778334800,"filename":"image_06022025_14_58_29_9838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6034fe1f8a62cbed5627e3bb75148317.jpg","text":"TemporaryFile(/tmp/multipartBody3994915208109439368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778334800,"filename":"image_06022025_14_58_39_9842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1f388449f6ffa85079c5877dc7ce706.jpg","text":"TemporaryFile(/tmp/multipartBody212443867917446109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778334800,"filename":"image_06022025_14_58_48_9838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aa93c3f0f9f338b508ce9284f5d81fca.jpg","text":"TemporaryFile(/tmp/multipartBody3782776434681881077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778334800,"filename":"image_06022025_14_59_19_10862.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bdc67e75d2fa343e512c3367c58865f4.jpg","text":"TemporaryFile(/tmp/multipartBody6703085520246678529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778334800,"filename":"image_06022025_14_58_58_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122693","file1":"1338122689","file0":"1338122684","file4":"1338122704","file5":"1338122708","file3":"1338122700"},"map_files_photo_id_array":[{"photo_id":"1338122708","filename":"file5"},{"photo_id":"1338122693","filename":"file2"},{"photo_id":"1338122704","filename":"file4"},{"photo_id":"1338122689","filename":"file1"},{"photo_id":"1338122684","filename":"file0"},{"photo_id":"1338122700","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122689":["hashtag1","hashtag2"]},{"1338122708":["hashtag1","hashtag2"]},{"1338122704":["hashtag1","hashtag2"]},{"1338122700":["hashtag1","hashtag2"]},{"1338122684":["hashtag1","hashtag2"]},{"1338122693":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122689, 1338122708, 1338122704, 1338122700, 1338122684, 1338122693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71536421775818 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:45:31.828756
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_19_10843.jpg', 0), ('/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_08_9867.jpg', 0), ('/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_58_9849.jpg', 0), ('/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_48_9838.jpg', 0), ('/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_38_9839.jpg', 0), ('/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_29_9833.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_19_10843.jpg', '/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_08_9867.jpg', '/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_58_9849.jpg', '/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_48_9838.jpg', '/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_38_9839.jpg', '/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_29_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_19_10843.jpg
/home/nano/Desktop/images/06022025/14/58/image_06022025_14_58_08_9867.jpg
/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_58_9849.jpg
/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_48_9838.jpg
/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_38_9839.jpg
/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_29_9833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122782","1338122764","1338122787","1338122760","1338122771","1338122768"],"photo_ids_order":["1338122760","1338122764","1338122768","1338122771","1338122782","1338122787"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/29be60fc81cc2218bb692753098a7e4d.jpg","text":"TemporaryFile(/tmp/multipartBody4242503113320590834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778394594,"filename":"image_06022025_14_57_38_9839.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28de848bf5df65f5107329e4e68f1c4f.jpg","text":"TemporaryFile(/tmp/multipartBody6628667705700523537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778394594,"filename":"image_06022025_14_58_08_9867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a811775504c226936467ce5023c701f.jpg","text":"TemporaryFile(/tmp/multipartBody6943751960992389776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778394594,"filename":"image_06022025_14_57_29_9833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/89763a30ef8cc0b71994c425d8e65470.jpg","text":"TemporaryFile(/tmp/multipartBody1828649509163116224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778394594,"filename":"image_06022025_14_58_19_10843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22945655c742e1666994a38254415ba9.jpg","text":"TemporaryFile(/tmp/multipartBody1300952275766886280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778394594,"filename":"image_06022025_14_57_48_9838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98a76c5b7717130bdc4017f029cc7ce2.jpg","text":"TemporaryFile(/tmp/multipartBody9076286848951647698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778394594,"filename":"image_06022025_14_57_58_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122768","file1":"1338122764","file0":"1338122760","file4":"1338122782","file5":"1338122787","file3":"1338122771"},"map_files_photo_id_array":[{"photo_id":"1338122787","filename":"file5"},{"photo_id":"1338122768","filename":"file2"},{"photo_id":"1338122782","filename":"file4"},{"photo_id":"1338122764","filename":"file1"},{"photo_id":"1338122760","filename":"file0"},{"photo_id":"1338122771","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122782":["hashtag1","hashtag2"]},{"1338122764":["hashtag1","hashtag2"]},{"1338122787":["hashtag1","hashtag2"]},{"1338122760":["hashtag1","hashtag2"]},{"1338122771":["hashtag1","hashtag2"]},{"1338122768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122782, 1338122764, 1338122787, 1338122760, 1338122771, 1338122768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51728844642639 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:46:31.977871
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_19_10856.jpg', 0), ('/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_08_9846.jpg', 0), ('/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_58_9847.jpg', 0), ('/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_48_9844.jpg', 0), ('/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_38_9906.jpg', 0), ('/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_29_9858.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_19_10856.jpg', '/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_08_9846.jpg', '/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_58_9847.jpg', '/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_48_9844.jpg', '/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_38_9906.jpg', '/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_29_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_19_10856.jpg
/home/nano/Desktop/images/06022025/14/57/image_06022025_14_57_08_9846.jpg
/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_58_9847.jpg
/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_48_9844.jpg
/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_38_9906.jpg
/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_29_9858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122877","1338122879","1338122870","1338122864","1338122867","1338122861"],"photo_ids_order":["1338122861","1338122864","1338122867","1338122870","1338122877","1338122879"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ffe6b40b9ae77e9b609f9820e9b8fb0.jpg","text":"TemporaryFile(/tmp/multipartBody2184958900826593014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778454353,"filename":"image_06022025_14_56_38_9906.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ecc048931f2b75c699ecad9598dbb39.jpg","text":"TemporaryFile(/tmp/multipartBody6657493354126564379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778454353,"filename":"image_06022025_14_56_29_9858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6612b5101c6567a02506b1a5d2f17efc.jpg","text":"TemporaryFile(/tmp/multipartBody5288794432981649759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778454353,"filename":"image_06022025_14_56_48_9844.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e62b6ecaa07bc121d37a19bff0b31457.jpg","text":"TemporaryFile(/tmp/multipartBody6226631039254545653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778454353,"filename":"image_06022025_14_57_08_9846.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/457bcb8885a09c123fd7d8266a65f976.jpg","text":"TemporaryFile(/tmp/multipartBody3607307831428053820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778454353,"filename":"image_06022025_14_56_58_9847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15aa70be1b03a281cb16e05d7da0df9e.jpg","text":"TemporaryFile(/tmp/multipartBody8566113068777167156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778454353,"filename":"image_06022025_14_57_19_10856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122867","file1":"1338122864","file0":"1338122861","file4":"1338122877","file5":"1338122879","file3":"1338122870"},"map_files_photo_id_array":[{"photo_id":"1338122879","filename":"file5"},{"photo_id":"1338122867","filename":"file2"},{"photo_id":"1338122877","filename":"file4"},{"photo_id":"1338122864","filename":"file1"},{"photo_id":"1338122861","filename":"file0"},{"photo_id":"1338122870","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122877":["hashtag1","hashtag2"]},{"1338122879":["hashtag1","hashtag2"]},{"1338122870":["hashtag1","hashtag2"]},{"1338122864":["hashtag1","hashtag2"]},{"1338122867":["hashtag1","hashtag2"]},{"1338122861":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122877, 1338122879, 1338122870, 1338122864, 1338122867, 1338122861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8946635723114 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:47:32.137680
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_19_9790.jpg', 0), ('/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_09_10798.jpg', 0), ('/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_58_9843.jpg', 0), ('/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_48_9821.jpg', 0), ('/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_38_9845.jpg', 0), ('/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_29_9857.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_19_9790.jpg', '/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_09_10798.jpg', '/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_58_9843.jpg', '/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_48_9821.jpg', '/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_38_9845.jpg', '/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_29_9857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_19_9790.jpg
/home/nano/Desktop/images/06022025/14/56/image_06022025_14_56_09_10798.jpg
/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_58_9843.jpg
/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_48_9821.jpg
/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_38_9845.jpg
/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_29_9857.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122917","1338122911","1338122914","1338122922","1338122919","1338122907"],"photo_ids_order":["1338122907","1338122911","1338122914","1338122917","1338122919","1338122922"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b59bb040d53cc6f4fb1be69a9004916f.jpg","text":"TemporaryFile(/tmp/multipartBody4615837790793783778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778514454,"filename":"image_06022025_14_55_48_9821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/022809779cd04c0180515ccb036af458.jpg","text":"TemporaryFile(/tmp/multipartBody7549648876417360965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778514454,"filename":"image_06022025_14_56_09_10798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/20540fd7b06c9a90eff072431550dbb9.jpg","text":"TemporaryFile(/tmp/multipartBody2627311998308189911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778514454,"filename":"image_06022025_14_55_58_9843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8247cfe2456ac3ddb781de3e732ecf2b.jpg","text":"TemporaryFile(/tmp/multipartBody557039019650524963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778514454,"filename":"image_06022025_14_55_29_9857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60699ed476cb887456795c250b5d6103.jpg","text":"TemporaryFile(/tmp/multipartBody7808208415957924836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778514454,"filename":"image_06022025_14_55_38_9845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d29c1cdf37cf4543ef2c82030ad1df3.jpg","text":"TemporaryFile(/tmp/multipartBody4674081414903109692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778514454,"filename":"image_06022025_14_56_19_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122914","file1":"1338122911","file0":"1338122907","file4":"1338122919","file5":"1338122922","file3":"1338122917"},"map_files_photo_id_array":[{"photo_id":"1338122922","filename":"file5"},{"photo_id":"1338122914","filename":"file2"},{"photo_id":"1338122919","filename":"file4"},{"photo_id":"1338122911","filename":"file1"},{"photo_id":"1338122907","filename":"file0"},{"photo_id":"1338122917","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122917":["hashtag1","hashtag2"]},{"1338122911":["hashtag1","hashtag2"]},{"1338122914":["hashtag1","hashtag2"]},{"1338122922":["hashtag1","hashtag2"]},{"1338122919":["hashtag1","hashtag2"]},{"1338122907":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122917, 1338122911, 1338122914, 1338122922, 1338122919, 1338122907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11338424682617 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:48:32.285504
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_19_9846.jpg', 0), ('/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_09_10840.jpg', 0), ('/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_58_9832.jpg', 0), ('/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_48_9833.jpg', 0), ('/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_38_9851.jpg', 0), ('/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_29_9830.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_19_9846.jpg', '/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_09_10840.jpg', '/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_58_9832.jpg', '/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_48_9833.jpg', '/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_38_9851.jpg', '/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_29_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_19_9846.jpg
/home/nano/Desktop/images/06022025/14/55/image_06022025_14_55_09_10840.jpg
/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_58_9832.jpg
/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_48_9833.jpg
/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_38_9851.jpg
/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_29_9830.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338122962","1338122959","1338122970","1338122972","1338122966","1338122954"],"photo_ids_order":["1338122954","1338122959","1338122962","1338122966","1338122970","1338122972"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b597bf7d1cad46d418a3d4b34a52142.jpg","text":"TemporaryFile(/tmp/multipartBody664821831608989339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778574756,"filename":"image_06022025_14_54_58_9832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2b32093e63296f4367649e5bba8bd42.jpg","text":"TemporaryFile(/tmp/multipartBody5380568645922163968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778574756,"filename":"image_06022025_14_55_09_10840.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c49f044a871acc2e2c32f18df3e7b7ec.jpg","text":"TemporaryFile(/tmp/multipartBody7623322585313247049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778574756,"filename":"image_06022025_14_54_38_9851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cdfbca9fcf3874bd2d95ea6cdddfccc2.jpg","text":"TemporaryFile(/tmp/multipartBody5648763012797834411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778574756,"filename":"image_06022025_14_54_29_9830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17318c9aa99002fbe894fe8a1a9196fe.jpg","text":"TemporaryFile(/tmp/multipartBody4707960666950532988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778574756,"filename":"image_06022025_14_54_48_9833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/43752fc03fec817748ed2c6dcc48ddd0.jpg","text":"TemporaryFile(/tmp/multipartBody8174256734332500806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778574756,"filename":"image_06022025_14_55_19_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338122962","file1":"1338122959","file0":"1338122954","file4":"1338122970","file5":"1338122972","file3":"1338122966"},"map_files_photo_id_array":[{"photo_id":"1338122972","filename":"file5"},{"photo_id":"1338122962","filename":"file2"},{"photo_id":"1338122970","filename":"file4"},{"photo_id":"1338122959","filename":"file1"},{"photo_id":"1338122954","filename":"file0"},{"photo_id":"1338122966","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338122962":["hashtag1","hashtag2"]},{"1338122959":["hashtag1","hashtag2"]},{"1338122970":["hashtag1","hashtag2"]},{"1338122972":["hashtag1","hashtag2"]},{"1338122966":["hashtag1","hashtag2"]},{"1338122954":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338122962, 1338122959, 1338122970, 1338122972, 1338122966, 1338122954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.734761238098145 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:49:32.468921
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_19_9840.jpg', 0), ('/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_09_10844.jpg', 0), ('/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_58_9833.jpg', 0), ('/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_48_9845.jpg', 0), ('/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_38_9851.jpg', 0), ('/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_28_9848.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_19_9840.jpg', '/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_09_10844.jpg', '/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_58_9833.jpg', '/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_48_9845.jpg', '/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_38_9851.jpg', '/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_28_9848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_19_9840.jpg
/home/nano/Desktop/images/06022025/14/54/image_06022025_14_54_09_10844.jpg
/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_58_9833.jpg
/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_48_9845.jpg
/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_38_9851.jpg
/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_28_9848.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338123042","1338123009","1338123018","1338123038","1338123029","1338123014"],"photo_ids_order":["1338123009","1338123014","1338123018","1338123029","1338123038","1338123042"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0214da0b4f99dc4d42abefa165acff80.jpg","text":"TemporaryFile(/tmp/multipartBody7636574320217296024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778634521,"filename":"image_06022025_14_53_28_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3bbd98836af0d934cebc51f79f4162b3.jpg","text":"TemporaryFile(/tmp/multipartBody1708475056611994831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778634521,"filename":"image_06022025_14_54_19_9840.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58fcc97b069dc3018c06de9f066cc93d.jpg","text":"TemporaryFile(/tmp/multipartBody6940462545434646326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778634521,"filename":"image_06022025_14_53_58_9833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e750424d07d05c8d58be9e45a49dadb4.jpg","text":"TemporaryFile(/tmp/multipartBody6322203555769278862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778634521,"filename":"image_06022025_14_53_38_9851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ec5b551dc0a6f335ea0b2f89553d650.jpg","text":"TemporaryFile(/tmp/multipartBody5863695073904338242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778634521,"filename":"image_06022025_14_53_48_9845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bd0e6b6f7f42f917045586569f61c971.jpg","text":"TemporaryFile(/tmp/multipartBody8722460053462586546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778634521,"filename":"image_06022025_14_54_09_10844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338123018","file1":"1338123014","file0":"1338123009","file4":"1338123038","file5":"1338123042","file3":"1338123029"},"map_files_photo_id_array":[{"photo_id":"1338123042","filename":"file5"},{"photo_id":"1338123018","filename":"file2"},{"photo_id":"1338123038","filename":"file4"},{"photo_id":"1338123014","filename":"file1"},{"photo_id":"1338123009","filename":"file0"},{"photo_id":"1338123029","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338123042":["hashtag1","hashtag2"]},{"1338123009":["hashtag1","hashtag2"]},{"1338123018":["hashtag1","hashtag2"]},{"1338123038":["hashtag1","hashtag2"]},{"1338123029":["hashtag1","hashtag2"]},{"1338123014":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338123042, 1338123009, 1338123018, 1338123038, 1338123029, 1338123014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.555150747299194 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:50:32.601973
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_19_9848.jpg', 0), ('/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_09_9834.jpg', 0), ('/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_59_10859.jpg', 0), ('/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_48_9848.jpg', 0), ('/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_38_9834.jpg', 0), ('/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_28_9845.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_19_9848.jpg', '/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_09_9834.jpg', '/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_59_10859.jpg', '/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_48_9848.jpg', '/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_38_9834.jpg', '/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_28_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_19_9848.jpg
/home/nano/Desktop/images/06022025/14/53/image_06022025_14_53_09_9834.jpg
/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_59_10859.jpg
/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_48_9848.jpg
/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_38_9834.jpg
/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_28_9845.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338123112","1338123106","1338123144","1338123120","1338123138","1338123116"],"photo_ids_order":["1338123106","1338123112","1338123116","1338123120","1338123138","1338123144"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f16e574d7e8287524a475834b08e2e95.jpg","text":"TemporaryFile(/tmp/multipartBody7355822054387810616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778694402,"filename":"image_06022025_14_53_09_9834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13c5074ad634d96a1f93245e60e29dc1.jpg","text":"TemporaryFile(/tmp/multipartBody4850208122438358443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778694402,"filename":"image_06022025_14_53_19_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de4668805f89d06df7046b3b8fa269d9.jpg","text":"TemporaryFile(/tmp/multipartBody4988660839822853857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778694402,"filename":"image_06022025_14_52_28_9845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/988f58448165cf2df3caae70139e0903.jpg","text":"TemporaryFile(/tmp/multipartBody3124975015113768194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778694402,"filename":"image_06022025_14_52_48_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a25f61f0f83b6b08913c5b18cbb6f3c.jpg","text":"TemporaryFile(/tmp/multipartBody2916006688366015027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778694402,"filename":"image_06022025_14_52_38_9834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a6ebec8017c95e25202511ed840d3508.jpg","text":"TemporaryFile(/tmp/multipartBody7072884409528632111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778694402,"filename":"image_06022025_14_52_59_10859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338123116","file1":"1338123112","file0":"1338123106","file4":"1338123138","file5":"1338123144","file3":"1338123120"},"map_files_photo_id_array":[{"photo_id":"1338123144","filename":"file5"},{"photo_id":"1338123116","filename":"file2"},{"photo_id":"1338123138","filename":"file4"},{"photo_id":"1338123112","filename":"file1"},{"photo_id":"1338123106","filename":"file0"},{"photo_id":"1338123120","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338123112":["hashtag1","hashtag2"]},{"1338123106":["hashtag1","hashtag2"]},{"1338123144":["hashtag1","hashtag2"]},{"1338123120":["hashtag1","hashtag2"]},{"1338123138":["hashtag1","hashtag2"]},{"1338123116":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338123112, 1338123106, 1338123144, 1338123120, 1338123138, 1338123116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08207583427429 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:51:32.764717
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_19_9823.jpg', 0), ('/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_09_9869.jpg', 0), ('/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_59_10850.jpg', 0), ('/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_48_9830.jpg', 0), ('/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_38_9934.jpg', 0), ('/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_28_9894.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_19_9823.jpg', '/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_09_9869.jpg', '/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_59_10850.jpg', '/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_48_9830.jpg', '/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_38_9934.jpg', '/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_28_9894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_19_9823.jpg
/home/nano/Desktop/images/06022025/14/52/image_06022025_14_52_09_9869.jpg
/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_59_10850.jpg
/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_48_9830.jpg
/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_38_9934.jpg
/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_28_9894.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338123177","1338123162","1338123174","1338123179","1338123170","1338123166"],"photo_ids_order":["1338123162","1338123166","1338123170","1338123174","1338123177","1338123179"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab2341b6500cb4305620d812ec560e40.jpg","text":"TemporaryFile(/tmp/multipartBody2386068040919803708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778755524,"filename":"image_06022025_14_51_38_9934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3980fb0f6beea89423994a71e7a6632.jpg","text":"TemporaryFile(/tmp/multipartBody6710612889828846851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778755524,"filename":"image_06022025_14_52_19_9823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7fe883edb1453c16f76659bbc3d5a58b.jpg","text":"TemporaryFile(/tmp/multipartBody4149640601764479980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778755524,"filename":"image_06022025_14_51_48_9830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a52a63d8fa24ee311b642cf6efa1362.jpg","text":"TemporaryFile(/tmp/multipartBody7525572935810155475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778755524,"filename":"image_06022025_14_51_28_9894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d09c99abc83893f13a6a57a959835d4.jpg","text":"TemporaryFile(/tmp/multipartBody1687949739463404152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778755524,"filename":"image_06022025_14_51_59_10850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/83f14ac077c50d4e2793f3a7f143313c.jpg","text":"TemporaryFile(/tmp/multipartBody8918071067265992144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778755524,"filename":"image_06022025_14_52_09_9869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338123170","file1":"1338123166","file0":"1338123162","file4":"1338123177","file5":"1338123179","file3":"1338123174"},"map_files_photo_id_array":[{"photo_id":"1338123179","filename":"file5"},{"photo_id":"1338123170","filename":"file2"},{"photo_id":"1338123177","filename":"file4"},{"photo_id":"1338123166","filename":"file1"},{"photo_id":"1338123162","filename":"file0"},{"photo_id":"1338123174","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338123177":["hashtag1","hashtag2"]},{"1338123162":["hashtag1","hashtag2"]},{"1338123174":["hashtag1","hashtag2"]},{"1338123179":["hashtag1","hashtag2"]},{"1338123170":["hashtag1","hashtag2"]},{"1338123166":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338123177, 1338123162, 1338123174, 1338123179, 1338123170, 1338123166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.450557708740234 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:52:31.956573
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_18_9915.jpg', 0), ('/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_08_9930.jpg', 0), ('/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_58_9986.jpg', 0), ('/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_48_9990.jpg', 0), ('/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_39_10015.jpg', 0), ('/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_28_9916.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_18_9915.jpg', '/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_08_9930.jpg', '/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_58_9986.jpg', '/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_48_9990.jpg', '/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_39_10015.jpg', '/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_28_9916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_18_9915.jpg
/home/nano/Desktop/images/06022025/14/51/image_06022025_14_51_08_9930.jpg
/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_58_9986.jpg
/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_48_9990.jpg
/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_39_10015.jpg
/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_28_9916.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338123235","1338123205","1338123237","1338123224","1338123233","1338123227"],"photo_ids_order":["1338123205","1338123224","1338123227","1338123233","1338123235","1338123237"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/27c3bee687d14e0f40b5442990d2452b.jpg","text":"TemporaryFile(/tmp/multipartBody3121416133117077941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778814688,"filename":"image_06022025_14_50_39_10015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2884e5e52ee2192b119bc9f649d3e3d3.jpg","text":"TemporaryFile(/tmp/multipartBody7251964605326491199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778814688,"filename":"image_06022025_14_51_18_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6236266b37fdf270c0f7dd79f0228a71.jpg","text":"TemporaryFile(/tmp/multipartBody5469820630276310063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778814688,"filename":"image_06022025_14_50_28_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8e93d2b7f9a6b0f3991fe542c4598f1.jpg","text":"TemporaryFile(/tmp/multipartBody673075762432326511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778814688,"filename":"image_06022025_14_51_08_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86e3cb906dbc622fd46996a5b28f2e5a.jpg","text":"TemporaryFile(/tmp/multipartBody174799109779377036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778814688,"filename":"image_06022025_14_50_48_9990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/295bfb5b50de528a7f71ae6ce0e07740.jpg","text":"TemporaryFile(/tmp/multipartBody2846816283645973091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778814688,"filename":"image_06022025_14_50_58_9986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338123227","file1":"1338123224","file0":"1338123205","file4":"1338123235","file5":"1338123237","file3":"1338123233"},"map_files_photo_id_array":[{"photo_id":"1338123237","filename":"file5"},{"photo_id":"1338123227","filename":"file2"},{"photo_id":"1338123235","filename":"file4"},{"photo_id":"1338123224","filename":"file1"},{"photo_id":"1338123205","filename":"file0"},{"photo_id":"1338123233","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338123235":["hashtag1","hashtag2"]},{"1338123205":["hashtag1","hashtag2"]},{"1338123237":["hashtag1","hashtag2"]},{"1338123224":["hashtag1","hashtag2"]},{"1338123233":["hashtag1","hashtag2"]},{"1338123227":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338123235, 1338123205, 1338123237, 1338123224, 1338123233, 1338123227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50410556793213 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:53:32.102047
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_19_9777.jpg', 0), ('/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_09_10688.jpg', 0), ('/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_58_9666.jpg', 0), ('/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_48_9684.jpg', 0), ('/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_39_10687.jpg', 0), ('/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_28_9667.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_19_9777.jpg', '/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_09_10688.jpg', '/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_58_9666.jpg', '/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_48_9684.jpg', '/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_39_10687.jpg', '/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_28_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_19_9777.jpg
/home/nano/Desktop/images/06022025/14/50/image_06022025_14_50_09_10688.jpg
/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_58_9666.jpg
/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_48_9684.jpg
/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_39_10687.jpg
/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_28_9667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338123253","1338123256","1338123261","1338123258","1338123260","1338123263"],"photo_ids_order":["1338123253","1338123256","1338123258","1338123260","1338123261","1338123263"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d74cf49548ce6b449fa691ec69eb0b51.jpg","text":"TemporaryFile(/tmp/multipartBody3984063662417836475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778874021,"filename":"image_06022025_14_50_19_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2afd4ead3102ed51ba11fccbcafa994b.jpg","text":"TemporaryFile(/tmp/multipartBody1154924611576519133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778874021,"filename":"image_06022025_14_50_09_10688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f9b4c04d7ccd5fafa5dd07cf7a33e879.jpg","text":"TemporaryFile(/tmp/multipartBody1162671104221460663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778874021,"filename":"image_06022025_14_49_39_10687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a7c3fc2fd4aff5ccfb40dce106303986.jpg","text":"TemporaryFile(/tmp/multipartBody1342200299876798354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778874021,"filename":"image_06022025_14_49_58_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b338a643e1621fdd08ac8aab2b9cf15.jpg","text":"TemporaryFile(/tmp/multipartBody8982931724486145501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778874021,"filename":"image_06022025_14_49_48_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e585fab89ca3b8db08a5a48b2e97afb4.jpg","text":"TemporaryFile(/tmp/multipartBody2950513368580647234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778874021,"filename":"image_06022025_14_49_28_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338123258","file1":"1338123256","file0":"1338123253","file4":"1338123261","file5":"1338123263","file3":"1338123260"},"map_files_photo_id_array":[{"photo_id":"1338123263","filename":"file5"},{"photo_id":"1338123258","filename":"file2"},{"photo_id":"1338123261","filename":"file4"},{"photo_id":"1338123256","filename":"file1"},{"photo_id":"1338123253","filename":"file0"},{"photo_id":"1338123260","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338123253":["hashtag1","hashtag2"]},{"1338123256":["hashtag1","hashtag2"]},{"1338123261":["hashtag1","hashtag2"]},{"1338123258":["hashtag1","hashtag2"]},{"1338123260":["hashtag1","hashtag2"]},{"1338123263":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338123253, 1338123256, 1338123261, 1338123258, 1338123260, 1338123263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.90631651878357 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:54:32.273518
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_18_9671.jpg', 0), ('/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_09_10699.jpg', 0), ('/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_58_9661.jpg', 0), ('/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_48_9640.jpg', 0), ('/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_39_10678.jpg', 0), ('/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_28_9683.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_18_9671.jpg', '/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_09_10699.jpg', '/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_58_9661.jpg', '/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_48_9640.jpg', '/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_39_10678.jpg', '/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_28_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_18_9671.jpg
/home/nano/Desktop/images/06022025/14/49/image_06022025_14_49_09_10699.jpg
/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_58_9661.jpg
/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_48_9640.jpg
/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_39_10678.jpg
/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_28_9683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338123294","1338123288","1338123279","1338123296","1338123298","1338123283"],"photo_ids_order":["1338123279","1338123283","1338123288","1338123294","1338123296","1338123298"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c0ad73ef91693d1dd744f3afc64f617.jpg","text":"TemporaryFile(/tmp/multipartBody8322543596397590605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778934261,"filename":"image_06022025_14_48_48_9640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f369c1a1635c494dca8a861aa242d602.jpg","text":"TemporaryFile(/tmp/multipartBody7620190187396715318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778934261,"filename":"image_06022025_14_48_58_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c65990471a2f8e12cbab07e74201f4eb.jpg","text":"TemporaryFile(/tmp/multipartBody3267163088995932917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778934261,"filename":"image_06022025_14_49_18_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e525e9c06b6e31b66fb179ab1af7d8c1.jpg","text":"TemporaryFile(/tmp/multipartBody8871160426844479333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778934261,"filename":"image_06022025_14_48_39_10678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9fc50c7d64092d01f3cde777294a49c2.jpg","text":"TemporaryFile(/tmp/multipartBody1359430079336932638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778934261,"filename":"image_06022025_14_48_28_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c292e09a7fb76cd6d809da38f3eba534.jpg","text":"TemporaryFile(/tmp/multipartBody8320594760638084480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778934261,"filename":"image_06022025_14_49_09_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338123288","file1":"1338123283","file0":"1338123279","file4":"1338123296","file5":"1338123298","file3":"1338123294"},"map_files_photo_id_array":[{"photo_id":"1338123298","filename":"file5"},{"photo_id":"1338123288","filename":"file2"},{"photo_id":"1338123296","filename":"file4"},{"photo_id":"1338123283","filename":"file1"},{"photo_id":"1338123279","filename":"file0"},{"photo_id":"1338123294","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338123294":["hashtag1","hashtag2"]},{"1338123288":["hashtag1","hashtag2"]},{"1338123279":["hashtag1","hashtag2"]},{"1338123296":["hashtag1","hashtag2"]},{"1338123298":["hashtag1","hashtag2"]},{"1338123283":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338123294, 1338123288, 1338123279, 1338123296, 1338123298, 1338123283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.118711948394775 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:55:32.523737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_18_9659.jpg', 0), ('/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_09_10662.jpg', 0), ('/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_58_9642.jpg', 0), ('/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_48_9648.jpg', 0), ('/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_39_10673.jpg', 0), ('/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_28_9663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_18_9659.jpg', '/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_09_10662.jpg', '/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_58_9642.jpg', '/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_48_9648.jpg', '/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_39_10673.jpg', '/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_28_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_18_9659.jpg
/home/nano/Desktop/images/06022025/14/48/image_06022025_14_48_09_10662.jpg
/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_58_9642.jpg
/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_48_9648.jpg
/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_39_10673.jpg
/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_28_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338123409","1338123400","1338123403","1338123406","1338123411","1338123413"],"photo_ids_order":["1338123400","1338123403","1338123406","1338123409","1338123411","1338123413"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5f39596b3240fc03520483eab95fda3.jpg","text":"TemporaryFile(/tmp/multipartBody2808506621505742864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778994399,"filename":"image_06022025_14_47_48_9648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f4d500b0b4f797427ba201f82ac04028.jpg","text":"TemporaryFile(/tmp/multipartBody7471769506972622231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778994399,"filename":"image_06022025_14_48_18_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/452aff2e2a36d6c945bed10d4098db6b.jpg","text":"TemporaryFile(/tmp/multipartBody1899944841579946291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778994399,"filename":"image_06022025_14_48_09_10662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8670e5572c9563132ea4fa84965a87d1.jpg","text":"TemporaryFile(/tmp/multipartBody4074189604205203131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778994399,"filename":"image_06022025_14_47_58_9642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b082e8ff5fa7031a28b4ab30be00b1f.jpg","text":"TemporaryFile(/tmp/multipartBody1958942296060364204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778994399,"filename":"image_06022025_14_47_39_10673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/494f847210c92c6536abc1548ae7935f.jpg","text":"TemporaryFile(/tmp/multipartBody8815194736602470240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739778994399,"filename":"image_06022025_14_47_28_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338123406","file1":"1338123403","file0":"1338123400","file4":"1338123411","file5":"1338123413","file3":"1338123409"},"map_files_photo_id_array":[{"photo_id":"1338123413","filename":"file5"},{"photo_id":"1338123406","filename":"file2"},{"photo_id":"1338123411","filename":"file4"},{"photo_id":"1338123403","filename":"file1"},{"photo_id":"1338123400","filename":"file0"},{"photo_id":"1338123409","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338123409":["hashtag1","hashtag2"]},{"1338123400":["hashtag1","hashtag2"]},{"1338123403":["hashtag1","hashtag2"]},{"1338123406":["hashtag1","hashtag2"]},{"1338123411":["hashtag1","hashtag2"]},{"1338123413":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338123409, 1338123400, 1338123403, 1338123406, 1338123411, 1338123413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.824193239212036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:56:32.693154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_18_9643.jpg', 0), ('/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_09_10647.jpg', 0), ('/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_58_9657.jpg', 0), ('/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_48_9663.jpg', 0), ('/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_39_10673.jpg', 0), ('/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_28_9680.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_18_9643.jpg', '/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_09_10647.jpg', '/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_58_9657.jpg', '/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_48_9663.jpg', '/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_39_10673.jpg', '/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_28_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_18_9643.jpg
/home/nano/Desktop/images/06022025/14/47/image_06022025_14_47_09_10647.jpg
/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_58_9657.jpg
/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_48_9663.jpg
/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_39_10673.jpg
/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_28_9680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338123453","1338123441","1338123444","1338123446","1338123455","1338123437"],"photo_ids_order":["1338123437","1338123441","1338123444","1338123446","1338123453","1338123455"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ecbaf6a54aaf0dc91da60afe93174802.jpg","text":"TemporaryFile(/tmp/multipartBody5978962509730222980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779054397,"filename":"image_06022025_14_46_39_10673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f6b745f3803086cb0b83d5a285e0cff.jpg","text":"TemporaryFile(/tmp/multipartBody2008035093361401400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779054397,"filename":"image_06022025_14_47_09_10647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c3f1877695b11e828eded6371a08110.jpg","text":"TemporaryFile(/tmp/multipartBody8666768720989216978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779054397,"filename":"image_06022025_14_46_58_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f8be913abe1d80cbc9005fa41d0c1c4.jpg","text":"TemporaryFile(/tmp/multipartBody6339759746252021846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779054397,"filename":"image_06022025_14_46_48_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/410a6c841e37283c86cfbe76ba9fee8d.jpg","text":"TemporaryFile(/tmp/multipartBody3973485401062662876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779054397,"filename":"image_06022025_14_46_28_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f07708476f62191be63affc55ea63660.jpg","text":"TemporaryFile(/tmp/multipartBody4878976688482534808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779054397,"filename":"image_06022025_14_47_18_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338123444","file1":"1338123441","file0":"1338123437","file4":"1338123453","file5":"1338123455","file3":"1338123446"},"map_files_photo_id_array":[{"photo_id":"1338123455","filename":"file5"},{"photo_id":"1338123444","filename":"file2"},{"photo_id":"1338123453","filename":"file4"},{"photo_id":"1338123441","filename":"file1"},{"photo_id":"1338123437","filename":"file0"},{"photo_id":"1338123446","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338123453":["hashtag1","hashtag2"]},{"1338123441":["hashtag1","hashtag2"]},{"1338123444":["hashtag1","hashtag2"]},{"1338123446":["hashtag1","hashtag2"]},{"1338123455":["hashtag1","hashtag2"]},{"1338123437":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338123453, 1338123441, 1338123444, 1338123446, 1338123455, 1338123437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.74031901359558 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:57:31.823486
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_18_9676.jpg', 0), ('/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_09_10712.jpg', 0), ('/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_58_9687.jpg', 0), ('/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_48_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_39_10678.jpg', 0), ('/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_28_9669.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_18_9676.jpg', '/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_09_10712.jpg', '/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_58_9687.jpg', '/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_48_9667.jpg', '/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_39_10678.jpg', '/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_28_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_18_9676.jpg
/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_09_10712.jpg
/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_58_9687.jpg
/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_48_9667.jpg
/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_39_10678.jpg
/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_28_9669.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 08:59:02.820310
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_18_9676.jpg', 0), ('/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_09_10712.jpg', 0), ('/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_58_9687.jpg', 0), ('/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_48_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_39_10678.jpg', 0), ('/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_28_9669.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_18_9676.jpg', '/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_09_10712.jpg', '/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_58_9687.jpg', '/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_48_9667.jpg', '/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_39_10678.jpg', '/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_28_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_18_9676.jpg
/home/nano/Desktop/images/06022025/14/46/image_06022025_14_46_09_10712.jpg
/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_58_9687.jpg
/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_48_9667.jpg
/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_39_10678.jpg
/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_28_9669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338123508","1338123523","1338123534","1338123516","1338123528","1338123503"],"photo_ids_order":["1338123503","1338123508","1338123516","1338123523","1338123528","1338123534"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ecaa5fcc244695619b8de90d18cad04.jpg","text":"TemporaryFile(/tmp/multipartBody2158529360707080912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779204643,"filename":"image_06022025_14_46_09_10712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/920d7abb18e789a39268545a91c297df.jpg","text":"TemporaryFile(/tmp/multipartBody2021483613874668015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779204643,"filename":"image_06022025_14_45_48_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6441f457806431beeecfd83561c03ae.jpg","text":"TemporaryFile(/tmp/multipartBody314140775938263987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779204643,"filename":"image_06022025_14_45_28_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/abcec02b938cfef96a98ec85abd2dab7.jpg","text":"TemporaryFile(/tmp/multipartBody8941683055618752639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779204643,"filename":"image_06022025_14_45_58_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/012166869541929c71837e93aa19e1e3.jpg","text":"TemporaryFile(/tmp/multipartBody7158216270134208530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779204643,"filename":"image_06022025_14_45_39_10678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c63bfc06f9f364a6071fcbecf739290c.jpg","text":"TemporaryFile(/tmp/multipartBody8180779420604952591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779204643,"filename":"image_06022025_14_46_18_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338123516","file1":"1338123508","file0":"1338123503","file4":"1338123528","file5":"1338123534","file3":"1338123523"},"map_files_photo_id_array":[{"photo_id":"1338123534","filename":"file5"},{"photo_id":"1338123516","filename":"file2"},{"photo_id":"1338123528","filename":"file4"},{"photo_id":"1338123508","filename":"file1"},{"photo_id":"1338123503","filename":"file0"},{"photo_id":"1338123523","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338123508":["hashtag1","hashtag2"]},{"1338123523":["hashtag1","hashtag2"]},{"1338123534":["hashtag1","hashtag2"]},{"1338123516":["hashtag1","hashtag2"]},{"1338123528":["hashtag1","hashtag2"]},{"1338123503":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338123508, 1338123523, 1338123534, 1338123516, 1338123528, 1338123503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.396605253219604 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:00:02.659345
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_18_9674.jpg', 0), ('/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_09_10670.jpg', 0), ('/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_58_9668.jpg', 0), ('/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_48_9672.jpg', 0), ('/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_39_10677.jpg', 0), ('/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_28_9648.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_18_9674.jpg', '/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_09_10670.jpg', '/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_58_9668.jpg', '/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_48_9672.jpg', '/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_39_10677.jpg', '/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_28_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_18_9674.jpg
/home/nano/Desktop/images/06022025/14/45/image_06022025_14_45_09_10670.jpg
/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_58_9668.jpg
/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_48_9672.jpg
/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_39_10677.jpg
/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_28_9648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338123571","1338123573","1338123567","1338123580","1338123583","1338123577"],"photo_ids_order":["1338123567","1338123571","1338123573","1338123577","1338123580","1338123583"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f6516f3d67a2fc98e3d02c2ee79c059.jpg","text":"TemporaryFile(/tmp/multipartBody7028496070114209341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779264409,"filename":"image_06022025_14_45_09_10670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad1570864a01695bd39dc2cbf0de8f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4317625941097950480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779264409,"filename":"image_06022025_14_44_58_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1610c50e0e7118390a2392d9c045077d.jpg","text":"TemporaryFile(/tmp/multipartBody8598960979893373642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779264409,"filename":"image_06022025_14_45_18_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a32f131c728b420510ce9de9d2060c6c.jpg","text":"TemporaryFile(/tmp/multipartBody9076904234450661025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779264409,"filename":"image_06022025_14_44_39_10677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2fd46c85f6df454de1830e00ec75fc34.jpg","text":"TemporaryFile(/tmp/multipartBody4594418726934075836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779264409,"filename":"image_06022025_14_44_28_9648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bad85a01760aa64880094e5d627f3b16.jpg","text":"TemporaryFile(/tmp/multipartBody3953217919990867090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779264409,"filename":"image_06022025_14_44_48_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338123573","file1":"1338123571","file0":"1338123567","file4":"1338123580","file5":"1338123583","file3":"1338123577"},"map_files_photo_id_array":[{"photo_id":"1338123583","filename":"file5"},{"photo_id":"1338123573","filename":"file2"},{"photo_id":"1338123580","filename":"file4"},{"photo_id":"1338123571","filename":"file1"},{"photo_id":"1338123567","filename":"file0"},{"photo_id":"1338123577","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338123571":["hashtag1","hashtag2"]},{"1338123573":["hashtag1","hashtag2"]},{"1338123567":["hashtag1","hashtag2"]},{"1338123580":["hashtag1","hashtag2"]},{"1338123583":["hashtag1","hashtag2"]},{"1338123577":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338123571, 1338123573, 1338123567, 1338123580, 1338123583, 1338123577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32817339897156 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:01:02.784247
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_18_9644.jpg', 0), ('/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_09_10692.jpg', 0), ('/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_58_9647.jpg', 0), ('/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_48_9661.jpg', 0), ('/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_39_10667.jpg', 0), ('/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_28_9672.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_18_9644.jpg', '/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_09_10692.jpg', '/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_58_9647.jpg', '/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_48_9661.jpg', '/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_39_10667.jpg', '/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_28_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_18_9644.jpg
/home/nano/Desktop/images/06022025/14/44/image_06022025_14_44_09_10692.jpg
/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_58_9647.jpg
/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_48_9661.jpg
/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_39_10667.jpg
/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_28_9672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338123634","1338123642","1338123645","1338123624","1338123626","1338123640"],"photo_ids_order":["1338123624","1338123626","1338123634","1338123640","1338123642","1338123645"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b338568602a46b7e40016c9724eb0236.jpg","text":"TemporaryFile(/tmp/multipartBody7410110078203282688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779326121,"filename":"image_06022025_14_43_58_9647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8fbb3addfa1ad0ed256c45f902594b44.jpg","text":"TemporaryFile(/tmp/multipartBody6098637121379033563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779326121,"filename":"image_06022025_14_43_39_10667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7eaebe02eaba3f66874896a708749103.jpg","text":"TemporaryFile(/tmp/multipartBody5774206429065499711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779326121,"filename":"image_06022025_14_43_28_9672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8baaf258bdba56cb7dd9e531269e1979.jpg","text":"TemporaryFile(/tmp/multipartBody1741945817665256488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779326121,"filename":"image_06022025_14_44_18_9644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/247eb32fe2346d6a1b0f059d2d431e66.jpg","text":"TemporaryFile(/tmp/multipartBody6743641664943913315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779326121,"filename":"image_06022025_14_44_09_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bca490f5cf6c2c10870ba015cf010512.jpg","text":"TemporaryFile(/tmp/multipartBody1739112075009651067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779326121,"filename":"image_06022025_14_43_48_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338123634","file1":"1338123626","file0":"1338123624","file4":"1338123642","file5":"1338123645","file3":"1338123640"},"map_files_photo_id_array":[{"photo_id":"1338123645","filename":"file5"},{"photo_id":"1338123634","filename":"file2"},{"photo_id":"1338123642","filename":"file4"},{"photo_id":"1338123626","filename":"file1"},{"photo_id":"1338123624","filename":"file0"},{"photo_id":"1338123640","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338123634":["hashtag1","hashtag2"]},{"1338123642":["hashtag1","hashtag2"]},{"1338123645":["hashtag1","hashtag2"]},{"1338123624":["hashtag1","hashtag2"]},{"1338123626":["hashtag1","hashtag2"]},{"1338123640":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338123634, 1338123642, 1338123645, 1338123624, 1338123626, 1338123640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43586087226868 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:02:03.081847
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_18_9670.jpg', 0), ('/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_09_10679.jpg', 0), ('/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_58_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_48_9650.jpg', 0), ('/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_39_10692.jpg', 0), ('/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_28_9667.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_18_9670.jpg', '/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_09_10679.jpg', '/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_58_9660.jpg', '/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_48_9650.jpg', '/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_39_10692.jpg', '/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_28_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_18_9670.jpg
/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_09_10679.jpg
/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_58_9660.jpg
/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_48_9650.jpg
/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_39_10692.jpg
/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_28_9667.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.369480848312378 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:02:32.543796
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_18_9670.jpg', 0), ('/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_09_10679.jpg', 0), ('/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_58_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_48_9650.jpg', 0), ('/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_39_10692.jpg', 0), ('/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_28_9667.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_18_9670.jpg', '/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_09_10679.jpg', '/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_58_9660.jpg', '/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_48_9650.jpg', '/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_39_10692.jpg', '/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_28_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_18_9670.jpg
/home/nano/Desktop/images/06022025/14/43/image_06022025_14_43_09_10679.jpg
/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_58_9660.jpg
/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_48_9650.jpg
/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_39_10692.jpg
/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_28_9667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338123679","1338123690","1338123684","1338123687","1338123692","1338123682"],"photo_ids_order":["1338123679","1338123682","1338123684","1338123687","1338123690","1338123692"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d743ba18f86f6348431405bf755235bb.jpg","text":"TemporaryFile(/tmp/multipartBody2205601891268488622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779414427,"filename":"image_06022025_14_43_18_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/525f1cb4d9e164a1453a10534edc3c7b.jpg","text":"TemporaryFile(/tmp/multipartBody6785600056565059700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779414427,"filename":"image_06022025_14_42_39_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d908b8df9ce759fe8aeb27bc4e875c1.jpg","text":"TemporaryFile(/tmp/multipartBody3709204656085953063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779414427,"filename":"image_06022025_14_42_58_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5cd20a41e5bafad73d92ce7eed09baa7.jpg","text":"TemporaryFile(/tmp/multipartBody6723317364888526082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779414427,"filename":"image_06022025_14_42_48_9650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a1f6c3b7a85962bdfb8ef69efcedf634.jpg","text":"TemporaryFile(/tmp/multipartBody2726557115399402634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779414427,"filename":"image_06022025_14_42_28_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d23a5e2cc972e2ee8fbd7c79544a305.jpg","text":"TemporaryFile(/tmp/multipartBody1692457341194670514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779414427,"filename":"image_06022025_14_43_09_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338123684","file1":"1338123682","file0":"1338123679","file4":"1338123690","file5":"1338123692","file3":"1338123687"},"map_files_photo_id_array":[{"photo_id":"1338123692","filename":"file5"},{"photo_id":"1338123684","filename":"file2"},{"photo_id":"1338123690","filename":"file4"},{"photo_id":"1338123682","filename":"file1"},{"photo_id":"1338123679","filename":"file0"},{"photo_id":"1338123687","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338123679":["hashtag1","hashtag2"]},{"1338123690":["hashtag1","hashtag2"]},{"1338123684":["hashtag1","hashtag2"]},{"1338123687":["hashtag1","hashtag2"]},{"1338123692":["hashtag1","hashtag2"]},{"1338123682":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338123679, 1338123690, 1338123684, 1338123687, 1338123692, 1338123682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2312433719635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:03:32.660756
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_18_9662.jpg', 0), ('/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_09_10654.jpg', 0), ('/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_58_9645.jpg', 0), ('/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_48_9669.jpg', 0), ('/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_39_10690.jpg', 0), ('/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_28_9663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_18_9662.jpg', '/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_09_10654.jpg', '/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_58_9645.jpg', '/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_48_9669.jpg', '/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_39_10690.jpg', '/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_28_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_18_9662.jpg
/home/nano/Desktop/images/06022025/14/42/image_06022025_14_42_09_10654.jpg
/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_58_9645.jpg
/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_48_9669.jpg
/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_39_10690.jpg
/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_28_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338124482","1338124281","1338124461","1338124278","1338124274","1338124456"],"photo_ids_order":["1338124274","1338124278","1338124281","1338124456","1338124461","1338124482"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8815b9f4a6737afde054af943a8e6f5.jpg","text":"TemporaryFile(/tmp/multipartBody4531000909812834012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779477346,"filename":"image_06022025_14_41_28_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b151be6edaffb482c8f7fc34bbab25e.jpg","text":"TemporaryFile(/tmp/multipartBody4650424500115329598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779477346,"filename":"image_06022025_14_41_58_9645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e1c0486443843621f436a2e4dcc63479.jpg","text":"TemporaryFile(/tmp/multipartBody7884722164957836300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779477346,"filename":"image_06022025_14_41_39_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d40ba4c65ac69997654d4a588298b55.jpg","text":"TemporaryFile(/tmp/multipartBody4841645732498045538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779477346,"filename":"image_06022025_14_42_09_10654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe46efd1ad6908d37c255c43c49a7190.jpg","text":"TemporaryFile(/tmp/multipartBody5386130631148005546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779477346,"filename":"image_06022025_14_42_18_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aec5e35cdfd3d29cde71c88e27a425f3.jpg","text":"TemporaryFile(/tmp/multipartBody1038562692119189943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779477346,"filename":"image_06022025_14_41_48_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338124281","file1":"1338124278","file0":"1338124274","file4":"1338124461","file5":"1338124482","file3":"1338124456"},"map_files_photo_id_array":[{"photo_id":"1338124482","filename":"file5"},{"photo_id":"1338124281","filename":"file2"},{"photo_id":"1338124461","filename":"file4"},{"photo_id":"1338124278","filename":"file1"},{"photo_id":"1338124274","filename":"file0"},{"photo_id":"1338124456","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338124482":["hashtag1","hashtag2"]},{"1338124281":["hashtag1","hashtag2"]},{"1338124461":["hashtag1","hashtag2"]},{"1338124278":["hashtag1","hashtag2"]},{"1338124274":["hashtag1","hashtag2"]},{"1338124456":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338124482, 1338124281, 1338124461, 1338124278, 1338124274, 1338124456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39036440849304 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:04:31.808228
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_18_9675.jpg', 0), ('/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_09_10663.jpg', 0), ('/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_58_9723.jpg', 0), ('/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_48_9673.jpg', 0), ('/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_39_9713.jpg', 0), ('/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_29_10701.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_18_9675.jpg', '/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_09_10663.jpg', '/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_58_9723.jpg', '/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_48_9673.jpg', '/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_39_9713.jpg', '/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_29_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_18_9675.jpg
/home/nano/Desktop/images/06022025/14/41/image_06022025_14_41_09_10663.jpg
/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_58_9723.jpg
/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_48_9673.jpg
/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_39_9713.jpg
/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_29_10701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338124886","1338124565","1338124544","1338124619","1338124792","1338124702"],"photo_ids_order":["1338124544","1338124565","1338124619","1338124702","1338124792","1338124886"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6fc70a2c11288fe13ce3ea176645929d.jpg","text":"TemporaryFile(/tmp/multipartBody4025581614363164783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779536421,"filename":"image_06022025_14_40_29_10701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/42918eb777f0af2a43dac049f46838fe.jpg","text":"TemporaryFile(/tmp/multipartBody1081377072222967711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779536421,"filename":"image_06022025_14_41_09_10663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cc259c056b11ab36ba6af0c13f58b52.jpg","text":"TemporaryFile(/tmp/multipartBody4268151221707039766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779536421,"filename":"image_06022025_14_41_18_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3bb6f099d257f48643d1fc10f7689b5d.jpg","text":"TemporaryFile(/tmp/multipartBody4418185087134618535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779536421,"filename":"image_06022025_14_40_58_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d7cce6836db8e17a4a09e193299216e.jpg","text":"TemporaryFile(/tmp/multipartBody1236245539940316278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779536421,"filename":"image_06022025_14_40_39_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e90d5340535ff4c02d0dcbb782f7ad5c.jpg","text":"TemporaryFile(/tmp/multipartBody7518688755878715457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779536421,"filename":"image_06022025_14_40_48_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338124619","file1":"1338124565","file0":"1338124544","file4":"1338124792","file5":"1338124886","file3":"1338124702"},"map_files_photo_id_array":[{"photo_id":"1338124886","filename":"file5"},{"photo_id":"1338124619","filename":"file2"},{"photo_id":"1338124792","filename":"file4"},{"photo_id":"1338124565","filename":"file1"},{"photo_id":"1338124544","filename":"file0"},{"photo_id":"1338124702","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338124886":["hashtag1","hashtag2"]},{"1338124565":["hashtag1","hashtag2"]},{"1338124544":["hashtag1","hashtag2"]},{"1338124619":["hashtag1","hashtag2"]},{"1338124792":["hashtag1","hashtag2"]},{"1338124702":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338124886, 1338124565, 1338124544, 1338124619, 1338124792, 1338124702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97226071357727 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:05:31.953403
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_18_9754.jpg', 0), ('/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_08_9761.jpg', 0), ('/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_59_9769.jpg', 0), ('/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_49_10677.jpg', 0), ('/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_38_9780.jpg', 0), ('/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_28_9780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_18_9754.jpg', '/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_08_9761.jpg', '/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_59_9769.jpg', '/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_49_10677.jpg', '/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_38_9780.jpg', '/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_28_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_18_9754.jpg
/home/nano/Desktop/images/06022025/14/40/image_06022025_14_40_08_9761.jpg
/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_59_9769.jpg
/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_49_10677.jpg
/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_38_9780.jpg
/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_28_9780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338125390","1338125197","1338125245","1338125388","1338125196","1338125343"],"photo_ids_order":["1338125196","1338125197","1338125245","1338125343","1338125388","1338125390"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bd8df707d2ea84c6dfef914366b11d9c.jpg","text":"TemporaryFile(/tmp/multipartBody2068777275570109676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779598277,"filename":"image_06022025_14_39_28_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8dde6446e025b2433762d5d13c313f5.jpg","text":"TemporaryFile(/tmp/multipartBody3229116597124080362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779598277,"filename":"image_06022025_14_40_08_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/166ba7e601b275b60dde6ca1e9daea0f.jpg","text":"TemporaryFile(/tmp/multipartBody8546234899153362630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779598277,"filename":"image_06022025_14_39_59_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c47390f8b17da1a616fb832ba8b439b7.jpg","text":"TemporaryFile(/tmp/multipartBody2150608346292079942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779598277,"filename":"image_06022025_14_39_38_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79b944a623616736e3ad57a8a8c42ce9.jpg","text":"TemporaryFile(/tmp/multipartBody5157342603417685333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779598277,"filename":"image_06022025_14_40_18_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c62baced9c5fa8447c5559534df0ff41.jpg","text":"TemporaryFile(/tmp/multipartBody2208304809629201560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779598277,"filename":"image_06022025_14_39_49_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338125245","file1":"1338125197","file0":"1338125196","file4":"1338125388","file5":"1338125390","file3":"1338125343"},"map_files_photo_id_array":[{"photo_id":"1338125390","filename":"file5"},{"photo_id":"1338125245","filename":"file2"},{"photo_id":"1338125388","filename":"file4"},{"photo_id":"1338125197","filename":"file1"},{"photo_id":"1338125196","filename":"file0"},{"photo_id":"1338125343","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338125390":["hashtag1","hashtag2"]},{"1338125197":["hashtag1","hashtag2"]},{"1338125245":["hashtag1","hashtag2"]},{"1338125388":["hashtag1","hashtag2"]},{"1338125196":["hashtag1","hashtag2"]},{"1338125343":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338125390, 1338125197, 1338125245, 1338125388, 1338125196, 1338125343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73693513870239 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:06:32.099298
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_19_10692.jpg', 0), ('/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_08_9818.jpg', 0), ('/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_58_9725.jpg', 0), ('/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_48_9799.jpg', 0), ('/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_39_9805.jpg', 0), ('/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_29_10820.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_19_10692.jpg', '/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_08_9818.jpg', '/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_58_9725.jpg', '/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_48_9799.jpg', '/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_39_9805.jpg', '/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_29_10820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_19_10692.jpg
/home/nano/Desktop/images/06022025/14/39/image_06022025_14_39_08_9818.jpg
/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_58_9725.jpg
/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_48_9799.jpg
/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_39_9805.jpg
/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_29_10820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338125498","1338125492","1338125495","1338125489","1338125501","1338125500"],"photo_ids_order":["1338125489","1338125492","1338125495","1338125498","1338125500","1338125501"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/378ba9311435871adf3fd6909700eacc.jpg","text":"TemporaryFile(/tmp/multipartBody5168658161130229866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779658232,"filename":"image_06022025_14_38_48_9799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79c69e6e02d9ee46781b8df5e04f53d0.jpg","text":"TemporaryFile(/tmp/multipartBody2779556958676799679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779658232,"filename":"image_06022025_14_39_08_9818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3dea0e7e7da2433f89ac5572c3ea796a.jpg","text":"TemporaryFile(/tmp/multipartBody2850662288085970513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779658232,"filename":"image_06022025_14_38_58_9725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/474d3ae744ba2e61ee7dd245b5e8f62d.jpg","text":"TemporaryFile(/tmp/multipartBody6590294811777118492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779658232,"filename":"image_06022025_14_39_19_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce775bf3c50178347e4f36047984699c.jpg","text":"TemporaryFile(/tmp/multipartBody7434089199547697018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779658232,"filename":"image_06022025_14_38_29_10820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3d8c82d5ec337ebf12c3ef00dea0734.jpg","text":"TemporaryFile(/tmp/multipartBody8513096664920818877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779658232,"filename":"image_06022025_14_38_39_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338125495","file1":"1338125492","file0":"1338125489","file4":"1338125500","file5":"1338125501","file3":"1338125498"},"map_files_photo_id_array":[{"photo_id":"1338125501","filename":"file5"},{"photo_id":"1338125495","filename":"file2"},{"photo_id":"1338125500","filename":"file4"},{"photo_id":"1338125492","filename":"file1"},{"photo_id":"1338125489","filename":"file0"},{"photo_id":"1338125498","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338125498":["hashtag1","hashtag2"]},{"1338125492":["hashtag1","hashtag2"]},{"1338125495":["hashtag1","hashtag2"]},{"1338125489":["hashtag1","hashtag2"]},{"1338125501":["hashtag1","hashtag2"]},{"1338125500":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338125498, 1338125492, 1338125495, 1338125489, 1338125501, 1338125500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9055757522583 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:07:32.264664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_18_9815.jpg', 0), ('/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_08_9716.jpg', 0), ('/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_58_9790.jpg', 0), ('/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_49_10706.jpg', 0), ('/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_38_9797.jpg', 0), ('/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_28_9691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_18_9815.jpg', '/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_08_9716.jpg', '/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_58_9790.jpg', '/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_49_10706.jpg', '/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_38_9797.jpg', '/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_28_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_18_9815.jpg
/home/nano/Desktop/images/06022025/14/38/image_06022025_14_38_08_9716.jpg
/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_58_9790.jpg
/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_49_10706.jpg
/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_38_9797.jpg
/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_28_9691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338125522","1338125516","1338125525","1338125519","1338125528","1338125527"],"photo_ids_order":["1338125516","1338125519","1338125522","1338125525","1338125527","1338125528"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1da86a6d5fd197e40880fc298ff431b7.jpg","text":"TemporaryFile(/tmp/multipartBody2494873545055181224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779718392,"filename":"image_06022025_14_37_58_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/123be03e0abb5ce08f6c2a74c2333db9.jpg","text":"TemporaryFile(/tmp/multipartBody6613481513382487062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779718392,"filename":"image_06022025_14_38_18_9815.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4203b5a74a2ead899ea82f0d53ee5a25.jpg","text":"TemporaryFile(/tmp/multipartBody3402538660007008066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779718392,"filename":"image_06022025_14_37_49_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/325099b73222c5550e681113b19710f8.jpg","text":"TemporaryFile(/tmp/multipartBody7601871121542690322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779718392,"filename":"image_06022025_14_38_08_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3cba2a7583ab3694859a2aa982c56fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1915438034178743462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779718392,"filename":"image_06022025_14_37_28_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa64fb53c5b1c4174daee6141238f0d9.jpg","text":"TemporaryFile(/tmp/multipartBody9145268519554052167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779718392,"filename":"image_06022025_14_37_38_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338125522","file1":"1338125519","file0":"1338125516","file4":"1338125527","file5":"1338125528","file3":"1338125525"},"map_files_photo_id_array":[{"photo_id":"1338125528","filename":"file5"},{"photo_id":"1338125522","filename":"file2"},{"photo_id":"1338125527","filename":"file4"},{"photo_id":"1338125519","filename":"file1"},{"photo_id":"1338125516","filename":"file0"},{"photo_id":"1338125525","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338125522":["hashtag1","hashtag2"]},{"1338125516":["hashtag1","hashtag2"]},{"1338125525":["hashtag1","hashtag2"]},{"1338125519":["hashtag1","hashtag2"]},{"1338125528":["hashtag1","hashtag2"]},{"1338125527":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338125522, 1338125516, 1338125525, 1338125519, 1338125528, 1338125527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.544894218444824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:08:32.409076
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_18_9792.jpg', 0), ('/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_09_10713.jpg', 0), ('/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_58_9783.jpg', 0), ('/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_48_9778.jpg', 0), ('/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_38_9786.jpg', 0), ('/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_29_9780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_18_9792.jpg', '/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_09_10713.jpg', '/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_58_9783.jpg', '/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_48_9778.jpg', '/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_38_9786.jpg', '/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_29_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_18_9792.jpg
/home/nano/Desktop/images/06022025/14/37/image_06022025_14_37_09_10713.jpg
/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_58_9783.jpg
/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_48_9778.jpg
/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_38_9786.jpg
/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_29_9780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338126029","1338126040","1338126064","1338126043","1338126063","1338126036"],"photo_ids_order":["1338126029","1338126036","1338126040","1338126043","1338126063","1338126064"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82dcc2da96e9ef69ce0ba19ecd62cf35.jpg","text":"TemporaryFile(/tmp/multipartBody7556461628641762886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779778491,"filename":"image_06022025_14_37_18_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e918535e0e09f982c56859c364a66cc.jpg","text":"TemporaryFile(/tmp/multipartBody241615872714483239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779778491,"filename":"image_06022025_14_36_58_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1815d4e1519ec0c9213f68f449923baf.jpg","text":"TemporaryFile(/tmp/multipartBody4630331512594710477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779778491,"filename":"image_06022025_14_36_29_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e0b65023e853a6b7d202dc1b03a4b328.jpg","text":"TemporaryFile(/tmp/multipartBody1698048331183340674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779778491,"filename":"image_06022025_14_36_48_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4f27cb059314a8b99ef701698fddac5.jpg","text":"TemporaryFile(/tmp/multipartBody582854844421627558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779778491,"filename":"image_06022025_14_36_38_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ed3f78112e71fc0cd141a3829cd5886.jpg","text":"TemporaryFile(/tmp/multipartBody554928303927241094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779778491,"filename":"image_06022025_14_37_09_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338126040","file1":"1338126036","file0":"1338126029","file4":"1338126063","file5":"1338126064","file3":"1338126043"},"map_files_photo_id_array":[{"photo_id":"1338126064","filename":"file5"},{"photo_id":"1338126040","filename":"file2"},{"photo_id":"1338126063","filename":"file4"},{"photo_id":"1338126036","filename":"file1"},{"photo_id":"1338126029","filename":"file0"},{"photo_id":"1338126043","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338126029":["hashtag1","hashtag2"]},{"1338126040":["hashtag1","hashtag2"]},{"1338126064":["hashtag1","hashtag2"]},{"1338126043":["hashtag1","hashtag2"]},{"1338126063":["hashtag1","hashtag2"]},{"1338126036":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338126029, 1338126040, 1338126064, 1338126043, 1338126063, 1338126036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0792031288147 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:09:32.575867
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_19_10776.jpg', 0), ('/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_08_10001.jpg', 0), ('/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_58_9674.jpg', 0), ('/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_48_9669.jpg', 0), ('/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_39_10647.jpg', 0), ('/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_28_9668.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_19_10776.jpg', '/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_08_10001.jpg', '/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_58_9674.jpg', '/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_48_9669.jpg', '/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_39_10647.jpg', '/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_28_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_19_10776.jpg
/home/nano/Desktop/images/06022025/14/36/image_06022025_14_36_08_10001.jpg
/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_58_9674.jpg
/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_48_9669.jpg
/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_39_10647.jpg
/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_28_9668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338126315","1338126309","1338126317","1338126318","1338126312","1338126306"],"photo_ids_order":["1338126306","1338126309","1338126312","1338126315","1338126317","1338126318"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2996b84ed2d47ff10f86110c5387d736.jpg","text":"TemporaryFile(/tmp/multipartBody1529108669398880210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779838550,"filename":"image_06022025_14_35_48_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7bb6bc8a5c69993438838c079d8de3de.jpg","text":"TemporaryFile(/tmp/multipartBody3532465369131344283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779838550,"filename":"image_06022025_14_36_08_10001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/997417e352d6b1193635fcfe837273cd.jpg","text":"TemporaryFile(/tmp/multipartBody2809759215663948211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779838550,"filename":"image_06022025_14_35_39_10647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a9a7c30b9b8d0a28245efcc01069fe4.jpg","text":"TemporaryFile(/tmp/multipartBody4766864536838464568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779838550,"filename":"image_06022025_14_35_28_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97055e40692c7eb688782d8b9b9f7e3a.jpg","text":"TemporaryFile(/tmp/multipartBody2224083786660469321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779838550,"filename":"image_06022025_14_35_58_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d0daacb88dd3b6a7c7c44b5828734c5.jpg","text":"TemporaryFile(/tmp/multipartBody1700822134993065114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779838550,"filename":"image_06022025_14_36_19_10776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338126312","file1":"1338126309","file0":"1338126306","file4":"1338126317","file5":"1338126318","file3":"1338126315"},"map_files_photo_id_array":[{"photo_id":"1338126318","filename":"file5"},{"photo_id":"1338126312","filename":"file2"},{"photo_id":"1338126317","filename":"file4"},{"photo_id":"1338126309","filename":"file1"},{"photo_id":"1338126306","filename":"file0"},{"photo_id":"1338126315","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338126315":["hashtag1","hashtag2"]},{"1338126309":["hashtag1","hashtag2"]},{"1338126317":["hashtag1","hashtag2"]},{"1338126318":["hashtag1","hashtag2"]},{"1338126312":["hashtag1","hashtag2"]},{"1338126306":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338126315, 1338126309, 1338126317, 1338126318, 1338126312, 1338126306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12974429130554 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:10:32.748259
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_18_9662.jpg', 0), ('/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_09_10629.jpg', 0), ('/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_58_9637.jpg', 0), ('/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_48_9656.jpg', 0), ('/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_39_10678.jpg', 0), ('/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_28_9659.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_18_9662.jpg', '/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_09_10629.jpg', '/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_58_9637.jpg', '/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_48_9656.jpg', '/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_39_10678.jpg', '/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_28_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_18_9662.jpg
/home/nano/Desktop/images/06022025/14/35/image_06022025_14_35_09_10629.jpg
/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_58_9637.jpg
/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_48_9656.jpg
/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_39_10678.jpg
/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_28_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338126358","1338126352","1338126355","1338126340","1338126345","1338126348"],"photo_ids_order":["1338126340","1338126345","1338126348","1338126352","1338126355","1338126358"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57b60b12431d4e167423d3d55eaf924f.jpg","text":"TemporaryFile(/tmp/multipartBody3249468296271551112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779895391,"filename":"image_06022025_14_34_28_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fd762e296bfe41f4dece1559b377b574.jpg","text":"TemporaryFile(/tmp/multipartBody4888031790267427252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779895391,"filename":"image_06022025_14_34_48_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/56076ed3fc9a08571f72ec77b7707d30.jpg","text":"TemporaryFile(/tmp/multipartBody6624620159632338004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779895391,"filename":"image_06022025_14_34_39_10678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28fc3b46791c5992b2411e33eafc4f1b.jpg","text":"TemporaryFile(/tmp/multipartBody8538595518770477333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779895391,"filename":"image_06022025_14_35_18_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80c34dc0392c9170157b41edcdfff8f5.jpg","text":"TemporaryFile(/tmp/multipartBody7715487010650628369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779895391,"filename":"image_06022025_14_35_09_10629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f0ce8172180aa08f6bda3f1bf35fe26.jpg","text":"TemporaryFile(/tmp/multipartBody4534753861636032216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779895391,"filename":"image_06022025_14_34_58_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338126348","file1":"1338126345","file0":"1338126340","file4":"1338126355","file5":"1338126358","file3":"1338126352"},"map_files_photo_id_array":[{"photo_id":"1338126358","filename":"file5"},{"photo_id":"1338126348","filename":"file2"},{"photo_id":"1338126355","filename":"file4"},{"photo_id":"1338126345","filename":"file1"},{"photo_id":"1338126340","filename":"file0"},{"photo_id":"1338126352","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338126358":["hashtag1","hashtag2"]},{"1338126352":["hashtag1","hashtag2"]},{"1338126355":["hashtag1","hashtag2"]},{"1338126340":["hashtag1","hashtag2"]},{"1338126345":["hashtag1","hashtag2"]},{"1338126348":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338126358, 1338126352, 1338126355, 1338126340, 1338126345, 1338126348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4275221824646 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:11:31.896159
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_19_9661.jpg', 0), ('/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_09_10687.jpg', 0), ('/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_58_9651.jpg', 0), ('/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_49_9666.jpg', 0), ('/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_39_10649.jpg', 0), ('/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_28_9636.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_19_9661.jpg', '/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_09_10687.jpg', '/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_58_9651.jpg', '/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_49_9666.jpg', '/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_39_10649.jpg', '/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_28_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_19_9661.jpg
/home/nano/Desktop/images/06022025/14/34/image_06022025_14_34_09_10687.jpg
/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_58_9651.jpg
/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_49_9666.jpg
/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_39_10649.jpg
/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_28_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338126377","1338126385","1338126373","1338126387","1338126381","1338126369"],"photo_ids_order":["1338126369","1338126373","1338126377","1338126381","1338126385","1338126387"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b85375d2dfab2cecef9475fd615b3ba.jpg","text":"TemporaryFile(/tmp/multipartBody1170216296905300375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779953560,"filename":"image_06022025_14_33_58_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/23daf2eeb301040218a8694c1085d2af.jpg","text":"TemporaryFile(/tmp/multipartBody4519160027328523220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779953560,"filename":"image_06022025_14_33_39_10649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8fc496d7d29cf0a8281d1ff2a152676.jpg","text":"TemporaryFile(/tmp/multipartBody4909636874254014231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779953560,"filename":"image_06022025_14_34_09_10687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a5025d4035bd211ddbeee04a8b308ae.jpg","text":"TemporaryFile(/tmp/multipartBody4495935975967934195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779953560,"filename":"image_06022025_14_33_28_9636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be87cc3d6c620dccd8bdf8a635d4445e.jpg","text":"TemporaryFile(/tmp/multipartBody4433768276643335502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779953560,"filename":"image_06022025_14_33_49_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/068f104074efa48b942f60ca4853be89.jpg","text":"TemporaryFile(/tmp/multipartBody2182717762035723423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739779953560,"filename":"image_06022025_14_34_19_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338126377","file1":"1338126373","file0":"1338126369","file4":"1338126385","file5":"1338126387","file3":"1338126381"},"map_files_photo_id_array":[{"photo_id":"1338126387","filename":"file5"},{"photo_id":"1338126377","filename":"file2"},{"photo_id":"1338126385","filename":"file4"},{"photo_id":"1338126373","filename":"file1"},{"photo_id":"1338126369","filename":"file0"},{"photo_id":"1338126381","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338126377":["hashtag1","hashtag2"]},{"1338126385":["hashtag1","hashtag2"]},{"1338126373":["hashtag1","hashtag2"]},{"1338126387":["hashtag1","hashtag2"]},{"1338126381":["hashtag1","hashtag2"]},{"1338126369":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338126377, 1338126385, 1338126373, 1338126387, 1338126381, 1338126369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.059351444244385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:12:32.114967
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_19_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_09_10690.jpg', 0), ('/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_58_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_49_9676.jpg', 0), ('/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_39_10690.jpg', 0), ('/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_28_9692.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_19_9694.jpg', '/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_09_10690.jpg', '/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_58_9660.jpg', '/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_49_9676.jpg', '/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_39_10690.jpg', '/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_28_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_19_9694.jpg
/home/nano/Desktop/images/06022025/14/33/image_06022025_14_33_09_10690.jpg
/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_58_9660.jpg
/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_49_9676.jpg
/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_39_10690.jpg
/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_28_9692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338126414","1338126401","1338126412","1338126406","1338126409","1338126403"],"photo_ids_order":["1338126401","1338126403","1338126406","1338126409","1338126412","1338126414"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a5ad814df2cf1f3da9886465935787b.jpg","text":"TemporaryFile(/tmp/multipartBody3223548245623538492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780014143,"filename":"image_06022025_14_32_28_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05e17bec0621f7b56e1ebcd93742ee64.jpg","text":"TemporaryFile(/tmp/multipartBody8270449346573513553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780014143,"filename":"image_06022025_14_33_19_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79a65e3a5c3bab04d1ad4d797f80c125.jpg","text":"TemporaryFile(/tmp/multipartBody6384566481614846429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780014143,"filename":"image_06022025_14_32_39_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3eb0cb23905199f5bf714e28818bce77.jpg","text":"TemporaryFile(/tmp/multipartBody1828453028610982740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780014143,"filename":"image_06022025_14_32_58_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8adab26fa5c855663ce4f954bfdf2f55.jpg","text":"TemporaryFile(/tmp/multipartBody8926450495049412261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780014143,"filename":"image_06022025_14_32_49_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50c26bb218ebfdcd7fe4838a83f4ddf1.jpg","text":"TemporaryFile(/tmp/multipartBody3492178128444133154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780014143,"filename":"image_06022025_14_33_09_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338126406","file1":"1338126403","file0":"1338126401","file4":"1338126412","file5":"1338126414","file3":"1338126409"},"map_files_photo_id_array":[{"photo_id":"1338126414","filename":"file5"},{"photo_id":"1338126406","filename":"file2"},{"photo_id":"1338126412","filename":"file4"},{"photo_id":"1338126403","filename":"file1"},{"photo_id":"1338126401","filename":"file0"},{"photo_id":"1338126409","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338126414":["hashtag1","hashtag2"]},{"1338126401":["hashtag1","hashtag2"]},{"1338126412":["hashtag1","hashtag2"]},{"1338126406":["hashtag1","hashtag2"]},{"1338126409":["hashtag1","hashtag2"]},{"1338126403":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338126414, 1338126401, 1338126412, 1338126406, 1338126409, 1338126403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58597016334534 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:13:32.281388
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_18_9653.jpg', 0), ('/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_09_10684.jpg', 0), ('/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_58_9676.jpg', 0), ('/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_48_9669.jpg', 0), ('/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_39_10668.jpg', 0), ('/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_28_9674.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_18_9653.jpg', '/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_09_10684.jpg', '/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_58_9676.jpg', '/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_48_9669.jpg', '/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_39_10668.jpg', '/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_28_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_18_9653.jpg
/home/nano/Desktop/images/06022025/14/32/image_06022025_14_32_09_10684.jpg
/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_58_9676.jpg
/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_48_9669.jpg
/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_39_10668.jpg
/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_28_9674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338126497","1338126429","1338126433","1338126465","1338126495","1338126435"],"photo_ids_order":["1338126429","1338126433","1338126435","1338126465","1338126495","1338126497"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/970ec1b367865b02bd6ebd229939da09.jpg","text":"TemporaryFile(/tmp/multipartBody4627094822896394733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780073906,"filename":"image_06022025_14_31_28_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f6655a2bd49a92e09dc6cc80d2ac236.jpg","text":"TemporaryFile(/tmp/multipartBody7455963134700282604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780073906,"filename":"image_06022025_14_32_18_9653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c1ebc43c3e1f7e018e53ac259daba2f.jpg","text":"TemporaryFile(/tmp/multipartBody8863152314574739339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780073906,"filename":"image_06022025_14_32_09_10684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/581c2e9234b307f59230a6458c88bb84.jpg","text":"TemporaryFile(/tmp/multipartBody3764163989468326551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780073906,"filename":"image_06022025_14_31_48_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/283abcbb031d5518318c92276bd8f98e.jpg","text":"TemporaryFile(/tmp/multipartBody4097024578235160893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780073906,"filename":"image_06022025_14_31_39_10668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aee18dddd2357318590ecdeb9c39c063.jpg","text":"TemporaryFile(/tmp/multipartBody6894901778360535519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780073906,"filename":"image_06022025_14_31_58_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338126435","file1":"1338126433","file0":"1338126429","file4":"1338126495","file5":"1338126497","file3":"1338126465"},"map_files_photo_id_array":[{"photo_id":"1338126497","filename":"file5"},{"photo_id":"1338126435","filename":"file2"},{"photo_id":"1338126495","filename":"file4"},{"photo_id":"1338126433","filename":"file1"},{"photo_id":"1338126429","filename":"file0"},{"photo_id":"1338126465","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338126497":["hashtag1","hashtag2"]},{"1338126429":["hashtag1","hashtag2"]},{"1338126433":["hashtag1","hashtag2"]},{"1338126465":["hashtag1","hashtag2"]},{"1338126495":["hashtag1","hashtag2"]},{"1338126435":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338126497, 1338126429, 1338126433, 1338126465, 1338126495, 1338126435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93438124656677 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:14:32.428743
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_18_9651.jpg', 0), ('/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_09_10680.jpg', 0), ('/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_58_9673.jpg', 0), ('/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_48_9675.jpg', 0), ('/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_39_10698.jpg', 0), ('/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_28_9651.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_18_9651.jpg', '/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_09_10680.jpg', '/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_58_9673.jpg', '/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_48_9675.jpg', '/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_39_10698.jpg', '/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_28_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_18_9651.jpg
/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_09_10680.jpg
/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_58_9673.jpg
/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_48_9675.jpg
/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_39_10698.jpg
/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_28_9651.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.001594305038452 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:15:03.069264
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_18_9651.jpg', 0), ('/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_09_10680.jpg', 0), ('/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_58_9673.jpg', 0), ('/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_48_9675.jpg', 0), ('/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_39_10698.jpg', 0), ('/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_28_9651.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_18_9651.jpg', '/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_09_10680.jpg', '/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_58_9673.jpg', '/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_48_9675.jpg', '/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_39_10698.jpg', '/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_28_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_18_9651.jpg
/home/nano/Desktop/images/06022025/14/31/image_06022025_14_31_09_10680.jpg
/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_58_9673.jpg
/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_48_9675.jpg
/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_39_10698.jpg
/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_28_9651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338126600","1338126590","1338126592","1338126597","1338126594","1338126588"],"photo_ids_order":["1338126588","1338126590","1338126592","1338126594","1338126597","1338126600"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77aaf9423aa7681c157bde351eaa46e5.jpg","text":"TemporaryFile(/tmp/multipartBody2368081778537084944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780164972,"filename":"image_06022025_14_30_28_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1cffb7011ac61dcffea8072757c265e6.jpg","text":"TemporaryFile(/tmp/multipartBody2741087885199828407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780164972,"filename":"image_06022025_14_31_09_10680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/11bfd5ad7cf59eeb822d07cc095e3099.jpg","text":"TemporaryFile(/tmp/multipartBody2948861569022474322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780164972,"filename":"image_06022025_14_30_58_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99912c93468f7bbb486ba845b4cfc34f.jpg","text":"TemporaryFile(/tmp/multipartBody9058803015867069830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780164972,"filename":"image_06022025_14_30_39_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d71ad59d09ee052b978c659cc1998b4d.jpg","text":"TemporaryFile(/tmp/multipartBody3674312740949302756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780164972,"filename":"image_06022025_14_30_48_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/45e88472be4aee2411dbe9e263eacb2a.jpg","text":"TemporaryFile(/tmp/multipartBody914946267112544940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780164972,"filename":"image_06022025_14_31_18_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338126592","file1":"1338126590","file0":"1338126588","file4":"1338126597","file5":"1338126600","file3":"1338126594"},"map_files_photo_id_array":[{"photo_id":"1338126600","filename":"file5"},{"photo_id":"1338126592","filename":"file2"},{"photo_id":"1338126597","filename":"file4"},{"photo_id":"1338126590","filename":"file1"},{"photo_id":"1338126588","filename":"file0"},{"photo_id":"1338126594","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338126600":["hashtag1","hashtag2"]},{"1338126590":["hashtag1","hashtag2"]},{"1338126592":["hashtag1","hashtag2"]},{"1338126597":["hashtag1","hashtag2"]},{"1338126594":["hashtag1","hashtag2"]},{"1338126588":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338126600, 1338126590, 1338126592, 1338126597, 1338126594, 1338126588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02013683319092 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:16:03.163951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_18_9679.jpg', 0), ('/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_09_10668.jpg', 0), ('/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_58_9691.jpg', 0), ('/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_48_9668.jpg', 0), ('/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_39_10665.jpg', 0), ('/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_28_9668.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_18_9679.jpg', '/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_09_10668.jpg', '/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_58_9691.jpg', '/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_48_9668.jpg', '/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_39_10665.jpg', '/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_28_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_18_9679.jpg
/home/nano/Desktop/images/06022025/14/30/image_06022025_14_30_09_10668.jpg
/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_58_9691.jpg
/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_48_9668.jpg
/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_39_10665.jpg
/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_28_9668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338126626","1338126623","1338126625","1338126628","1338126621","1338126624"],"photo_ids_order":["1338126621","1338126623","1338126624","1338126625","1338126626","1338126628"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88f2d994cd7d2af660fa8ca03d42f73c.jpg","text":"TemporaryFile(/tmp/multipartBody8412516232745272726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780225174,"filename":"image_06022025_14_29_39_10665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f2b98513c12cd6f64dbd7d8a110700e.jpg","text":"TemporaryFile(/tmp/multipartBody1002225558325954718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780225174,"filename":"image_06022025_14_30_09_10668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/171444ec2dd37616866317000ccbdee5.jpg","text":"TemporaryFile(/tmp/multipartBody6219630957901200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780225174,"filename":"image_06022025_14_29_48_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8c368dc71435b2b243083e6ab5104be.jpg","text":"TemporaryFile(/tmp/multipartBody6001518927896250039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780225174,"filename":"image_06022025_14_29_28_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ec963c2d4b4db5f1f9f46a233b70d64.jpg","text":"TemporaryFile(/tmp/multipartBody873349855970284114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780225174,"filename":"image_06022025_14_30_18_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03436cad1a888329494a69edc76d7762.jpg","text":"TemporaryFile(/tmp/multipartBody1765195824044192379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780225174,"filename":"image_06022025_14_29_58_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338126624","file1":"1338126623","file0":"1338126621","file4":"1338126626","file5":"1338126628","file3":"1338126625"},"map_files_photo_id_array":[{"photo_id":"1338126628","filename":"file5"},{"photo_id":"1338126624","filename":"file2"},{"photo_id":"1338126626","filename":"file4"},{"photo_id":"1338126623","filename":"file1"},{"photo_id":"1338126621","filename":"file0"},{"photo_id":"1338126625","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338126626":["hashtag1","hashtag2"]},{"1338126623":["hashtag1","hashtag2"]},{"1338126625":["hashtag1","hashtag2"]},{"1338126628":["hashtag1","hashtag2"]},{"1338126621":["hashtag1","hashtag2"]},{"1338126624":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338126626, 1338126623, 1338126625, 1338126628, 1338126621, 1338126624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20395112037659 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:17:02.620237
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_18_9676.jpg', 0), ('/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_09_10694.jpg', 0), ('/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_58_9703.jpg', 0), ('/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_48_9679.jpg', 0), ('/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_39_9690.jpg', 0), ('/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_29_10700.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_18_9676.jpg', '/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_09_10694.jpg', '/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_58_9703.jpg', '/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_48_9679.jpg', '/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_39_9690.jpg', '/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_29_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_18_9676.jpg
/home/nano/Desktop/images/06022025/14/29/image_06022025_14_29_09_10694.jpg
/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_58_9703.jpg
/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_48_9679.jpg
/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_39_9690.jpg
/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_29_10700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338127007","1338126997","1338127009","1338127006","1338127005","1338126998"],"photo_ids_order":["1338126997","1338126998","1338127005","1338127006","1338127007","1338127009"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1043ffc6afce92935e0fee869954a1c.jpg","text":"TemporaryFile(/tmp/multipartBody7440431258301344663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780284619,"filename":"image_06022025_14_28_39_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/befc0866d4dc28bb3a67edde8a5de1e6.jpg","text":"TemporaryFile(/tmp/multipartBody418575383955952215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780284619,"filename":"image_06022025_14_29_18_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bbdde31048e82d8b3ab810cd22762f67.jpg","text":"TemporaryFile(/tmp/multipartBody9152995689324018442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780284619,"filename":"image_06022025_14_28_29_10700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c5931486b4c7af72d93bb40d0c0fad9.jpg","text":"TemporaryFile(/tmp/multipartBody9204720862277066063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780284619,"filename":"image_06022025_14_28_48_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bd1e1ae3fc531dc3d552488c7599aa25.jpg","text":"TemporaryFile(/tmp/multipartBody6778624220318017836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780284619,"filename":"image_06022025_14_28_58_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d537de52ab4ee032c7206a4e4a80001.jpg","text":"TemporaryFile(/tmp/multipartBody8984478970328524177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780284619,"filename":"image_06022025_14_29_09_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338127005","file1":"1338126998","file0":"1338126997","file4":"1338127007","file5":"1338127009","file3":"1338127006"},"map_files_photo_id_array":[{"photo_id":"1338127009","filename":"file5"},{"photo_id":"1338127005","filename":"file2"},{"photo_id":"1338127007","filename":"file4"},{"photo_id":"1338126998","filename":"file1"},{"photo_id":"1338126997","filename":"file0"},{"photo_id":"1338127006","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338127007":["hashtag1","hashtag2"]},{"1338126997":["hashtag1","hashtag2"]},{"1338127009":["hashtag1","hashtag2"]},{"1338127006":["hashtag1","hashtag2"]},{"1338127005":["hashtag1","hashtag2"]},{"1338126998":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338127007, 1338126997, 1338127009, 1338127006, 1338127005, 1338126998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31510615348816 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:18:02.586607
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_18_9682.jpg', 0), ('/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_09_9653.jpg', 0), ('/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_59_10693.jpg', 0), ('/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_48_9658.jpg', 0), ('/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_39_9684.jpg', 0), ('/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_29_10684.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_18_9682.jpg', '/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_09_9653.jpg', '/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_59_10693.jpg', '/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_48_9658.jpg', '/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_39_9684.jpg', '/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_29_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_18_9682.jpg
/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_09_9653.jpg
/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_59_10693.jpg
/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_48_9658.jpg
/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_39_9684.jpg
/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_29_10684.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7777042388916016 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:18:32.052352
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_18_9682.jpg', 0), ('/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_09_9653.jpg', 0), ('/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_59_10693.jpg', 0), ('/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_48_9658.jpg', 0), ('/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_39_9684.jpg', 0), ('/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_29_10684.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_18_9682.jpg', '/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_09_9653.jpg', '/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_59_10693.jpg', '/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_48_9658.jpg', '/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_39_9684.jpg', '/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_29_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_18_9682.jpg
/home/nano/Desktop/images/06022025/14/28/image_06022025_14_28_09_9653.jpg
/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_59_10693.jpg
/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_48_9658.jpg
/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_39_9684.jpg
/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_29_10684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338127103","1338127106","1338127081","1338127075","1338127069","1338127077"],"photo_ids_order":["1338127069","1338127075","1338127077","1338127081","1338127103","1338127106"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/521e2bf74b4e18cdd8d46514a03bd163.jpg","text":"TemporaryFile(/tmp/multipartBody8340316733925089437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780374297,"filename":"image_06022025_14_27_39_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/176b93ee73df2840e42957fa23f0e4f5.jpg","text":"TemporaryFile(/tmp/multipartBody5934551813993188362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780374297,"filename":"image_06022025_14_27_29_10684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf46e5887812abaad8c9645f50c65092.jpg","text":"TemporaryFile(/tmp/multipartBody7390609934473927663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780374297,"filename":"image_06022025_14_27_48_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3707f59ebcd26e7ed9797a0dff402e29.jpg","text":"TemporaryFile(/tmp/multipartBody6565685981677702634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780374297,"filename":"image_06022025_14_28_09_9653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ab27ddb445f921b6ad81788f12fcf1e.jpg","text":"TemporaryFile(/tmp/multipartBody3673301276259681069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780374297,"filename":"image_06022025_14_28_18_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f58129c1fe489d5d1043421f516c5127.jpg","text":"TemporaryFile(/tmp/multipartBody3150663890907144120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780374297,"filename":"image_06022025_14_27_59_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338127077","file1":"1338127075","file0":"1338127069","file4":"1338127103","file5":"1338127106","file3":"1338127081"},"map_files_photo_id_array":[{"photo_id":"1338127106","filename":"file5"},{"photo_id":"1338127077","filename":"file2"},{"photo_id":"1338127103","filename":"file4"},{"photo_id":"1338127075","filename":"file1"},{"photo_id":"1338127069","filename":"file0"},{"photo_id":"1338127081","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338127103":["hashtag1","hashtag2"]},{"1338127106":["hashtag1","hashtag2"]},{"1338127081":["hashtag1","hashtag2"]},{"1338127075":["hashtag1","hashtag2"]},{"1338127069":["hashtag1","hashtag2"]},{"1338127077":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338127103, 1338127106, 1338127081, 1338127075, 1338127069, 1338127077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.86710810661316 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:19:32.222109
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_18_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_08_9685.jpg', 0), ('/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_59_10706.jpg', 0), ('/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_48_9698.jpg', 0), ('/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_38_9660.jpg', 0), ('/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_29_10690.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_18_9694.jpg', '/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_08_9685.jpg', '/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_59_10706.jpg', '/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_48_9698.jpg', '/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_38_9660.jpg', '/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_29_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_18_9694.jpg
/home/nano/Desktop/images/06022025/14/27/image_06022025_14_27_08_9685.jpg
/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_59_10706.jpg
/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_48_9698.jpg
/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_38_9660.jpg
/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_29_10690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338127961","1338127949","1338127954","1338127965","1338127958","1338127967"],"photo_ids_order":["1338127949","1338127954","1338127958","1338127961","1338127965","1338127967"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b4ce617257d785f348d600b06ed2f68.jpg","text":"TemporaryFile(/tmp/multipartBody5487953724731876224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780434316,"filename":"image_06022025_14_26_48_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b1ad122d4d51383d1d241ec65924fb4.jpg","text":"TemporaryFile(/tmp/multipartBody5028367498223162412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780434316,"filename":"image_06022025_14_27_18_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22e65f85abe127ac74d4ab1cbf11d5dd.jpg","text":"TemporaryFile(/tmp/multipartBody70411755979871864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780434316,"filename":"image_06022025_14_27_08_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f4450e4737b71116276f3dff58f4072b.jpg","text":"TemporaryFile(/tmp/multipartBody1541125024186599819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780434316,"filename":"image_06022025_14_26_38_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/47f7d00562c9fe2ad50e5ea4645457c4.jpg","text":"TemporaryFile(/tmp/multipartBody914575351937141594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780434316,"filename":"image_06022025_14_26_59_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67d5faa20cecb4280a81febef330deec.jpg","text":"TemporaryFile(/tmp/multipartBody4038862034436715917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780434316,"filename":"image_06022025_14_26_29_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338127958","file1":"1338127954","file0":"1338127949","file4":"1338127965","file5":"1338127967","file3":"1338127961"},"map_files_photo_id_array":[{"photo_id":"1338127967","filename":"file5"},{"photo_id":"1338127958","filename":"file2"},{"photo_id":"1338127965","filename":"file4"},{"photo_id":"1338127954","filename":"file1"},{"photo_id":"1338127949","filename":"file0"},{"photo_id":"1338127961","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338127961":["hashtag1","hashtag2"]},{"1338127949":["hashtag1","hashtag2"]},{"1338127954":["hashtag1","hashtag2"]},{"1338127965":["hashtag1","hashtag2"]},{"1338127958":["hashtag1","hashtag2"]},{"1338127967":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338127961, 1338127949, 1338127954, 1338127965, 1338127958, 1338127967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50056743621826 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:20:32.369826
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_18_9688.jpg', 0), ('/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_08_9731.jpg', 0), ('/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_59_9649.jpg', 0), ('/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_49_10712.jpg', 0), ('/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_38_9688.jpg', 0), ('/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_29_9713.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_18_9688.jpg', '/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_08_9731.jpg', '/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_59_9649.jpg', '/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_49_10712.jpg', '/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_38_9688.jpg', '/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_29_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_18_9688.jpg
/home/nano/Desktop/images/06022025/14/26/image_06022025_14_26_08_9731.jpg
/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_59_9649.jpg
/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_49_10712.jpg
/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_38_9688.jpg
/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_29_9713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338128315","1338128332","1338128329","1338128262","1338128267","1338128327"],"photo_ids_order":["1338128262","1338128267","1338128315","1338128327","1338128329","1338128332"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e326f2c69f59d8ba7cab3844a6ef0a0.jpg","text":"TemporaryFile(/tmp/multipartBody746757735764162404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780494109,"filename":"image_06022025_14_25_59_9649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b480c58390a2a6b163ef97eeb9711f59.jpg","text":"TemporaryFile(/tmp/multipartBody5636221091794848038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780494109,"filename":"image_06022025_14_25_29_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4047f9a0da8fa8ff98dd5cfa7aea99e6.jpg","text":"TemporaryFile(/tmp/multipartBody4830783302270463802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780494109,"filename":"image_06022025_14_25_38_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9784a9a8af6c5b751992223d614f67d.jpg","text":"TemporaryFile(/tmp/multipartBody3768028860666164736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780494109,"filename":"image_06022025_14_26_18_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b9e52435612432d478f7b4fe3b03a470.jpg","text":"TemporaryFile(/tmp/multipartBody791700726271364901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780494109,"filename":"image_06022025_14_26_08_9731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/515b293f5b733f68a57229184a00b853.jpg","text":"TemporaryFile(/tmp/multipartBody3221332052143003425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780494109,"filename":"image_06022025_14_25_49_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338128315","file1":"1338128267","file0":"1338128262","file4":"1338128329","file5":"1338128332","file3":"1338128327"},"map_files_photo_id_array":[{"photo_id":"1338128332","filename":"file5"},{"photo_id":"1338128315","filename":"file2"},{"photo_id":"1338128329","filename":"file4"},{"photo_id":"1338128267","filename":"file1"},{"photo_id":"1338128262","filename":"file0"},{"photo_id":"1338128327","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338128315":["hashtag1","hashtag2"]},{"1338128332":["hashtag1","hashtag2"]},{"1338128329":["hashtag1","hashtag2"]},{"1338128262":["hashtag1","hashtag2"]},{"1338128267":["hashtag1","hashtag2"]},{"1338128327":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338128315, 1338128332, 1338128329, 1338128262, 1338128267, 1338128327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.181352853775024 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:21:32.529150
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_19_10691.jpg', 0), ('/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_08_9716.jpg', 0), ('/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_58_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_49_10691.jpg', 0), ('/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_38_9727.jpg', 0), ('/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_28_9699.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_19_10691.jpg', '/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_08_9716.jpg', '/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_58_9694.jpg', '/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_49_10691.jpg', '/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_38_9727.jpg', '/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_28_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_19_10691.jpg
/home/nano/Desktop/images/06022025/14/25/image_06022025_14_25_08_9716.jpg
/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_58_9694.jpg
/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_49_10691.jpg
/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_38_9727.jpg
/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_28_9699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338128359","1338128350","1338128347","1338128344","1338128354","1338128357"],"photo_ids_order":["1338128344","1338128347","1338128350","1338128354","1338128357","1338128359"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab37a5e381abf9fc918ed56c80fc08a9.jpg","text":"TemporaryFile(/tmp/multipartBody6755592495601432392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780554900,"filename":"image_06022025_14_24_28_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6edb189bb11e6b8167e06ec1c94f19ac.jpg","text":"TemporaryFile(/tmp/multipartBody5599544330907562828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780554900,"filename":"image_06022025_14_24_58_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/410b93e6616ce0b193a16efb06c43428.jpg","text":"TemporaryFile(/tmp/multipartBody1921032399773690930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780554900,"filename":"image_06022025_14_25_08_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a4de363b2e9babbe245b7f272c67e74.jpg","text":"TemporaryFile(/tmp/multipartBody6708642770511904234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780554900,"filename":"image_06022025_14_25_19_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/963c90f20300bd7884d07463abd33cc3.jpg","text":"TemporaryFile(/tmp/multipartBody2697378038337441772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780554900,"filename":"image_06022025_14_24_49_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2929a7e9e15fe329fb318059bbdf1dad.jpg","text":"TemporaryFile(/tmp/multipartBody8562874330978163744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780554900,"filename":"image_06022025_14_24_38_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338128350","file1":"1338128347","file0":"1338128344","file4":"1338128357","file5":"1338128359","file3":"1338128354"},"map_files_photo_id_array":[{"photo_id":"1338128359","filename":"file5"},{"photo_id":"1338128350","filename":"file2"},{"photo_id":"1338128357","filename":"file4"},{"photo_id":"1338128347","filename":"file1"},{"photo_id":"1338128344","filename":"file0"},{"photo_id":"1338128354","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338128359":["hashtag1","hashtag2"]},{"1338128350":["hashtag1","hashtag2"]},{"1338128347":["hashtag1","hashtag2"]},{"1338128344":["hashtag1","hashtag2"]},{"1338128354":["hashtag1","hashtag2"]},{"1338128357":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338128359, 1338128350, 1338128347, 1338128344, 1338128354, 1338128357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.060911417007446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:22:32.666133
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_19_9691.jpg', 0), ('/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_09_10675.jpg', 0), ('/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_58_9665.jpg', 0), ('/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_49_9649.jpg', 0), ('/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_39_10666.jpg', 0), ('/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_28_9664.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_19_9691.jpg', '/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_09_10675.jpg', '/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_58_9665.jpg', '/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_49_9649.jpg', '/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_39_10666.jpg', '/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_28_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_19_9691.jpg
/home/nano/Desktop/images/06022025/14/24/image_06022025_14_24_09_10675.jpg
/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_58_9665.jpg
/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_49_9649.jpg
/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_39_10666.jpg
/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_28_9664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338128383","1338128377","1338128380","1338128374","1338128385","1338128370"],"photo_ids_order":["1338128370","1338128374","1338128377","1338128380","1338128383","1338128385"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e0e94f578720b784ae9056e2d3526c8.jpg","text":"TemporaryFile(/tmp/multipartBody1258194671409595207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780614774,"filename":"image_06022025_14_23_39_10666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1fca0173f50ea92cbb070406f92ff7ea.jpg","text":"TemporaryFile(/tmp/multipartBody8741450879200818624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780614774,"filename":"image_06022025_14_23_58_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ab5c787ceabe03f921e42579dd4040f.jpg","text":"TemporaryFile(/tmp/multipartBody1208970921525013304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780614774,"filename":"image_06022025_14_23_49_9649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a4b6ca60c15da760329a842d004feec.jpg","text":"TemporaryFile(/tmp/multipartBody8922692691307159133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780614774,"filename":"image_06022025_14_24_09_10675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b0476ba1d7d7d6a2a2d347ac7f432ed.jpg","text":"TemporaryFile(/tmp/multipartBody7320581038708364552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780614774,"filename":"image_06022025_14_23_28_9664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/770b194608b75b8ff438de626e04d35e.jpg","text":"TemporaryFile(/tmp/multipartBody8924708725186469458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780614774,"filename":"image_06022025_14_24_19_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338128377","file1":"1338128374","file0":"1338128370","file4":"1338128383","file5":"1338128385","file3":"1338128380"},"map_files_photo_id_array":[{"photo_id":"1338128385","filename":"file5"},{"photo_id":"1338128377","filename":"file2"},{"photo_id":"1338128383","filename":"file4"},{"photo_id":"1338128374","filename":"file1"},{"photo_id":"1338128370","filename":"file0"},{"photo_id":"1338128380","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338128383":["hashtag1","hashtag2"]},{"1338128377":["hashtag1","hashtag2"]},{"1338128380":["hashtag1","hashtag2"]},{"1338128374":["hashtag1","hashtag2"]},{"1338128385":["hashtag1","hashtag2"]},{"1338128370":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338128383, 1338128377, 1338128380, 1338128374, 1338128385, 1338128370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.422805070877075 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:23:31.807554
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_19_9676.jpg', 0), ('/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_09_10671.jpg', 0), ('/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_58_9659.jpg', 0), ('/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_49_9645.jpg', 0), ('/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_39_10682.jpg', 0), ('/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_28_9643.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_19_9676.jpg', '/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_09_10671.jpg', '/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_58_9659.jpg', '/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_49_9645.jpg', '/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_39_10682.jpg', '/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_28_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_19_9676.jpg
/home/nano/Desktop/images/06022025/14/23/image_06022025_14_23_09_10671.jpg
/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_58_9659.jpg
/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_49_9645.jpg
/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_39_10682.jpg
/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_28_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338128398","1338128410","1338128407","1338128412","1338128402","1338128405"],"photo_ids_order":["1338128398","1338128402","1338128405","1338128407","1338128410","1338128412"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be20c31cf55de0c2b308977d0c56e141.jpg","text":"TemporaryFile(/tmp/multipartBody6329948775209317877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780673866,"filename":"image_06022025_14_23_19_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f86d355830ef0d8f4da868e5301e4df.jpg","text":"TemporaryFile(/tmp/multipartBody7091512379847947265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780673866,"filename":"image_06022025_14_22_39_10682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/093a126809adf18037a72ae599dcebc5.jpg","text":"TemporaryFile(/tmp/multipartBody1248226192921182214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780673866,"filename":"image_06022025_14_22_49_9645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b5a5c5d9665c091df77cc40a67678d9f.jpg","text":"TemporaryFile(/tmp/multipartBody6466646803745328260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780673866,"filename":"image_06022025_14_22_28_9643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf5eafc9bd12399b1f92ac80379fdf4b.jpg","text":"TemporaryFile(/tmp/multipartBody8552698287626027563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780673866,"filename":"image_06022025_14_23_09_10671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b0775ce8d0c878c6427b5169f359f4c.jpg","text":"TemporaryFile(/tmp/multipartBody426061478957230077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780673866,"filename":"image_06022025_14_22_58_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338128405","file1":"1338128402","file0":"1338128398","file4":"1338128410","file5":"1338128412","file3":"1338128407"},"map_files_photo_id_array":[{"photo_id":"1338128412","filename":"file5"},{"photo_id":"1338128405","filename":"file2"},{"photo_id":"1338128410","filename":"file4"},{"photo_id":"1338128402","filename":"file1"},{"photo_id":"1338128398","filename":"file0"},{"photo_id":"1338128407","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338128398":["hashtag1","hashtag2"]},{"1338128410":["hashtag1","hashtag2"]},{"1338128407":["hashtag1","hashtag2"]},{"1338128412":["hashtag1","hashtag2"]},{"1338128402":["hashtag1","hashtag2"]},{"1338128405":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338128398, 1338128410, 1338128407, 1338128412, 1338128402, 1338128405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.540851831436157 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:24:32.012554
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_19_10648.jpg', 0), ('/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_08_9686.jpg', 0), ('/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_58_9642.jpg', 0), ('/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_49_10669.jpg', 0), ('/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_38_9657.jpg', 0), ('/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_28_9669.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_19_10648.jpg', '/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_08_9686.jpg', '/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_58_9642.jpg', '/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_49_10669.jpg', '/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_38_9657.jpg', '/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_28_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_19_10648.jpg
/home/nano/Desktop/images/06022025/14/22/image_06022025_14_22_08_9686.jpg
/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_58_9642.jpg
/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_49_10669.jpg
/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_38_9657.jpg
/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_28_9669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338128428","1338128433","1338128489","1338128441","1338128438","1338128423"],"photo_ids_order":["1338128423","1338128428","1338128433","1338128438","1338128441","1338128489"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d2e23ceaa9b12fac8fd1c6af00aff3c6.jpg","text":"TemporaryFile(/tmp/multipartBody1366740484847589914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780733977,"filename":"image_06022025_14_22_08_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe929f51230ed36244bbd570507a86a2.jpg","text":"TemporaryFile(/tmp/multipartBody8670059409889696226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780733977,"filename":"image_06022025_14_21_58_9642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16f84f79a8798f739d705f4376f0b44d.jpg","text":"TemporaryFile(/tmp/multipartBody921329093927673281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780733977,"filename":"image_06022025_14_21_28_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/865e26622c46cb751bd841df9b090888.jpg","text":"TemporaryFile(/tmp/multipartBody1415995661628987058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780733977,"filename":"image_06022025_14_21_38_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/96185d249d25f19e8283f7579ca0a353.jpg","text":"TemporaryFile(/tmp/multipartBody3140033149932744647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780733977,"filename":"image_06022025_14_21_49_10669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/723ccdf87dc7ef7d6c13db4297c0e20a.jpg","text":"TemporaryFile(/tmp/multipartBody2928995679463436954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780733977,"filename":"image_06022025_14_22_19_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338128433","file1":"1338128428","file0":"1338128423","file4":"1338128441","file5":"1338128489","file3":"1338128438"},"map_files_photo_id_array":[{"photo_id":"1338128489","filename":"file5"},{"photo_id":"1338128433","filename":"file2"},{"photo_id":"1338128441","filename":"file4"},{"photo_id":"1338128428","filename":"file1"},{"photo_id":"1338128423","filename":"file0"},{"photo_id":"1338128438","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338128428":["hashtag1","hashtag2"]},{"1338128433":["hashtag1","hashtag2"]},{"1338128489":["hashtag1","hashtag2"]},{"1338128441":["hashtag1","hashtag2"]},{"1338128438":["hashtag1","hashtag2"]},{"1338128423":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338128428, 1338128433, 1338128489, 1338128441, 1338128438, 1338128423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64306354522705 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:25:32.165560
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_19_10676.jpg', 0), ('/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_08_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_58_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_49_9665.jpg', 0), ('/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_39_10678.jpg', 0), ('/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_28_9675.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_19_10676.jpg', '/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_08_9667.jpg', '/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_58_9667.jpg', '/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_49_9665.jpg', '/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_39_10678.jpg', '/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_28_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_19_10676.jpg
/home/nano/Desktop/images/06022025/14/21/image_06022025_14_21_08_9667.jpg
/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_58_9667.jpg
/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_49_9665.jpg
/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_39_10678.jpg
/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_28_9675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338129220","1338129223","1338129195","1338129225","1338129228","1338129191"],"photo_ids_order":["1338129191","1338129195","1338129220","1338129223","1338129225","1338129228"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e431a7e7415ee4227ae1be370e6c4c77.jpg","text":"TemporaryFile(/tmp/multipartBody8480260114709197112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780793778,"filename":"image_06022025_14_20_58_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d47be846bbc26867a089d4b589650bf.jpg","text":"TemporaryFile(/tmp/multipartBody927823969321228076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780793778,"filename":"image_06022025_14_20_49_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/710abcf4fb5f510ded71c4e7b5da6608.jpg","text":"TemporaryFile(/tmp/multipartBody8731496423297773893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780793778,"filename":"image_06022025_14_21_08_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/958bc9074084a4ba57b84508c776fe58.jpg","text":"TemporaryFile(/tmp/multipartBody860270917770754806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780793778,"filename":"image_06022025_14_20_39_10678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d9097e23b7414a9a70d83e03eec2a72.jpg","text":"TemporaryFile(/tmp/multipartBody2180261088107475595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780793778,"filename":"image_06022025_14_20_28_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/95d6d06b96afc3cd36252a6faadba67d.jpg","text":"TemporaryFile(/tmp/multipartBody7049387935244692168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780793778,"filename":"image_06022025_14_21_19_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338129220","file1":"1338129195","file0":"1338129191","file4":"1338129225","file5":"1338129228","file3":"1338129223"},"map_files_photo_id_array":[{"photo_id":"1338129228","filename":"file5"},{"photo_id":"1338129220","filename":"file2"},{"photo_id":"1338129225","filename":"file4"},{"photo_id":"1338129195","filename":"file1"},{"photo_id":"1338129191","filename":"file0"},{"photo_id":"1338129223","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338129220":["hashtag1","hashtag2"]},{"1338129223":["hashtag1","hashtag2"]},{"1338129195":["hashtag1","hashtag2"]},{"1338129225":["hashtag1","hashtag2"]},{"1338129228":["hashtag1","hashtag2"]},{"1338129191":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338129220, 1338129223, 1338129195, 1338129225, 1338129228, 1338129191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56770133972168 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:26:32.362331
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_19_9668.jpg', 0), ('/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_09_10689.jpg', 0), ('/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_58_9661.jpg', 0), ('/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_49_9673.jpg', 0), ('/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_39_10697.jpg', 0), ('/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_28_9616.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_19_9668.jpg', '/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_09_10689.jpg', '/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_58_9661.jpg', '/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_49_9673.jpg', '/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_39_10697.jpg', '/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_28_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_19_9668.jpg
/home/nano/Desktop/images/06022025/14/20/image_06022025_14_20_09_10689.jpg
/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_58_9661.jpg
/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_49_9673.jpg
/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_39_10697.jpg
/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_28_9616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338129544","1338129520","1338129498","1338129458","1338129452","1338129455"],"photo_ids_order":["1338129452","1338129455","1338129458","1338129498","1338129520","1338129544"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e7288a24902f1f8ff4cb68e7ddb37b5.jpg","text":"TemporaryFile(/tmp/multipartBody1019348581685320619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780854064,"filename":"image_06022025_14_19_28_9616.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c902405dbdc163ee8e97205fee7b514.jpg","text":"TemporaryFile(/tmp/multipartBody6243488611689582034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780854064,"filename":"image_06022025_14_19_39_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1486f00fdd3dedd40dfffd50e1c46abd.jpg","text":"TemporaryFile(/tmp/multipartBody1377317841993765041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780854064,"filename":"image_06022025_14_19_49_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/45165090673f90eb3cdc38653e4370ff.jpg","text":"TemporaryFile(/tmp/multipartBody3283161048469292299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780854064,"filename":"image_06022025_14_19_58_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca2b5b7a5cc6831acfd52be1f463efe3.jpg","text":"TemporaryFile(/tmp/multipartBody8861927314605857132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780854064,"filename":"image_06022025_14_20_19_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e35312f610c36a92eba908520a1e8eff.jpg","text":"TemporaryFile(/tmp/multipartBody6509102556805164770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780854064,"filename":"image_06022025_14_20_09_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338129458","file1":"1338129455","file0":"1338129452","file4":"1338129520","file5":"1338129544","file3":"1338129498"},"map_files_photo_id_array":[{"photo_id":"1338129544","filename":"file5"},{"photo_id":"1338129458","filename":"file2"},{"photo_id":"1338129520","filename":"file4"},{"photo_id":"1338129455","filename":"file1"},{"photo_id":"1338129452","filename":"file0"},{"photo_id":"1338129498","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338129544":["hashtag1","hashtag2"]},{"1338129520":["hashtag1","hashtag2"]},{"1338129498":["hashtag1","hashtag2"]},{"1338129458":["hashtag1","hashtag2"]},{"1338129452":["hashtag1","hashtag2"]},{"1338129455":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338129544, 1338129520, 1338129498, 1338129458, 1338129452, 1338129455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10250496864319 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:27:32.528796
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_19_9755.jpg', 0), ('/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_09_10764.jpg', 0), ('/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_58_9754.jpg', 0), ('/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_48_9754.jpg', 0), ('/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_39_9784.jpg', 0), ('/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_29_10786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_19_9755.jpg', '/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_09_10764.jpg', '/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_58_9754.jpg', '/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_48_9754.jpg', '/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_39_9784.jpg', '/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_29_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_19_9755.jpg
/home/nano/Desktop/images/06022025/14/19/image_06022025_14_19_09_10764.jpg
/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_58_9754.jpg
/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_48_9754.jpg
/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_39_9784.jpg
/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_29_10786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338129637","1338129610","1338129579","1338129584","1338129650","1338129602"],"photo_ids_order":["1338129579","1338129584","1338129602","1338129610","1338129637","1338129650"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/578316d64df30e50c2bf866e3f2ebc3f.jpg","text":"TemporaryFile(/tmp/multipartBody1998361623157112369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780915015,"filename":"image_06022025_14_18_39_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19f5b811e5e34cb0c7be566b914c46e9.jpg","text":"TemporaryFile(/tmp/multipartBody8855509879756063314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780915015,"filename":"image_06022025_14_18_48_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0979c61a5d2a83a372c57059306d6f4c.jpg","text":"TemporaryFile(/tmp/multipartBody5499292095144482364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780915015,"filename":"image_06022025_14_19_19_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d346bd6ca05a73b0aed6e62b66d2c63.jpg","text":"TemporaryFile(/tmp/multipartBody1322269727018782308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780915015,"filename":"image_06022025_14_19_09_10764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0af8579a2fe7adcdea01eb486460bcf.jpg","text":"TemporaryFile(/tmp/multipartBody8571913528609924482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780915015,"filename":"image_06022025_14_18_29_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4037b46e9bff2b0316e469288155904.jpg","text":"TemporaryFile(/tmp/multipartBody8506745909840725510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739780915015,"filename":"image_06022025_14_18_58_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338129602","file1":"1338129584","file0":"1338129579","file4":"1338129637","file5":"1338129650","file3":"1338129610"},"map_files_photo_id_array":[{"photo_id":"1338129650","filename":"file5"},{"photo_id":"1338129602","filename":"file2"},{"photo_id":"1338129637","filename":"file4"},{"photo_id":"1338129584","filename":"file1"},{"photo_id":"1338129579","filename":"file0"},{"photo_id":"1338129610","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338129637":["hashtag1","hashtag2"]},{"1338129610":["hashtag1","hashtag2"]},{"1338129579":["hashtag1","hashtag2"]},{"1338129584":["hashtag1","hashtag2"]},{"1338129650":["hashtag1","hashtag2"]},{"1338129602":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338129637, 1338129610, 1338129579, 1338129584, 1338129650, 1338129602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03903031349182 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:28:32.702711
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_18_9778.jpg', 0), ('/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_08_9789.jpg', 0), ('/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_58_9775.jpg', 0), ('/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_49_9772.jpg', 0), ('/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_39_10782.jpg', 0), ('/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_28_9780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_18_9778.jpg', '/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_08_9789.jpg', '/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_58_9775.jpg', '/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_49_9772.jpg', '/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_39_10782.jpg', '/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_28_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_18_9778.jpg
/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_08_9789.jpg
/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_58_9775.jpg
/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_49_9772.jpg
/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_39_10782.jpg
/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_28_9780.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.223238468170166 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:29:03.037737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_18_9778.jpg', 0), ('/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_08_9789.jpg', 0), ('/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_58_9775.jpg', 0), ('/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_49_9772.jpg', 0), ('/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_39_10782.jpg', 0), ('/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_28_9780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_18_9778.jpg', '/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_08_9789.jpg', '/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_58_9775.jpg', '/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_49_9772.jpg', '/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_39_10782.jpg', '/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_28_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_18_9778.jpg
/home/nano/Desktop/images/06022025/14/18/image_06022025_14_18_08_9789.jpg
/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_58_9775.jpg
/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_49_9772.jpg
/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_39_10782.jpg
/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_28_9780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338129838","1338129861","1338129855","1338129857","1338129851","1338129844"],"photo_ids_order":["1338129838","1338129844","1338129851","1338129855","1338129857","1338129861"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e758a99da302afb8e10165b379e0dc5e.jpg","text":"TemporaryFile(/tmp/multipartBody2231090310383297369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781005319,"filename":"image_06022025_14_18_18_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/44ecf8638e65c59a7a84ad68ed016851.jpg","text":"TemporaryFile(/tmp/multipartBody3683885339565373999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781005319,"filename":"image_06022025_14_17_28_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b9609cdb577cd2020a82e75a1e60f87.jpg","text":"TemporaryFile(/tmp/multipartBody4547031868374926003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781005319,"filename":"image_06022025_14_17_49_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ef95f8198b1bd4546486e5c874e85a4.jpg","text":"TemporaryFile(/tmp/multipartBody8444064285595674431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781005319,"filename":"image_06022025_14_17_39_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c4eabf7e2a35aff20b5e62fdcfe3e488.jpg","text":"TemporaryFile(/tmp/multipartBody813952309551404671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781005319,"filename":"image_06022025_14_17_58_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4aafc3e2fcb166baf88f52a5fb43d05e.jpg","text":"TemporaryFile(/tmp/multipartBody6090373658219609983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781005319,"filename":"image_06022025_14_18_08_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338129851","file1":"1338129844","file0":"1338129838","file4":"1338129857","file5":"1338129861","file3":"1338129855"},"map_files_photo_id_array":[{"photo_id":"1338129861","filename":"file5"},{"photo_id":"1338129851","filename":"file2"},{"photo_id":"1338129857","filename":"file4"},{"photo_id":"1338129844","filename":"file1"},{"photo_id":"1338129838","filename":"file0"},{"photo_id":"1338129855","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338129838":["hashtag1","hashtag2"]},{"1338129861":["hashtag1","hashtag2"]},{"1338129855":["hashtag1","hashtag2"]},{"1338129857":["hashtag1","hashtag2"]},{"1338129851":["hashtag1","hashtag2"]},{"1338129844":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338129838, 1338129861, 1338129855, 1338129857, 1338129851, 1338129844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9069390296936 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:30:02.364269
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_18_9765.jpg', 0), ('/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_09_9780.jpg', 0), ('/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_59_10778.jpg', 0), ('/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_48_9773.jpg', 0), ('/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_38_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_28_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_18_9765.jpg', '/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_09_9780.jpg', '/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_59_10778.jpg', '/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_48_9773.jpg', '/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_38_9771.jpg', '/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_28_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_18_9765.jpg
/home/nano/Desktop/images/06022025/14/17/image_06022025_14_17_09_9780.jpg
/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_59_10778.jpg
/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_48_9773.jpg
/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_38_9771.jpg
/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_28_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338129888","1338129912","1338129884","1338129880","1338129883","1338129886"],"photo_ids_order":["1338129880","1338129883","1338129884","1338129886","1338129888","1338129912"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f4ef3b88916305dcea378d2234a9c27.jpg","text":"TemporaryFile(/tmp/multipartBody3877907331658910167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781064389,"filename":"image_06022025_14_16_38_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/439baef37d33b63cd51dd675265e3eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1717373389459307886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781064389,"filename":"image_06022025_14_16_28_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af35ea4b13eab691548f6204c3206083.jpg","text":"TemporaryFile(/tmp/multipartBody3346031665815346445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781064389,"filename":"image_06022025_14_16_59_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe609a8ce286bf0c01cacd96db3600c0.jpg","text":"TemporaryFile(/tmp/multipartBody7992144407429599144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781064389,"filename":"image_06022025_14_17_18_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e57cc4cbc458b80df6dc697b1c77ab18.jpg","text":"TemporaryFile(/tmp/multipartBody2562634024409655459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781064389,"filename":"image_06022025_14_17_09_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/238cafc827bdaf06f22bea666823abb2.jpg","text":"TemporaryFile(/tmp/multipartBody2823318435696288744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781064389,"filename":"image_06022025_14_16_48_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338129884","file1":"1338129883","file0":"1338129880","file4":"1338129888","file5":"1338129912","file3":"1338129886"},"map_files_photo_id_array":[{"photo_id":"1338129912","filename":"file5"},{"photo_id":"1338129884","filename":"file2"},{"photo_id":"1338129888","filename":"file4"},{"photo_id":"1338129883","filename":"file1"},{"photo_id":"1338129880","filename":"file0"},{"photo_id":"1338129886","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338129888":["hashtag1","hashtag2"]},{"1338129912":["hashtag1","hashtag2"]},{"1338129884":["hashtag1","hashtag2"]},{"1338129880":["hashtag1","hashtag2"]},{"1338129883":["hashtag1","hashtag2"]},{"1338129886":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338129888, 1338129912, 1338129884, 1338129880, 1338129883, 1338129886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09262418746948 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:31:02.873119
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_19_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_09_10781.jpg', 0), ('/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_58_9770.jpg', 0), ('/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_48_9775.jpg', 0), ('/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_39_9774.jpg', 0), ('/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_29_10775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_19_9771.jpg', '/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_09_10781.jpg', '/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_58_9770.jpg', '/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_48_9775.jpg', '/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_39_9774.jpg', '/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_29_10775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_19_9771.jpg
/home/nano/Desktop/images/06022025/14/16/image_06022025_14_16_09_10781.jpg
/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_58_9770.jpg
/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_48_9775.jpg
/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_39_9774.jpg
/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_29_10775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338129960","1338129957","1338129951","1338129965","1338129953","1338129961"],"photo_ids_order":["1338129951","1338129953","1338129957","1338129960","1338129961","1338129965"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bceb7f74325e157169fd7597d9292899.jpg","text":"TemporaryFile(/tmp/multipartBody5967734327521052682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781125110,"filename":"image_06022025_14_15_48_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/500e51ec762dd9dda4cb9e062980b3ec.jpg","text":"TemporaryFile(/tmp/multipartBody8089460136613992555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781125110,"filename":"image_06022025_14_15_58_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0515f583b08f0278cb8fddb2473ba002.jpg","text":"TemporaryFile(/tmp/multipartBody3500989132082824348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781125110,"filename":"image_06022025_14_16_19_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7824d5261dcec95967dc994adc68589f.jpg","text":"TemporaryFile(/tmp/multipartBody369421630111621204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781125110,"filename":"image_06022025_14_15_29_10775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8709d2d467acfc8627a20bf0cd3d1f14.jpg","text":"TemporaryFile(/tmp/multipartBody3988751594469374515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781125110,"filename":"image_06022025_14_16_09_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/20afe1e6995b9be95141ac9e0085c19e.jpg","text":"TemporaryFile(/tmp/multipartBody8459906873937612039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781125110,"filename":"image_06022025_14_15_39_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338129957","file1":"1338129953","file0":"1338129951","file4":"1338129961","file5":"1338129965","file3":"1338129960"},"map_files_photo_id_array":[{"photo_id":"1338129965","filename":"file5"},{"photo_id":"1338129957","filename":"file2"},{"photo_id":"1338129961","filename":"file4"},{"photo_id":"1338129953","filename":"file1"},{"photo_id":"1338129951","filename":"file0"},{"photo_id":"1338129960","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338129960":["hashtag1","hashtag2"]},{"1338129957":["hashtag1","hashtag2"]},{"1338129951":["hashtag1","hashtag2"]},{"1338129965":["hashtag1","hashtag2"]},{"1338129953":["hashtag1","hashtag2"]},{"1338129961":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338129960, 1338129957, 1338129951, 1338129965, 1338129953, 1338129961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03657674789429 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:32:02.764652
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_18_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_08_9788.jpg', 0), ('/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_58_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_49_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_39_10795.jpg', 0), ('/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_28_9769.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_18_9771.jpg', '/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_08_9788.jpg', '/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_58_9771.jpg', '/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_49_9771.jpg', '/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_39_10795.jpg', '/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_28_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_18_9771.jpg
/home/nano/Desktop/images/06022025/14/15/image_06022025_14_15_08_9788.jpg
/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_58_9771.jpg
/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_49_9771.jpg
/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_39_10795.jpg
/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_28_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338130084","1338130087","1338130114","1338130080","1338130097","1338130109"],"photo_ids_order":["1338130080","1338130084","1338130087","1338130097","1338130109","1338130114"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c87845d4966566e8965964c38ec9955b.jpg","text":"TemporaryFile(/tmp/multipartBody5428962138422843456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781185039,"filename":"image_06022025_14_15_08_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ced3edc065fcb49218ede83448e7bfe.jpg","text":"TemporaryFile(/tmp/multipartBody6431078783184925890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781185039,"filename":"image_06022025_14_14_58_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a1982234a0aaa00ec6a26947c092af0.jpg","text":"TemporaryFile(/tmp/multipartBody4508897040548629007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781185039,"filename":"image_06022025_14_14_28_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cfe2bff43faffdcaf33c54e0f455e3f.jpg","text":"TemporaryFile(/tmp/multipartBody9214390393705400971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781185039,"filename":"image_06022025_14_15_18_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fdf7fdc8f26dd70c9692b7aea9084d83.jpg","text":"TemporaryFile(/tmp/multipartBody568436958079884566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781185039,"filename":"image_06022025_14_14_49_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/74638eef4403edd2dd83ea4b374488c0.jpg","text":"TemporaryFile(/tmp/multipartBody7147707838668941285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781185039,"filename":"image_06022025_14_14_39_10795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338130087","file1":"1338130084","file0":"1338130080","file4":"1338130109","file5":"1338130114","file3":"1338130097"},"map_files_photo_id_array":[{"photo_id":"1338130114","filename":"file5"},{"photo_id":"1338130087","filename":"file2"},{"photo_id":"1338130109","filename":"file4"},{"photo_id":"1338130084","filename":"file1"},{"photo_id":"1338130080","filename":"file0"},{"photo_id":"1338130097","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338130084":["hashtag1","hashtag2"]},{"1338130087":["hashtag1","hashtag2"]},{"1338130114":["hashtag1","hashtag2"]},{"1338130080":["hashtag1","hashtag2"]},{"1338130097":["hashtag1","hashtag2"]},{"1338130109":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338130084, 1338130087, 1338130114, 1338130080, 1338130097, 1338130109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37271285057068 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:33:03.113051
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_18_9781.jpg', 0), ('/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_09_9781.jpg', 0), ('/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_59_10785.jpg', 0), ('/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_48_9772.jpg', 0), ('/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_38_9773.jpg', 0), ('/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_28_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_18_9781.jpg', '/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_09_9781.jpg', '/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_59_10785.jpg', '/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_48_9772.jpg', '/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_38_9773.jpg', '/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_28_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_18_9781.jpg
/home/nano/Desktop/images/06022025/14/14/image_06022025_14_14_09_9781.jpg
/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_59_10785.jpg
/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_48_9772.jpg
/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_38_9773.jpg
/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_28_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338130180","1338130183","1338130171","1338130167","1338130178","1338130175"],"photo_ids_order":["1338130167","1338130171","1338130175","1338130178","1338130180","1338130183"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90b6a7e2b9824c2afdf7bdfa0b1943e4.jpg","text":"TemporaryFile(/tmp/multipartBody802601992280753619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781245232,"filename":"image_06022025_14_13_38_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/10c7bd7bc70384e12a5bedc6dc84f131.jpg","text":"TemporaryFile(/tmp/multipartBody1124814928583912627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781245232,"filename":"image_06022025_14_13_28_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17e8c9364bcc61c5a235876cbdc1bee0.jpg","text":"TemporaryFile(/tmp/multipartBody452883841787198029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781245232,"filename":"image_06022025_14_14_09_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/adaa8a1d6e1bf6684883b14e521a2eda.jpg","text":"TemporaryFile(/tmp/multipartBody9061715017217911448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781245232,"filename":"image_06022025_14_14_18_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae36eadac25402fb15c81ebb81512e71.jpg","text":"TemporaryFile(/tmp/multipartBody8346272116220008529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781245232,"filename":"image_06022025_14_13_48_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cdcd112efc98de29a5d912ed41dbdd39.jpg","text":"TemporaryFile(/tmp/multipartBody4966289207261292596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781245232,"filename":"image_06022025_14_13_59_10785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338130175","file1":"1338130171","file0":"1338130167","file4":"1338130180","file5":"1338130183","file3":"1338130178"},"map_files_photo_id_array":[{"photo_id":"1338130183","filename":"file5"},{"photo_id":"1338130175","filename":"file2"},{"photo_id":"1338130180","filename":"file4"},{"photo_id":"1338130171","filename":"file1"},{"photo_id":"1338130167","filename":"file0"},{"photo_id":"1338130178","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338130180":["hashtag1","hashtag2"]},{"1338130183":["hashtag1","hashtag2"]},{"1338130171":["hashtag1","hashtag2"]},{"1338130167":["hashtag1","hashtag2"]},{"1338130178":["hashtag1","hashtag2"]},{"1338130175":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338130180, 1338130183, 1338130171, 1338130167, 1338130178, 1338130175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.498406171798706 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:34:03.348440
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_19_9770.jpg', 0), ('/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_09_10801.jpg', 0), ('/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_58_9772.jpg', 0), ('/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_48_9774.jpg', 0), ('/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_39_9772.jpg', 0), ('/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_29_10791.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_19_9770.jpg', '/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_09_10801.jpg', '/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_58_9772.jpg', '/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_48_9774.jpg', '/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_39_9772.jpg', '/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_29_10791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_19_9770.jpg
/home/nano/Desktop/images/06022025/14/13/image_06022025_14_13_09_10801.jpg
/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_58_9772.jpg
/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_48_9774.jpg
/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_39_9772.jpg
/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_29_10791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338130198","1338130203","1338130206","1338130200","1338130235","1338130223"],"photo_ids_order":["1338130198","1338130200","1338130203","1338130206","1338130223","1338130235"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6332ff91b76bef9a0e6efadd519d0082.jpg","text":"TemporaryFile(/tmp/multipartBody5426463006390655700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781305435,"filename":"image_06022025_14_13_19_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/275db3290b3f22265c891ebeb8267f23.jpg","text":"TemporaryFile(/tmp/multipartBody6105673805667048217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781305435,"filename":"image_06022025_14_12_58_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/734683d21ab69cdae5a5142c513770b4.jpg","text":"TemporaryFile(/tmp/multipartBody8169921324053525664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781305435,"filename":"image_06022025_14_12_48_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cabc370edc2d4f3d4732866134a9cf30.jpg","text":"TemporaryFile(/tmp/multipartBody5677135120737857829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781305435,"filename":"image_06022025_14_13_09_10801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e166cbd57151e3c841517122f8803187.jpg","text":"TemporaryFile(/tmp/multipartBody1470845875504621691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781305435,"filename":"image_06022025_14_12_29_10791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c2e3aca19d945222e4449e7b483b00c.jpg","text":"TemporaryFile(/tmp/multipartBody1796422758382680965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781305435,"filename":"image_06022025_14_12_39_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338130203","file1":"1338130200","file0":"1338130198","file4":"1338130223","file5":"1338130235","file3":"1338130206"},"map_files_photo_id_array":[{"photo_id":"1338130235","filename":"file5"},{"photo_id":"1338130203","filename":"file2"},{"photo_id":"1338130223","filename":"file4"},{"photo_id":"1338130200","filename":"file1"},{"photo_id":"1338130198","filename":"file0"},{"photo_id":"1338130206","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338130198":["hashtag1","hashtag2"]},{"1338130203":["hashtag1","hashtag2"]},{"1338130206":["hashtag1","hashtag2"]},{"1338130200":["hashtag1","hashtag2"]},{"1338130235":["hashtag1","hashtag2"]},{"1338130223":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338130198, 1338130203, 1338130206, 1338130200, 1338130235, 1338130223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70785140991211 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:35:03.368910
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_18_9779.jpg', 0), ('/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_08_9760.jpg', 0), ('/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_58_9780.jpg', 0), ('/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_49_9766.jpg', 0), ('/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_39_10778.jpg', 0), ('/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_28_9771.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_18_9779.jpg', '/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_08_9760.jpg', '/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_58_9780.jpg', '/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_49_9766.jpg', '/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_39_10778.jpg', '/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_28_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_18_9779.jpg
/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_08_9760.jpg
/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_58_9780.jpg
/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_49_9766.jpg
/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_39_10778.jpg
/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_28_9771.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.234848976135254 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:35:32.807549
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_18_9779.jpg', 0), ('/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_08_9760.jpg', 0), ('/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_58_9780.jpg', 0), ('/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_49_9766.jpg', 0), ('/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_39_10778.jpg', 0), ('/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_28_9771.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_18_9779.jpg', '/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_08_9760.jpg', '/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_58_9780.jpg', '/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_49_9766.jpg', '/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_39_10778.jpg', '/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_28_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_18_9779.jpg
/home/nano/Desktop/images/06022025/14/12/image_06022025_14_12_08_9760.jpg
/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_58_9780.jpg
/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_49_9766.jpg
/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_39_10778.jpg
/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_28_9771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338130474","1338130476","1338130320","1338130469","1338130379","1338130472"],"photo_ids_order":["1338130320","1338130379","1338130469","1338130472","1338130474","1338130476"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82f61f4d0489a0aa718b584926391d5d.jpg","text":"TemporaryFile(/tmp/multipartBody3974003193672072028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781394633,"filename":"image_06022025_14_11_39_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d9311132fd8b5b4c052864a078514c9.jpg","text":"TemporaryFile(/tmp/multipartBody1909292244096671864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781394633,"filename":"image_06022025_14_11_28_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ccc1ccda03b0734cb2c2cecf154d4e4b.jpg","text":"TemporaryFile(/tmp/multipartBody3897205381472719173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781394633,"filename":"image_06022025_14_12_18_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bb5feb505a159b8960b34e09f44217dd.jpg","text":"TemporaryFile(/tmp/multipartBody4725984625997590635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781394633,"filename":"image_06022025_14_11_58_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/236ffb260de0bbdd6da4586de95e97d6.jpg","text":"TemporaryFile(/tmp/multipartBody4211606361199728747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781394633,"filename":"image_06022025_14_12_08_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e9b8332052b17dd1dc7d1700b0ec00e.jpg","text":"TemporaryFile(/tmp/multipartBody7285776609952102021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781394633,"filename":"image_06022025_14_11_49_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338130469","file1":"1338130379","file0":"1338130320","file4":"1338130474","file5":"1338130476","file3":"1338130472"},"map_files_photo_id_array":[{"photo_id":"1338130476","filename":"file5"},{"photo_id":"1338130469","filename":"file2"},{"photo_id":"1338130474","filename":"file4"},{"photo_id":"1338130379","filename":"file1"},{"photo_id":"1338130320","filename":"file0"},{"photo_id":"1338130472","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338130474":["hashtag1","hashtag2"]},{"1338130476":["hashtag1","hashtag2"]},{"1338130320":["hashtag1","hashtag2"]},{"1338130469":["hashtag1","hashtag2"]},{"1338130379":["hashtag1","hashtag2"]},{"1338130472":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338130474, 1338130476, 1338130320, 1338130469, 1338130379, 1338130472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97531342506409 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:36:31.999237
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_18_9769.jpg', 0), ('/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_09_9770.jpg', 0), ('/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_59_10790.jpg', 0), ('/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_48_9769.jpg', 0), ('/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_38_9769.jpg', 0), ('/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_28_9768.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_18_9769.jpg', '/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_09_9770.jpg', '/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_59_10790.jpg', '/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_48_9769.jpg', '/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_38_9769.jpg', '/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_28_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_18_9769.jpg
/home/nano/Desktop/images/06022025/14/11/image_06022025_14_11_09_9770.jpg
/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_59_10790.jpg
/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_48_9769.jpg
/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_38_9769.jpg
/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_28_9768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338130517","1338130495","1338130504","1338130512","1338130508","1338130498"],"photo_ids_order":["1338130495","1338130498","1338130504","1338130508","1338130512","1338130517"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff543268c5c09c47b1227c78cc73e6a5.jpg","text":"TemporaryFile(/tmp/multipartBody5643034087086662989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781455312,"filename":"image_06022025_14_10_28_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e2d3a07657fcd2bfd3d4bced2b7e0509.jpg","text":"TemporaryFile(/tmp/multipartBody1957752205573043922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781455312,"filename":"image_06022025_14_11_18_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eec29e3220daf1b0df9c1140794b363f.jpg","text":"TemporaryFile(/tmp/multipartBody6749432896830013471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781455312,"filename":"image_06022025_14_10_59_10790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c75f42dc8ac07400818243de01350686.jpg","text":"TemporaryFile(/tmp/multipartBody2004115531043152597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781455312,"filename":"image_06022025_14_10_38_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a9178962dc28ac3e212f46eba9e0127.jpg","text":"TemporaryFile(/tmp/multipartBody7302634719742080778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781455312,"filename":"image_06022025_14_10_48_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f686f97ec0384ed140df234b79e0e1ca.jpg","text":"TemporaryFile(/tmp/multipartBody2904065342360432789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781455312,"filename":"image_06022025_14_11_09_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338130504","file1":"1338130498","file0":"1338130495","file4":"1338130512","file5":"1338130517","file3":"1338130508"},"map_files_photo_id_array":[{"photo_id":"1338130517","filename":"file5"},{"photo_id":"1338130504","filename":"file2"},{"photo_id":"1338130512","filename":"file4"},{"photo_id":"1338130498","filename":"file1"},{"photo_id":"1338130495","filename":"file0"},{"photo_id":"1338130508","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338130517":["hashtag1","hashtag2"]},{"1338130495":["hashtag1","hashtag2"]},{"1338130504":["hashtag1","hashtag2"]},{"1338130512":["hashtag1","hashtag2"]},{"1338130508":["hashtag1","hashtag2"]},{"1338130498":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338130517, 1338130495, 1338130504, 1338130512, 1338130508, 1338130498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21789193153381 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:37:32.148676
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_19_9777.jpg', 0), ('/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_09_10802.jpg', 0), ('/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_58_9770.jpg', 0), ('/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_48_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_39_9762.jpg', 0), ('/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_29_10784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_19_9777.jpg', '/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_09_10802.jpg', '/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_58_9770.jpg', '/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_48_9771.jpg', '/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_39_9762.jpg', '/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_29_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_19_9777.jpg
/home/nano/Desktop/images/06022025/14/10/image_06022025_14_10_09_10802.jpg
/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_58_9770.jpg
/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_48_9771.jpg
/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_39_9762.jpg
/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_29_10784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338130546","1338130561","1338130555","1338130540","1338130563","1338130536"],"photo_ids_order":["1338130536","1338130540","1338130546","1338130555","1338130561","1338130563"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c0789b1a1f8d9854c11d24e3d876d85.jpg","text":"TemporaryFile(/tmp/multipartBody8280911558665119534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781514303,"filename":"image_06022025_14_09_58_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/345a4343bce61ec2f21a59099a9f7b15.jpg","text":"TemporaryFile(/tmp/multipartBody4395345571570500057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781514303,"filename":"image_06022025_14_09_39_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b280f27bbc3237b4d840693910a87b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4822857700559247070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781514303,"filename":"image_06022025_14_09_48_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fdf72af49444038ebc4dda9f9ccc7030.jpg","text":"TemporaryFile(/tmp/multipartBody1219402128803524744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781514303,"filename":"image_06022025_14_10_09_10802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/033bf97edbc8ebfb3a52d0d4ea877dd8.jpg","text":"TemporaryFile(/tmp/multipartBody2760382044379389462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781514303,"filename":"image_06022025_14_09_29_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe37b88c713399c03175f56b7e3f3970.jpg","text":"TemporaryFile(/tmp/multipartBody2050169048863322845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781514303,"filename":"image_06022025_14_10_19_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338130546","file1":"1338130540","file0":"1338130536","file4":"1338130561","file5":"1338130563","file3":"1338130555"},"map_files_photo_id_array":[{"photo_id":"1338130563","filename":"file5"},{"photo_id":"1338130546","filename":"file2"},{"photo_id":"1338130561","filename":"file4"},{"photo_id":"1338130540","filename":"file1"},{"photo_id":"1338130536","filename":"file0"},{"photo_id":"1338130555","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338130546":["hashtag1","hashtag2"]},{"1338130561":["hashtag1","hashtag2"]},{"1338130555":["hashtag1","hashtag2"]},{"1338130540":["hashtag1","hashtag2"]},{"1338130563":["hashtag1","hashtag2"]},{"1338130536":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338130546, 1338130561, 1338130555, 1338130540, 1338130563, 1338130536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02715730667114 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:38:32.320499
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_18_9770.jpg', 0), ('/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_08_9784.jpg', 0), ('/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_58_9764.jpg', 0), ('/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_49_9779.jpg', 0), ('/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_39_10788.jpg', 0), ('/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_28_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_18_9770.jpg', '/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_08_9784.jpg', '/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_58_9764.jpg', '/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_49_9779.jpg', '/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_39_10788.jpg', '/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_28_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_18_9770.jpg
/home/nano/Desktop/images/06022025/14/09/image_06022025_14_09_08_9784.jpg
/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_58_9764.jpg
/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_49_9779.jpg
/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_39_10788.jpg
/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_28_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338130616","1338130606","1338130602","1338130640","1338130637","1338130622"],"photo_ids_order":["1338130602","1338130606","1338130616","1338130622","1338130637","1338130640"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e6615a865288b842dee5c35f457a116.jpg","text":"TemporaryFile(/tmp/multipartBody870282863656916217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781574333,"filename":"image_06022025_14_08_58_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/edf8bc5851e49a25ca4699f85b01d52b.jpg","text":"TemporaryFile(/tmp/multipartBody452276916125018181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781574333,"filename":"image_06022025_14_09_08_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc47b76de07ecb25fd2e39000f5cca7d.jpg","text":"TemporaryFile(/tmp/multipartBody3191845207051601839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781574333,"filename":"image_06022025_14_09_18_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b565d966dd804e420c9866875b93d334.jpg","text":"TemporaryFile(/tmp/multipartBody6008294380491023198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781574333,"filename":"image_06022025_14_08_28_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54e40b87195f905246701e7f21bf02fc.jpg","text":"TemporaryFile(/tmp/multipartBody905018051651542905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781574333,"filename":"image_06022025_14_08_39_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64d77a7c6f7258046f874650959db6fd.jpg","text":"TemporaryFile(/tmp/multipartBody6903951822751538629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781574333,"filename":"image_06022025_14_08_49_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338130616","file1":"1338130606","file0":"1338130602","file4":"1338130637","file5":"1338130640","file3":"1338130622"},"map_files_photo_id_array":[{"photo_id":"1338130640","filename":"file5"},{"photo_id":"1338130616","filename":"file2"},{"photo_id":"1338130637","filename":"file4"},{"photo_id":"1338130606","filename":"file1"},{"photo_id":"1338130602","filename":"file0"},{"photo_id":"1338130622","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338130616":["hashtag1","hashtag2"]},{"1338130606":["hashtag1","hashtag2"]},{"1338130602":["hashtag1","hashtag2"]},{"1338130640":["hashtag1","hashtag2"]},{"1338130637":["hashtag1","hashtag2"]},{"1338130622":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338130616, 1338130606, 1338130602, 1338130640, 1338130637, 1338130622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73498821258545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:39:32.495194
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_18_9770.jpg', 0), ('/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_09_9781.jpg', 0), ('/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_59_10777.jpg', 0), ('/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_48_9766.jpg', 0), ('/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_38_9770.jpg', 0), ('/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_29_9760.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_18_9770.jpg', '/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_09_9781.jpg', '/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_59_10777.jpg', '/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_48_9766.jpg', '/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_38_9770.jpg', '/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_29_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_18_9770.jpg
/home/nano/Desktop/images/06022025/14/08/image_06022025_14_08_09_9781.jpg
/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_59_10777.jpg
/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_48_9766.jpg
/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_38_9770.jpg
/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_29_9760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338130720","1338130714","1338130708","1338130728","1338130694","1338130673"],"photo_ids_order":["1338130673","1338130694","1338130708","1338130714","1338130720","1338130728"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50a0adcac52ae14808d0a3b9a97087fc.jpg","text":"TemporaryFile(/tmp/multipartBody5230536216932254702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781634442,"filename":"image_06022025_14_07_38_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/84bcd3d5bc76a580d0be79db6d0f3647.jpg","text":"TemporaryFile(/tmp/multipartBody1667124788537338646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781634442,"filename":"image_06022025_14_07_48_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be9c760fa3ed22062398256ec1dcd328.jpg","text":"TemporaryFile(/tmp/multipartBody9198314145417194597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781634442,"filename":"image_06022025_14_07_59_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba5f50814b3fbaa9ebb2cf7a72aaf278.jpg","text":"TemporaryFile(/tmp/multipartBody7344552117961390524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781634442,"filename":"image_06022025_14_07_29_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a0da1c247a38b5c20ddbeecdc8346df.jpg","text":"TemporaryFile(/tmp/multipartBody3447309884551463399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781634442,"filename":"image_06022025_14_08_09_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88c183c3281174a51f0608d33a917e4b.jpg","text":"TemporaryFile(/tmp/multipartBody5599256943407867442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781634442,"filename":"image_06022025_14_08_18_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338130708","file1":"1338130694","file0":"1338130673","file4":"1338130720","file5":"1338130728","file3":"1338130714"},"map_files_photo_id_array":[{"photo_id":"1338130728","filename":"file5"},{"photo_id":"1338130708","filename":"file2"},{"photo_id":"1338130720","filename":"file4"},{"photo_id":"1338130694","filename":"file1"},{"photo_id":"1338130673","filename":"file0"},{"photo_id":"1338130714","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338130720":["hashtag1","hashtag2"]},{"1338130714":["hashtag1","hashtag2"]},{"1338130708":["hashtag1","hashtag2"]},{"1338130728":["hashtag1","hashtag2"]},{"1338130694":["hashtag1","hashtag2"]},{"1338130673":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338130720, 1338130714, 1338130708, 1338130728, 1338130694, 1338130673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.89183497428894 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:40:32.676318
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_19_10778.jpg', 0), ('/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_08_9770.jpg', 0), ('/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_58_9778.jpg', 0), ('/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_48_9768.jpg', 0), ('/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_39_9769.jpg', 0), ('/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_29_10787.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_19_10778.jpg', '/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_08_9770.jpg', '/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_58_9778.jpg', '/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_48_9768.jpg', '/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_39_9769.jpg', '/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_29_10787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_19_10778.jpg
/home/nano/Desktop/images/06022025/14/07/image_06022025_14_07_08_9770.jpg
/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_58_9778.jpg
/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_48_9768.jpg
/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_39_9769.jpg
/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_29_10787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338130756","1338130767","1338130751","1338130769","1338130760","1338130763"],"photo_ids_order":["1338130751","1338130756","1338130760","1338130763","1338130767","1338130769"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/932af5ddc3ea8af1a2887bcbcba69846.jpg","text":"TemporaryFile(/tmp/multipartBody1882849841068412614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781695584,"filename":"image_06022025_14_07_08_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e6806b8522eecd7678f6fec80c312d4.jpg","text":"TemporaryFile(/tmp/multipartBody2557558780956659469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781695584,"filename":"image_06022025_14_06_39_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59d05c09c3e4eac052646aeb5f58516a.jpg","text":"TemporaryFile(/tmp/multipartBody1151294469198152523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781695584,"filename":"image_06022025_14_07_19_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/91711ad838b9636aedbd1fefc2696df9.jpg","text":"TemporaryFile(/tmp/multipartBody1288491511627341249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781695584,"filename":"image_06022025_14_06_29_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d355c21f12647e65fe37ef6eb443f5b3.jpg","text":"TemporaryFile(/tmp/multipartBody7403501327813386045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781695584,"filename":"image_06022025_14_06_58_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2153161ed732d9cb918501853d98edf.jpg","text":"TemporaryFile(/tmp/multipartBody746212983681998994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781695584,"filename":"image_06022025_14_06_48_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338130760","file1":"1338130756","file0":"1338130751","file4":"1338130767","file5":"1338130769","file3":"1338130763"},"map_files_photo_id_array":[{"photo_id":"1338130769","filename":"file5"},{"photo_id":"1338130760","filename":"file2"},{"photo_id":"1338130767","filename":"file4"},{"photo_id":"1338130756","filename":"file1"},{"photo_id":"1338130751","filename":"file0"},{"photo_id":"1338130763","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338130756":["hashtag1","hashtag2"]},{"1338130767":["hashtag1","hashtag2"]},{"1338130751":["hashtag1","hashtag2"]},{"1338130769":["hashtag1","hashtag2"]},{"1338130760":["hashtag1","hashtag2"]},{"1338130763":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338130756, 1338130767, 1338130751, 1338130769, 1338130760, 1338130763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28842234611511 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:41:31.818116
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_18_9769.jpg', 0), ('/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_08_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_59_9769.jpg', 0), ('/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_49_10781.jpg', 0), ('/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_38_9773.jpg', 0), ('/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_28_9768.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_18_9769.jpg', '/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_08_9771.jpg', '/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_59_9769.jpg', '/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_49_10781.jpg', '/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_38_9773.jpg', '/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_28_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_18_9769.jpg
/home/nano/Desktop/images/06022025/14/06/image_06022025_14_06_08_9771.jpg
/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_59_9769.jpg
/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_49_10781.jpg
/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_38_9773.jpg
/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_28_9768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338130825","1338130807","1338130827","1338130815","1338130799","1338130803"],"photo_ids_order":["1338130799","1338130803","1338130807","1338130815","1338130825","1338130827"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e939b17e6d7cc8d553c230c271ea8431.jpg","text":"TemporaryFile(/tmp/multipartBody5022596782489358833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781753699,"filename":"image_06022025_14_05_38_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1af8b1d610b588858cf0b0c618585a96.jpg","text":"TemporaryFile(/tmp/multipartBody899024142092798886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781753699,"filename":"image_06022025_14_05_59_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/174a8cd79e1e76f76748173f4d058f0f.jpg","text":"TemporaryFile(/tmp/multipartBody6867826611633831897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781753699,"filename":"image_06022025_14_05_28_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f143e8b80a767c2ed7f53c1cf7dd428.jpg","text":"TemporaryFile(/tmp/multipartBody2520471369319703069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781753699,"filename":"image_06022025_14_05_49_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e28a7cb24490b88d6ea0cde95217c3f7.jpg","text":"TemporaryFile(/tmp/multipartBody4465776604893469631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781753699,"filename":"image_06022025_14_06_18_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/054056107c61650b604a24e5934a38bb.jpg","text":"TemporaryFile(/tmp/multipartBody3534195296921814612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781753699,"filename":"image_06022025_14_06_08_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338130807","file1":"1338130803","file0":"1338130799","file4":"1338130825","file5":"1338130827","file3":"1338130815"},"map_files_photo_id_array":[{"photo_id":"1338130827","filename":"file5"},{"photo_id":"1338130807","filename":"file2"},{"photo_id":"1338130825","filename":"file4"},{"photo_id":"1338130803","filename":"file1"},{"photo_id":"1338130799","filename":"file0"},{"photo_id":"1338130815","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338130825":["hashtag1","hashtag2"]},{"1338130807":["hashtag1","hashtag2"]},{"1338130827":["hashtag1","hashtag2"]},{"1338130815":["hashtag1","hashtag2"]},{"1338130799":["hashtag1","hashtag2"]},{"1338130803":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338130825, 1338130807, 1338130827, 1338130815, 1338130799, 1338130803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.319483518600464 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:42:31.968389
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_18_9768.jpg', 0), ('/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_09_9772.jpg', 0), ('/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_59_10773.jpg', 0), ('/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_48_9767.jpg', 0), ('/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_38_9766.jpg', 0), ('/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_29_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_18_9768.jpg', '/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_09_9772.jpg', '/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_59_10773.jpg', '/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_48_9767.jpg', '/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_38_9766.jpg', '/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_29_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_18_9768.jpg
/home/nano/Desktop/images/06022025/14/05/image_06022025_14_05_09_9772.jpg
/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_59_10773.jpg
/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_48_9767.jpg
/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_38_9766.jpg
/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_29_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338130864","1338130860","1338130854","1338130857","1338130851","1338130862"],"photo_ids_order":["1338130851","1338130854","1338130857","1338130860","1338130862","1338130864"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d20c6c0f8010060f3e53e35f4d6c964.jpg","text":"TemporaryFile(/tmp/multipartBody2955513976094198857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781814364,"filename":"image_06022025_14_04_29_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8205f27f6f7a0c0b534fe92ef0f9c67d.jpg","text":"TemporaryFile(/tmp/multipartBody2441287638888648451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781814364,"filename":"image_06022025_14_04_48_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3264789658e5f046531bf6fb4c46bb2f.jpg","text":"TemporaryFile(/tmp/multipartBody5814564310986895588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781814364,"filename":"image_06022025_14_05_09_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ec59d4d6df7a21a10bff93f232b46ca.jpg","text":"TemporaryFile(/tmp/multipartBody1413761071360938646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781814364,"filename":"image_06022025_14_04_59_10773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/160e36ec18e01be857da986b73a2bb1e.jpg","text":"TemporaryFile(/tmp/multipartBody2775094476081655086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781814364,"filename":"image_06022025_14_05_18_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4e4caabb05660d4fb2a60385e61c25e.jpg","text":"TemporaryFile(/tmp/multipartBody7545725845343211088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781814364,"filename":"image_06022025_14_04_38_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338130857","file1":"1338130854","file0":"1338130851","file4":"1338130862","file5":"1338130864","file3":"1338130860"},"map_files_photo_id_array":[{"photo_id":"1338130864","filename":"file5"},{"photo_id":"1338130857","filename":"file2"},{"photo_id":"1338130862","filename":"file4"},{"photo_id":"1338130854","filename":"file1"},{"photo_id":"1338130851","filename":"file0"},{"photo_id":"1338130860","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338130864":["hashtag1","hashtag2"]},{"1338130860":["hashtag1","hashtag2"]},{"1338130854":["hashtag1","hashtag2"]},{"1338130857":["hashtag1","hashtag2"]},{"1338130851":["hashtag1","hashtag2"]},{"1338130862":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338130864, 1338130860, 1338130854, 1338130857, 1338130851, 1338130862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36963987350464 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:43:32.115850
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_19_10773.jpg', 0), ('/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_08_9765.jpg', 0), ('/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_58_9768.jpg', 0), ('/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_49_9772.jpg', 0), ('/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_39_10775.jpg', 0), ('/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_28_9771.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_19_10773.jpg', '/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_08_9765.jpg', '/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_58_9768.jpg', '/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_49_9772.jpg', '/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_39_10775.jpg', '/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_28_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_19_10773.jpg
/home/nano/Desktop/images/06022025/14/04/image_06022025_14_04_08_9765.jpg
/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_58_9768.jpg
/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_49_9772.jpg
/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_39_10775.jpg
/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_28_9771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338130903","1338130895","1338130898","1338130892","1338130886","1338130889"],"photo_ids_order":["1338130886","1338130889","1338130892","1338130895","1338130898","1338130903"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cd471f28100d763d22acd9fffc544b3.jpg","text":"TemporaryFile(/tmp/multipartBody5241761383510905033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781874273,"filename":"image_06022025_14_03_28_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b86ebbe113ef1e98cc46e1efdebafa8.jpg","text":"TemporaryFile(/tmp/multipartBody5645989375036094317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781874273,"filename":"image_06022025_14_03_49_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/536b001fc1e1fec96dfd9c495bd96012.jpg","text":"TemporaryFile(/tmp/multipartBody4656923879094634615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781874273,"filename":"image_06022025_14_03_39_10775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b12ac40ee0d0d398f8a081f4f00c9afb.jpg","text":"TemporaryFile(/tmp/multipartBody8524039622139679510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781874273,"filename":"image_06022025_14_03_58_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5169b704d5f756e35dc0298f74e6c56a.jpg","text":"TemporaryFile(/tmp/multipartBody1045620447804229950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781874273,"filename":"image_06022025_14_04_19_10773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dde62c8a088cddd96ea6e818acf4a3ad.jpg","text":"TemporaryFile(/tmp/multipartBody8962250613075320985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781874273,"filename":"image_06022025_14_04_08_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338130892","file1":"1338130889","file0":"1338130886","file4":"1338130898","file5":"1338130903","file3":"1338130895"},"map_files_photo_id_array":[{"photo_id":"1338130903","filename":"file5"},{"photo_id":"1338130892","filename":"file2"},{"photo_id":"1338130898","filename":"file4"},{"photo_id":"1338130889","filename":"file1"},{"photo_id":"1338130886","filename":"file0"},{"photo_id":"1338130895","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338130903":["hashtag1","hashtag2"]},{"1338130895":["hashtag1","hashtag2"]},{"1338130898":["hashtag1","hashtag2"]},{"1338130892":["hashtag1","hashtag2"]},{"1338130886":["hashtag1","hashtag2"]},{"1338130889":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338130903, 1338130895, 1338130898, 1338130892, 1338130886, 1338130889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.607900857925415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:44:32.259089
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_18_9778.jpg', 0), ('/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_08_9784.jpg', 0), ('/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_59_9789.jpg', 0), ('/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_49_10796.jpg', 0), ('/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_38_9769.jpg', 0), ('/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_28_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_18_9778.jpg', '/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_08_9784.jpg', '/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_59_9789.jpg', '/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_49_10796.jpg', '/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_38_9769.jpg', '/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_28_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_18_9778.jpg
/home/nano/Desktop/images/06022025/14/03/image_06022025_14_03_08_9784.jpg
/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_59_9789.jpg
/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_49_10796.jpg
/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_38_9769.jpg
/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_28_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338130957","1338130992","1338130986","1338130989","1338130953","1338130949"],"photo_ids_order":["1338130949","1338130953","1338130957","1338130986","1338130989","1338130992"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/301b0d3cc28d2a514fb5841dab0cb82e.jpg","text":"TemporaryFile(/tmp/multipartBody2296160667215501184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781934356,"filename":"image_06022025_14_02_59_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a67ca650ae5a2f96e31467e6c660894f.jpg","text":"TemporaryFile(/tmp/multipartBody166805456968239831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781934356,"filename":"image_06022025_14_02_28_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b8178f11c31f4eae43c88240b65000b.jpg","text":"TemporaryFile(/tmp/multipartBody7054051831302296469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781934356,"filename":"image_06022025_14_02_49_10796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d0c60117bc97c2ef23b6650e6f1ba1c.jpg","text":"TemporaryFile(/tmp/multipartBody8838048991063225722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781934356,"filename":"image_06022025_14_02_38_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f56688232e0455918cb16d1ccabfddcf.jpg","text":"TemporaryFile(/tmp/multipartBody8821994392686982061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781934356,"filename":"image_06022025_14_03_08_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6701a014b4adaf5a5817610656cc50b2.jpg","text":"TemporaryFile(/tmp/multipartBody6894248439163272937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781934356,"filename":"image_06022025_14_03_18_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338130957","file1":"1338130953","file0":"1338130949","file4":"1338130989","file5":"1338130992","file3":"1338130986"},"map_files_photo_id_array":[{"photo_id":"1338130992","filename":"file5"},{"photo_id":"1338130957","filename":"file2"},{"photo_id":"1338130989","filename":"file4"},{"photo_id":"1338130953","filename":"file1"},{"photo_id":"1338130949","filename":"file0"},{"photo_id":"1338130986","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338130957":["hashtag1","hashtag2"]},{"1338130992":["hashtag1","hashtag2"]},{"1338130986":["hashtag1","hashtag2"]},{"1338130989":["hashtag1","hashtag2"]},{"1338130953":["hashtag1","hashtag2"]},{"1338130949":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338130957, 1338130992, 1338130986, 1338130989, 1338130953, 1338130949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54168367385864 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:45:32.401338
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_19_9797.jpg', 0), ('/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_09_9775.jpg', 0), ('/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_59_10713.jpg', 0), ('/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_48_9687.jpg', 0), ('/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_38_9670.jpg', 0), ('/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_29_10668.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_19_9797.jpg', '/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_09_9775.jpg', '/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_59_10713.jpg', '/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_48_9687.jpg', '/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_38_9670.jpg', '/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_29_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_19_9797.jpg
/home/nano/Desktop/images/06022025/14/02/image_06022025_14_02_09_9775.jpg
/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_59_10713.jpg
/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_48_9687.jpg
/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_38_9670.jpg
/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_29_10668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338131026","1338131017","1338131051","1338131033","1338131021","1338131041"],"photo_ids_order":["1338131017","1338131021","1338131026","1338131033","1338131041","1338131051"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba2fc8b701efea072519c1bda2321858.jpg","text":"TemporaryFile(/tmp/multipartBody6903835725178820138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781994308,"filename":"image_06022025_13_32_59_10713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5798c30e64f60a1de9ff95c47ab7b79f.jpg","text":"TemporaryFile(/tmp/multipartBody8465060902243619588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781994308,"filename":"image_06022025_14_02_19_9797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a6dd8dbe05a77ed9914c6fee5a040df0.jpg","text":"TemporaryFile(/tmp/multipartBody4015074982860988853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781994308,"filename":"image_06022025_13_32_29_10668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c68579485196c3888b41c9ee691171f6.jpg","text":"TemporaryFile(/tmp/multipartBody6245771166536385404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781994308,"filename":"image_06022025_13_32_48_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/297def1bcc2998e923b8dc4b8a04be24.jpg","text":"TemporaryFile(/tmp/multipartBody8100623952320071076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781994308,"filename":"image_06022025_14_02_09_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ef81a3d3228d4a023f5abd21fdffb73b.jpg","text":"TemporaryFile(/tmp/multipartBody191894310440444996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739781994308,"filename":"image_06022025_13_32_38_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338131026","file1":"1338131021","file0":"1338131017","file4":"1338131041","file5":"1338131051","file3":"1338131033"},"map_files_photo_id_array":[{"photo_id":"1338131051","filename":"file5"},{"photo_id":"1338131026","filename":"file2"},{"photo_id":"1338131041","filename":"file4"},{"photo_id":"1338131021","filename":"file1"},{"photo_id":"1338131017","filename":"file0"},{"photo_id":"1338131033","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338131026":["hashtag1","hashtag2"]},{"1338131017":["hashtag1","hashtag2"]},{"1338131051":["hashtag1","hashtag2"]},{"1338131033":["hashtag1","hashtag2"]},{"1338131021":["hashtag1","hashtag2"]},{"1338131041":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338131026, 1338131017, 1338131051, 1338131033, 1338131021, 1338131041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.075145959854126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:46:32.551913
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_18_9755.jpg', 0), ('/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_08_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_58_9689.jpg', 0), ('/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_48_9716.jpg', 0), ('/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_39_10700.jpg', 0), ('/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_28_9729.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_18_9755.jpg', '/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_08_9771.jpg', '/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_58_9689.jpg', '/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_48_9716.jpg', '/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_39_10700.jpg', '/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_28_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_18_9755.jpg
/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_08_9771.jpg
/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_58_9689.jpg
/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_48_9716.jpg
/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_39_10700.jpg
/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_28_9729.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.0358622074127197 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:47:03.326879
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_18_9755.jpg', 0), ('/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_08_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_58_9689.jpg', 0), ('/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_48_9716.jpg', 0), ('/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_39_10700.jpg', 0), ('/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_28_9729.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_18_9755.jpg', '/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_08_9771.jpg', '/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_58_9689.jpg', '/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_48_9716.jpg', '/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_39_10700.jpg', '/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_28_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_18_9755.jpg
/home/nano/Desktop/images/06022025/13/32/image_06022025_13_32_08_9771.jpg
/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_58_9689.jpg
/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_48_9716.jpg
/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_39_10700.jpg
/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_28_9729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338131245","1338131256","1338131243","1338131252","1338131260","1338131248"],"photo_ids_order":["1338131243","1338131245","1338131248","1338131252","1338131256","1338131260"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76ba2e8ebf0ad20aff72290eb93ee4ad.jpg","text":"TemporaryFile(/tmp/multipartBody8808427816556322183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782085266,"filename":"image_06022025_13_32_08_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3ee94c2140c3a9e64bea4292b4ed799.jpg","text":"TemporaryFile(/tmp/multipartBody5535485508759442572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782085266,"filename":"image_06022025_13_26_39_10700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8925a4d207821aa0b7ec74a9b702bc0.jpg","text":"TemporaryFile(/tmp/multipartBody7097871853503389814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782085266,"filename":"image_06022025_13_32_18_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8689df39de0971e1e5b24e00c6e38921.jpg","text":"TemporaryFile(/tmp/multipartBody623816902865472446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782085266,"filename":"image_06022025_13_26_48_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3a9b0039bc252c616af2d566e99f3fe.jpg","text":"TemporaryFile(/tmp/multipartBody4378630988142610837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782085266,"filename":"image_06022025_13_26_28_9729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b9b5d78ced744a00f811a16a87de6411.jpg","text":"TemporaryFile(/tmp/multipartBody5536311402677826785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782085266,"filename":"image_06022025_13_26_58_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338131248","file1":"1338131245","file0":"1338131243","file4":"1338131256","file5":"1338131260","file3":"1338131252"},"map_files_photo_id_array":[{"photo_id":"1338131260","filename":"file5"},{"photo_id":"1338131248","filename":"file2"},{"photo_id":"1338131256","filename":"file4"},{"photo_id":"1338131245","filename":"file1"},{"photo_id":"1338131243","filename":"file0"},{"photo_id":"1338131252","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338131245":["hashtag1","hashtag2"]},{"1338131256":["hashtag1","hashtag2"]},{"1338131243":["hashtag1","hashtag2"]},{"1338131252":["hashtag1","hashtag2"]},{"1338131260":["hashtag1","hashtag2"]},{"1338131248":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338131245, 1338131256, 1338131243, 1338131252, 1338131260, 1338131248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2878839969635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:48:02.337344
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_18_9696.jpg', 0), ('/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_09_9708.jpg', 0), ('/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_58_9736.jpg', 0), ('/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_49_9736.jpg', 0), ('/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_39_10756.jpg', 0), ('/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_28_9737.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_18_9696.jpg', '/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_09_9708.jpg', '/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_58_9736.jpg', '/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_49_9736.jpg', '/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_39_10756.jpg', '/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_28_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_18_9696.jpg
/home/nano/Desktop/images/06022025/13/26/image_06022025_13_26_09_9708.jpg
/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_58_9736.jpg
/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_49_9736.jpg
/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_39_10756.jpg
/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_28_9737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338131277","1338131285","1338131279","1338131290","1338131287","1338131281"],"photo_ids_order":["1338131277","1338131279","1338131281","1338131285","1338131287","1338131290"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/42683054a68f4d8e60fd42337a291b83.jpg","text":"TemporaryFile(/tmp/multipartBody4500084336690576771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782144535,"filename":"image_06022025_13_26_18_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c00c96a4637d7f30606b29a68a0b4b0.jpg","text":"TemporaryFile(/tmp/multipartBody377134611800951150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782144535,"filename":"image_06022025_12_57_49_9736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d56418f56c80c5cead98ac9dd6c5bfa.jpg","text":"TemporaryFile(/tmp/multipartBody4157153632654741585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782144535,"filename":"image_06022025_13_26_09_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fce38dfe88eaf8bac3a2c91abfeddc9e.jpg","text":"TemporaryFile(/tmp/multipartBody6422203576877200706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782144535,"filename":"image_06022025_12_57_28_9737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bcb3758cee387d9d16be32fa17028d45.jpg","text":"TemporaryFile(/tmp/multipartBody4017349453848818119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782144535,"filename":"image_06022025_12_57_39_10756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1cde01275949b2179c0c4da834c44128.jpg","text":"TemporaryFile(/tmp/multipartBody3791079157953361918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782144535,"filename":"image_06022025_12_57_58_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338131281","file1":"1338131279","file0":"1338131277","file4":"1338131287","file5":"1338131290","file3":"1338131285"},"map_files_photo_id_array":[{"photo_id":"1338131290","filename":"file5"},{"photo_id":"1338131281","filename":"file2"},{"photo_id":"1338131287","filename":"file4"},{"photo_id":"1338131279","filename":"file1"},{"photo_id":"1338131277","filename":"file0"},{"photo_id":"1338131285","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338131277":["hashtag1","hashtag2"]},{"1338131285":["hashtag1","hashtag2"]},{"1338131279":["hashtag1","hashtag2"]},{"1338131290":["hashtag1","hashtag2"]},{"1338131287":["hashtag1","hashtag2"]},{"1338131281":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338131277, 1338131285, 1338131279, 1338131290, 1338131287, 1338131281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30485773086548 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:49:03.020442
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_18_9721.jpg', 0), ('/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_09_10677.jpg', 0), ('/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_58_9795.jpg', 0), ('/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_49_9804.jpg', 0), ('/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_39_9796.jpg', 0), ('/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_29_10804.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_18_9721.jpg', '/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_09_10677.jpg', '/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_58_9795.jpg', '/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_49_9804.jpg', '/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_39_9796.jpg', '/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_29_10804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_18_9721.jpg
/home/nano/Desktop/images/06022025/12/57/image_06022025_12_57_09_10677.jpg
/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_58_9795.jpg
/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_49_9804.jpg
/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_39_9796.jpg
/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_29_10804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338131341","1338131311","1338131328","1338131357","1338131318","1338131350"],"photo_ids_order":["1338131311","1338131318","1338131328","1338131341","1338131350","1338131357"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5702c4dd4d5008071c52b70f1ca3eada.jpg","text":"TemporaryFile(/tmp/multipartBody5410780089970232101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782210830,"filename":"image_06022025_12_39_49_9804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d056755a3537b892b24ce73665e01c7c.jpg","text":"TemporaryFile(/tmp/multipartBody6237883411919987724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782210830,"filename":"image_06022025_12_57_18_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b45c4ed1877ecb22a2134c4620cc5a1.jpg","text":"TemporaryFile(/tmp/multipartBody8879008396648642531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782210830,"filename":"image_06022025_12_39_58_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/010eee63f34bccbfd8d137ac601d9bae.jpg","text":"TemporaryFile(/tmp/multipartBody2814694930428221349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782210830,"filename":"image_06022025_12_39_29_10804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54cc8e954f961954dbc78db9084e331f.jpg","text":"TemporaryFile(/tmp/multipartBody1776191248157432070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782210830,"filename":"image_06022025_12_57_09_10677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9dcc6e0b860eaafc7a824ee805d13507.jpg","text":"TemporaryFile(/tmp/multipartBody4755375365464996519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782210830,"filename":"image_06022025_12_39_39_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338131328","file1":"1338131318","file0":"1338131311","file4":"1338131350","file5":"1338131357","file3":"1338131341"},"map_files_photo_id_array":[{"photo_id":"1338131357","filename":"file5"},{"photo_id":"1338131328","filename":"file2"},{"photo_id":"1338131350","filename":"file4"},{"photo_id":"1338131318","filename":"file1"},{"photo_id":"1338131311","filename":"file0"},{"photo_id":"1338131341","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338131341":["hashtag1","hashtag2"]},{"1338131311":["hashtag1","hashtag2"]},{"1338131328":["hashtag1","hashtag2"]},{"1338131357":["hashtag1","hashtag2"]},{"1338131318":["hashtag1","hashtag2"]},{"1338131350":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338131341, 1338131311, 1338131328, 1338131357, 1338131318, 1338131350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.400551080703735 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:50:02.458830
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_18_9797.jpg', 0), ('/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_08_9805.jpg', 0), ('/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_58_9790.jpg', 0), ('/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_49_9790.jpg', 0), ('/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_39_10796.jpg', 0), ('/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_28_9791.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_18_9797.jpg', '/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_08_9805.jpg', '/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_58_9790.jpg', '/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_49_9790.jpg', '/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_39_10796.jpg', '/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_28_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_18_9797.jpg
/home/nano/Desktop/images/06022025/12/39/image_06022025_12_39_08_9805.jpg
/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_58_9790.jpg
/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_49_9790.jpg
/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_39_10796.jpg
/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_28_9791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338131443","1338131442","1338131439","1338131435","1338131429","1338131446"],"photo_ids_order":["1338131429","1338131435","1338131439","1338131442","1338131443","1338131446"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a0c937a1423aae3f59bce05dc720d0d.jpg","text":"TemporaryFile(/tmp/multipartBody2252603727889287809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782264593,"filename":"image_06022025_12_14_39_10796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0cd6f2df240db9ce9777993e9992afab.jpg","text":"TemporaryFile(/tmp/multipartBody7176259231987588260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782264593,"filename":"image_06022025_12_14_49_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c43e613d464b9dff837012f7551f9557.jpg","text":"TemporaryFile(/tmp/multipartBody2852880515675486507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782264593,"filename":"image_06022025_12_14_58_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d8a7da710a2ace14ebdd4660cb25141.jpg","text":"TemporaryFile(/tmp/multipartBody5597137150739152699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782264593,"filename":"image_06022025_12_39_08_9805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/36d96d68c6122d7162cbcf20ec4fe723.jpg","text":"TemporaryFile(/tmp/multipartBody1700773876649736116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782264593,"filename":"image_06022025_12_39_18_9797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/540be89186fbdbd75dc8f508335ecf57.jpg","text":"TemporaryFile(/tmp/multipartBody1780447516212456457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782264593,"filename":"image_06022025_12_14_28_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338131439","file1":"1338131435","file0":"1338131429","file4":"1338131443","file5":"1338131446","file3":"1338131442"},"map_files_photo_id_array":[{"photo_id":"1338131446","filename":"file5"},{"photo_id":"1338131439","filename":"file2"},{"photo_id":"1338131443","filename":"file4"},{"photo_id":"1338131435","filename":"file1"},{"photo_id":"1338131429","filename":"file0"},{"photo_id":"1338131442","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338131443":["hashtag1","hashtag2"]},{"1338131442":["hashtag1","hashtag2"]},{"1338131439":["hashtag1","hashtag2"]},{"1338131435":["hashtag1","hashtag2"]},{"1338131429":["hashtag1","hashtag2"]},{"1338131446":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338131443, 1338131442, 1338131439, 1338131435, 1338131429, 1338131446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81285881996155 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:51:02.963429
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_18_9796.jpg', 0), ('/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_08_9814.jpg', 0), ('/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_59_10663.jpg', 0), ('/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_48_9672.jpg', 0), ('/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_39_9658.jpg', 0), ('/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_29_10672.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_18_9796.jpg', '/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_08_9814.jpg', '/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_59_10663.jpg', '/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_48_9672.jpg', '/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_39_9658.jpg', '/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_29_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_18_9796.jpg
/home/nano/Desktop/images/06022025/12/14/image_06022025_12_14_08_9814.jpg
/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_59_10663.jpg
/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_48_9672.jpg
/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_39_9658.jpg
/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_29_10672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338131484","1338131505","1338131520","1338131522","1338131516","1338131519"],"photo_ids_order":["1338131484","1338131505","1338131516","1338131519","1338131520","1338131522"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd8ce8f0f427d7f525289659884cf6f4.jpg","text":"TemporaryFile(/tmp/multipartBody4577570995980405541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782324717,"filename":"image_06022025_12_14_18_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0cea566dcc2f531236a9ff7ae85316f.jpg","text":"TemporaryFile(/tmp/multipartBody3686371561340065694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782324717,"filename":"image_06022025_12_14_08_9814.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c948581c9b681ccdee041afaa2489844.jpg","text":"TemporaryFile(/tmp/multipartBody4178241736542915452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782324717,"filename":"image_06022025_11_58_39_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3ba99c453e3b2c626a53cee6cf976be.jpg","text":"TemporaryFile(/tmp/multipartBody5820869581186221648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782324717,"filename":"image_06022025_11_58_29_10672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/47d842b20595bd81527b7fddb56332a7.jpg","text":"TemporaryFile(/tmp/multipartBody5900164222628706435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782324717,"filename":"image_06022025_11_58_59_10663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e106c215e40a492dfc1c92daaa1d0620.jpg","text":"TemporaryFile(/tmp/multipartBody3836887150363544516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782324717,"filename":"image_06022025_11_58_48_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338131516","file1":"1338131505","file0":"1338131484","file4":"1338131520","file5":"1338131522","file3":"1338131519"},"map_files_photo_id_array":[{"photo_id":"1338131522","filename":"file5"},{"photo_id":"1338131516","filename":"file2"},{"photo_id":"1338131520","filename":"file4"},{"photo_id":"1338131505","filename":"file1"},{"photo_id":"1338131484","filename":"file0"},{"photo_id":"1338131519","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338131484":["hashtag1","hashtag2"]},{"1338131505":["hashtag1","hashtag2"]},{"1338131520":["hashtag1","hashtag2"]},{"1338131522":["hashtag1","hashtag2"]},{"1338131516":["hashtag1","hashtag2"]},{"1338131519":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338131484, 1338131505, 1338131520, 1338131522, 1338131516, 1338131519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.665256023406982 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:52:02.969794
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_18_9657.jpg', 0), ('/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_09_9642.jpg', 0), ('/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_59_10691.jpg', 0), ('/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_48_9665.jpg', 0), ('/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_39_9690.jpg', 0), ('/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_29_10678.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_18_9657.jpg', '/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_09_9642.jpg', '/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_59_10691.jpg', '/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_48_9665.jpg', '/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_39_9690.jpg', '/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_29_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_18_9657.jpg
/home/nano/Desktop/images/06022025/11/58/image_06022025_11_58_09_9642.jpg
/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_59_10691.jpg
/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_48_9665.jpg
/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_39_9690.jpg
/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_29_10678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338131560","1338131564","1338131555","1338131563","1338131557","1338131566"],"photo_ids_order":["1338131555","1338131557","1338131560","1338131563","1338131564","1338131566"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/52f51c66762288f01a0bab3dd6e698e0.jpg","text":"TemporaryFile(/tmp/multipartBody5352730727460259915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782384700,"filename":"image_06022025_11_57_59_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12c36cd69ed59fa025c0ad5936664384.jpg","text":"TemporaryFile(/tmp/multipartBody2372906173561995173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782384700,"filename":"image_06022025_11_57_39_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1de95971feeca940c89a1fa726a31c5.jpg","text":"TemporaryFile(/tmp/multipartBody2329901422813559091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782384700,"filename":"image_06022025_11_58_18_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a5cdcf04fa36754f966c6ca57a540e9.jpg","text":"TemporaryFile(/tmp/multipartBody5263030759326696934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782384700,"filename":"image_06022025_11_57_48_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a37ea4063cc7ddbb63435594a5389753.jpg","text":"TemporaryFile(/tmp/multipartBody3014883441945936134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782384700,"filename":"image_06022025_11_58_09_9642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed848bec0796a522107e648ac1cd5a1e.jpg","text":"TemporaryFile(/tmp/multipartBody8819157078850242164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782384700,"filename":"image_06022025_11_57_29_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338131560","file1":"1338131557","file0":"1338131555","file4":"1338131564","file5":"1338131566","file3":"1338131563"},"map_files_photo_id_array":[{"photo_id":"1338131566","filename":"file5"},{"photo_id":"1338131560","filename":"file2"},{"photo_id":"1338131564","filename":"file4"},{"photo_id":"1338131557","filename":"file1"},{"photo_id":"1338131555","filename":"file0"},{"photo_id":"1338131563","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338131560":["hashtag1","hashtag2"]},{"1338131564":["hashtag1","hashtag2"]},{"1338131555":["hashtag1","hashtag2"]},{"1338131563":["hashtag1","hashtag2"]},{"1338131557":["hashtag1","hashtag2"]},{"1338131566":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338131560, 1338131564, 1338131555, 1338131563, 1338131557, 1338131566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.000638484954834 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:53:03.189182
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_18_9656.jpg', 0), ('/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_09_9682.jpg', 0), ('/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_59_10689.jpg', 0), ('/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_48_9772.jpg', 0), ('/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_38_9760.jpg', 0), ('/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_29_9702.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_18_9656.jpg', '/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_09_9682.jpg', '/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_59_10689.jpg', '/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_48_9772.jpg', '/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_38_9760.jpg', '/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_29_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_18_9656.jpg
/home/nano/Desktop/images/06022025/11/57/image_06022025_11_57_09_9682.jpg
/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_59_10689.jpg
/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_48_9772.jpg
/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_38_9760.jpg
/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_29_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338131653","1338131661","1338131658","1338131607","1338131609","1338131656"],"photo_ids_order":["1338131607","1338131609","1338131653","1338131656","1338131658","1338131661"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/20ee07dd2e11e1661cc4d816651dc768.jpg","text":"TemporaryFile(/tmp/multipartBody2899548436269689308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782445090,"filename":"image_06022025_11_56_59_10689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8658499341f92e2fe2e76f40859b37a8.jpg","text":"TemporaryFile(/tmp/multipartBody8608879748013047817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782445090,"filename":"image_06022025_11_56_29_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39d6ecd7b311a356fd9f22e41cab0e9b.jpg","text":"TemporaryFile(/tmp/multipartBody4426163405392547700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782445090,"filename":"image_06022025_11_56_38_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9d2d72f9d0100134cc1f6ea1b82f98a.jpg","text":"TemporaryFile(/tmp/multipartBody7169909537461654278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782445090,"filename":"image_06022025_11_57_18_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/addb384a2beb68b78d3c81a62f54bac7.jpg","text":"TemporaryFile(/tmp/multipartBody4078431443428271804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782445090,"filename":"image_06022025_11_57_09_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/02b209133da2f9c32357ec8c3033dfd7.jpg","text":"TemporaryFile(/tmp/multipartBody385420520123242336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782445090,"filename":"image_06022025_11_56_48_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338131653","file1":"1338131609","file0":"1338131607","file4":"1338131658","file5":"1338131661","file3":"1338131656"},"map_files_photo_id_array":[{"photo_id":"1338131661","filename":"file5"},{"photo_id":"1338131653","filename":"file2"},{"photo_id":"1338131658","filename":"file4"},{"photo_id":"1338131609","filename":"file1"},{"photo_id":"1338131607","filename":"file0"},{"photo_id":"1338131656","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338131653":["hashtag1","hashtag2"]},{"1338131661":["hashtag1","hashtag2"]},{"1338131658":["hashtag1","hashtag2"]},{"1338131607":["hashtag1","hashtag2"]},{"1338131609":["hashtag1","hashtag2"]},{"1338131656":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338131653, 1338131661, 1338131658, 1338131607, 1338131609, 1338131656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.818798542022705 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:54:03.287346
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_19_10818.jpg', 0), ('/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_08_9866.jpg', 0), ('/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_59_10675.jpg', 0), ('/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_48_9700.jpg', 0), ('/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_39_9669.jpg', 0), ('/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_29_10709.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_19_10818.jpg', '/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_08_9866.jpg', '/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_59_10675.jpg', '/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_48_9700.jpg', '/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_39_9669.jpg', '/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_29_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_19_10818.jpg
/home/nano/Desktop/images/06022025/11/56/image_06022025_11_56_08_9866.jpg
/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_59_10675.jpg
/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_48_9700.jpg
/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_39_9669.jpg
/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_29_10709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338131707","1338131701","1338131704","1338131682","1338131684","1338131687"],"photo_ids_order":["1338131682","1338131684","1338131687","1338131701","1338131704","1338131707"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/68a61b4b2ea3f45771237c76709c8bc9.jpg","text":"TemporaryFile(/tmp/multipartBody3971052883135097599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782505349,"filename":"image_06022025_10_46_29_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/751c8fb772dcfa31762bf5e7566cd4d1.jpg","text":"TemporaryFile(/tmp/multipartBody958938995255205555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782505349,"filename":"image_06022025_10_46_48_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/490daf1df6f98ee5fbfaaa95cba0529d.jpg","text":"TemporaryFile(/tmp/multipartBody4041904539340938423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782505349,"filename":"image_06022025_10_46_39_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f89572a2ce5d7e8fb55255e4773c4c56.jpg","text":"TemporaryFile(/tmp/multipartBody567836099152097560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782505349,"filename":"image_06022025_11_56_19_10818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ece493f5b6719e8f56a02d12834022e0.jpg","text":"TemporaryFile(/tmp/multipartBody1930288940247760185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782505349,"filename":"image_06022025_11_56_08_9866.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/383d2894fbb2615b34f60a05c393adae.jpg","text":"TemporaryFile(/tmp/multipartBody1067240245611880238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782505349,"filename":"image_06022025_10_46_59_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338131687","file1":"1338131684","file0":"1338131682","file4":"1338131704","file5":"1338131707","file3":"1338131701"},"map_files_photo_id_array":[{"photo_id":"1338131707","filename":"file5"},{"photo_id":"1338131687","filename":"file2"},{"photo_id":"1338131704","filename":"file4"},{"photo_id":"1338131684","filename":"file1"},{"photo_id":"1338131682","filename":"file0"},{"photo_id":"1338131701","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338131707":["hashtag1","hashtag2"]},{"1338131701":["hashtag1","hashtag2"]},{"1338131704":["hashtag1","hashtag2"]},{"1338131682":["hashtag1","hashtag2"]},{"1338131684":["hashtag1","hashtag2"]},{"1338131687":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338131707, 1338131701, 1338131704, 1338131682, 1338131684, 1338131687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.160579681396484 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:55:02.612513
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_18_9651.jpg', 0), ('/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_09_9659.jpg', 0), ('/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_58_9615.jpg', 0), ('/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_49_10636.jpg', 0), ('/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_38_9640.jpg', 0), ('/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_28_9634.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_18_9651.jpg', '/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_09_9659.jpg', '/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_58_9615.jpg', '/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_49_10636.jpg', '/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_38_9640.jpg', '/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_28_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_18_9651.jpg
/home/nano/Desktop/images/06022025/10/46/image_06022025_10_46_09_9659.jpg
/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_58_9615.jpg
/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_49_10636.jpg
/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_38_9640.jpg
/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_28_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338131800","1338131802","1338131780","1338131792","1338131797","1338131782"],"photo_ids_order":["1338131780","1338131782","1338131792","1338131797","1338131800","1338131802"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/663ac4903ca6939eeac9c08902ebc620.jpg","text":"TemporaryFile(/tmp/multipartBody8499368933343250257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782564363,"filename":"image_06022025_10_35_38_9640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8ff5868cc472b06a5a812c04bb5cda2.jpg","text":"TemporaryFile(/tmp/multipartBody3126665405786773474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782564363,"filename":"image_06022025_10_35_28_9634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ac4363a31434750b9fdf58c59784dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8057501794258533142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782564363,"filename":"image_06022025_10_46_18_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe24fd7eddb37f4df9c1c105b8d68477.jpg","text":"TemporaryFile(/tmp/multipartBody5639355660770139727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782564363,"filename":"image_06022025_10_35_58_9615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c0dce13884dbaf9352eef906a32f9f3.jpg","text":"TemporaryFile(/tmp/multipartBody3346346079799243314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782564363,"filename":"image_06022025_10_35_49_10636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bdf98f00b1b503548347df6558e32d52.jpg","text":"TemporaryFile(/tmp/multipartBody8447265813674342461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782564363,"filename":"image_06022025_10_46_09_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338131792","file1":"1338131782","file0":"1338131780","file4":"1338131800","file5":"1338131802","file3":"1338131797"},"map_files_photo_id_array":[{"photo_id":"1338131802","filename":"file5"},{"photo_id":"1338131792","filename":"file2"},{"photo_id":"1338131800","filename":"file4"},{"photo_id":"1338131782","filename":"file1"},{"photo_id":"1338131780","filename":"file0"},{"photo_id":"1338131797","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338131800":["hashtag1","hashtag2"]},{"1338131802":["hashtag1","hashtag2"]},{"1338131780":["hashtag1","hashtag2"]},{"1338131792":["hashtag1","hashtag2"]},{"1338131797":["hashtag1","hashtag2"]},{"1338131782":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338131800, 1338131802, 1338131780, 1338131792, 1338131797, 1338131782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29444885253906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:56:02.574321
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_19_10647.jpg', 0), ('/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_08_9622.jpg', 0), ('/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_58_9670.jpg', 0), ('/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_48_9655.jpg', 0), ('/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_39_10671.jpg', 0), ('/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_28_9669.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_19_10647.jpg', '/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_08_9622.jpg', '/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_58_9670.jpg', '/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_48_9655.jpg', '/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_39_10671.jpg', '/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_28_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_19_10647.jpg
/home/nano/Desktop/images/06022025/10/35/image_06022025_10_35_08_9622.jpg
/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_58_9670.jpg
/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_48_9655.jpg
/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_39_10671.jpg
/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_28_9669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338131898","1338131892","1338131901","1338131904","1338131894","1338131890"],"photo_ids_order":["1338131890","1338131892","1338131894","1338131898","1338131901","1338131904"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6005c4da10ab846b1a35e11987292755.jpg","text":"TemporaryFile(/tmp/multipartBody1968987726467338931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782624217,"filename":"image_06022025_10_25_48_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/deed0f271be8b7b399fffe943faf744e.jpg","text":"TemporaryFile(/tmp/multipartBody603336877967506575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782624217,"filename":"image_06022025_10_35_08_9622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46c082121ea0cf641a2ab740e289739a.jpg","text":"TemporaryFile(/tmp/multipartBody2834293760290403660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782624217,"filename":"image_06022025_10_25_39_10671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/881ce2ee68122056a171e98679b962f4.jpg","text":"TemporaryFile(/tmp/multipartBody6055660585968160301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782624217,"filename":"image_06022025_10_25_28_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e817f4994a4ad1b6c0967d8bc78c085.jpg","text":"TemporaryFile(/tmp/multipartBody2962200222758982616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782624217,"filename":"image_06022025_10_25_58_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97176730ba0b476b7a9c44b2d0e518b4.jpg","text":"TemporaryFile(/tmp/multipartBody9158565161569767641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782624217,"filename":"image_06022025_10_35_19_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338131894","file1":"1338131892","file0":"1338131890","file4":"1338131901","file5":"1338131904","file3":"1338131898"},"map_files_photo_id_array":[{"photo_id":"1338131904","filename":"file5"},{"photo_id":"1338131894","filename":"file2"},{"photo_id":"1338131901","filename":"file4"},{"photo_id":"1338131892","filename":"file1"},{"photo_id":"1338131890","filename":"file0"},{"photo_id":"1338131898","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338131898":["hashtag1","hashtag2"]},{"1338131892":["hashtag1","hashtag2"]},{"1338131901":["hashtag1","hashtag2"]},{"1338131904":["hashtag1","hashtag2"]},{"1338131894":["hashtag1","hashtag2"]},{"1338131890":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338131898, 1338131892, 1338131901, 1338131904, 1338131894, 1338131890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.371673345565796 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:57:02.931134
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_18_9685.jpg', 0), ('/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_09_10672.jpg', 0), ('/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_59_10785.jpg', 0), ('/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_48_9725.jpg', 0), ('/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_38_9708.jpg', 0), ('/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_29_9708.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_18_9685.jpg', '/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_09_10672.jpg', '/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_59_10785.jpg', '/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_48_9725.jpg', '/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_38_9708.jpg', '/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_29_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_18_9685.jpg
/home/nano/Desktop/images/06022025/10/25/image_06022025_10_25_09_10672.jpg
/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_59_10785.jpg
/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_48_9725.jpg
/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_38_9708.jpg
/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_29_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338131949","1338131942","1338131945","1338131953","1338131956","1338131935"],"photo_ids_order":["1338131935","1338131942","1338131945","1338131949","1338131953","1338131956"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3003910c566912aa7b737ef0bd3e9ff7.jpg","text":"TemporaryFile(/tmp/multipartBody4282397286453682513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782684786,"filename":"image_06022025_09_36_48_9725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f16db127cd2634a26a2698f30fdabc5.jpg","text":"TemporaryFile(/tmp/multipartBody2624342878156593389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782684786,"filename":"image_06022025_10_25_09_10672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d26194441618a77d44a99c49688b4b2d.jpg","text":"TemporaryFile(/tmp/multipartBody4356771512650462331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782684786,"filename":"image_06022025_09_36_59_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8aba73ad64e46ed1acbefc4b70bac64.jpg","text":"TemporaryFile(/tmp/multipartBody7102919795457166518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782684786,"filename":"image_06022025_09_36_38_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/659f08b7a325b46e3e48e7968eec5b4d.jpg","text":"TemporaryFile(/tmp/multipartBody5106873218990973612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782684786,"filename":"image_06022025_09_36_29_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/94dc80a433b3a841deb8b9113eb4d67a.jpg","text":"TemporaryFile(/tmp/multipartBody6641073344333455219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782684786,"filename":"image_06022025_10_25_18_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338131945","file1":"1338131942","file0":"1338131935","file4":"1338131953","file5":"1338131956","file3":"1338131949"},"map_files_photo_id_array":[{"photo_id":"1338131956","filename":"file5"},{"photo_id":"1338131945","filename":"file2"},{"photo_id":"1338131953","filename":"file4"},{"photo_id":"1338131942","filename":"file1"},{"photo_id":"1338131935","filename":"file0"},{"photo_id":"1338131949","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338131949":["hashtag1","hashtag2"]},{"1338131942":["hashtag1","hashtag2"]},{"1338131945":["hashtag1","hashtag2"]},{"1338131953":["hashtag1","hashtag2"]},{"1338131956":["hashtag1","hashtag2"]},{"1338131935":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338131949, 1338131942, 1338131945, 1338131953, 1338131956, 1338131935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4148964881897 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:58:02.865269
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_19_10708.jpg', 0), ('/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_08_9673.jpg', 0), ('/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_58_9666.jpg', 0), ('/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_49_10674.jpg', 0), ('/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_38_9653.jpg', 0), ('/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_28_9682.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_19_10708.jpg', '/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_08_9673.jpg', '/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_58_9666.jpg', '/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_49_10674.jpg', '/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_38_9653.jpg', '/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_28_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_19_10708.jpg
/home/nano/Desktop/images/06022025/09/36/image_06022025_09_36_08_9673.jpg
/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_58_9666.jpg
/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_49_10674.jpg
/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_38_9653.jpg
/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_28_9682.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338131982","1338131990","1338131987","1338131984","1338131989","1338131980"],"photo_ids_order":["1338131980","1338131982","1338131984","1338131987","1338131989","1338131990"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/675f7ea24e34e79af8badd0000d70c84.jpg","text":"TemporaryFile(/tmp/multipartBody3081956435189997114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782744741,"filename":"image_06022025_09_36_08_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4de601a1921228ec7940257640945f6.jpg","text":"TemporaryFile(/tmp/multipartBody390533462363455397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782744741,"filename":"image_06022025_09_21_28_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fbf4623af394f18f7ddc28a0a276a225.jpg","text":"TemporaryFile(/tmp/multipartBody3162634523091191226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782744741,"filename":"image_06022025_09_21_49_10674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2743bce25fa0fcedfe37288b6a5242a8.jpg","text":"TemporaryFile(/tmp/multipartBody8455388763507568244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782744741,"filename":"image_06022025_09_21_58_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c3b3115370451943f79e2d8dcd562e2.jpg","text":"TemporaryFile(/tmp/multipartBody3687531165400431095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782744741,"filename":"image_06022025_09_21_38_9653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7edabb6150c829060b5d1e14d5b4ea09.jpg","text":"TemporaryFile(/tmp/multipartBody6117155194629636065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782744741,"filename":"image_06022025_09_36_19_10708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338131984","file1":"1338131982","file0":"1338131980","file4":"1338131989","file5":"1338131990","file3":"1338131987"},"map_files_photo_id_array":[{"photo_id":"1338131990","filename":"file5"},{"photo_id":"1338131984","filename":"file2"},{"photo_id":"1338131989","filename":"file4"},{"photo_id":"1338131982","filename":"file1"},{"photo_id":"1338131980","filename":"file0"},{"photo_id":"1338131987","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338131982":["hashtag1","hashtag2"]},{"1338131990":["hashtag1","hashtag2"]},{"1338131987":["hashtag1","hashtag2"]},{"1338131984":["hashtag1","hashtag2"]},{"1338131989":["hashtag1","hashtag2"]},{"1338131980":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338131982, 1338131990, 1338131987, 1338131984, 1338131989, 1338131980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.494739532470703 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 09:59:03.572895
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_19_10676.jpg', 0), ('/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_08_9675.jpg', 0), ('/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_58_9679.jpg', 0), ('/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_48_9662.jpg', 0), ('/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_39_10672.jpg', 0), ('/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_28_9640.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_19_10676.jpg', '/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_08_9675.jpg', '/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_58_9679.jpg', '/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_48_9662.jpg', '/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_39_10672.jpg', '/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_28_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_19_10676.jpg
/home/nano/Desktop/images/06022025/09/21/image_06022025_09_21_08_9675.jpg
/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_58_9679.jpg
/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_48_9662.jpg
/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_39_10672.jpg
/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_28_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338132021","1338132006","1338132029","1338131998","1338132034","1338132025"],"photo_ids_order":["1338131998","1338132006","1338132021","1338132025","1338132029","1338132034"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49a4eb492b8554c40edb5db60f9ea8b5.jpg","text":"TemporaryFile(/tmp/multipartBody536032931631229605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782805359,"filename":"image_06022025_08_57_58_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7cbb4f9b42fadf8730b943ded43b222e.jpg","text":"TemporaryFile(/tmp/multipartBody886584588441529050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782805359,"filename":"image_06022025_09_21_08_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c06ebeb72885558d048bc0ee0ec8895f.jpg","text":"TemporaryFile(/tmp/multipartBody2625090936165695852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782805359,"filename":"image_06022025_08_57_39_10672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/56dea0dfa2ae81ec2bff99ea80e82b40.jpg","text":"TemporaryFile(/tmp/multipartBody7832248323550431577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782805359,"filename":"image_06022025_09_21_19_10676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa5340df2185a06fa2da096c775996d1.jpg","text":"TemporaryFile(/tmp/multipartBody1228161998615587593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782805359,"filename":"image_06022025_08_57_28_9640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/93679ab53ec381d252bcfa1b76f6fe26.jpg","text":"TemporaryFile(/tmp/multipartBody2847142655625615917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782805359,"filename":"image_06022025_08_57_48_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338132021","file1":"1338132006","file0":"1338131998","file4":"1338132029","file5":"1338132034","file3":"1338132025"},"map_files_photo_id_array":[{"photo_id":"1338132034","filename":"file5"},{"photo_id":"1338132021","filename":"file2"},{"photo_id":"1338132029","filename":"file4"},{"photo_id":"1338132006","filename":"file1"},{"photo_id":"1338131998","filename":"file0"},{"photo_id":"1338132025","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338132021":["hashtag1","hashtag2"]},{"1338132006":["hashtag1","hashtag2"]},{"1338132029":["hashtag1","hashtag2"]},{"1338131998":["hashtag1","hashtag2"]},{"1338132034":["hashtag1","hashtag2"]},{"1338132025":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338132021, 1338132006, 1338132029, 1338131998, 1338132034, 1338132025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0003297328949 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:00:03.074181
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_18_9658.jpg', 0), ('/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_09_10666.jpg', 0), ('/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_59_10653.jpg', 0), ('/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_48_9635.jpg', 0), ('/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_39_9666.jpg', 0), ('/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_29_10656.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_18_9658.jpg', '/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_09_10666.jpg', '/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_59_10653.jpg', '/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_48_9635.jpg', '/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_39_9666.jpg', '/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_29_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_18_9658.jpg
/home/nano/Desktop/images/06022025/08/57/image_06022025_08_57_09_10666.jpg
/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_59_10653.jpg
/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_48_9635.jpg
/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_39_9666.jpg
/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_29_10656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338132090","1338132066","1338132071","1338132068","1338132064","1338132073"],"photo_ids_order":["1338132064","1338132066","1338132068","1338132071","1338132073","1338132090"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/151d00160421214c87ab97c8a371bc3c.jpg","text":"TemporaryFile(/tmp/multipartBody6156049639321008891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782864707,"filename":"image_06022025_08_21_29_10656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8cdec08fb69a58ca9101fa216c2ebddd.jpg","text":"TemporaryFile(/tmp/multipartBody8036387802037033956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782864707,"filename":"image_06022025_08_57_09_10666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c3dd9111b0bbfcdfa8f722f48131656.jpg","text":"TemporaryFile(/tmp/multipartBody19932269420953845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782864707,"filename":"image_06022025_08_21_48_9635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d545d297922c29057bb66e77fab8f27.jpg","text":"TemporaryFile(/tmp/multipartBody6781492185395535437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782864707,"filename":"image_06022025_08_21_59_10653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7e933147021f8c345c0ae6c022dbad30.jpg","text":"TemporaryFile(/tmp/multipartBody2356713009211759456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782864707,"filename":"image_06022025_08_57_18_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4bb157e341c9b97029d8656334ec4045.jpg","text":"TemporaryFile(/tmp/multipartBody4780161258589789371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782864707,"filename":"image_06022025_08_21_39_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338132068","file1":"1338132066","file0":"1338132064","file4":"1338132073","file5":"1338132090","file3":"1338132071"},"map_files_photo_id_array":[{"photo_id":"1338132090","filename":"file5"},{"photo_id":"1338132068","filename":"file2"},{"photo_id":"1338132073","filename":"file4"},{"photo_id":"1338132066","filename":"file1"},{"photo_id":"1338132064","filename":"file0"},{"photo_id":"1338132071","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338132090":["hashtag1","hashtag2"]},{"1338132066":["hashtag1","hashtag2"]},{"1338132071":["hashtag1","hashtag2"]},{"1338132068":["hashtag1","hashtag2"]},{"1338132064":["hashtag1","hashtag2"]},{"1338132073":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338132090, 1338132066, 1338132071, 1338132068, 1338132064, 1338132073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.80208420753479 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:01:02.454009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_18_9663.jpg', 0), ('/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_09_9644.jpg', 0), ('/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_59_9671.jpg', 0), ('/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_49_10699.jpg', 0), ('/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_38_9658.jpg', 0), ('/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_29_9712.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_18_9663.jpg', '/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_09_9644.jpg', '/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_59_9671.jpg', '/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_49_10699.jpg', '/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_38_9658.jpg', '/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_29_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_18_9663.jpg
/home/nano/Desktop/images/06022025/08/21/image_06022025_08_21_09_9644.jpg
/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_59_9671.jpg
/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_49_10699.jpg
/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_38_9658.jpg
/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_29_9712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338132189","1338132165","1338132170","1338132173","1338132167","1338132186"],"photo_ids_order":["1338132165","1338132167","1338132170","1338132173","1338132186","1338132189"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1460e122c189895db6614f4eea7fdf56.jpg","text":"TemporaryFile(/tmp/multipartBody7631270686854986402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782924018,"filename":"image_06022025_07_58_29_9712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd3bc1fc3f6e61d7ee8a87f2b7637aa9.jpg","text":"TemporaryFile(/tmp/multipartBody964703319834866759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782924018,"filename":"image_06022025_08_21_18_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/89aad463d5699e9b7d75ecfd1f8776d5.jpg","text":"TemporaryFile(/tmp/multipartBody4140585537613806206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782924018,"filename":"image_06022025_07_58_59_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7bede5e2b1c247d58bee069c3814f825.jpg","text":"TemporaryFile(/tmp/multipartBody7906749082294375694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782924018,"filename":"image_06022025_07_58_49_10699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/773ed39f186018b8a4f22ecb26655cfa.jpg","text":"TemporaryFile(/tmp/multipartBody4282164051615728929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782924018,"filename":"image_06022025_08_21_09_9644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e2addbbddfb527fea1956fd100c2a11e.jpg","text":"TemporaryFile(/tmp/multipartBody4548636996068011257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782924018,"filename":"image_06022025_07_58_38_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338132170","file1":"1338132167","file0":"1338132165","file4":"1338132186","file5":"1338132189","file3":"1338132173"},"map_files_photo_id_array":[{"photo_id":"1338132189","filename":"file5"},{"photo_id":"1338132170","filename":"file2"},{"photo_id":"1338132186","filename":"file4"},{"photo_id":"1338132167","filename":"file1"},{"photo_id":"1338132165","filename":"file0"},{"photo_id":"1338132173","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338132189":["hashtag1","hashtag2"]},{"1338132165":["hashtag1","hashtag2"]},{"1338132170":["hashtag1","hashtag2"]},{"1338132173":["hashtag1","hashtag2"]},{"1338132167":["hashtag1","hashtag2"]},{"1338132186":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338132189, 1338132165, 1338132170, 1338132173, 1338132167, 1338132186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.283042907714844 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:02:02.407095
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_19_10676.jpg', 0), ('/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_08_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_58_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_49_10705.jpg', 0), ('/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_38_9686.jpg', 0), ('/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_28_9664.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_19_10676.jpg', '/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_08_9667.jpg', '/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_58_9667.jpg', '/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_49_10705.jpg', '/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_38_9686.jpg', '/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_28_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_19_10676.jpg
/home/nano/Desktop/images/06022025/07/58/image_06022025_07_58_08_9667.jpg
/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_58_9667.jpg
/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_49_10705.jpg
/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_38_9686.jpg
/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_28_9664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338132486","1338132600","1338132596","1338132254","1338132605","1338132602"],"photo_ids_order":["1338132254","1338132486","1338132596","1338132600","1338132602","1338132605"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1839963ffaaa5f66f48253c8da9e0ffa.jpg","text":"TemporaryFile(/tmp/multipartBody6013415038684318649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782984262,"filename":"image_06022025_07_58_08_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1386fbfcb7c72694f068a785c3c3a755.jpg","text":"TemporaryFile(/tmp/multipartBody8700774651546542727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782984262,"filename":"image_06022025_07_23_49_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f33b8d401cf50b282646ad8c5902bd99.jpg","text":"TemporaryFile(/tmp/multipartBody2614051098049146042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782984262,"filename":"image_06022025_07_23_58_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f8aaa81c51596e1721f684786928128.jpg","text":"TemporaryFile(/tmp/multipartBody531255261581102222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782984262,"filename":"image_06022025_07_58_19_10676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf093edd28410f1fe194aea09c048c40.jpg","text":"TemporaryFile(/tmp/multipartBody8764553066100964962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782984262,"filename":"image_06022025_07_23_28_9664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/426c3f5d523af47fbeb20d34daac69b9.jpg","text":"TemporaryFile(/tmp/multipartBody9086648343876671923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739782984262,"filename":"image_06022025_07_23_38_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338132596","file1":"1338132486","file0":"1338132254","file4":"1338132602","file5":"1338132605","file3":"1338132600"},"map_files_photo_id_array":[{"photo_id":"1338132605","filename":"file5"},{"photo_id":"1338132596","filename":"file2"},{"photo_id":"1338132602","filename":"file4"},{"photo_id":"1338132486","filename":"file1"},{"photo_id":"1338132254","filename":"file0"},{"photo_id":"1338132600","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338132486":["hashtag1","hashtag2"]},{"1338132600":["hashtag1","hashtag2"]},{"1338132596":["hashtag1","hashtag2"]},{"1338132254":["hashtag1","hashtag2"]},{"1338132605":["hashtag1","hashtag2"]},{"1338132602":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338132486, 1338132600, 1338132596, 1338132254, 1338132605, 1338132602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.339805603027344 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:03:02.731703
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_19_10649.jpg', 0), ('/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_08_9697.jpg', 0), ('/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_58_9700.jpg', 0), ('/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_48_9709.jpg', 0), ('/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_39_9711.jpg', 0), ('/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_29_10745.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_19_10649.jpg', '/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_08_9697.jpg', '/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_58_9700.jpg', '/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_48_9709.jpg', '/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_39_9711.jpg', '/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_29_10745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_19_10649.jpg
/home/nano/Desktop/images/06022025/07/23/image_06022025_07_23_08_9697.jpg
/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_58_9700.jpg
/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_48_9709.jpg
/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_39_9711.jpg
/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_29_10745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338132960","1338132963","1338132957","1338132966","1338132964","1338132955"],"photo_ids_order":["1338132955","1338132957","1338132960","1338132963","1338132964","1338132966"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76d3c848e7d12f3e9c720dfd9eb21e96.jpg","text":"TemporaryFile(/tmp/multipartBody6469352731440364279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783044249,"filename":"image_06022025_07_13_58_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21246966887cdfdbabedc9089d804c94.jpg","text":"TemporaryFile(/tmp/multipartBody8584203730095374925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783044249,"filename":"image_06022025_07_13_48_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/966bd9e54dc39b00aacd9b2dd2103bda.jpg","text":"TemporaryFile(/tmp/multipartBody4378390564971219583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783044249,"filename":"image_06022025_07_23_08_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/582ca8000db0659e66750d1ed8b02dea.jpg","text":"TemporaryFile(/tmp/multipartBody6660511859737233953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783044249,"filename":"image_06022025_07_13_29_10745.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/10903c304f180ac51a3af3ab770756fb.jpg","text":"TemporaryFile(/tmp/multipartBody5056937593869953046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783044249,"filename":"image_06022025_07_13_39_9711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff0e34a5aff115df1104ee63a77b6a8d.jpg","text":"TemporaryFile(/tmp/multipartBody1263990054700381555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783044249,"filename":"image_06022025_07_23_19_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338132960","file1":"1338132957","file0":"1338132955","file4":"1338132964","file5":"1338132966","file3":"1338132963"},"map_files_photo_id_array":[{"photo_id":"1338132966","filename":"file5"},{"photo_id":"1338132960","filename":"file2"},{"photo_id":"1338132964","filename":"file4"},{"photo_id":"1338132957","filename":"file1"},{"photo_id":"1338132955","filename":"file0"},{"photo_id":"1338132963","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338132960":["hashtag1","hashtag2"]},{"1338132963":["hashtag1","hashtag2"]},{"1338132957":["hashtag1","hashtag2"]},{"1338132966":["hashtag1","hashtag2"]},{"1338132964":["hashtag1","hashtag2"]},{"1338132955":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338132960, 1338132963, 1338132957, 1338132966, 1338132964, 1338132955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88483452796936 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:04:02.991103
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_18_9731.jpg', 0), ('/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_08_9737.jpg', 0), ('/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_59_10757.jpg', 0), ('/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_48_9792.jpg', 0), ('/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_38_9771.jpg', 0), ('/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_28_9691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_18_9731.jpg', '/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_08_9737.jpg', '/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_59_10757.jpg', '/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_48_9792.jpg', '/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_38_9771.jpg', '/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_28_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_18_9731.jpg
/home/nano/Desktop/images/06022025/07/13/image_06022025_07_13_08_9737.jpg
/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_59_10757.jpg
/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_48_9792.jpg
/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_38_9771.jpg
/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_28_9691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338133011","1338133005","1338133008","1338133002","1338132998","1338133000"],"photo_ids_order":["1338132998","1338133000","1338133002","1338133005","1338133008","1338133011"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8df5a43bf6b0d41a668d14725d1a3e76.jpg","text":"TemporaryFile(/tmp/multipartBody3409036779190534988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783105049,"filename":"image_06022025_07_12_28_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ddf183c0477aefdc3c7724f54b33d7cd.jpg","text":"TemporaryFile(/tmp/multipartBody8497170073037656380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783105049,"filename":"image_06022025_07_12_48_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fabac8c675e98dc6070cc303ce705da1.jpg","text":"TemporaryFile(/tmp/multipartBody1296702437761145683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783105049,"filename":"image_06022025_07_12_38_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e16148b231ca5750130ecc9e73e74391.jpg","text":"TemporaryFile(/tmp/multipartBody7573084202186952841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783105049,"filename":"image_06022025_07_12_59_10757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a764e94778f70b4467e061102937eba1.jpg","text":"TemporaryFile(/tmp/multipartBody710340522819421218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783105049,"filename":"image_06022025_07_13_18_9731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a20910ba43001e2d344d1f0347186d60.jpg","text":"TemporaryFile(/tmp/multipartBody6559085148648252752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783105049,"filename":"image_06022025_07_13_08_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338133002","file1":"1338133000","file0":"1338132998","file4":"1338133008","file5":"1338133011","file3":"1338133005"},"map_files_photo_id_array":[{"photo_id":"1338133011","filename":"file5"},{"photo_id":"1338133002","filename":"file2"},{"photo_id":"1338133008","filename":"file4"},{"photo_id":"1338133000","filename":"file1"},{"photo_id":"1338132998","filename":"file0"},{"photo_id":"1338133005","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338133011":["hashtag1","hashtag2"]},{"1338133005":["hashtag1","hashtag2"]},{"1338133008":["hashtag1","hashtag2"]},{"1338133002":["hashtag1","hashtag2"]},{"1338132998":["hashtag1","hashtag2"]},{"1338133000":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338133011, 1338133005, 1338133008, 1338133002, 1338132998, 1338133000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34433388710022 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:05:03.290137
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_19_10651.jpg', 0), ('/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_08_9655.jpg', 0), ('/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_58_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_49_10661.jpg', 0), ('/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_38_9653.jpg', 0), ('/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_28_9645.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_19_10651.jpg', '/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_08_9655.jpg', '/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_58_9667.jpg', '/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_49_10661.jpg', '/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_38_9653.jpg', '/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_28_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_19_10651.jpg
/home/nano/Desktop/images/06022025/07/12/image_06022025_07_12_08_9655.jpg
/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_58_9667.jpg
/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_49_10661.jpg
/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_38_9653.jpg
/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_28_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338133050","1338133044","1338133047","1338133039","1338133042","1338133053"],"photo_ids_order":["1338133039","1338133042","1338133044","1338133047","1338133050","1338133053"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ed90c8f577fcf8d8475c72aebe3a923.jpg","text":"TemporaryFile(/tmp/multipartBody651514933178034986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783164873,"filename":"image_06022025_07_11_38_9653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/103a25678d87b150b34f1e721e5a2ebe.jpg","text":"TemporaryFile(/tmp/multipartBody2745023559104036228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783164873,"filename":"image_06022025_07_11_58_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d8bf7debf33b5ef899a995c9ec992af.jpg","text":"TemporaryFile(/tmp/multipartBody6088901968986901953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783164873,"filename":"image_06022025_07_11_49_10661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df332a2ee187253efb2fcc7a7add5e39.jpg","text":"TemporaryFile(/tmp/multipartBody8650360648621271418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783164873,"filename":"image_06022025_07_12_19_10651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a5e19ad402d13644ab22d5595ada6604.jpg","text":"TemporaryFile(/tmp/multipartBody3145134868788241024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783164873,"filename":"image_06022025_07_12_08_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b76b0b08938ddfd897b3785227a6fa25.jpg","text":"TemporaryFile(/tmp/multipartBody1903686368185835179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783164873,"filename":"image_06022025_07_11_28_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338133044","file1":"1338133042","file0":"1338133039","file4":"1338133050","file5":"1338133053","file3":"1338133047"},"map_files_photo_id_array":[{"photo_id":"1338133053","filename":"file5"},{"photo_id":"1338133044","filename":"file2"},{"photo_id":"1338133050","filename":"file4"},{"photo_id":"1338133042","filename":"file1"},{"photo_id":"1338133039","filename":"file0"},{"photo_id":"1338133047","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338133050":["hashtag1","hashtag2"]},{"1338133044":["hashtag1","hashtag2"]},{"1338133047":["hashtag1","hashtag2"]},{"1338133039":["hashtag1","hashtag2"]},{"1338133042":["hashtag1","hashtag2"]},{"1338133053":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338133050, 1338133044, 1338133047, 1338133039, 1338133042, 1338133053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.922242641448975 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:06:03.202592
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_19_10681.jpg', 0), ('/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_08_9669.jpg', 0), ('/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_58_9636.jpg', 0), ('/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_49_10673.jpg', 0), ('/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_38_9647.jpg', 0), ('/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_28_9648.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_19_10681.jpg', '/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_08_9669.jpg', '/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_58_9636.jpg', '/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_49_10673.jpg', '/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_38_9647.jpg', '/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_28_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_19_10681.jpg
/home/nano/Desktop/images/06022025/07/11/image_06022025_07_11_08_9669.jpg
/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_58_9636.jpg
/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_49_10673.jpg
/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_38_9647.jpg
/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_28_9648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338133104","1338133101","1338133091","1338133093","1338133098","1338133095"],"photo_ids_order":["1338133091","1338133093","1338133095","1338133098","1338133101","1338133104"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f48cc5034e018add6209f7e4701e1bf5.jpg","text":"TemporaryFile(/tmp/multipartBody1076777729956639508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783225139,"filename":"image_06022025_07_10_28_9648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b286febabfb704f623541ca96ef9856e.jpg","text":"TemporaryFile(/tmp/multipartBody6798170255536981573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783225139,"filename":"image_06022025_07_10_38_9647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ec151fa2512fd932848d5422c14fee3.jpg","text":"TemporaryFile(/tmp/multipartBody2462876950461671480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783225139,"filename":"image_06022025_07_11_19_10681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/18a469bfcea562d21e80f4dd972390b5.jpg","text":"TemporaryFile(/tmp/multipartBody364508891323464785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783225139,"filename":"image_06022025_07_11_08_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b609c94bd45b2b953e1bbe2c08101401.jpg","text":"TemporaryFile(/tmp/multipartBody4438750376416346315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783225139,"filename":"image_06022025_07_10_49_10673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7503ac69d7a8426c467f90a3b3f9c070.jpg","text":"TemporaryFile(/tmp/multipartBody6012156084603216513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783225139,"filename":"image_06022025_07_10_58_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338133095","file1":"1338133093","file0":"1338133091","file4":"1338133101","file5":"1338133104","file3":"1338133098"},"map_files_photo_id_array":[{"photo_id":"1338133104","filename":"file5"},{"photo_id":"1338133095","filename":"file2"},{"photo_id":"1338133101","filename":"file4"},{"photo_id":"1338133093","filename":"file1"},{"photo_id":"1338133091","filename":"file0"},{"photo_id":"1338133098","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338133104":["hashtag1","hashtag2"]},{"1338133101":["hashtag1","hashtag2"]},{"1338133091":["hashtag1","hashtag2"]},{"1338133093":["hashtag1","hashtag2"]},{"1338133098":["hashtag1","hashtag2"]},{"1338133095":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338133104, 1338133101, 1338133091, 1338133093, 1338133098, 1338133095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.5370512008667 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:07:02.426817
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_19_10642.jpg', 0), ('/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_08_9647.jpg', 0), ('/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_59_9648.jpg', 0), ('/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_49_10680.jpg', 0), ('/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_38_9638.jpg', 0), ('/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_29_9654.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_19_10642.jpg', '/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_08_9647.jpg', '/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_59_9648.jpg', '/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_49_10680.jpg', '/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_38_9638.jpg', '/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_29_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_19_10642.jpg
/home/nano/Desktop/images/06022025/07/10/image_06022025_07_10_08_9647.jpg
/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_59_9648.jpg
/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_49_10680.jpg
/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_38_9638.jpg
/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_29_9654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338133323","1338133337","1338133348","1338133357","1338133351","1338133345"],"photo_ids_order":["1338133323","1338133337","1338133345","1338133348","1338133351","1338133357"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4244d04b63a29fe5963efb77db6d620d.jpg","text":"TemporaryFile(/tmp/multipartBody3999608148394268064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783284205,"filename":"image_06022025_07_10_19_10642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78b2cef6dc6a8c2c6a4a1fc7cb0dda04.jpg","text":"TemporaryFile(/tmp/multipartBody7045239978116286053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783284205,"filename":"image_06022025_07_10_08_9647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/356da26f8cb90be16e244df2cde223f1.jpg","text":"TemporaryFile(/tmp/multipartBody3534101471997094061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783284205,"filename":"image_06022025_07_09_49_10680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9bfbe46c6d4be1e5ca6cffcaca80f8cf.jpg","text":"TemporaryFile(/tmp/multipartBody3675124434750673010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783284205,"filename":"image_06022025_07_09_29_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3cada6b7cf0ebe4286c88f34469ec3f.jpg","text":"TemporaryFile(/tmp/multipartBody4390591283164538943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783284205,"filename":"image_06022025_07_09_38_9638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aaf2f5ad85f1e6706888ec61e316102e.jpg","text":"TemporaryFile(/tmp/multipartBody6805279830303310626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783284205,"filename":"image_06022025_07_09_59_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338133345","file1":"1338133337","file0":"1338133323","file4":"1338133351","file5":"1338133357","file3":"1338133348"},"map_files_photo_id_array":[{"photo_id":"1338133357","filename":"file5"},{"photo_id":"1338133345","filename":"file2"},{"photo_id":"1338133351","filename":"file4"},{"photo_id":"1338133337","filename":"file1"},{"photo_id":"1338133323","filename":"file0"},{"photo_id":"1338133348","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338133323":["hashtag1","hashtag2"]},{"1338133337":["hashtag1","hashtag2"]},{"1338133348":["hashtag1","hashtag2"]},{"1338133357":["hashtag1","hashtag2"]},{"1338133351":["hashtag1","hashtag2"]},{"1338133345":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338133323, 1338133337, 1338133348, 1338133357, 1338133351, 1338133345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2445502281189 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:08:02.664723
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_19_10669.jpg', 0), ('/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_08_9654.jpg', 0), ('/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_59_9657.jpg', 0), ('/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_49_10654.jpg', 0), ('/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_38_9667.jpg', 0), ('/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_29_9647.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_19_10669.jpg', '/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_08_9654.jpg', '/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_59_9657.jpg', '/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_49_10654.jpg', '/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_38_9667.jpg', '/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_29_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_19_10669.jpg
/home/nano/Desktop/images/06022025/07/09/image_06022025_07_09_08_9654.jpg
/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_59_9657.jpg
/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_49_10654.jpg
/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_38_9667.jpg
/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_29_9647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338133394","1338133388","1338133397","1338133385","1338133390","1338133393"],"photo_ids_order":["1338133385","1338133388","1338133390","1338133393","1338133394","1338133397"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a30828012afef840b9f5557d982c4b28.jpg","text":"TemporaryFile(/tmp/multipartBody6968052727115677466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783344456,"filename":"image_06022025_07_08_38_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b39c268d63733e8ca555f408cdcafe4.jpg","text":"TemporaryFile(/tmp/multipartBody7713379339196146780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783344456,"filename":"image_06022025_07_09_08_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f9d3c2f3733f62c5c279573ed14b3ac.jpg","text":"TemporaryFile(/tmp/multipartBody5026880388634106734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783344456,"filename":"image_06022025_07_08_29_9647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b4544f0ca4c26ecef671871d3760581.jpg","text":"TemporaryFile(/tmp/multipartBody6085011377034305288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783344456,"filename":"image_06022025_07_09_19_10669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d924787e5f7b1507bbc61cded2797751.jpg","text":"TemporaryFile(/tmp/multipartBody116677258817388570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783344456,"filename":"image_06022025_07_08_59_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/594a72ce00bece228126dd0ec08f6243.jpg","text":"TemporaryFile(/tmp/multipartBody494325541266792118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783344456,"filename":"image_06022025_07_08_49_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338133390","file1":"1338133388","file0":"1338133385","file4":"1338133394","file5":"1338133397","file3":"1338133393"},"map_files_photo_id_array":[{"photo_id":"1338133397","filename":"file5"},{"photo_id":"1338133390","filename":"file2"},{"photo_id":"1338133394","filename":"file4"},{"photo_id":"1338133388","filename":"file1"},{"photo_id":"1338133385","filename":"file0"},{"photo_id":"1338133393","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338133394":["hashtag1","hashtag2"]},{"1338133388":["hashtag1","hashtag2"]},{"1338133397":["hashtag1","hashtag2"]},{"1338133385":["hashtag1","hashtag2"]},{"1338133390":["hashtag1","hashtag2"]},{"1338133393":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338133394, 1338133388, 1338133397, 1338133385, 1338133390, 1338133393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.163001775741577 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:09:03.112615
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_19_10678.jpg', 0), ('/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_08_9654.jpg', 0), ('/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_59_9693.jpg', 0), ('/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_49_10710.jpg', 0), ('/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_38_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_28_9698.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_19_10678.jpg', '/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_08_9654.jpg', '/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_59_9693.jpg', '/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_49_10710.jpg', '/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_38_9694.jpg', '/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_28_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_19_10678.jpg
/home/nano/Desktop/images/06022025/07/08/image_06022025_07_08_08_9654.jpg
/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_59_9693.jpg
/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_49_10710.jpg
/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_38_9694.jpg
/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_28_9698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338133434","1338133437","1338133439","1338133441","1338133429","1338133431"],"photo_ids_order":["1338133429","1338133431","1338133434","1338133437","1338133439","1338133441"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2833d58dac172a8fcc7b04aeb08731b4.jpg","text":"TemporaryFile(/tmp/multipartBody7130637680273018261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783405056,"filename":"image_06022025_05_58_59_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b9098d616455701522ca006d9376932.jpg","text":"TemporaryFile(/tmp/multipartBody2464872426585739343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783405056,"filename":"image_06022025_05_58_49_10710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8de55a3d2aa1dda71158a3a0496c25ba.jpg","text":"TemporaryFile(/tmp/multipartBody829285352390988902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783405056,"filename":"image_06022025_05_58_38_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cd70c469973342d9aea2559373741bf.jpg","text":"TemporaryFile(/tmp/multipartBody4269228224007598920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783405056,"filename":"image_06022025_05_58_28_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e17bc2b2c03e20f7f50a0b62a9db881.jpg","text":"TemporaryFile(/tmp/multipartBody1498235365757960105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783405056,"filename":"image_06022025_07_08_19_10678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bb97d66523bd383919e7175caa2fdb20.jpg","text":"TemporaryFile(/tmp/multipartBody7464746610605247459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783405056,"filename":"image_06022025_07_08_08_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338133434","file1":"1338133431","file0":"1338133429","file4":"1338133439","file5":"1338133441","file3":"1338133437"},"map_files_photo_id_array":[{"photo_id":"1338133441","filename":"file5"},{"photo_id":"1338133434","filename":"file2"},{"photo_id":"1338133439","filename":"file4"},{"photo_id":"1338133431","filename":"file1"},{"photo_id":"1338133429","filename":"file0"},{"photo_id":"1338133437","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338133434":["hashtag1","hashtag2"]},{"1338133437":["hashtag1","hashtag2"]},{"1338133439":["hashtag1","hashtag2"]},{"1338133441":["hashtag1","hashtag2"]},{"1338133429":["hashtag1","hashtag2"]},{"1338133431":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338133434, 1338133437, 1338133439, 1338133441, 1338133429, 1338133431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78191828727722 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:10:02.779927
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_19_10704.jpg', 0), ('/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_08_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_58_9690.jpg', 0), ('/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_49_10705.jpg', 0), ('/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_38_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_28_9695.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_19_10704.jpg', '/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_08_9694.jpg', '/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_58_9690.jpg', '/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_49_10705.jpg', '/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_38_9694.jpg', '/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_28_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_19_10704.jpg
/home/nano/Desktop/images/06022025/05/58/image_06022025_05_58_08_9694.jpg
/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_58_9690.jpg
/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_49_10705.jpg
/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_38_9694.jpg
/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_28_9695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338133475","1338133469","1338133466","1338133471","1338133462","1338133464"],"photo_ids_order":["1338133462","1338133464","1338133466","1338133469","1338133471","1338133475"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6ca1969c0f26fef94d519fdafdafc94.jpg","text":"TemporaryFile(/tmp/multipartBody7532906089491214295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783464603,"filename":"image_06022025_05_53_28_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce2a826b01312e1f132b228be2730a0f.jpg","text":"TemporaryFile(/tmp/multipartBody8567992045809664349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783464603,"filename":"image_06022025_05_53_49_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cdd203ae63d1b1aa903d0dc77e0efdbe.jpg","text":"TemporaryFile(/tmp/multipartBody7083747700926258302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783464603,"filename":"image_06022025_05_53_58_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c398275d2537dc4725ec3d1cb91b019d.jpg","text":"TemporaryFile(/tmp/multipartBody9117380969444629708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783464603,"filename":"image_06022025_05_53_38_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0ae51e219247b5d0a178ecb86035256.jpg","text":"TemporaryFile(/tmp/multipartBody6710246421975640073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783464603,"filename":"image_06022025_05_58_19_10704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fcdddbff6cb7d605bae6484116adcdad.jpg","text":"TemporaryFile(/tmp/multipartBody2802229968616294353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783464603,"filename":"image_06022025_05_58_08_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338133466","file1":"1338133464","file0":"1338133462","file4":"1338133471","file5":"1338133475","file3":"1338133469"},"map_files_photo_id_array":[{"photo_id":"1338133475","filename":"file5"},{"photo_id":"1338133466","filename":"file2"},{"photo_id":"1338133471","filename":"file4"},{"photo_id":"1338133464","filename":"file1"},{"photo_id":"1338133462","filename":"file0"},{"photo_id":"1338133469","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338133475":["hashtag1","hashtag2"]},{"1338133469":["hashtag1","hashtag2"]},{"1338133466":["hashtag1","hashtag2"]},{"1338133471":["hashtag1","hashtag2"]},{"1338133462":["hashtag1","hashtag2"]},{"1338133464":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338133475, 1338133469, 1338133466, 1338133471, 1338133462, 1338133464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33617448806763 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:11:03.305012
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_19_9700.jpg', 0), ('/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_09_10702.jpg', 0), ('/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_59_10704.jpg', 0), ('/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_48_9690.jpg', 0), ('/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_38_9693.jpg', 0), ('/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_29_9689.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_19_9700.jpg', '/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_09_10702.jpg', '/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_59_10704.jpg', '/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_48_9690.jpg', '/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_38_9693.jpg', '/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_29_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_19_9700.jpg
/home/nano/Desktop/images/06022025/05/53/image_06022025_05_53_09_10702.jpg
/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_59_10704.jpg
/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_48_9690.jpg
/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_38_9693.jpg
/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_29_9689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338133512","1338133517","1338133547","1338133522","1338133519","1338133542"],"photo_ids_order":["1338133512","1338133517","1338133519","1338133522","1338133542","1338133547"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2adb465a2a80a96c40cc8644a5e3e2b.jpg","text":"TemporaryFile(/tmp/multipartBody6626398811015104417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783526089,"filename":"image_06022025_05_53_19_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b360e39bbf6c150ddb413a9054e25b6.jpg","text":"TemporaryFile(/tmp/multipartBody3041246755665753534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783526089,"filename":"image_06022025_05_53_09_10702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a84cadc0773e4c6ea0349cf62dfcecc9.jpg","text":"TemporaryFile(/tmp/multipartBody2636589976678915370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783526089,"filename":"image_06022025_04_58_29_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b9e9680bc7e6458f27ddf76fd2acd205.jpg","text":"TemporaryFile(/tmp/multipartBody2876696065460266471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783526089,"filename":"image_06022025_04_58_48_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4724a8760cb9c307197cb4e594e0bdcb.jpg","text":"TemporaryFile(/tmp/multipartBody6269061052986547515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783526089,"filename":"image_06022025_04_58_59_10704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bef95f822690e8d661c0051121d8c447.jpg","text":"TemporaryFile(/tmp/multipartBody5007034646679321251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783526089,"filename":"image_06022025_04_58_38_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338133519","file1":"1338133517","file0":"1338133512","file4":"1338133542","file5":"1338133547","file3":"1338133522"},"map_files_photo_id_array":[{"photo_id":"1338133547","filename":"file5"},{"photo_id":"1338133519","filename":"file2"},{"photo_id":"1338133542","filename":"file4"},{"photo_id":"1338133517","filename":"file1"},{"photo_id":"1338133512","filename":"file0"},{"photo_id":"1338133522","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338133512":["hashtag1","hashtag2"]},{"1338133517":["hashtag1","hashtag2"]},{"1338133547":["hashtag1","hashtag2"]},{"1338133522":["hashtag1","hashtag2"]},{"1338133519":["hashtag1","hashtag2"]},{"1338133542":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338133512, 1338133517, 1338133547, 1338133522, 1338133519, 1338133542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99589657783508 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:12:03.202905
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_19_10700.jpg', 0), ('/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_08_9689.jpg', 0), ('/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_58_9692.jpg', 0), ('/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_49_9696.jpg', 0), ('/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_39_10703.jpg', 0), ('/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_28_9692.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_19_10700.jpg', '/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_08_9689.jpg', '/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_58_9692.jpg', '/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_49_9696.jpg', '/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_39_10703.jpg', '/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_28_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_19_10700.jpg
/home/nano/Desktop/images/06022025/04/58/image_06022025_04_58_08_9689.jpg
/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_58_9692.jpg
/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_49_9696.jpg
/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_39_10703.jpg
/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_28_9692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338133632","1338133635","1338133629","1338133640","1338133637","1338133627"],"photo_ids_order":["1338133627","1338133629","1338133632","1338133635","1338133637","1338133640"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3842248136e82202ef8acfc7627dfbc.jpg","text":"TemporaryFile(/tmp/multipartBody7088096845656274247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783586351,"filename":"image_06022025_04_32_58_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cde9b75c0ecca694aa370d83bb91db90.jpg","text":"TemporaryFile(/tmp/multipartBody2037176682674871929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783586351,"filename":"image_06022025_04_32_49_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00e131cf6095132e45254cd45f35a3e8.jpg","text":"TemporaryFile(/tmp/multipartBody3262441738044209908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783586351,"filename":"image_06022025_04_58_08_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/feeeb0f99aa9478d3ef1bc8cb05dda5f.jpg","text":"TemporaryFile(/tmp/multipartBody2017012314899086917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783586351,"filename":"image_06022025_04_32_28_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d91fd89f3f05d54ffc707b4676f76ed8.jpg","text":"TemporaryFile(/tmp/multipartBody4857809760290485698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783586351,"filename":"image_06022025_04_32_39_10703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a39acc79e308bdc67408aae699dc22dc.jpg","text":"TemporaryFile(/tmp/multipartBody7068053246744938200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783586351,"filename":"image_06022025_04_58_19_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338133632","file1":"1338133629","file0":"1338133627","file4":"1338133637","file5":"1338133640","file3":"1338133635"},"map_files_photo_id_array":[{"photo_id":"1338133640","filename":"file5"},{"photo_id":"1338133632","filename":"file2"},{"photo_id":"1338133637","filename":"file4"},{"photo_id":"1338133629","filename":"file1"},{"photo_id":"1338133627","filename":"file0"},{"photo_id":"1338133635","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338133632":["hashtag1","hashtag2"]},{"1338133635":["hashtag1","hashtag2"]},{"1338133629":["hashtag1","hashtag2"]},{"1338133640":["hashtag1","hashtag2"]},{"1338133637":["hashtag1","hashtag2"]},{"1338133627":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338133632, 1338133635, 1338133629, 1338133640, 1338133637, 1338133627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.525901317596436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:13:02.600041
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_18_9693.jpg', 0), ('/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_09_10695.jpg', 0), ('/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_58_9692.jpg', 0), ('/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_49_9700.jpg', 0), ('/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_39_10703.jpg', 0), ('/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_28_9692.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_18_9693.jpg', '/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_09_10695.jpg', '/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_58_9692.jpg', '/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_49_9700.jpg', '/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_39_10703.jpg', '/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_28_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_18_9693.jpg
/home/nano/Desktop/images/06022025/04/32/image_06022025_04_32_09_10695.jpg
/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_58_9692.jpg
/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_49_9700.jpg
/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_39_10703.jpg
/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_28_9692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338134141","1338134150","1338134138","1338134143","1338134146","1338134227"],"photo_ids_order":["1338134138","1338134141","1338134143","1338134146","1338134150","1338134227"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8964195e10f1a50bbbd9cbffc4aab95.jpg","text":"TemporaryFile(/tmp/multipartBody7216640467229791549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783644641,"filename":"image_06022025_04_32_09_10695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/02fbfc67c3572edc50f384a526bc574d.jpg","text":"TemporaryFile(/tmp/multipartBody8911905584135913430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783644641,"filename":"image_06022025_03_49_39_10703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9dbf3cb7540383271230d5269b5adced.jpg","text":"TemporaryFile(/tmp/multipartBody4023845673450674228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783644641,"filename":"image_06022025_04_32_18_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/712284190d23ab1d65bbec67c634d3fc.jpg","text":"TemporaryFile(/tmp/multipartBody2221988027909176734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783644641,"filename":"image_06022025_03_49_58_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/32723999f1790742c8fd488f93c30031.jpg","text":"TemporaryFile(/tmp/multipartBody3644274297395410696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783644641,"filename":"image_06022025_03_49_49_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/48df62912df0f39a34e99c598a386931.jpg","text":"TemporaryFile(/tmp/multipartBody462914847089170918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783644641,"filename":"image_06022025_03_49_28_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338134143","file1":"1338134141","file0":"1338134138","file4":"1338134150","file5":"1338134227","file3":"1338134146"},"map_files_photo_id_array":[{"photo_id":"1338134227","filename":"file5"},{"photo_id":"1338134143","filename":"file2"},{"photo_id":"1338134150","filename":"file4"},{"photo_id":"1338134141","filename":"file1"},{"photo_id":"1338134138","filename":"file0"},{"photo_id":"1338134146","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338134141":["hashtag1","hashtag2"]},{"1338134150":["hashtag1","hashtag2"]},{"1338134138":["hashtag1","hashtag2"]},{"1338134143":["hashtag1","hashtag2"]},{"1338134146":["hashtag1","hashtag2"]},{"1338134227":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338134141, 1338134150, 1338134138, 1338134143, 1338134146, 1338134227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.667917251586914 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:14:02.814187
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_19_9696.jpg', 0), ('/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_09_10695.jpg', 0), ('/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_59_10709.jpg', 0), ('/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_48_9695.jpg', 0), ('/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_38_9692.jpg', 0), ('/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_29_10701.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_19_9696.jpg', '/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_09_10695.jpg', '/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_59_10709.jpg', '/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_48_9695.jpg', '/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_38_9692.jpg', '/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_29_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_19_9696.jpg
/home/nano/Desktop/images/06022025/03/49/image_06022025_03_49_09_10695.jpg
/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_59_10709.jpg
/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_48_9695.jpg
/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_38_9692.jpg
/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_29_10701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338134360","1338134348","1338134357","1338134345","1338134355","1338134352"],"photo_ids_order":["1338134345","1338134348","1338134352","1338134355","1338134357","1338134360"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b75f14ec69ec890a842448864de53754.jpg","text":"TemporaryFile(/tmp/multipartBody3533410606012605820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783704638,"filename":"image_06022025_03_26_29_10701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f289aee37300ed09f992c0cc669511a.jpg","text":"TemporaryFile(/tmp/multipartBody2886763825346753722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783704638,"filename":"image_06022025_03_49_09_10695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e26652473783bba2547fb98ed54771f5.jpg","text":"TemporaryFile(/tmp/multipartBody2098095519687680564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783704638,"filename":"image_06022025_03_26_38_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b346702dd4462281dd43cf35f7c6f678.jpg","text":"TemporaryFile(/tmp/multipartBody3890925297321143875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783704638,"filename":"image_06022025_03_49_19_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/604a95e7e886440e8bd16536a07ba1bb.jpg","text":"TemporaryFile(/tmp/multipartBody3521224999622322443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783704638,"filename":"image_06022025_03_26_48_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c28801c0be00f935030e898eff3a6f5.jpg","text":"TemporaryFile(/tmp/multipartBody8214519254721169676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783704638,"filename":"image_06022025_03_26_59_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338134352","file1":"1338134348","file0":"1338134345","file4":"1338134357","file5":"1338134360","file3":"1338134355"},"map_files_photo_id_array":[{"photo_id":"1338134360","filename":"file5"},{"photo_id":"1338134352","filename":"file2"},{"photo_id":"1338134357","filename":"file4"},{"photo_id":"1338134348","filename":"file1"},{"photo_id":"1338134345","filename":"file0"},{"photo_id":"1338134355","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338134360":["hashtag1","hashtag2"]},{"1338134348":["hashtag1","hashtag2"]},{"1338134357":["hashtag1","hashtag2"]},{"1338134345":["hashtag1","hashtag2"]},{"1338134355":["hashtag1","hashtag2"]},{"1338134352":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338134360, 1338134348, 1338134357, 1338134345, 1338134355, 1338134352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.938331604003906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:15:02.711614
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_18_9704.jpg', 0), ('/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_08_9689.jpg', 0), ('/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_58_9693.jpg', 0), ('/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_49_9699.jpg', 0), ('/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_39_10700.jpg', 0), ('/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_28_9706.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_18_9704.jpg', '/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_08_9689.jpg', '/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_58_9693.jpg', '/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_49_9699.jpg', '/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_39_10700.jpg', '/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_28_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_18_9704.jpg
/home/nano/Desktop/images/06022025/03/26/image_06022025_03_26_08_9689.jpg
/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_58_9693.jpg
/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_49_9699.jpg
/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_39_10700.jpg
/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_28_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338134387","1338134389","1338134391","1338134394","1338134385","1338134400"],"photo_ids_order":["1338134385","1338134387","1338134389","1338134391","1338134394","1338134400"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2763ee80355e554cc146a859d196eeba.jpg","text":"TemporaryFile(/tmp/multipartBody4440995300245060004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783764442,"filename":"image_06022025_03_26_08_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/905d24c77c4499aaafde2e2b723ea67d.jpg","text":"TemporaryFile(/tmp/multipartBody3390583052849060301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783764442,"filename":"image_06022025_03_19_58_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/62485a8321fd1f315b51dd04b6555d11.jpg","text":"TemporaryFile(/tmp/multipartBody1148019256137714329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783764442,"filename":"image_06022025_03_19_49_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c64107065f8e484ea036bcdde72120c.jpg","text":"TemporaryFile(/tmp/multipartBody3127146523958155239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783764442,"filename":"image_06022025_03_19_39_10700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c1f9303454f87fde14d8082d3ea6b21.jpg","text":"TemporaryFile(/tmp/multipartBody5049932203877416228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783764442,"filename":"image_06022025_03_26_18_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8bef5df73b168916eeffffafd911dfe1.jpg","text":"TemporaryFile(/tmp/multipartBody3386419822154731136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783764442,"filename":"image_06022025_03_19_28_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338134389","file1":"1338134387","file0":"1338134385","file4":"1338134394","file5":"1338134400","file3":"1338134391"},"map_files_photo_id_array":[{"photo_id":"1338134400","filename":"file5"},{"photo_id":"1338134389","filename":"file2"},{"photo_id":"1338134394","filename":"file4"},{"photo_id":"1338134387","filename":"file1"},{"photo_id":"1338134385","filename":"file0"},{"photo_id":"1338134391","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338134387":["hashtag1","hashtag2"]},{"1338134389":["hashtag1","hashtag2"]},{"1338134391":["hashtag1","hashtag2"]},{"1338134394":["hashtag1","hashtag2"]},{"1338134385":["hashtag1","hashtag2"]},{"1338134400":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338134387, 1338134389, 1338134391, 1338134394, 1338134385, 1338134400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.316471099853516 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:16:02.767953
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_19_9689.jpg', 0), ('/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_09_10695.jpg', 0), ('/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_58_9696.jpg', 0), ('/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_48_9718.jpg', 0), ('/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_39_10707.jpg', 0), ('/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_28_9714.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_19_9689.jpg', '/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_09_10695.jpg', '/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_58_9696.jpg', '/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_48_9718.jpg', '/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_39_10707.jpg', '/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_28_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_19_9689.jpg
/home/nano/Desktop/images/06022025/03/19/image_06022025_03_19_09_10695.jpg
/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_58_9696.jpg
/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_48_9718.jpg
/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_39_10707.jpg
/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_28_9714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338134440","1338134454","1338134451","1338134445","1338134439","1338134448"],"photo_ids_order":["1338134439","1338134440","1338134445","1338134448","1338134451","1338134454"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/68e4dcc28336ef2c02a980bf7e9de64f.jpg","text":"TemporaryFile(/tmp/multipartBody1925999861099331154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783824453,"filename":"image_06022025_03_19_09_10695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/734d92dc4800f311e759995a4f7b520e.jpg","text":"TemporaryFile(/tmp/multipartBody7892423215570815233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783824453,"filename":"image_06022025_03_18_28_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/69ca83f12741c5c70449c9dfcc83477e.jpg","text":"TemporaryFile(/tmp/multipartBody8443211911001511708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783824453,"filename":"image_06022025_03_18_39_10707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/65eec03e36fcb2e8dc1db0983c44cfd2.jpg","text":"TemporaryFile(/tmp/multipartBody8987711839031955583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783824453,"filename":"image_06022025_03_18_58_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc0986a6ad8407ae182533c61e3a69eb.jpg","text":"TemporaryFile(/tmp/multipartBody2710908886507015054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783824453,"filename":"image_06022025_03_19_19_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4766164cbc38ea5d1920b1023a2b3f0e.jpg","text":"TemporaryFile(/tmp/multipartBody2369835559892494721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783824453,"filename":"image_06022025_03_18_48_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338134445","file1":"1338134440","file0":"1338134439","file4":"1338134451","file5":"1338134454","file3":"1338134448"},"map_files_photo_id_array":[{"photo_id":"1338134454","filename":"file5"},{"photo_id":"1338134445","filename":"file2"},{"photo_id":"1338134451","filename":"file4"},{"photo_id":"1338134440","filename":"file1"},{"photo_id":"1338134439","filename":"file0"},{"photo_id":"1338134448","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338134440":["hashtag1","hashtag2"]},{"1338134454":["hashtag1","hashtag2"]},{"1338134451":["hashtag1","hashtag2"]},{"1338134445":["hashtag1","hashtag2"]},{"1338134439":["hashtag1","hashtag2"]},{"1338134448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338134440, 1338134454, 1338134451, 1338134445, 1338134439, 1338134448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.779672622680664 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:17:03.061463
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_18_9697.jpg', 0), ('/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_09_9698.jpg', 0), ('/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_59_10715.jpg', 0), ('/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_48_9703.jpg', 0), ('/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_39_9692.jpg', 0), ('/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_29_10708.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_18_9697.jpg', '/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_09_9698.jpg', '/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_59_10715.jpg', '/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_48_9703.jpg', '/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_39_9692.jpg', '/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_29_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_18_9697.jpg
/home/nano/Desktop/images/06022025/03/18/image_06022025_03_18_09_9698.jpg
/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_59_10715.jpg
/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_48_9703.jpg
/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_39_9692.jpg
/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_29_10708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338134502","1338134486","1338134482","1338134506","1338134509","1338134493"],"photo_ids_order":["1338134482","1338134486","1338134493","1338134502","1338134506","1338134509"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b8e9a4879ba7f43b5748b1fea92d5ea.jpg","text":"TemporaryFile(/tmp/multipartBody8875953180640470494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783885050,"filename":"image_06022025_03_17_48_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c11ecd5ab7769d7fe764c4bed90b7ab4.jpg","text":"TemporaryFile(/tmp/multipartBody4714337374738055107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783885050,"filename":"image_06022025_03_18_09_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1735ecf9896302bd76e066e551ccba2a.jpg","text":"TemporaryFile(/tmp/multipartBody1569397902941889285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783885050,"filename":"image_06022025_03_18_18_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79dd8401891c927154ef059528d40b85.jpg","text":"TemporaryFile(/tmp/multipartBody2318331201064231544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783885050,"filename":"image_06022025_03_17_39_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2bbda551661ba32cfd9ddc5cc841730.jpg","text":"TemporaryFile(/tmp/multipartBody6810393486667632815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783885050,"filename":"image_06022025_03_17_29_10708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99505be7974d4f054802ae80f92ba6e5.jpg","text":"TemporaryFile(/tmp/multipartBody8942795700152355125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783885050,"filename":"image_06022025_03_17_59_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338134493","file1":"1338134486","file0":"1338134482","file4":"1338134506","file5":"1338134509","file3":"1338134502"},"map_files_photo_id_array":[{"photo_id":"1338134509","filename":"file5"},{"photo_id":"1338134493","filename":"file2"},{"photo_id":"1338134506","filename":"file4"},{"photo_id":"1338134486","filename":"file1"},{"photo_id":"1338134482","filename":"file0"},{"photo_id":"1338134502","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338134502":["hashtag1","hashtag2"]},{"1338134486":["hashtag1","hashtag2"]},{"1338134482":["hashtag1","hashtag2"]},{"1338134506":["hashtag1","hashtag2"]},{"1338134509":["hashtag1","hashtag2"]},{"1338134493":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338134502, 1338134486, 1338134482, 1338134506, 1338134509, 1338134493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.955464363098145 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:18:03.142448
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_18_9702.jpg', 0), ('/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_08_9700.jpg', 0), ('/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_59_10721.jpg', 0), ('/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_48_9691.jpg', 0), ('/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_38_9692.jpg', 0), ('/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_29_9691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_18_9702.jpg', '/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_08_9700.jpg', '/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_59_10721.jpg', '/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_48_9691.jpg', '/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_38_9692.jpg', '/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_29_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_18_9702.jpg
/home/nano/Desktop/images/06022025/03/17/image_06022025_03_17_08_9700.jpg
/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_59_10721.jpg
/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_48_9691.jpg
/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_38_9692.jpg
/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_29_9691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338134924","1338135229","1338134869","1338134770","1338135383","1338135134"],"photo_ids_order":["1338134770","1338134869","1338134924","1338135134","1338135229","1338135383"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1f492acb4023c80a3ee28849a9dfb27.jpg","text":"TemporaryFile(/tmp/multipartBody1390938330161268702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783945194,"filename":"image_06022025_03_16_59_10721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7dc9209f9e550f116b416e1d81eacb9a.jpg","text":"TemporaryFile(/tmp/multipartBody7275141302966185244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783945194,"filename":"image_06022025_03_16_38_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f32edc9aeb740dc684fa857a4cff425.jpg","text":"TemporaryFile(/tmp/multipartBody3717010608633135333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783945194,"filename":"image_06022025_03_17_08_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d549f2ce915fcd8d16774dab1a6f2f7c.jpg","text":"TemporaryFile(/tmp/multipartBody2488792208280051164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783945194,"filename":"image_06022025_03_17_18_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/348032610dcaa2c8c263cec638b8610b.jpg","text":"TemporaryFile(/tmp/multipartBody294891619342250633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783945194,"filename":"image_06022025_03_16_29_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/499804c924fe9265092265721127d5f5.jpg","text":"TemporaryFile(/tmp/multipartBody232124997732028308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739783945194,"filename":"image_06022025_03_16_48_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338134924","file1":"1338134869","file0":"1338134770","file4":"1338135229","file5":"1338135383","file3":"1338135134"},"map_files_photo_id_array":[{"photo_id":"1338135383","filename":"file5"},{"photo_id":"1338134924","filename":"file2"},{"photo_id":"1338135229","filename":"file4"},{"photo_id":"1338134869","filename":"file1"},{"photo_id":"1338134770","filename":"file0"},{"photo_id":"1338135134","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338134924":["hashtag1","hashtag2"]},{"1338135229":["hashtag1","hashtag2"]},{"1338134869":["hashtag1","hashtag2"]},{"1338134770":["hashtag1","hashtag2"]},{"1338135383":["hashtag1","hashtag2"]},{"1338135134":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338134924, 1338135229, 1338134869, 1338134770, 1338135383, 1338135134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65329146385193 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:19:02.771487
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_19_10700.jpg', 0), ('/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_08_9691.jpg', 0), ('/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_59_9695.jpg', 0), ('/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_49_10710.jpg', 0), ('/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_38_9690.jpg', 0), ('/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_28_9701.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_19_10700.jpg', '/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_08_9691.jpg', '/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_59_9695.jpg', '/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_49_10710.jpg', '/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_38_9690.jpg', '/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_28_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_19_10700.jpg
/home/nano/Desktop/images/06022025/03/16/image_06022025_03_16_08_9691.jpg
/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_59_9695.jpg
/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_49_10710.jpg
/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_38_9690.jpg
/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_28_9701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338135835","1338135607","1338135849","1338135837","1338135720","1338135609"],"photo_ids_order":["1338135607","1338135609","1338135720","1338135835","1338135837","1338135849"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/09f1aad4abdabf44ebfbdef207319826.jpg","text":"TemporaryFile(/tmp/multipartBody6968107662204966927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784004960,"filename":"image_06022025_03_15_49_10710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4333b124a67210e4700c7fec13e3f268.jpg","text":"TemporaryFile(/tmp/multipartBody651106813818300794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784004960,"filename":"image_06022025_03_16_19_10700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/970e4e37b4d782756166ef8c1115cfef.jpg","text":"TemporaryFile(/tmp/multipartBody6462215798085728387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784004960,"filename":"image_06022025_03_15_28_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15442424605ebf47a23a88ac30831666.jpg","text":"TemporaryFile(/tmp/multipartBody7023852519897840407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784004960,"filename":"image_06022025_03_15_38_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f8b745e53b9b66bfa5cb9508ef39a65.jpg","text":"TemporaryFile(/tmp/multipartBody6229819379429879456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784004960,"filename":"image_06022025_03_15_59_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ced1f75e979d3a212d3161bfdf09c85.jpg","text":"TemporaryFile(/tmp/multipartBody2482361802656155481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784004960,"filename":"image_06022025_03_16_08_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338135720","file1":"1338135609","file0":"1338135607","file4":"1338135837","file5":"1338135849","file3":"1338135835"},"map_files_photo_id_array":[{"photo_id":"1338135849","filename":"file5"},{"photo_id":"1338135720","filename":"file2"},{"photo_id":"1338135837","filename":"file4"},{"photo_id":"1338135609","filename":"file1"},{"photo_id":"1338135607","filename":"file0"},{"photo_id":"1338135835","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338135835":["hashtag1","hashtag2"]},{"1338135607":["hashtag1","hashtag2"]},{"1338135849":["hashtag1","hashtag2"]},{"1338135837":["hashtag1","hashtag2"]},{"1338135720":["hashtag1","hashtag2"]},{"1338135609":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338135835, 1338135607, 1338135849, 1338135837, 1338135720, 1338135609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.837549686431885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:20:02.494581
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_19_10704.jpg', 0), ('/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_08_9686.jpg', 0), ('/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_58_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_49_9703.jpg', 0), ('/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_39_10701.jpg', 0), ('/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_28_9691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_19_10704.jpg', '/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_08_9686.jpg', '/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_58_9694.jpg', '/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_49_9703.jpg', '/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_39_10701.jpg', '/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_28_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_19_10704.jpg
/home/nano/Desktop/images/06022025/03/15/image_06022025_03_15_08_9686.jpg
/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_58_9694.jpg
/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_49_9703.jpg
/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_39_10701.jpg
/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_28_9691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338135997","1338136000","1338136003","1338136005","1338135995","1338135992"],"photo_ids_order":["1338135992","1338135995","1338135997","1338136000","1338136003","1338136005"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c4c3451005814af6d4353c261cd21ac8.jpg","text":"TemporaryFile(/tmp/multipartBody3866991941435449736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784064207,"filename":"image_06022025_03_14_58_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d2be6b9074dd6e8b9406fcaf64f502c.jpg","text":"TemporaryFile(/tmp/multipartBody4468999535091968062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784064207,"filename":"image_06022025_03_14_49_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe6c60b25d7d6e7d91a299f8727a257b.jpg","text":"TemporaryFile(/tmp/multipartBody2403535016774568990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784064207,"filename":"image_06022025_03_14_39_10701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1998dd3b450e9171d60fe93082af531.jpg","text":"TemporaryFile(/tmp/multipartBody164878493355307722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784064207,"filename":"image_06022025_03_14_28_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/43d5202a20a6f1328ca297c53221d792.jpg","text":"TemporaryFile(/tmp/multipartBody5363340299756498263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784064207,"filename":"image_06022025_03_15_08_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca1202a517432f461195f1df48ad4c87.jpg","text":"TemporaryFile(/tmp/multipartBody7426982145104425771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784064207,"filename":"image_06022025_03_15_19_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338135997","file1":"1338135995","file0":"1338135992","file4":"1338136003","file5":"1338136005","file3":"1338136000"},"map_files_photo_id_array":[{"photo_id":"1338136005","filename":"file5"},{"photo_id":"1338135997","filename":"file2"},{"photo_id":"1338136003","filename":"file4"},{"photo_id":"1338135995","filename":"file1"},{"photo_id":"1338135992","filename":"file0"},{"photo_id":"1338136000","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338135997":["hashtag1","hashtag2"]},{"1338136000":["hashtag1","hashtag2"]},{"1338136003":["hashtag1","hashtag2"]},{"1338136005":["hashtag1","hashtag2"]},{"1338135995":["hashtag1","hashtag2"]},{"1338135992":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338135997, 1338136000, 1338136003, 1338136005, 1338135995, 1338135992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.002461433410645 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:21:02.792844
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_19_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_09_10699.jpg', 0), ('/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_58_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_48_9698.jpg', 0), ('/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_39_10699.jpg', 0), ('/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_28_9697.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_19_9694.jpg', '/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_09_10699.jpg', '/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_58_9694.jpg', '/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_48_9698.jpg', '/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_39_10699.jpg', '/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_28_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_19_9694.jpg
/home/nano/Desktop/images/06022025/03/14/image_06022025_03_14_09_10699.jpg
/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_58_9694.jpg
/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_48_9698.jpg
/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_39_10699.jpg
/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_28_9697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338136030","1338136035","1338136038","1338136032","1338136028","1338136043"],"photo_ids_order":["1338136028","1338136030","1338136032","1338136035","1338136038","1338136043"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/967ea52168d62bb8942ef97ce3ad71db.jpg","text":"TemporaryFile(/tmp/multipartBody2909681217179573859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784124695,"filename":"image_06022025_03_14_09_10699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ebdb4cec3d5e76b3c3d66bc905a480e.jpg","text":"TemporaryFile(/tmp/multipartBody6613009078138895507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784124695,"filename":"image_06022025_03_13_48_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d973bd89c443b21a5e89dd2f76bd051e.jpg","text":"TemporaryFile(/tmp/multipartBody2924995836896248660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784124695,"filename":"image_06022025_03_13_39_10699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7978e789245d5ecd9a45360b202d5ab7.jpg","text":"TemporaryFile(/tmp/multipartBody3868770989275620646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784124695,"filename":"image_06022025_03_13_58_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e3c030d80c28a4d812c58f921c54fec.jpg","text":"TemporaryFile(/tmp/multipartBody6236046410205776041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784124695,"filename":"image_06022025_03_14_19_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f32aecd8c54dbff066e735a6d4c6d68.jpg","text":"TemporaryFile(/tmp/multipartBody3629102568507238074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784124695,"filename":"image_06022025_03_13_28_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338136032","file1":"1338136030","file0":"1338136028","file4":"1338136038","file5":"1338136043","file3":"1338136035"},"map_files_photo_id_array":[{"photo_id":"1338136043","filename":"file5"},{"photo_id":"1338136032","filename":"file2"},{"photo_id":"1338136038","filename":"file4"},{"photo_id":"1338136030","filename":"file1"},{"photo_id":"1338136028","filename":"file0"},{"photo_id":"1338136035","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338136030":["hashtag1","hashtag2"]},{"1338136035":["hashtag1","hashtag2"]},{"1338136038":["hashtag1","hashtag2"]},{"1338136032":["hashtag1","hashtag2"]},{"1338136028":["hashtag1","hashtag2"]},{"1338136043":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338136030, 1338136035, 1338136038, 1338136032, 1338136028, 1338136043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.171241521835327 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:22:02.863293
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_18_9701.jpg', 0), ('/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_09_9708.jpg', 0), ('/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_59_10704.jpg', 0), ('/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_48_9691.jpg', 0), ('/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_39_9697.jpg', 0), ('/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_29_10707.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_18_9701.jpg', '/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_09_9708.jpg', '/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_59_10704.jpg', '/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_48_9691.jpg', '/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_39_9697.jpg', '/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_29_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_18_9701.jpg
/home/nano/Desktop/images/06022025/03/13/image_06022025_03_13_09_9708.jpg
/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_59_10704.jpg
/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_48_9691.jpg
/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_39_9697.jpg
/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_29_10707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338136081","1338136075","1338136084","1338136077","1338136079","1338136088"],"photo_ids_order":["1338136075","1338136077","1338136079","1338136081","1338136084","1338136088"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/726bccbe2fbf0d1d376f97a353e649d5.jpg","text":"TemporaryFile(/tmp/multipartBody1548362097752622005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784184884,"filename":"image_06022025_03_12_48_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ecee9c8ac189e9d30052cca43e8dd17.jpg","text":"TemporaryFile(/tmp/multipartBody4025910926725066039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784184884,"filename":"image_06022025_03_13_18_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b6f3bba586c56f79b2893a4e5317598f.jpg","text":"TemporaryFile(/tmp/multipartBody963287910847413441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784184884,"filename":"image_06022025_03_12_39_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bb05287df1796a502931256fa437ea9b.jpg","text":"TemporaryFile(/tmp/multipartBody5633908014331181461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784184884,"filename":"image_06022025_03_13_09_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fbc18525d537053a6df6ea4b3c5fdf0e.jpg","text":"TemporaryFile(/tmp/multipartBody6266292630777413291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784184884,"filename":"image_06022025_03_12_59_10704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00f18bf938a1d53afb51ff58960ef68c.jpg","text":"TemporaryFile(/tmp/multipartBody1709737522884579734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784184884,"filename":"image_06022025_03_12_29_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338136079","file1":"1338136077","file0":"1338136075","file4":"1338136084","file5":"1338136088","file3":"1338136081"},"map_files_photo_id_array":[{"photo_id":"1338136088","filename":"file5"},{"photo_id":"1338136079","filename":"file2"},{"photo_id":"1338136084","filename":"file4"},{"photo_id":"1338136077","filename":"file1"},{"photo_id":"1338136075","filename":"file0"},{"photo_id":"1338136081","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338136081":["hashtag1","hashtag2"]},{"1338136075":["hashtag1","hashtag2"]},{"1338136084":["hashtag1","hashtag2"]},{"1338136077":["hashtag1","hashtag2"]},{"1338136079":["hashtag1","hashtag2"]},{"1338136088":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338136081, 1338136075, 1338136084, 1338136077, 1338136079, 1338136088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05769491195679 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:23:03.145168
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_18_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_08_9695.jpg', 0), ('/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_59_10700.jpg', 0), ('/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_48_9710.jpg', 0), ('/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_38_9690.jpg', 0), ('/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_29_9696.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_18_9694.jpg', '/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_08_9695.jpg', '/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_59_10700.jpg', '/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_48_9710.jpg', '/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_38_9690.jpg', '/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_29_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_18_9694.jpg
/home/nano/Desktop/images/06022025/03/12/image_06022025_03_12_08_9695.jpg
/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_59_10700.jpg
/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_48_9710.jpg
/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_38_9690.jpg
/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_29_9696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338136204","1338136196","1338136199","1338136217","1338136202","1338136192"],"photo_ids_order":["1338136192","1338136196","1338136199","1338136202","1338136204","1338136217"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/167ae7d1d825786c45223d4ceb2b01db.jpg","text":"TemporaryFile(/tmp/multipartBody6776431718173331839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784244883,"filename":"image_06022025_03_11_38_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4fe68bd248f8729a22214fd9f84c78a9.jpg","text":"TemporaryFile(/tmp/multipartBody347081561803896318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784244883,"filename":"image_06022025_03_12_08_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/34e7a507a3074f11e87dc6e5b7cf20cf.jpg","text":"TemporaryFile(/tmp/multipartBody3407986961612453612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784244883,"filename":"image_06022025_03_11_59_10700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1ed32e28e257fb109bb822312729f38.jpg","text":"TemporaryFile(/tmp/multipartBody5151047543001702130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784244883,"filename":"image_06022025_03_11_29_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/daf0c78e7db7fcec4b236fb40bc4dc77.jpg","text":"TemporaryFile(/tmp/multipartBody5770266415408065689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784244883,"filename":"image_06022025_03_11_48_9710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4306f8116c0425e680c6d3e35b031d4d.jpg","text":"TemporaryFile(/tmp/multipartBody8842986832092260818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784244883,"filename":"image_06022025_03_12_18_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338136199","file1":"1338136196","file0":"1338136192","file4":"1338136204","file5":"1338136217","file3":"1338136202"},"map_files_photo_id_array":[{"photo_id":"1338136217","filename":"file5"},{"photo_id":"1338136199","filename":"file2"},{"photo_id":"1338136204","filename":"file4"},{"photo_id":"1338136196","filename":"file1"},{"photo_id":"1338136192","filename":"file0"},{"photo_id":"1338136202","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338136204":["hashtag1","hashtag2"]},{"1338136196":["hashtag1","hashtag2"]},{"1338136199":["hashtag1","hashtag2"]},{"1338136217":["hashtag1","hashtag2"]},{"1338136202":["hashtag1","hashtag2"]},{"1338136192":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338136204, 1338136196, 1338136199, 1338136217, 1338136202, 1338136192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.743220806121826 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:24:03.374990
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_19_10705.jpg', 0), ('/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_08_9696.jpg', 0), ('/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_59_9692.jpg', 0), ('/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_49_10708.jpg', 0), ('/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_38_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_28_9697.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_19_10705.jpg', '/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_08_9696.jpg', '/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_59_9692.jpg', '/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_49_10708.jpg', '/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_38_9694.jpg', '/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_28_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_19_10705.jpg
/home/nano/Desktop/images/06022025/03/11/image_06022025_03_11_08_9696.jpg
/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_59_9692.jpg
/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_49_10708.jpg
/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_38_9694.jpg
/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_28_9697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338136237","1338136263","1338136266","1338136239","1338136268","1338136270"],"photo_ids_order":["1338136237","1338136239","1338136263","1338136266","1338136268","1338136270"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/06c17759fb6ad5a737f7144dfb13fe1b.jpg","text":"TemporaryFile(/tmp/multipartBody6689991001020402240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784305276,"filename":"image_06022025_03_11_19_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb39e114a4a8ca62384894d3c3129953.jpg","text":"TemporaryFile(/tmp/multipartBody5181376555181906797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784305276,"filename":"image_06022025_03_10_59_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd275850aabef53e651473ef30d75c12.jpg","text":"TemporaryFile(/tmp/multipartBody1119517674308826461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784305276,"filename":"image_06022025_03_10_49_10708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d243a15219f0e802c06e1e046260e5b.jpg","text":"TemporaryFile(/tmp/multipartBody2353600841921887964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784305276,"filename":"image_06022025_03_11_08_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/63fde5ae8e3d23bc07dca8d78606b7e1.jpg","text":"TemporaryFile(/tmp/multipartBody3400789922051635914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784305276,"filename":"image_06022025_03_10_38_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bbdbec4a5279a0c9432f61b082381076.jpg","text":"TemporaryFile(/tmp/multipartBody7079052524582789674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784305276,"filename":"image_06022025_03_10_28_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338136263","file1":"1338136239","file0":"1338136237","file4":"1338136268","file5":"1338136270","file3":"1338136266"},"map_files_photo_id_array":[{"photo_id":"1338136270","filename":"file5"},{"photo_id":"1338136263","filename":"file2"},{"photo_id":"1338136268","filename":"file4"},{"photo_id":"1338136239","filename":"file1"},{"photo_id":"1338136237","filename":"file0"},{"photo_id":"1338136266","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338136237":["hashtag1","hashtag2"]},{"1338136263":["hashtag1","hashtag2"]},{"1338136266":["hashtag1","hashtag2"]},{"1338136239":["hashtag1","hashtag2"]},{"1338136268":["hashtag1","hashtag2"]},{"1338136270":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338136237, 1338136263, 1338136266, 1338136239, 1338136268, 1338136270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39260268211365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:25:03.401202
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_19_10705.jpg', 0), ('/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_08_9707.jpg', 0), ('/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_58_9700.jpg', 0), ('/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_49_9706.jpg', 0), ('/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_39_10702.jpg', 0), ('/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_28_9695.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_19_10705.jpg', '/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_08_9707.jpg', '/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_58_9700.jpg', '/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_49_9706.jpg', '/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_39_10702.jpg', '/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_28_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_19_10705.jpg
/home/nano/Desktop/images/06022025/03/10/image_06022025_03_10_08_9707.jpg
/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_58_9700.jpg
/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_49_9706.jpg
/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_39_10702.jpg
/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_28_9695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338136290","1338136293","1338136314","1338136308","1338136311","1338136298"],"photo_ids_order":["1338136290","1338136293","1338136298","1338136308","1338136311","1338136314"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5355193ba2e8d3425fdc5fdfb77a4fcb.jpg","text":"TemporaryFile(/tmp/multipartBody3539350224603797763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784365535,"filename":"image_06022025_03_10_19_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e73712538abeb311679cf56544379bed.jpg","text":"TemporaryFile(/tmp/multipartBody112124828403638284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784365535,"filename":"image_06022025_03_10_08_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/69db50447f7c6bea5b7dd2950bd5ed0f.jpg","text":"TemporaryFile(/tmp/multipartBody455908432425882278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784365535,"filename":"image_06022025_03_09_28_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4323542ba6a2675cc37203a12fd61aa2.jpg","text":"TemporaryFile(/tmp/multipartBody8604857022093759336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784365535,"filename":"image_06022025_03_09_49_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64b772c3b06c80ed0afbf58157ad285d.jpg","text":"TemporaryFile(/tmp/multipartBody376237936929166085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784365535,"filename":"image_06022025_03_09_39_10702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/589df135194c8db6b88372845250c195.jpg","text":"TemporaryFile(/tmp/multipartBody2809651877446759099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784365535,"filename":"image_06022025_03_09_58_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338136298","file1":"1338136293","file0":"1338136290","file4":"1338136311","file5":"1338136314","file3":"1338136308"},"map_files_photo_id_array":[{"photo_id":"1338136314","filename":"file5"},{"photo_id":"1338136298","filename":"file2"},{"photo_id":"1338136311","filename":"file4"},{"photo_id":"1338136293","filename":"file1"},{"photo_id":"1338136290","filename":"file0"},{"photo_id":"1338136308","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338136290":["hashtag1","hashtag2"]},{"1338136293":["hashtag1","hashtag2"]},{"1338136314":["hashtag1","hashtag2"]},{"1338136308":["hashtag1","hashtag2"]},{"1338136311":["hashtag1","hashtag2"]},{"1338136298":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338136290, 1338136293, 1338136314, 1338136308, 1338136311, 1338136298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53527903556824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:26:02.300839
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_19_9693.jpg', 0), ('/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_09_10713.jpg', 0), ('/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_58_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_48_9695.jpg', 0), ('/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_39_10705.jpg', 0), ('/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_28_9692.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_19_9693.jpg', '/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_09_10713.jpg', '/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_58_9694.jpg', '/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_48_9695.jpg', '/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_39_10705.jpg', '/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_28_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_19_9693.jpg
/home/nano/Desktop/images/06022025/03/09/image_06022025_03_09_09_10713.jpg
/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_58_9694.jpg
/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_48_9695.jpg
/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_39_10705.jpg
/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_28_9692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338136360","1338136357","1338136362","1338136355","1338136364","1338136352"],"photo_ids_order":["1338136352","1338136355","1338136357","1338136360","1338136362","1338136364"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2eca951f228ac3256d725e0f55135433.jpg","text":"TemporaryFile(/tmp/multipartBody2905054964579776318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784424137,"filename":"image_06022025_03_08_48_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3bd792b685ef747f9a5c84d7d46c2f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4279729771221518776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784424137,"filename":"image_06022025_03_08_58_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e0cc493a3993aea0c6a3930c08901cbf.jpg","text":"TemporaryFile(/tmp/multipartBody8613691688272597766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784424137,"filename":"image_06022025_03_08_39_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8affa17571026b8427f9dc0371c061d0.jpg","text":"TemporaryFile(/tmp/multipartBody7131695706795373577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784424137,"filename":"image_06022025_03_09_09_10713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/018699504ecf262ff9f5d4f5beb4a8b9.jpg","text":"TemporaryFile(/tmp/multipartBody5267896897890406493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784424137,"filename":"image_06022025_03_08_28_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c02b821d0ce4f7e7758c76316120de5f.jpg","text":"TemporaryFile(/tmp/multipartBody7835597857139271228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784424137,"filename":"image_06022025_03_09_19_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338136357","file1":"1338136355","file0":"1338136352","file4":"1338136362","file5":"1338136364","file3":"1338136360"},"map_files_photo_id_array":[{"photo_id":"1338136364","filename":"file5"},{"photo_id":"1338136357","filename":"file2"},{"photo_id":"1338136362","filename":"file4"},{"photo_id":"1338136355","filename":"file1"},{"photo_id":"1338136352","filename":"file0"},{"photo_id":"1338136360","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338136360":["hashtag1","hashtag2"]},{"1338136357":["hashtag1","hashtag2"]},{"1338136362":["hashtag1","hashtag2"]},{"1338136355":["hashtag1","hashtag2"]},{"1338136364":["hashtag1","hashtag2"]},{"1338136352":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338136360, 1338136357, 1338136362, 1338136355, 1338136364, 1338136352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.676063537597656 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:27:02.616685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_18_9700.jpg', 0), ('/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_09_9712.jpg', 0), ('/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_59_10700.jpg', 0), ('/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_48_9698.jpg', 0), ('/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_39_9692.jpg', 0), ('/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_29_10709.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_18_9700.jpg', '/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_09_9712.jpg', '/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_59_10700.jpg', '/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_48_9698.jpg', '/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_39_9692.jpg', '/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_29_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_18_9700.jpg
/home/nano/Desktop/images/06022025/03/08/image_06022025_03_08_09_9712.jpg
/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_59_10700.jpg
/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_48_9698.jpg
/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_39_9692.jpg
/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_29_10709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338136450","1338136447","1338136441","1338136446","1338136454","1338136457"],"photo_ids_order":["1338136441","1338136446","1338136447","1338136450","1338136454","1338136457"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c48129ee4961515ac119301e4810ec32.jpg","text":"TemporaryFile(/tmp/multipartBody1334479935678776955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784484405,"filename":"image_06022025_03_07_48_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc6a091bf4dc3b4410131d69f41257f7.jpg","text":"TemporaryFile(/tmp/multipartBody4518916414192392838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784484405,"filename":"image_06022025_03_07_59_10700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6655d8fa617c5aa43ae84ed426831424.jpg","text":"TemporaryFile(/tmp/multipartBody2218163460220986017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784484405,"filename":"image_06022025_03_08_18_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9af0f4939357c8629d30fd33b8ae0ae4.jpg","text":"TemporaryFile(/tmp/multipartBody5574799747325033894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784484405,"filename":"image_06022025_03_08_09_9712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/412d2ae39bd50026056d46ddea9bcaba.jpg","text":"TemporaryFile(/tmp/multipartBody4403156308387155886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784484405,"filename":"image_06022025_03_07_39_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b8c339af4d1427afc08461d21d20833.jpg","text":"TemporaryFile(/tmp/multipartBody493270894293010351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784484405,"filename":"image_06022025_03_07_29_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338136447","file1":"1338136446","file0":"1338136441","file4":"1338136454","file5":"1338136457","file3":"1338136450"},"map_files_photo_id_array":[{"photo_id":"1338136457","filename":"file5"},{"photo_id":"1338136447","filename":"file2"},{"photo_id":"1338136454","filename":"file4"},{"photo_id":"1338136446","filename":"file1"},{"photo_id":"1338136441","filename":"file0"},{"photo_id":"1338136450","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338136450":["hashtag1","hashtag2"]},{"1338136447":["hashtag1","hashtag2"]},{"1338136441":["hashtag1","hashtag2"]},{"1338136446":["hashtag1","hashtag2"]},{"1338136454":["hashtag1","hashtag2"]},{"1338136457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338136450, 1338136447, 1338136441, 1338136446, 1338136454, 1338136457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.786760330200195 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:28:02.592331
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_18_9697.jpg', 0), ('/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_08_9702.jpg', 0), ('/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_59_10708.jpg', 0), ('/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_48_9707.jpg', 0), ('/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_38_9695.jpg', 0), ('/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_29_9701.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_18_9697.jpg', '/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_08_9702.jpg', '/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_59_10708.jpg', '/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_48_9707.jpg', '/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_38_9695.jpg', '/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_29_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_18_9697.jpg
/home/nano/Desktop/images/06022025/03/07/image_06022025_03_07_08_9702.jpg
/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_59_10708.jpg
/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_48_9707.jpg
/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_38_9695.jpg
/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_29_9701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338136492","1338136711","1338136569","1338136659","1338136713","1338136495"],"photo_ids_order":["1338136492","1338136495","1338136569","1338136659","1338136711","1338136713"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e088855fcae6a60eef695cbf156921e.jpg","text":"TemporaryFile(/tmp/multipartBody5716529492594123448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784544324,"filename":"image_06022025_03_07_18_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1232e6afaa00f04e6975f1e0e8374da.jpg","text":"TemporaryFile(/tmp/multipartBody5072194307119344964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784544324,"filename":"image_06022025_03_06_38_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dfedd77ea88fe3d49914a2e7efa39c33.jpg","text":"TemporaryFile(/tmp/multipartBody95887565800178763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784544324,"filename":"image_06022025_03_06_59_10708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed78b1b0048dd7930851c3ffb416ddc1.jpg","text":"TemporaryFile(/tmp/multipartBody1300395871687153940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784544324,"filename":"image_06022025_03_06_48_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/844ace76778fd5425f42bce7775ac871.jpg","text":"TemporaryFile(/tmp/multipartBody2004748800308218106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784544324,"filename":"image_06022025_03_06_29_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b5352eebb267925263d6fd17d254cb4.jpg","text":"TemporaryFile(/tmp/multipartBody1354939442260534993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784544324,"filename":"image_06022025_03_07_08_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338136569","file1":"1338136495","file0":"1338136492","file4":"1338136711","file5":"1338136713","file3":"1338136659"},"map_files_photo_id_array":[{"photo_id":"1338136713","filename":"file5"},{"photo_id":"1338136569","filename":"file2"},{"photo_id":"1338136711","filename":"file4"},{"photo_id":"1338136495","filename":"file1"},{"photo_id":"1338136492","filename":"file0"},{"photo_id":"1338136659","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338136492":["hashtag1","hashtag2"]},{"1338136711":["hashtag1","hashtag2"]},{"1338136569":["hashtag1","hashtag2"]},{"1338136659":["hashtag1","hashtag2"]},{"1338136713":["hashtag1","hashtag2"]},{"1338136495":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338136492, 1338136711, 1338136569, 1338136659, 1338136713, 1338136495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.885420322418213 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:29:03.395084
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_19_10702.jpg', 0), ('/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_08_9685.jpg', 0), ('/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_59_9698.jpg', 0), ('/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_49_10706.jpg', 0), ('/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_38_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_28_9698.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_19_10702.jpg', '/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_08_9685.jpg', '/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_59_9698.jpg', '/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_49_10706.jpg', '/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_38_9694.jpg', '/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_28_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_19_10702.jpg
/home/nano/Desktop/images/06022025/03/06/image_06022025_03_06_08_9685.jpg
/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_59_9698.jpg
/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_49_10706.jpg
/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_38_9694.jpg
/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_28_9698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338136819","1338136854","1338136815","1338136839","1338136850","1338136829"],"photo_ids_order":["1338136815","1338136819","1338136829","1338136839","1338136850","1338136854"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/29ef0cdab9f38618139b526139ca4fc9.jpg","text":"TemporaryFile(/tmp/multipartBody1806986968251776622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784605133,"filename":"image_06022025_03_06_08_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/708ccb45476b902c697c1e78c9f63480.jpg","text":"TemporaryFile(/tmp/multipartBody1094362988721757534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784605133,"filename":"image_06022025_03_05_28_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aefb4be330fb38fd57dbce5f29be37d1.jpg","text":"TemporaryFile(/tmp/multipartBody5587223140549202810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784605133,"filename":"image_06022025_03_06_19_10702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a17ce5048fda6865597388b385848b5.jpg","text":"TemporaryFile(/tmp/multipartBody890945855091339555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784605133,"filename":"image_06022025_03_05_49_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/625b2ebb758fc107fbc20182200ed1e6.jpg","text":"TemporaryFile(/tmp/multipartBody4469186652701433820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784605133,"filename":"image_06022025_03_05_38_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/44cbf8a6c45a43ee454d188bdc4c3e2b.jpg","text":"TemporaryFile(/tmp/multipartBody1122184062252892584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784605133,"filename":"image_06022025_03_05_59_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338136829","file1":"1338136819","file0":"1338136815","file4":"1338136850","file5":"1338136854","file3":"1338136839"},"map_files_photo_id_array":[{"photo_id":"1338136854","filename":"file5"},{"photo_id":"1338136829","filename":"file2"},{"photo_id":"1338136850","filename":"file4"},{"photo_id":"1338136819","filename":"file1"},{"photo_id":"1338136815","filename":"file0"},{"photo_id":"1338136839","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338136819":["hashtag1","hashtag2"]},{"1338136854":["hashtag1","hashtag2"]},{"1338136815":["hashtag1","hashtag2"]},{"1338136839":["hashtag1","hashtag2"]},{"1338136850":["hashtag1","hashtag2"]},{"1338136829":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338136819, 1338136854, 1338136815, 1338136839, 1338136850, 1338136829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.48501133918762 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:30:02.964222
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_19_10707.jpg', 0), ('/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_08_9697.jpg', 0), ('/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_58_9698.jpg', 0), ('/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_49_9700.jpg', 0), ('/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_39_10706.jpg', 0), ('/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_28_9691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_19_10707.jpg', '/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_08_9697.jpg', '/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_58_9698.jpg', '/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_49_9700.jpg', '/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_39_10706.jpg', '/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_28_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_19_10707.jpg
/home/nano/Desktop/images/06022025/03/05/image_06022025_03_05_08_9697.jpg
/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_58_9698.jpg
/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_49_9700.jpg
/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_39_10706.jpg
/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_28_9691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338136882","1338136896","1338136893","1338136891","1338136885","1338136888"],"photo_ids_order":["1338136882","1338136885","1338136888","1338136891","1338136893","1338136896"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ea37dbdbd60fd2a90300375c3db7b50.jpg","text":"TemporaryFile(/tmp/multipartBody4586358010262795974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784664929,"filename":"image_06022025_03_05_19_10707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14de8cbfe675704b52f61c8ce2a22034.jpg","text":"TemporaryFile(/tmp/multipartBody7131866825924340187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784664929,"filename":"image_06022025_03_04_28_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a49594508fdf6c7e843c822494a109c8.jpg","text":"TemporaryFile(/tmp/multipartBody6387929819976555841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784664929,"filename":"image_06022025_03_04_39_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be2c9d6aaa9fb5dc59caa1bda5e0acfb.jpg","text":"TemporaryFile(/tmp/multipartBody1598098046172794418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784664929,"filename":"image_06022025_03_04_49_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd0bb4f3611afbc9dbb3f64e147f1251.jpg","text":"TemporaryFile(/tmp/multipartBody5443658286229666653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784664929,"filename":"image_06022025_03_05_08_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd34e802d50dc6c086d175a10415cf43.jpg","text":"TemporaryFile(/tmp/multipartBody345635558804410189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784664929,"filename":"image_06022025_03_04_58_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338136888","file1":"1338136885","file0":"1338136882","file4":"1338136893","file5":"1338136896","file3":"1338136891"},"map_files_photo_id_array":[{"photo_id":"1338136896","filename":"file5"},{"photo_id":"1338136888","filename":"file2"},{"photo_id":"1338136893","filename":"file4"},{"photo_id":"1338136885","filename":"file1"},{"photo_id":"1338136882","filename":"file0"},{"photo_id":"1338136891","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338136882":["hashtag1","hashtag2"]},{"1338136896":["hashtag1","hashtag2"]},{"1338136893":["hashtag1","hashtag2"]},{"1338136891":["hashtag1","hashtag2"]},{"1338136885":["hashtag1","hashtag2"]},{"1338136888":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338136882, 1338136896, 1338136893, 1338136891, 1338136885, 1338136888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.684131145477295 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:31:03.395650
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_19_9695.jpg', 0), ('/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_09_10706.jpg', 0), ('/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_58_9695.jpg', 0), ('/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_48_9696.jpg', 0), ('/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_39_10701.jpg', 0), ('/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_28_9698.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_19_9695.jpg', '/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_09_10706.jpg', '/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_58_9695.jpg', '/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_48_9696.jpg', '/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_39_10701.jpg', '/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_28_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_19_9695.jpg
/home/nano/Desktop/images/06022025/03/04/image_06022025_03_04_09_10706.jpg
/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_58_9695.jpg
/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_48_9696.jpg
/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_39_10701.jpg
/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_28_9698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338136942","1338136933","1338136944","1338136937","1338136931","1338136940"],"photo_ids_order":["1338136931","1338136933","1338136937","1338136940","1338136942","1338136944"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8471687703fc484f6875d3e1d386829e.jpg","text":"TemporaryFile(/tmp/multipartBody7418890736667084861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784725401,"filename":"image_06022025_03_03_39_10701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/69bc6937e2ee03fb3668321a249fdf92.jpg","text":"TemporaryFile(/tmp/multipartBody1267163954290918240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784725401,"filename":"image_06022025_03_04_09_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/edec694b1d2a1dc53c187becfbda93db.jpg","text":"TemporaryFile(/tmp/multipartBody1030439375629552001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784725401,"filename":"image_06022025_03_03_28_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de4d338552bd9e698ae6d7b834484cff.jpg","text":"TemporaryFile(/tmp/multipartBody6767738178612080247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784725401,"filename":"image_06022025_03_03_58_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b5546ecfeb261c729cf09e5784da4b8.jpg","text":"TemporaryFile(/tmp/multipartBody325819197937707159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784725401,"filename":"image_06022025_03_04_19_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ef3e14affe2988b2afdfdfe8235fafca.jpg","text":"TemporaryFile(/tmp/multipartBody7275900534449861149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784725401,"filename":"image_06022025_03_03_48_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338136937","file1":"1338136933","file0":"1338136931","file4":"1338136942","file5":"1338136944","file3":"1338136940"},"map_files_photo_id_array":[{"photo_id":"1338136944","filename":"file5"},{"photo_id":"1338136937","filename":"file2"},{"photo_id":"1338136942","filename":"file4"},{"photo_id":"1338136933","filename":"file1"},{"photo_id":"1338136931","filename":"file0"},{"photo_id":"1338136940","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338136942":["hashtag1","hashtag2"]},{"1338136933":["hashtag1","hashtag2"]},{"1338136944":["hashtag1","hashtag2"]},{"1338136937":["hashtag1","hashtag2"]},{"1338136931":["hashtag1","hashtag2"]},{"1338136940":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338136942, 1338136933, 1338136944, 1338136937, 1338136931, 1338136940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.788302421569824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:32:02.343782
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_18_9701.jpg', 0), ('/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_09_9719.jpg', 0), ('/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_59_10706.jpg', 0), ('/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_48_9708.jpg', 0), ('/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_38_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_29_9693.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_18_9701.jpg', '/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_09_9719.jpg', '/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_59_10706.jpg', '/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_48_9708.jpg', '/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_38_9694.jpg', '/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_29_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_18_9701.jpg
/home/nano/Desktop/images/06022025/03/03/image_06022025_03_03_09_9719.jpg
/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_59_10706.jpg
/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_48_9708.jpg
/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_38_9694.jpg
/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_29_9693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338136978","1338136983","1338136986","1338136980","1338136974","1338136988"],"photo_ids_order":["1338136974","1338136978","1338136980","1338136983","1338136986","1338136988"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/66ae6516daf68fd883a88b341883114c.jpg","text":"TemporaryFile(/tmp/multipartBody3818555774149509429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784784244,"filename":"image_06022025_03_03_09_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e91533d71eeb9216b3bd41fb9d56185b.jpg","text":"TemporaryFile(/tmp/multipartBody8883341531715756157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784784244,"filename":"image_06022025_02_57_48_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8d13643ae4a05d19372aa36679a6304.jpg","text":"TemporaryFile(/tmp/multipartBody3212796577060489020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784784244,"filename":"image_06022025_02_57_38_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/496ea8812017fc43cc55a9ad72d8380e.jpg","text":"TemporaryFile(/tmp/multipartBody7798985402940792850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784784244,"filename":"image_06022025_02_57_59_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a44839dc15f487f4eda9613155f54825.jpg","text":"TemporaryFile(/tmp/multipartBody6118312701179132245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784784244,"filename":"image_06022025_03_03_18_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f4391e6b9b0ccd2a9038e0c8e9e8c110.jpg","text":"TemporaryFile(/tmp/multipartBody3485607217238149358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784784244,"filename":"image_06022025_02_57_29_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338136980","file1":"1338136978","file0":"1338136974","file4":"1338136986","file5":"1338136988","file3":"1338136983"},"map_files_photo_id_array":[{"photo_id":"1338136988","filename":"file5"},{"photo_id":"1338136980","filename":"file2"},{"photo_id":"1338136986","filename":"file4"},{"photo_id":"1338136978","filename":"file1"},{"photo_id":"1338136974","filename":"file0"},{"photo_id":"1338136983","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338136978":["hashtag1","hashtag2"]},{"1338136983":["hashtag1","hashtag2"]},{"1338136986":["hashtag1","hashtag2"]},{"1338136980":["hashtag1","hashtag2"]},{"1338136974":["hashtag1","hashtag2"]},{"1338136988":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338136978, 1338136983, 1338136986, 1338136980, 1338136974, 1338136988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.818536520004272 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:33:02.743837
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_19_10698.jpg', 0), ('/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_08_9700.jpg', 0), ('/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_58_9697.jpg', 0), ('/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_48_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_39_9691.jpg', 0), ('/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_29_10700.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_19_10698.jpg', '/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_08_9700.jpg', '/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_58_9697.jpg', '/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_48_9694.jpg', '/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_39_9691.jpg', '/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_29_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_19_10698.jpg
/home/nano/Desktop/images/06022025/02/57/image_06022025_02_57_08_9700.jpg
/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_58_9697.jpg
/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_48_9694.jpg
/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_39_9691.jpg
/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_29_10700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338137050","1338137052","1338137049","1338137027","1338137041","1338137029"],"photo_ids_order":["1338137027","1338137029","1338137041","1338137049","1338137050","1338137052"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0864c2e6a844dd2d7027ac2af4fedd1d.jpg","text":"TemporaryFile(/tmp/multipartBody4791859367111350552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784845223,"filename":"image_06022025_02_38_39_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/420c3770288bfb7f479051956987dbee.jpg","text":"TemporaryFile(/tmp/multipartBody6123663311614569514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784845223,"filename":"image_06022025_02_38_29_10700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e165886a5ecb7af722bcb41fa132eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2215240177800317650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784845223,"filename":"image_06022025_02_38_48_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/408e116842172851f7ef972e32dfc1c0.jpg","text":"TemporaryFile(/tmp/multipartBody8028205060097801730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784845223,"filename":"image_06022025_02_57_19_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b150e2fd584d5a61fefa85dc82f4d45f.jpg","text":"TemporaryFile(/tmp/multipartBody6802582953860711098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784845223,"filename":"image_06022025_02_38_58_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/167f35a2ac10732c52af70185a5676dc.jpg","text":"TemporaryFile(/tmp/multipartBody7457252010463511021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784845223,"filename":"image_06022025_02_57_08_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338137041","file1":"1338137029","file0":"1338137027","file4":"1338137050","file5":"1338137052","file3":"1338137049"},"map_files_photo_id_array":[{"photo_id":"1338137052","filename":"file5"},{"photo_id":"1338137041","filename":"file2"},{"photo_id":"1338137050","filename":"file4"},{"photo_id":"1338137029","filename":"file1"},{"photo_id":"1338137027","filename":"file0"},{"photo_id":"1338137049","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338137050":["hashtag1","hashtag2"]},{"1338137052":["hashtag1","hashtag2"]},{"1338137049":["hashtag1","hashtag2"]},{"1338137027":["hashtag1","hashtag2"]},{"1338137041":["hashtag1","hashtag2"]},{"1338137029":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338137050, 1338137052, 1338137049, 1338137027, 1338137041, 1338137029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.624083518981934 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:34:02.992644
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_18_9695.jpg', 0), ('/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_09_9696.jpg', 0), ('/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_58_9698.jpg', 0), ('/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_49_9704.jpg', 0), ('/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_39_10713.jpg', 0), ('/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_28_9704.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_18_9695.jpg', '/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_09_9696.jpg', '/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_58_9698.jpg', '/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_49_9704.jpg', '/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_39_10713.jpg', '/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_28_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_18_9695.jpg
/home/nano/Desktop/images/06022025/02/38/image_06022025_02_38_09_9696.jpg
/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_58_9698.jpg
/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_49_9704.jpg
/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_39_10713.jpg
/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_28_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338137184","1338137145","1338137147","1338137182","1338137152","1338137149"],"photo_ids_order":["1338137145","1338137147","1338137149","1338137152","1338137182","1338137184"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13bfc1d6e205596137476cb608e0b553.jpg","text":"TemporaryFile(/tmp/multipartBody2604233152813111552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784904847,"filename":"image_06022025_02_18_28_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e9ce0b07b13c20c34bffbef61592074.jpg","text":"TemporaryFile(/tmp/multipartBody256087895817880270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784904847,"filename":"image_06022025_02_38_18_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3c006f1976bc472c5961b2b2d48138a.jpg","text":"TemporaryFile(/tmp/multipartBody2289312196431783666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784904847,"filename":"image_06022025_02_38_09_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a771970b980c6bb94c6c6a8b53856d4.jpg","text":"TemporaryFile(/tmp/multipartBody274623174587599273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784904847,"filename":"image_06022025_02_18_39_10713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6020749df729fb4a855f5ae3d9a62d72.jpg","text":"TemporaryFile(/tmp/multipartBody460747928452367740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784904847,"filename":"image_06022025_02_18_49_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/793c00b1d432ba9983b69065e6a5881c.jpg","text":"TemporaryFile(/tmp/multipartBody2069386638763909573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784904847,"filename":"image_06022025_02_18_58_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338137149","file1":"1338137147","file0":"1338137145","file4":"1338137182","file5":"1338137184","file3":"1338137152"},"map_files_photo_id_array":[{"photo_id":"1338137184","filename":"file5"},{"photo_id":"1338137149","filename":"file2"},{"photo_id":"1338137182","filename":"file4"},{"photo_id":"1338137147","filename":"file1"},{"photo_id":"1338137145","filename":"file0"},{"photo_id":"1338137152","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338137184":["hashtag1","hashtag2"]},{"1338137145":["hashtag1","hashtag2"]},{"1338137147":["hashtag1","hashtag2"]},{"1338137182":["hashtag1","hashtag2"]},{"1338137152":["hashtag1","hashtag2"]},{"1338137149":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338137184, 1338137145, 1338137147, 1338137182, 1338137152, 1338137149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.14132046699524 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:35:02.821413
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_18_9705.jpg', 0), ('/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_09_10722.jpg', 0), ('/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_58_9692.jpg', 0), ('/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_48_9689.jpg', 0), ('/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_39_10696.jpg', 0), ('/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_28_9692.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_18_9705.jpg', '/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_09_10722.jpg', '/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_58_9692.jpg', '/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_48_9689.jpg', '/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_39_10696.jpg', '/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_28_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_18_9705.jpg
/home/nano/Desktop/images/06022025/02/18/image_06022025_02_18_09_10722.jpg
/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_58_9692.jpg
/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_48_9689.jpg
/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_39_10696.jpg
/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_28_9692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338137238","1338137241","1338137249","1338137243","1338137246","1338137251"],"photo_ids_order":["1338137238","1338137241","1338137243","1338137246","1338137249","1338137251"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b7ceab23c7cb5c53acc4a55ac105f01.jpg","text":"TemporaryFile(/tmp/multipartBody4882017294687353178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784964625,"filename":"image_06022025_02_18_18_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f2ab70610712d515660d411aa06ed3b.jpg","text":"TemporaryFile(/tmp/multipartBody4519384205505578139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784964625,"filename":"image_06022025_02_18_09_10722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/44fc87609306d3271c9da78e3327f2e0.jpg","text":"TemporaryFile(/tmp/multipartBody6123991454494305261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784964625,"filename":"image_06022025_01_58_39_10696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ec06cbcaa4e12465e2a71a135eeeeb9.jpg","text":"TemporaryFile(/tmp/multipartBody1478103874278697618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784964625,"filename":"image_06022025_01_58_58_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/541a94b66ffa862bc9d33e7be9fd5aad.jpg","text":"TemporaryFile(/tmp/multipartBody7216244197235208236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784964625,"filename":"image_06022025_01_58_48_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a99ab90a7584e6d6eb0963d32b8fc6ce.jpg","text":"TemporaryFile(/tmp/multipartBody649360831801446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739784964625,"filename":"image_06022025_01_58_28_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338137243","file1":"1338137241","file0":"1338137238","file4":"1338137249","file5":"1338137251","file3":"1338137246"},"map_files_photo_id_array":[{"photo_id":"1338137251","filename":"file5"},{"photo_id":"1338137243","filename":"file2"},{"photo_id":"1338137249","filename":"file4"},{"photo_id":"1338137241","filename":"file1"},{"photo_id":"1338137238","filename":"file0"},{"photo_id":"1338137246","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338137238":["hashtag1","hashtag2"]},{"1338137241":["hashtag1","hashtag2"]},{"1338137249":["hashtag1","hashtag2"]},{"1338137243":["hashtag1","hashtag2"]},{"1338137246":["hashtag1","hashtag2"]},{"1338137251":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338137238, 1338137241, 1338137249, 1338137243, 1338137246, 1338137251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07663941383362 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:36:03.016008
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_18_9720.jpg', 0), ('/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_09_9702.jpg', 0), ('/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_59_10709.jpg', 0), ('/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_48_9695.jpg', 0), ('/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_39_9698.jpg', 0), ('/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_29_10708.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_18_9720.jpg', '/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_09_9702.jpg', '/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_59_10709.jpg', '/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_48_9695.jpg', '/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_39_9698.jpg', '/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_29_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_18_9720.jpg
/home/nano/Desktop/images/06022025/01/58/image_06022025_01_58_09_9702.jpg
/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_59_10709.jpg
/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_48_9695.jpg
/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_39_9698.jpg
/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_29_10708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338137302","1338137286","1338137295","1338137298","1338137291","1338137287"],"photo_ids_order":["1338137286","1338137287","1338137291","1338137295","1338137298","1338137302"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb898b3e607543c32ad3941c4725476b.jpg","text":"TemporaryFile(/tmp/multipartBody2382204213228106845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785024917,"filename":"image_06022025_01_57_29_10708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bfd8728585ff130eaf87303f83c0a4ed.jpg","text":"TemporaryFile(/tmp/multipartBody5583079592957977805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785024917,"filename":"image_06022025_01_58_18_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5cd250bed93ca097c4fd2c3a1e8d3b0e.jpg","text":"TemporaryFile(/tmp/multipartBody3594350574980878441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785024917,"filename":"image_06022025_01_57_48_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7b8d2719d27f869ebb3464e5972b430.jpg","text":"TemporaryFile(/tmp/multipartBody2920745321494554639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785024917,"filename":"image_06022025_01_57_39_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19a0f6da7f69ca0b057e64a06b2643bf.jpg","text":"TemporaryFile(/tmp/multipartBody6988654491149546525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785024917,"filename":"image_06022025_01_57_59_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/586eac57504a86528ff54173d23936b9.jpg","text":"TemporaryFile(/tmp/multipartBody5357249857186374280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785024917,"filename":"image_06022025_01_58_09_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338137291","file1":"1338137287","file0":"1338137286","file4":"1338137298","file5":"1338137302","file3":"1338137295"},"map_files_photo_id_array":[{"photo_id":"1338137302","filename":"file5"},{"photo_id":"1338137291","filename":"file2"},{"photo_id":"1338137298","filename":"file4"},{"photo_id":"1338137287","filename":"file1"},{"photo_id":"1338137286","filename":"file0"},{"photo_id":"1338137295","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338137302":["hashtag1","hashtag2"]},{"1338137286":["hashtag1","hashtag2"]},{"1338137295":["hashtag1","hashtag2"]},{"1338137298":["hashtag1","hashtag2"]},{"1338137291":["hashtag1","hashtag2"]},{"1338137287":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338137302, 1338137286, 1338137295, 1338137298, 1338137291, 1338137287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68903708457947 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:37:03.318717
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_18_9687.jpg', 0), ('/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_08_9697.jpg', 0), ('/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_59_9687.jpg', 0), ('/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_49_10706.jpg', 0), ('/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_38_9687.jpg', 0), ('/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_29_9689.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_18_9687.jpg', '/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_08_9697.jpg', '/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_59_9687.jpg', '/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_49_10706.jpg', '/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_38_9687.jpg', '/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_29_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_18_9687.jpg
/home/nano/Desktop/images/06022025/01/57/image_06022025_01_57_08_9697.jpg
/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_59_9687.jpg
/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_49_10706.jpg
/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_38_9687.jpg
/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_29_9689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338137512","1338137506","1338137515","1338137509","1338137501","1338137504"],"photo_ids_order":["1338137501","1338137504","1338137506","1338137509","1338137512","1338137515"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/34de7032ad8d405ba5f8cf2cce6c7759.jpg","text":"TemporaryFile(/tmp/multipartBody4877342599721437469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785085167,"filename":"image_06022025_01_28_38_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/534ecd12b112a2ea6d8ac22f3f491def.jpg","text":"TemporaryFile(/tmp/multipartBody6843181383303488281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785085167,"filename":"image_06022025_01_28_59_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc97582815114fbfcc1eb3d7b093fe03.jpg","text":"TemporaryFile(/tmp/multipartBody8457227860484447581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785085167,"filename":"image_06022025_01_28_29_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e71924b79b53bbcdd5ed5e19a80a00a5.jpg","text":"TemporaryFile(/tmp/multipartBody6489287189672775649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785085167,"filename":"image_06022025_01_28_49_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22c96b887439d3148537f4abfceb3d55.jpg","text":"TemporaryFile(/tmp/multipartBody3738679197909686099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785085167,"filename":"image_06022025_01_57_18_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4771e62832c863d7f41230890bec8a91.jpg","text":"TemporaryFile(/tmp/multipartBody1591275320540338915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785085167,"filename":"image_06022025_01_57_08_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338137506","file1":"1338137504","file0":"1338137501","file4":"1338137512","file5":"1338137515","file3":"1338137509"},"map_files_photo_id_array":[{"photo_id":"1338137515","filename":"file5"},{"photo_id":"1338137506","filename":"file2"},{"photo_id":"1338137512","filename":"file4"},{"photo_id":"1338137504","filename":"file1"},{"photo_id":"1338137501","filename":"file0"},{"photo_id":"1338137509","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338137512":["hashtag1","hashtag2"]},{"1338137506":["hashtag1","hashtag2"]},{"1338137515":["hashtag1","hashtag2"]},{"1338137509":["hashtag1","hashtag2"]},{"1338137501":["hashtag1","hashtag2"]},{"1338137504":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338137512, 1338137506, 1338137515, 1338137509, 1338137501, 1338137504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.604846954345703 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:38:02.122183
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_19_10727.jpg', 0), ('/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_08_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_58_9690.jpg', 0), ('/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_48_9694.jpg', 0), ('/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_39_9688.jpg', 0), ('/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_29_10707.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_19_10727.jpg', '/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_08_9694.jpg', '/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_58_9690.jpg', '/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_48_9694.jpg', '/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_39_9688.jpg', '/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_29_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_19_10727.jpg
/home/nano/Desktop/images/06022025/01/28/image_06022025_01_28_08_9694.jpg
/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_58_9690.jpg
/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_48_9694.jpg
/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_39_9688.jpg
/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_29_10707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338137553","1338137556","1338137559","1338137549","1338137560","1338137551"],"photo_ids_order":["1338137549","1338137551","1338137553","1338137556","1338137559","1338137560"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e6e1e7a0b223330f0bd1cfabcd237e27.jpg","text":"TemporaryFile(/tmp/multipartBody5981627229519443333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785144513,"filename":"image_06022025_00_57_58_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/94c946cf5d4c085a533927b6f7de59c3.jpg","text":"TemporaryFile(/tmp/multipartBody988881599716648624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785144513,"filename":"image_06022025_00_57_48_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c630a8163473bd5310854ca2a0001838.jpg","text":"TemporaryFile(/tmp/multipartBody3066088065233175128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785144513,"filename":"image_06022025_00_57_39_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/145eeb95b14819d3997a7de29df24824.jpg","text":"TemporaryFile(/tmp/multipartBody3779789288047812730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785144513,"filename":"image_06022025_01_28_19_10727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50896cacf2b95a6df2010ca237fc46bd.jpg","text":"TemporaryFile(/tmp/multipartBody5690399902090915637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785144513,"filename":"image_06022025_00_57_29_10707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a47ed113f929bfca9b80781ba8d6a9c.jpg","text":"TemporaryFile(/tmp/multipartBody4392687034984900774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785144513,"filename":"image_06022025_01_28_08_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338137553","file1":"1338137551","file0":"1338137549","file4":"1338137559","file5":"1338137560","file3":"1338137556"},"map_files_photo_id_array":[{"photo_id":"1338137560","filename":"file5"},{"photo_id":"1338137553","filename":"file2"},{"photo_id":"1338137559","filename":"file4"},{"photo_id":"1338137551","filename":"file1"},{"photo_id":"1338137549","filename":"file0"},{"photo_id":"1338137556","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338137553":["hashtag1","hashtag2"]},{"1338137556":["hashtag1","hashtag2"]},{"1338137559":["hashtag1","hashtag2"]},{"1338137549":["hashtag1","hashtag2"]},{"1338137560":["hashtag1","hashtag2"]},{"1338137551":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338137553, 1338137556, 1338137559, 1338137549, 1338137560, 1338137551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.141475439071655 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:39:02.677367
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_18_9689.jpg', 0), ('/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_09_9682.jpg', 0), ('/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_59_10696.jpg', 0), ('/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_48_9687.jpg', 0), ('/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_38_9682.jpg', 0), ('/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_29_9695.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_18_9689.jpg', '/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_09_9682.jpg', '/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_59_10696.jpg', '/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_48_9687.jpg', '/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_38_9682.jpg', '/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_29_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_18_9689.jpg
/home/nano/Desktop/images/06022025/00/57/image_06022025_00_57_09_9682.jpg
/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_59_10696.jpg
/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_48_9687.jpg
/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_38_9682.jpg
/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_29_9695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338137611","1338137614","1338137608","1338137593","1338137596","1338137617"],"photo_ids_order":["1338137593","1338137596","1338137608","1338137611","1338137614","1338137617"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/45b2f2a58d6dc060ab564a93c11c17ca.jpg","text":"TemporaryFile(/tmp/multipartBody717496914079620664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785204348,"filename":"image_06022025_00_24_48_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50231b0c78e3756e791a3f9db6b1f2cb.jpg","text":"TemporaryFile(/tmp/multipartBody4656793902050611843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785204348,"filename":"image_06022025_00_24_38_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/688f146e6c039e79a73deae07c884b58.jpg","text":"TemporaryFile(/tmp/multipartBody8825991116813532689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785204348,"filename":"image_06022025_00_24_59_10696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e95c0e371f97c27a4c573abec8c18a82.jpg","text":"TemporaryFile(/tmp/multipartBody4542350899965987840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785204348,"filename":"image_06022025_00_57_18_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ba3838ddfbdb535e64d7248eb375130.jpg","text":"TemporaryFile(/tmp/multipartBody1311849739571654814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785204348,"filename":"image_06022025_00_57_09_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7cfedaeb0588aa3a5523e3c0d3ff0c61.jpg","text":"TemporaryFile(/tmp/multipartBody8205169657033111213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785204348,"filename":"image_06022025_00_24_29_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338137608","file1":"1338137596","file0":"1338137593","file4":"1338137614","file5":"1338137617","file3":"1338137611"},"map_files_photo_id_array":[{"photo_id":"1338137617","filename":"file5"},{"photo_id":"1338137608","filename":"file2"},{"photo_id":"1338137614","filename":"file4"},{"photo_id":"1338137596","filename":"file1"},{"photo_id":"1338137593","filename":"file0"},{"photo_id":"1338137611","filename":"file3"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338137611":["hashtag1","hashtag2"]},{"1338137614":["hashtag1","hashtag2"]},{"1338137608":["hashtag1","hashtag2"]},{"1338137593":["hashtag1","hashtag2"]},{"1338137596":["hashtag1","hashtag2"]},{"1338137617":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338137611, 1338137614, 1338137608, 1338137593, 1338137596, 1338137617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.471301555633545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:40:02.493542
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
  port_id : 20276981
  datou_current_id : 2557174
in upload_from_sqlite, uploading in 20276981
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_19_10693.jpg', 0), ('/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_08_9685.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_19_10693.jpg', '/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_08_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2557174&datou=0
/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_19_10693.jpg
/home/nano/Desktop/images/06022025/00/24/image_06022025_00_24_08_9685.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338137648","1338137716"],"photo_ids_order":["1338137648","1338137716"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d51faabb91d9eb2a43698f925cd4708.jpg","text":"TemporaryFile(/tmp/multipartBody2021393992028530080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785263788,"filename":"image_06022025_00_24_19_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d284c69844309cb0f9e364835e283be.jpg","text":"TemporaryFile(/tmp/multipartBody4922425444172664930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785263788,"filename":"image_06022025_00_24_08_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338137716","file0":"1338137648"},"map_files_photo_id_array":[{"photo_id":"1338137716","filename":"file1"},{"photo_id":"1338137648","filename":"file0"}],"portfolio_id":20276981,"hashtag_by_photo_ids":[{"1338137648":["hashtag1","hashtag2"]},{"1338137716":["hashtag1","hashtag2"]}],"comms":"Portfolio 20276981 used, photo_id : ArrayBuffer(1338137648, 1338137716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.057783842086792 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:40:32.067610
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_59_9683.jpg', 0), ('/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_49_10693.jpg', 0), ('/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_39_9682.jpg', 0), ('/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_29_9681.jpg', 0), ('/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_19_10712.jpg', 0), ('/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_09_9704.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_59_9683.jpg', '/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_49_10693.jpg', '/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_39_9682.jpg', '/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_29_9681.jpg', '/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_19_10712.jpg', '/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_09_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_59_9683.jpg
/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_49_10693.jpg
/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_39_9682.jpg
/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_29_9681.jpg
/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_19_10712.jpg
/home/nano/Desktop/images/07022025/23/59/image_07022025_23_59_09_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338137777","1338137762","1338137759","1338137779","1338137782","1338137764"],"photo_ids_order":["1338137759","1338137762","1338137764","1338137777","1338137779","1338137782"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8699d0d42bd3514eb4b16239247f9e09.jpg","text":"TemporaryFile(/tmp/multipartBody8800043835230463328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785294174,"filename":"image_07022025_23_59_29_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d3698cd67ba0c65285a36c1b9c8fc802.jpg","text":"TemporaryFile(/tmp/multipartBody1937845497216224577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785294174,"filename":"image_07022025_23_59_49_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87defd558386a01ddc2176ab0bdc4d97.jpg","text":"TemporaryFile(/tmp/multipartBody6674614597889199159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785294174,"filename":"image_07022025_23_59_59_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7efeef84707d5f9514292cbc605c9720.jpg","text":"TemporaryFile(/tmp/multipartBody3988269814650539580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785294174,"filename":"image_07022025_23_59_19_10712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4eb11aec12dc655778842faf6ecbcd17.jpg","text":"TemporaryFile(/tmp/multipartBody2195602978262191423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785294174,"filename":"image_07022025_23_59_09_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ec3f615133c340e5ed84b8da9342d89.jpg","text":"TemporaryFile(/tmp/multipartBody170299929942307306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785294174,"filename":"image_07022025_23_59_39_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338137764","file1":"1338137762","file0":"1338137759","file4":"1338137779","file5":"1338137782","file3":"1338137777"},"map_files_photo_id_array":[{"photo_id":"1338137782","filename":"file5"},{"photo_id":"1338137764","filename":"file2"},{"photo_id":"1338137779","filename":"file4"},{"photo_id":"1338137762","filename":"file1"},{"photo_id":"1338137759","filename":"file0"},{"photo_id":"1338137777","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338137777":["hashtag1","hashtag2"]},{"1338137762":["hashtag1","hashtag2"]},{"1338137759":["hashtag1","hashtag2"]},{"1338137779":["hashtag1","hashtag2"]},{"1338137782":["hashtag1","hashtag2"]},{"1338137764":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338137777, 1338137762, 1338137759, 1338137779, 1338137782, 1338137764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32576537132263 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:41:32.248878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_59_9682.jpg', 0), ('/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_49_9704.jpg', 0), ('/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_40_10693.jpg', 0), ('/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_29_9700.jpg', 0), ('/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_19_9680.jpg', 0), ('/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_09_10693.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_59_9682.jpg', '/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_49_9704.jpg', '/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_40_10693.jpg', '/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_29_9700.jpg', '/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_19_9680.jpg', '/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_09_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_59_9682.jpg
/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_49_9704.jpg
/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_40_10693.jpg
/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_29_9700.jpg
/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_19_9680.jpg
/home/nano/Desktop/images/07022025/23/58/image_07022025_23_58_09_10693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338137859","1338137822","1338137819","1338137810","1338137813","1338137816"],"photo_ids_order":["1338137810","1338137813","1338137816","1338137819","1338137822","1338137859"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e2564330ab2a0d9ed74406392dfa5be.jpg","text":"TemporaryFile(/tmp/multipartBody6760893470367087298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785353971,"filename":"image_07022025_23_58_09_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/263f717fb3923a2549e2e94b52d55473.jpg","text":"TemporaryFile(/tmp/multipartBody3046849809034960067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785353971,"filename":"image_07022025_23_58_19_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/613842f81ef401b118629bde38542d58.jpg","text":"TemporaryFile(/tmp/multipartBody5983751603234848333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785353971,"filename":"image_07022025_23_58_29_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff6c4db9f0f793f86b2f4bc5db23faa1.jpg","text":"TemporaryFile(/tmp/multipartBody678805127252101358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785353971,"filename":"image_07022025_23_58_59_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81c98267e64c08d40411e65008e8430c.jpg","text":"TemporaryFile(/tmp/multipartBody9001919614694737892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785353971,"filename":"image_07022025_23_58_49_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7ae2fa37f96cc9c26e6782255a56c5a.jpg","text":"TemporaryFile(/tmp/multipartBody3692204502468413305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785353971,"filename":"image_07022025_23_58_40_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338137816","file1":"1338137813","file0":"1338137810","file4":"1338137822","file5":"1338137859","file3":"1338137819"},"map_files_photo_id_array":[{"photo_id":"1338137859","filename":"file5"},{"photo_id":"1338137816","filename":"file2"},{"photo_id":"1338137822","filename":"file4"},{"photo_id":"1338137813","filename":"file1"},{"photo_id":"1338137810","filename":"file0"},{"photo_id":"1338137819","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338137859":["hashtag1","hashtag2"]},{"1338137822":["hashtag1","hashtag2"]},{"1338137819":["hashtag1","hashtag2"]},{"1338137810":["hashtag1","hashtag2"]},{"1338137813":["hashtag1","hashtag2"]},{"1338137816":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338137859, 1338137822, 1338137819, 1338137810, 1338137813, 1338137816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.988239526748657 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:42:32.385116
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/22/58/image_07022025_22_59_00_10686.jpg', 0), ('/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_49_9690.jpg', 0), ('/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_39_9692.jpg', 0), ('/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_29_10685.jpg', 0), ('/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_19_9676.jpg', 0), ('/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_09_9675.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/22/58/image_07022025_22_59_00_10686.jpg', '/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_49_9690.jpg', '/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_39_9692.jpg', '/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_29_10685.jpg', '/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_19_9676.jpg', '/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_09_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/22/58/image_07022025_22_59_00_10686.jpg
/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_49_9690.jpg
/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_39_9692.jpg
/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_29_10685.jpg
/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_19_9676.jpg
/home/nano/Desktop/images/07022025/22/58/image_07022025_22_58_09_9675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338137907","1338137901","1338137891","1338137904","1338137897","1338137909"],"photo_ids_order":["1338137891","1338137897","1338137901","1338137904","1338137907","1338137909"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53f3c26d17d91e8f82297fb6540738d7.jpg","text":"TemporaryFile(/tmp/multipartBody8710542980678718649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785414205,"filename":"image_07022025_22_58_19_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9063e6d0dffa2ed387886aa5c30df213.jpg","text":"TemporaryFile(/tmp/multipartBody425159825117560254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785414205,"filename":"image_07022025_22_58_39_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b256a4e2da7b353fc2d86c1a2acc5fa.jpg","text":"TemporaryFile(/tmp/multipartBody1307406258146315355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785414205,"filename":"image_07022025_22_59_00_10686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00a643146fcd7a2186ec0c9c35a82840.jpg","text":"TemporaryFile(/tmp/multipartBody2325957658258566137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785414205,"filename":"image_07022025_22_58_29_10685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7acfa62384e389faca96282800a9a086.jpg","text":"TemporaryFile(/tmp/multipartBody6107875774069370344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785414205,"filename":"image_07022025_22_58_49_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/37dfa1d831fa40ac44af93d1308c326e.jpg","text":"TemporaryFile(/tmp/multipartBody7772974153933931945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785414205,"filename":"image_07022025_22_58_09_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338137901","file1":"1338137897","file0":"1338137891","file4":"1338137907","file5":"1338137909","file3":"1338137904"},"map_files_photo_id_array":[{"photo_id":"1338137909","filename":"file5"},{"photo_id":"1338137901","filename":"file2"},{"photo_id":"1338137907","filename":"file4"},{"photo_id":"1338137897","filename":"file1"},{"photo_id":"1338137891","filename":"file0"},{"photo_id":"1338137904","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338137907":["hashtag1","hashtag2"]},{"1338137901":["hashtag1","hashtag2"]},{"1338137891":["hashtag1","hashtag2"]},{"1338137904":["hashtag1","hashtag2"]},{"1338137897":["hashtag1","hashtag2"]},{"1338137909":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338137907, 1338137901, 1338137891, 1338137904, 1338137897, 1338137909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12783479690552 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:43:32.540570
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_59_9676.jpg', 0), ('/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_50_10686.jpg', 0), ('/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_39_9696.jpg', 0), ('/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_29_9679.jpg', 0), ('/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_20_10684.jpg', 0), ('/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_09_9680.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_59_9676.jpg', '/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_50_10686.jpg', '/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_39_9696.jpg', '/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_29_9679.jpg', '/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_20_10684.jpg', '/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_09_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_59_9676.jpg
/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_50_10686.jpg
/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_39_9696.jpg
/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_29_9679.jpg
/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_20_10684.jpg
/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_09_9680.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7696051597595215 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:44:03.470317
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_59_9676.jpg', 0), ('/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_50_10686.jpg', 0), ('/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_39_9696.jpg', 0), ('/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_29_9679.jpg', 0), ('/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_20_10684.jpg', 0), ('/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_09_9680.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_59_9676.jpg', '/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_50_10686.jpg', '/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_39_9696.jpg', '/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_29_9679.jpg', '/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_20_10684.jpg', '/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_09_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_59_9676.jpg
/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_50_10686.jpg
/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_39_9696.jpg
/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_29_9679.jpg
/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_20_10684.jpg
/home/nano/Desktop/images/07022025/22/13/image_07022025_22_13_09_9680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338137970","1338137952","1338137966","1338137954","1338137963","1338137959"],"photo_ids_order":["1338137952","1338137954","1338137959","1338137963","1338137966","1338137970"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15a4935ade981852dc849d10b34ba595.jpg","text":"TemporaryFile(/tmp/multipartBody6679655001717032797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785505344,"filename":"image_07022025_22_13_09_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ddeabd73e234490492216200e12c248f.jpg","text":"TemporaryFile(/tmp/multipartBody4694433786752075573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785505344,"filename":"image_07022025_22_13_59_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c629a98b7acd865a1761584b25e26645.jpg","text":"TemporaryFile(/tmp/multipartBody2738008353552359284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785505344,"filename":"image_07022025_22_13_20_10684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a2925b5ac340751aae16118fca3a2eb.jpg","text":"TemporaryFile(/tmp/multipartBody8842095448497444769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785505344,"filename":"image_07022025_22_13_50_10686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bd1a6b2aebe0db113222d51145065626.jpg","text":"TemporaryFile(/tmp/multipartBody3212850647558519476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785505344,"filename":"image_07022025_22_13_29_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/74d7ea1dced3ccfe61731015cb5cc426.jpg","text":"TemporaryFile(/tmp/multipartBody2005648339475787554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785505344,"filename":"image_07022025_22_13_39_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338137959","file1":"1338137954","file0":"1338137952","file4":"1338137966","file5":"1338137970","file3":"1338137963"},"map_files_photo_id_array":[{"photo_id":"1338137970","filename":"file5"},{"photo_id":"1338137959","filename":"file2"},{"photo_id":"1338137966","filename":"file4"},{"photo_id":"1338137954","filename":"file1"},{"photo_id":"1338137952","filename":"file0"},{"photo_id":"1338137963","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338137970":["hashtag1","hashtag2"]},{"1338137952":["hashtag1","hashtag2"]},{"1338137966":["hashtag1","hashtag2"]},{"1338137954":["hashtag1","hashtag2"]},{"1338137963":["hashtag1","hashtag2"]},{"1338137959":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338137970, 1338137952, 1338137966, 1338137954, 1338137963, 1338137959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59425950050354 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:45:02.397603
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_59_9676.jpg', 0), ('/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_49_9675.jpg', 0), ('/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_40_10688.jpg', 0), ('/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_29_9679.jpg', 0), ('/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_19_9682.jpg', 0), ('/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_10_10691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_59_9676.jpg', '/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_49_9675.jpg', '/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_40_10688.jpg', '/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_29_9679.jpg', '/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_19_9682.jpg', '/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_10_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_59_9676.jpg
/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_49_9675.jpg
/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_40_10688.jpg
/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_29_9679.jpg
/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_19_9682.jpg
/home/nano/Desktop/images/07022025/21/29/image_07022025_21_29_10_10691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338138007","1338138005","1338137995","1338137998","1338138001","1338138019"],"photo_ids_order":["1338137995","1338137998","1338138001","1338138005","1338138007","1338138019"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb7fecf22efc2e492d10287a6071ed5b.jpg","text":"TemporaryFile(/tmp/multipartBody7617139152622346488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785564309,"filename":"image_07022025_21_29_19_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6d5af9d10f728b5b68d2b31ae267fb5.jpg","text":"TemporaryFile(/tmp/multipartBody4062317324566605371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785564309,"filename":"image_07022025_21_29_29_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21e5ca9e105166049056967a432c7deb.jpg","text":"TemporaryFile(/tmp/multipartBody7781600968942773340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785564309,"filename":"image_07022025_21_29_59_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ee463d74d76a5312654bb2f01ed03b8.jpg","text":"TemporaryFile(/tmp/multipartBody6654158429064250549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785564309,"filename":"image_07022025_21_29_49_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/094e43d0906f5e2ba05a1c964068da9e.jpg","text":"TemporaryFile(/tmp/multipartBody4733803046877678356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785564309,"filename":"image_07022025_21_29_40_10688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca8763a362aa05565369929c26a3337c.jpg","text":"TemporaryFile(/tmp/multipartBody7305665463814993287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785564309,"filename":"image_07022025_21_29_10_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338138001","file1":"1338137998","file0":"1338137995","file4":"1338138007","file5":"1338138019","file3":"1338138005"},"map_files_photo_id_array":[{"photo_id":"1338138019","filename":"file5"},{"photo_id":"1338138001","filename":"file2"},{"photo_id":"1338138007","filename":"file4"},{"photo_id":"1338137998","filename":"file1"},{"photo_id":"1338137995","filename":"file0"},{"photo_id":"1338138005","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338138007":["hashtag1","hashtag2"]},{"1338138005":["hashtag1","hashtag2"]},{"1338137995":["hashtag1","hashtag2"]},{"1338137998":["hashtag1","hashtag2"]},{"1338138001":["hashtag1","hashtag2"]},{"1338138019":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338138007, 1338138005, 1338137995, 1338137998, 1338138001, 1338138019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9437894821167 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:46:02.194970
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_59_10694.jpg', 0), ('/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_49_9674.jpg', 0), ('/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_39_9667.jpg', 0), ('/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_29_10676.jpg', 0), ('/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_19_9670.jpg', 0), ('/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_09_9681.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_59_10694.jpg', '/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_49_9674.jpg', '/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_39_9667.jpg', '/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_29_10676.jpg', '/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_19_9670.jpg', '/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_09_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_59_10694.jpg
/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_49_9674.jpg
/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_39_9667.jpg
/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_29_10676.jpg
/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_19_9670.jpg
/home/nano/Desktop/images/07022025/20/58/image_07022025_20_58_09_9681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338138222","1338138215","1338138230","1338138212","1338138226","1338138235"],"photo_ids_order":["1338138212","1338138215","1338138222","1338138226","1338138230","1338138235"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/66fe26fa5ac38a4a9b7c7c18fc796049.jpg","text":"TemporaryFile(/tmp/multipartBody1393321011326307942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785623872,"filename":"image_07022025_20_58_39_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8806a464cb0f64b9c6b79982f04fa56b.jpg","text":"TemporaryFile(/tmp/multipartBody3429416490303580977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785623872,"filename":"image_07022025_20_58_49_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee4974e72694de46e1f9663fab62629f.jpg","text":"TemporaryFile(/tmp/multipartBody1610403701720441623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785623872,"filename":"image_07022025_20_58_19_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9351733581f235202e3ab4a82bac2503.jpg","text":"TemporaryFile(/tmp/multipartBody1688235227749407570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785623872,"filename":"image_07022025_20_58_59_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e7582cd9df1a6247a3a97e4652f7a2d.jpg","text":"TemporaryFile(/tmp/multipartBody1203085202926714215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785623872,"filename":"image_07022025_20_58_29_10676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6afe5aa544fb0ca7e36c5b5131d98a7c.jpg","text":"TemporaryFile(/tmp/multipartBody5226162090707618762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785623872,"filename":"image_07022025_20_58_09_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338138222","file1":"1338138215","file0":"1338138212","file4":"1338138230","file5":"1338138235","file3":"1338138226"},"map_files_photo_id_array":[{"photo_id":"1338138235","filename":"file5"},{"photo_id":"1338138222","filename":"file2"},{"photo_id":"1338138230","filename":"file4"},{"photo_id":"1338138215","filename":"file1"},{"photo_id":"1338138212","filename":"file0"},{"photo_id":"1338138226","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338138222":["hashtag1","hashtag2"]},{"1338138215":["hashtag1","hashtag2"]},{"1338138230":["hashtag1","hashtag2"]},{"1338138212":["hashtag1","hashtag2"]},{"1338138226":["hashtag1","hashtag2"]},{"1338138235":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338138222, 1338138215, 1338138230, 1338138212, 1338138226, 1338138235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63572859764099 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:47:02.811034
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_59_9670.jpg', 0), ('/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_49_9692.jpg', 0), ('/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_39_10677.jpg', 0), ('/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_29_9668.jpg', 0), ('/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_19_9685.jpg', 0), ('/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_09_10683.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_59_9670.jpg', '/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_49_9692.jpg', '/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_39_10677.jpg', '/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_29_9668.jpg', '/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_19_9685.jpg', '/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_09_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_59_9670.jpg
/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_49_9692.jpg
/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_39_10677.jpg
/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_29_9668.jpg
/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_19_9685.jpg
/home/nano/Desktop/images/07022025/20/47/image_07022025_20_47_09_10683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338138303","1338138306","1338138296","1338138292","1338138289","1338138298"],"photo_ids_order":["1338138289","1338138292","1338138296","1338138298","1338138303","1338138306"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc257d7a31a177c7b79727576fc67337.jpg","text":"TemporaryFile(/tmp/multipartBody9158074348506929326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785684513,"filename":"image_07022025_20_47_19_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/019e0e7b7a2989eb18c95154ce2a03e8.jpg","text":"TemporaryFile(/tmp/multipartBody2976016969323591611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785684513,"filename":"image_07022025_20_47_09_10683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f23da12044ecbc35a9edcb1cfc363a3.jpg","text":"TemporaryFile(/tmp/multipartBody2595265363847615017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785684513,"filename":"image_07022025_20_47_39_10677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ffaab7da6e149c72e5511f6c72c2fbb.jpg","text":"TemporaryFile(/tmp/multipartBody2902966762397123429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785684513,"filename":"image_07022025_20_47_49_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c4b26b103dea09cf427232530fc5033.jpg","text":"TemporaryFile(/tmp/multipartBody5783900819244611769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785684513,"filename":"image_07022025_20_47_59_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/36b978e7b8934bcd4bc4d37b76bc33f2.jpg","text":"TemporaryFile(/tmp/multipartBody5477738889990175076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785684513,"filename":"image_07022025_20_47_29_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338138296","file1":"1338138292","file0":"1338138289","file4":"1338138303","file5":"1338138306","file3":"1338138298"},"map_files_photo_id_array":[{"photo_id":"1338138306","filename":"file5"},{"photo_id":"1338138296","filename":"file2"},{"photo_id":"1338138303","filename":"file4"},{"photo_id":"1338138292","filename":"file1"},{"photo_id":"1338138289","filename":"file0"},{"photo_id":"1338138298","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338138303":["hashtag1","hashtag2"]},{"1338138306":["hashtag1","hashtag2"]},{"1338138296":["hashtag1","hashtag2"]},{"1338138292":["hashtag1","hashtag2"]},{"1338138289":["hashtag1","hashtag2"]},{"1338138298":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338138303, 1338138306, 1338138296, 1338138292, 1338138289, 1338138298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40690231323242 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:48:02.620576
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_59_9791.jpg', 0), ('/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_49_9770.jpg', 0), ('/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_39_9772.jpg', 0), ('/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_29_9769.jpg', 0), ('/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_20_10793.jpg', 0), ('/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_09_9774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_59_9791.jpg', '/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_49_9770.jpg', '/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_39_9772.jpg', '/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_29_9769.jpg', '/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_20_10793.jpg', '/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_09_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_59_9791.jpg
/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_49_9770.jpg
/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_39_9772.jpg
/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_29_9769.jpg
/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_20_10793.jpg
/home/nano/Desktop/images/07022025/19/58/image_07022025_19_58_09_9774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338138348","1338138356","1338138365","1338138359","1338138337","1338138334"],"photo_ids_order":["1338138334","1338138337","1338138348","1338138356","1338138359","1338138365"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6771867fb76e71228cb33a7e08b54cf.jpg","text":"TemporaryFile(/tmp/multipartBody3340754907402925758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785744511,"filename":"image_07022025_19_58_39_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/516fbcf94a63df37e22d68688f7361ff.jpg","text":"TemporaryFile(/tmp/multipartBody6523661814329195152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785744511,"filename":"image_07022025_19_58_29_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d13176ee32cac9181ec537ee6485761.jpg","text":"TemporaryFile(/tmp/multipartBody6206665185586458594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785744511,"filename":"image_07022025_19_58_09_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b72d1d55ae92ab5cd0da143e568077f.jpg","text":"TemporaryFile(/tmp/multipartBody7481430576728841183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785744511,"filename":"image_07022025_19_58_20_10793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f04ac8bddc4af985161b69bff5090d29.jpg","text":"TemporaryFile(/tmp/multipartBody6083296328464764947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785744511,"filename":"image_07022025_19_58_49_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c501de7fd875417d5ce2988811aab65c.jpg","text":"TemporaryFile(/tmp/multipartBody4471005588835669382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785744511,"filename":"image_07022025_19_58_59_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338138348","file1":"1338138337","file0":"1338138334","file4":"1338138359","file5":"1338138365","file3":"1338138356"},"map_files_photo_id_array":[{"photo_id":"1338138365","filename":"file5"},{"photo_id":"1338138348","filename":"file2"},{"photo_id":"1338138359","filename":"file4"},{"photo_id":"1338138337","filename":"file1"},{"photo_id":"1338138334","filename":"file0"},{"photo_id":"1338138356","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338138348":["hashtag1","hashtag2"]},{"1338138356":["hashtag1","hashtag2"]},{"1338138365":["hashtag1","hashtag2"]},{"1338138359":["hashtag1","hashtag2"]},{"1338138337":["hashtag1","hashtag2"]},{"1338138334":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338138348, 1338138356, 1338138365, 1338138359, 1338138337, 1338138334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37912392616272 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:49:03.544987
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_59_9768.jpg', 0), ('/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_49_9766.jpg', 0), ('/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_39_10776.jpg', 0), ('/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_29_9767.jpg', 0), ('/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_19_9769.jpg', 0), ('/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_09_9785.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_59_9768.jpg', '/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_49_9766.jpg', '/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_39_10776.jpg', '/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_29_9767.jpg', '/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_19_9769.jpg', '/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_09_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_59_9768.jpg
/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_49_9766.jpg
/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_39_10776.jpg
/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_29_9767.jpg
/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_19_9769.jpg
/home/nano/Desktop/images/07022025/19/57/image_07022025_19_57_09_9785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338138405","1338138389","1338138386","1338138425","1338138397","1338138403"],"photo_ids_order":["1338138386","1338138389","1338138397","1338138403","1338138405","1338138425"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f51c2acc05697b7bfcf86458d927999.jpg","text":"TemporaryFile(/tmp/multipartBody8971449362846070243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785805791,"filename":"image_07022025_19_57_19_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a62dc03f9088ec85e06f4481f51a3dd.jpg","text":"TemporaryFile(/tmp/multipartBody3699864293883489764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785805791,"filename":"image_07022025_19_57_49_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f053509446cfe49ff717bbf05bc2ee3.jpg","text":"TemporaryFile(/tmp/multipartBody9166811631205295399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785805791,"filename":"image_07022025_19_57_59_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/020563e0fc0c3b2218e615d63af228af.jpg","text":"TemporaryFile(/tmp/multipartBody3678164015191494354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785805791,"filename":"image_07022025_19_57_09_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d504b09f5f8f551d3af6c89f00b30661.jpg","text":"TemporaryFile(/tmp/multipartBody8077188569453178782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785805791,"filename":"image_07022025_19_57_39_10776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b4ccc825f09cbf401591c5cd4186230.jpg","text":"TemporaryFile(/tmp/multipartBody7626954712219234195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785805791,"filename":"image_07022025_19_57_29_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338138397","file1":"1338138389","file0":"1338138386","file4":"1338138405","file5":"1338138425","file3":"1338138403"},"map_files_photo_id_array":[{"photo_id":"1338138425","filename":"file5"},{"photo_id":"1338138397","filename":"file2"},{"photo_id":"1338138405","filename":"file4"},{"photo_id":"1338138389","filename":"file1"},{"photo_id":"1338138386","filename":"file0"},{"photo_id":"1338138403","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338138405":["hashtag1","hashtag2"]},{"1338138389":["hashtag1","hashtag2"]},{"1338138386":["hashtag1","hashtag2"]},{"1338138425":["hashtag1","hashtag2"]},{"1338138397":["hashtag1","hashtag2"]},{"1338138403":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338138405, 1338138389, 1338138386, 1338138425, 1338138397, 1338138403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95513343811035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:50:03.191543
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_59_9768.jpg', 0), ('/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_49_9764.jpg', 0), ('/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_40_10777.jpg', 0), ('/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_29_9769.jpg', 0), ('/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_19_9792.jpg', 0), ('/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_09_9771.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_59_9768.jpg', '/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_49_9764.jpg', '/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_40_10777.jpg', '/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_29_9769.jpg', '/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_19_9792.jpg', '/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_09_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_59_9768.jpg
/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_49_9764.jpg
/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_40_10777.jpg
/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_29_9769.jpg
/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_19_9792.jpg
/home/nano/Desktop/images/07022025/19/54/image_07022025_19_54_09_9771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338138474","1338138461","1338138470","1338138467","1338138449","1338138442"],"photo_ids_order":["1338138442","1338138449","1338138461","1338138467","1338138470","1338138474"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5fa8e9a3fce9cf35d56d642a65849886.jpg","text":"TemporaryFile(/tmp/multipartBody3351254963472309511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785865458,"filename":"image_07022025_19_54_09_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7503fe5d0ed5e7328d30fd0b64619cbf.jpg","text":"TemporaryFile(/tmp/multipartBody5049878073680486374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785865458,"filename":"image_07022025_19_54_40_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22622ac42a173b0498c9d41a133eebdb.jpg","text":"TemporaryFile(/tmp/multipartBody1583718916102805414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785865458,"filename":"image_07022025_19_54_19_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f810f47aa26988f463ddcb8ddddfbd37.jpg","text":"TemporaryFile(/tmp/multipartBody6446302841383204823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785865458,"filename":"image_07022025_19_54_29_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b032393decd5047b5a9de5d9e40eae83.jpg","text":"TemporaryFile(/tmp/multipartBody2989346774753241554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785865458,"filename":"image_07022025_19_54_49_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b87ff161b3d53be899a54956dab96f5.jpg","text":"TemporaryFile(/tmp/multipartBody8921099242352064239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785865458,"filename":"image_07022025_19_54_59_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338138461","file1":"1338138449","file0":"1338138442","file4":"1338138470","file5":"1338138474","file3":"1338138467"},"map_files_photo_id_array":[{"photo_id":"1338138474","filename":"file5"},{"photo_id":"1338138461","filename":"file2"},{"photo_id":"1338138470","filename":"file4"},{"photo_id":"1338138449","filename":"file1"},{"photo_id":"1338138442","filename":"file0"},{"photo_id":"1338138467","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338138474":["hashtag1","hashtag2"]},{"1338138461":["hashtag1","hashtag2"]},{"1338138470":["hashtag1","hashtag2"]},{"1338138467":["hashtag1","hashtag2"]},{"1338138449":["hashtag1","hashtag2"]},{"1338138442":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338138474, 1338138461, 1338138470, 1338138467, 1338138449, 1338138442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.456515312194824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:51:02.166585
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_59_10773.jpg', 0), ('/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_49_9786.jpg', 0), ('/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_39_9766.jpg', 0), ('/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_29_9790.jpg', 0), ('/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_19_9791.jpg', 0), ('/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_09_10777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_59_10773.jpg', '/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_49_9786.jpg', '/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_39_9766.jpg', '/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_29_9790.jpg', '/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_19_9791.jpg', '/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_09_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_59_10773.jpg
/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_49_9786.jpg
/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_39_9766.jpg
/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_29_9790.jpg
/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_19_9791.jpg
/home/nano/Desktop/images/07022025/19/53/image_07022025_19_53_09_10777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338138689","1338138683","1338138677","1338138679","1338138693","1338138687"],"photo_ids_order":["1338138677","1338138679","1338138683","1338138687","1338138689","1338138693"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c673a95893037ffee4704748a56aaa9.jpg","text":"TemporaryFile(/tmp/multipartBody2920105872769744154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785924419,"filename":"image_07022025_19_53_19_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/276819a710d5a4af49fd4b2e13f6936c.jpg","text":"TemporaryFile(/tmp/multipartBody7795286822060515905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785924419,"filename":"image_07022025_19_53_39_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3358001d000ced1200d6f4f02be2ef3b.jpg","text":"TemporaryFile(/tmp/multipartBody7571884225508785459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785924419,"filename":"image_07022025_19_53_59_10773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4400c8ceb98a2aaf278dc1b927c17870.jpg","text":"TemporaryFile(/tmp/multipartBody2093972157004679709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785924419,"filename":"image_07022025_19_53_49_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6fdcc4ecdc291e9807b4610382951c11.jpg","text":"TemporaryFile(/tmp/multipartBody4802970152194319390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785924419,"filename":"image_07022025_19_53_09_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c2a2809510ee00ab3fce1b4cb7bdc95.jpg","text":"TemporaryFile(/tmp/multipartBody8525795373893381740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785924419,"filename":"image_07022025_19_53_29_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338138683","file1":"1338138679","file0":"1338138677","file4":"1338138689","file5":"1338138693","file3":"1338138687"},"map_files_photo_id_array":[{"photo_id":"1338138693","filename":"file5"},{"photo_id":"1338138683","filename":"file2"},{"photo_id":"1338138689","filename":"file4"},{"photo_id":"1338138679","filename":"file1"},{"photo_id":"1338138677","filename":"file0"},{"photo_id":"1338138687","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338138689":["hashtag1","hashtag2"]},{"1338138683":["hashtag1","hashtag2"]},{"1338138677":["hashtag1","hashtag2"]},{"1338138679":["hashtag1","hashtag2"]},{"1338138693":["hashtag1","hashtag2"]},{"1338138687":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338138689, 1338138683, 1338138677, 1338138679, 1338138693, 1338138687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77326536178589 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:52:02.569580
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_59_9767.jpg', 0), ('/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_49_9767.jpg', 0), ('/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_39_9767.jpg', 0), ('/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_29_10777.jpg', 0), ('/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_19_9767.jpg', 0), ('/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_09_9787.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_59_9767.jpg', '/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_49_9767.jpg', '/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_39_9767.jpg', '/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_29_10777.jpg', '/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_19_9767.jpg', '/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_09_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_59_9767.jpg
/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_49_9767.jpg
/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_39_9767.jpg
/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_29_10777.jpg
/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_19_9767.jpg
/home/nano/Desktop/images/07022025/19/52/image_07022025_19_52_09_9787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338138771","1338138765","1338138781","1338138778","1338138774","1338138768"],"photo_ids_order":["1338138765","1338138768","1338138771","1338138774","1338138778","1338138781"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a57a791d9863425401175f5e624e0452.jpg","text":"TemporaryFile(/tmp/multipartBody695355522537971384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785984622,"filename":"image_07022025_19_52_39_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/841e2b6d13ab3fe3fe1f60dcec255efa.jpg","text":"TemporaryFile(/tmp/multipartBody4298135469436745729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785984622,"filename":"image_07022025_19_52_59_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a554cef186c3f219fd3f8c3f2a46046e.jpg","text":"TemporaryFile(/tmp/multipartBody5437190289763835207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785984622,"filename":"image_07022025_19_52_09_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f03adf6653c0376ddd923e0eb5e9d22.jpg","text":"TemporaryFile(/tmp/multipartBody1833605175163045447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785984622,"filename":"image_07022025_19_52_19_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e6bf67f51401bd02a426ed37eb2435d.jpg","text":"TemporaryFile(/tmp/multipartBody9095463155267745741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785984622,"filename":"image_07022025_19_52_29_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df120e17de7b8770716e19f92928b7f4.jpg","text":"TemporaryFile(/tmp/multipartBody5522302310954890242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739785984622,"filename":"image_07022025_19_52_49_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338138771","file1":"1338138768","file0":"1338138765","file4":"1338138778","file5":"1338138781","file3":"1338138774"},"map_files_photo_id_array":[{"photo_id":"1338138781","filename":"file5"},{"photo_id":"1338138771","filename":"file2"},{"photo_id":"1338138778","filename":"file4"},{"photo_id":"1338138768","filename":"file1"},{"photo_id":"1338138765","filename":"file0"},{"photo_id":"1338138774","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338138771":["hashtag1","hashtag2"]},{"1338138765":["hashtag1","hashtag2"]},{"1338138781":["hashtag1","hashtag2"]},{"1338138778":["hashtag1","hashtag2"]},{"1338138774":["hashtag1","hashtag2"]},{"1338138768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338138771, 1338138765, 1338138781, 1338138778, 1338138774, 1338138768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48695945739746 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:53:02.901788
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_59_9657.jpg', 0), ('/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_49_9665.jpg', 0), ('/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_39_10669.jpg', 0), ('/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_29_9631.jpg', 0), ('/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_19_9645.jpg', 0), ('/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_10_10664.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_59_9657.jpg', '/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_49_9665.jpg', '/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_39_10669.jpg', '/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_29_9631.jpg', '/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_19_9645.jpg', '/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_10_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_59_9657.jpg
/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_49_9665.jpg
/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_39_10669.jpg
/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_29_9631.jpg
/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_19_9645.jpg
/home/nano/Desktop/images/07022025/19/25/image_07022025_19_25_10_10664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338138815","1338138811","1338138820","1338138808","1338138817","1338138805"],"photo_ids_order":["1338138805","1338138808","1338138811","1338138815","1338138817","1338138820"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5213c1d3816568c5392b2c97a1a3ec52.jpg","text":"TemporaryFile(/tmp/multipartBody7768215241300082595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786044487,"filename":"image_07022025_19_25_29_9631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77e69f20aca2a2b7eca3983ec89f5870.jpg","text":"TemporaryFile(/tmp/multipartBody2889229179835321435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786044487,"filename":"image_07022025_19_25_39_10669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/89715a859bd0c9c9267e4a709c77034f.jpg","text":"TemporaryFile(/tmp/multipartBody742707181378143317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786044487,"filename":"image_07022025_19_25_10_10664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8b76df05d2a5455409be38a124311ee.jpg","text":"TemporaryFile(/tmp/multipartBody8700146257862013136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786044487,"filename":"image_07022025_19_25_49_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2021a15bef7970d86ea799757dd58a35.jpg","text":"TemporaryFile(/tmp/multipartBody4231721545692100745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786044487,"filename":"image_07022025_19_25_19_9645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9fded076846275f60cb65507ef37a3be.jpg","text":"TemporaryFile(/tmp/multipartBody2556929092592936794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786044487,"filename":"image_07022025_19_25_59_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338138811","file1":"1338138808","file0":"1338138805","file4":"1338138817","file5":"1338138820","file3":"1338138815"},"map_files_photo_id_array":[{"photo_id":"1338138820","filename":"file5"},{"photo_id":"1338138811","filename":"file2"},{"photo_id":"1338138817","filename":"file4"},{"photo_id":"1338138808","filename":"file1"},{"photo_id":"1338138805","filename":"file0"},{"photo_id":"1338138815","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338138815":["hashtag1","hashtag2"]},{"1338138811":["hashtag1","hashtag2"]},{"1338138820":["hashtag1","hashtag2"]},{"1338138808":["hashtag1","hashtag2"]},{"1338138817":["hashtag1","hashtag2"]},{"1338138805":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338138815, 1338138811, 1338138820, 1338138808, 1338138817, 1338138805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1134250164032 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:54:03.053087
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_59_9648.jpg', 0), ('/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_49_9665.jpg', 0), ('/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_39_10654.jpg', 0), ('/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_29_9660.jpg', 0), ('/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_19_9642.jpg', 0), ('/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_10_10690.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_59_9648.jpg', '/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_49_9665.jpg', '/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_39_10654.jpg', '/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_29_9660.jpg', '/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_19_9642.jpg', '/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_10_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_59_9648.jpg
/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_49_9665.jpg
/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_39_10654.jpg
/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_29_9660.jpg
/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_19_9642.jpg
/home/nano/Desktop/images/07022025/18/57/image_07022025_18_57_10_10690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338138858","1338138905","1338138865","1338138910","1338138901","1338138894"],"photo_ids_order":["1338138858","1338138865","1338138894","1338138901","1338138905","1338138910"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5687b90188aec0740c36868e7ebec621.jpg","text":"TemporaryFile(/tmp/multipartBody8918842524017771663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786104861,"filename":"image_07022025_18_57_59_9648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57ca57428c5301624c3c7b7cad42cb93.jpg","text":"TemporaryFile(/tmp/multipartBody1656013075788883555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786104861,"filename":"image_07022025_18_57_19_9642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a885e1b5ffb7592a7dc258108f2ffed6.jpg","text":"TemporaryFile(/tmp/multipartBody1379163405573258922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786104861,"filename":"image_07022025_18_57_49_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/066f0d095e39e38e037c886079fa3deb.jpg","text":"TemporaryFile(/tmp/multipartBody2307764642417242784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786104861,"filename":"image_07022025_18_57_10_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a54463ab395803dabe24a6e296b759a9.jpg","text":"TemporaryFile(/tmp/multipartBody175968354387074908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786104861,"filename":"image_07022025_18_57_29_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/83786709d602f1835cd1572b83393447.jpg","text":"TemporaryFile(/tmp/multipartBody8541598921037929865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786104861,"filename":"image_07022025_18_57_39_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338138894","file1":"1338138865","file0":"1338138858","file4":"1338138905","file5":"1338138910","file3":"1338138901"},"map_files_photo_id_array":[{"photo_id":"1338138910","filename":"file5"},{"photo_id":"1338138894","filename":"file2"},{"photo_id":"1338138905","filename":"file4"},{"photo_id":"1338138865","filename":"file1"},{"photo_id":"1338138858","filename":"file0"},{"photo_id":"1338138901","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338138858":["hashtag1","hashtag2"]},{"1338138905":["hashtag1","hashtag2"]},{"1338138865":["hashtag1","hashtag2"]},{"1338138910":["hashtag1","hashtag2"]},{"1338138901":["hashtag1","hashtag2"]},{"1338138894":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338138858, 1338138905, 1338138865, 1338138910, 1338138901, 1338138894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45773005485535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:55:03.133495
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_59_9673.jpg', 0), ('/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_50_10648.jpg', 0), ('/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_39_9671.jpg', 0), ('/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_29_9673.jpg', 0), ('/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_20_10697.jpg', 0), ('/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_09_9707.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_59_9673.jpg', '/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_50_10648.jpg', '/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_39_9671.jpg', '/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_29_9673.jpg', '/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_20_10697.jpg', '/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_09_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_59_9673.jpg
/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_50_10648.jpg
/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_39_9671.jpg
/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_29_9673.jpg
/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_20_10697.jpg
/home/nano/Desktop/images/07022025/17/58/image_07022025_17_58_09_9707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338139002","1338138997","1338138961","1338138958","1338138972","1338138966"],"photo_ids_order":["1338138958","1338138961","1338138966","1338138972","1338138997","1338139002"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/572e3a97d8b639729f04547c7484be9b.jpg","text":"TemporaryFile(/tmp/multipartBody208898420062023945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786166311,"filename":"image_07022025_17_58_09_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/51e1b0664396fe8e0a31baad48876d06.jpg","text":"TemporaryFile(/tmp/multipartBody7781580883182241087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786166311,"filename":"image_07022025_17_58_20_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1a717acafd2c7d1098e2b3d5cf2de04.jpg","text":"TemporaryFile(/tmp/multipartBody3836641533519068296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786166311,"filename":"image_07022025_17_58_50_10648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0fdb0d855aa223148b14e3638da4360b.jpg","text":"TemporaryFile(/tmp/multipartBody2386136515327524972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786166311,"filename":"image_07022025_17_58_59_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/409c36284a2d831a1111f7bccf27ecf1.jpg","text":"TemporaryFile(/tmp/multipartBody4272288613207881630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786166311,"filename":"image_07022025_17_58_29_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8dcdafa3129fae131639af85e7624e8.jpg","text":"TemporaryFile(/tmp/multipartBody3282963633808793943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786166311,"filename":"image_07022025_17_58_39_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338138966","file1":"1338138961","file0":"1338138958","file4":"1338138997","file5":"1338139002","file3":"1338138972"},"map_files_photo_id_array":[{"photo_id":"1338139002","filename":"file5"},{"photo_id":"1338138966","filename":"file2"},{"photo_id":"1338138997","filename":"file4"},{"photo_id":"1338138961","filename":"file1"},{"photo_id":"1338138958","filename":"file0"},{"photo_id":"1338138972","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338139002":["hashtag1","hashtag2"]},{"1338138997":["hashtag1","hashtag2"]},{"1338138961":["hashtag1","hashtag2"]},{"1338138958":["hashtag1","hashtag2"]},{"1338138972":["hashtag1","hashtag2"]},{"1338138966":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338139002, 1338138997, 1338138961, 1338138958, 1338138972, 1338138966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10223650932312 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:56:03.059511
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_59_9953.jpg', 0), ('/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_49_9754.jpg', 0), ('/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_39_10744.jpg', 0), ('/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_29_9747.jpg', 0), ('/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_19_9734.jpg', 0), ('/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_09_9817.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_59_9953.jpg', '/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_49_9754.jpg', '/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_39_10744.jpg', '/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_29_9747.jpg', '/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_19_9734.jpg', '/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_09_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_59_9953.jpg
/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_49_9754.jpg
/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_39_10744.jpg
/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_29_9747.jpg
/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_19_9734.jpg
/home/nano/Desktop/images/07022025/17/21/image_07022025_17_21_09_9817.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338139050","1338139125","1338139064","1338139073","1338139046","1338139054"],"photo_ids_order":["1338139046","1338139050","1338139054","1338139064","1338139073","1338139125"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce37356bb44e1225e5c8d48d0bd641ed.jpg","text":"TemporaryFile(/tmp/multipartBody1419997278583856950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786225425,"filename":"image_07022025_17_21_49_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d3e6f6280ae2b49a8a531d3351eb58d5.jpg","text":"TemporaryFile(/tmp/multipartBody8814115400889652690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786225425,"filename":"image_07022025_17_21_09_9817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/30edaa2b5036a9e8a3d44e2dc91a91fe.jpg","text":"TemporaryFile(/tmp/multipartBody9131660645839333806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786225425,"filename":"image_07022025_17_21_29_9747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/809e815894113ca80c24eee05e84ee0d.jpg","text":"TemporaryFile(/tmp/multipartBody712776574370671616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786225425,"filename":"image_07022025_17_21_19_9734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4f98839630593207a88fd0eb88fa0ac.jpg","text":"TemporaryFile(/tmp/multipartBody4625137101750005800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786225425,"filename":"image_07022025_17_21_59_9953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/51026867d94b595b1d3144fc9ff76733.jpg","text":"TemporaryFile(/tmp/multipartBody5540729059433868032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786225425,"filename":"image_07022025_17_21_39_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338139054","file1":"1338139050","file0":"1338139046","file4":"1338139073","file5":"1338139125","file3":"1338139064"},"map_files_photo_id_array":[{"photo_id":"1338139125","filename":"file5"},{"photo_id":"1338139054","filename":"file2"},{"photo_id":"1338139073","filename":"file4"},{"photo_id":"1338139050","filename":"file1"},{"photo_id":"1338139046","filename":"file0"},{"photo_id":"1338139064","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338139050":["hashtag1","hashtag2"]},{"1338139125":["hashtag1","hashtag2"]},{"1338139064":["hashtag1","hashtag2"]},{"1338139073":["hashtag1","hashtag2"]},{"1338139046":["hashtag1","hashtag2"]},{"1338139054":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338139050, 1338139125, 1338139064, 1338139073, 1338139046, 1338139054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44634032249451 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:57:02.431021
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/16/58/image_07022025_16_59_00_10746.jpg', 0), ('/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_49_9731.jpg', 0), ('/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_39_9680.jpg', 0), ('/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_29_10703.jpg', 0), ('/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_19_9746.jpg', 0), ('/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_09_9741.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/16/58/image_07022025_16_59_00_10746.jpg', '/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_49_9731.jpg', '/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_39_9680.jpg', '/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_29_10703.jpg', '/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_19_9746.jpg', '/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_09_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/16/58/image_07022025_16_59_00_10746.jpg
/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_49_9731.jpg
/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_39_9680.jpg
/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_29_10703.jpg
/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_19_9746.jpg
/home/nano/Desktop/images/07022025/16/58/image_07022025_16_58_09_9741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338139163","1338139145","1338139148","1338139159","1338139152","1338139155"],"photo_ids_order":["1338139145","1338139148","1338139152","1338139155","1338139159","1338139163"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6d6a3f5274f7bbc3d1d5cfa0ff414bb.jpg","text":"TemporaryFile(/tmp/multipartBody6610835864558161463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786284235,"filename":"image_07022025_16_58_09_9741.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bda16b7baa6ea5bab0ef3c6739d7d18c.jpg","text":"TemporaryFile(/tmp/multipartBody3319689181736784779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786284235,"filename":"image_07022025_16_59_00_10746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6f59a3f0ff04efab11c5e52dd7873b3.jpg","text":"TemporaryFile(/tmp/multipartBody3401176137110709545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786284235,"filename":"image_07022025_16_58_49_9731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2d2e0f416c11c26ee2ebe38f6b37716.jpg","text":"TemporaryFile(/tmp/multipartBody8100787040141987950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786284235,"filename":"image_07022025_16_58_19_9746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a47b34208d99a609203a814fb5259dc7.jpg","text":"TemporaryFile(/tmp/multipartBody472090690027140069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786284235,"filename":"image_07022025_16_58_39_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b6b087c4a0138d311eedb95238f15739.jpg","text":"TemporaryFile(/tmp/multipartBody9088522821618952973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786284235,"filename":"image_07022025_16_58_29_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338139152","file1":"1338139148","file0":"1338139145","file4":"1338139159","file5":"1338139163","file3":"1338139155"},"map_files_photo_id_array":[{"photo_id":"1338139163","filename":"file5"},{"photo_id":"1338139152","filename":"file2"},{"photo_id":"1338139159","filename":"file4"},{"photo_id":"1338139148","filename":"file1"},{"photo_id":"1338139145","filename":"file0"},{"photo_id":"1338139155","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338139163":["hashtag1","hashtag2"]},{"1338139145":["hashtag1","hashtag2"]},{"1338139148":["hashtag1","hashtag2"]},{"1338139159":["hashtag1","hashtag2"]},{"1338139152":["hashtag1","hashtag2"]},{"1338139155":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338139163, 1338139145, 1338139148, 1338139159, 1338139152, 1338139155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99512052536011 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 10:59:03.121514
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_59_9930.jpg', 0), ('/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_49_9929.jpg', 0), ('/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_39_9930.jpg', 0), ('/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_29_9911.jpg', 0), ('/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_20_10915.jpg', 0), ('/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_09_9917.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_59_9930.jpg', '/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_49_9929.jpg', '/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_39_9930.jpg', '/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_29_9911.jpg', '/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_20_10915.jpg', '/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_09_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_59_9930.jpg
/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_49_9929.jpg
/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_39_9930.jpg
/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_29_9911.jpg
/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_20_10915.jpg
/home/nano/Desktop/images/07022025/16/57/image_07022025_16_57_09_9917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338139221","1338139215","1338139193","1338139198","1338139207","1338139227"],"photo_ids_order":["1338139193","1338139198","1338139207","1338139215","1338139221","1338139227"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a516e68a4ab0ba329898b36f90146f0f.jpg","text":"TemporaryFile(/tmp/multipartBody1479893278402654822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786405570,"filename":"image_07022025_16_57_20_10915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9da76da93a097d9a8ec6e8ae9d1fc71d.jpg","text":"TemporaryFile(/tmp/multipartBody2993110968318254096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786405570,"filename":"image_07022025_16_57_29_9911.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14c3265ec565dc3f79dc0b1dfcb1afb6.jpg","text":"TemporaryFile(/tmp/multipartBody1605387581064736420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786405570,"filename":"image_07022025_16_57_59_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a20dfccdc614468b4a75eac7f70936b1.jpg","text":"TemporaryFile(/tmp/multipartBody889519625668374508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786405570,"filename":"image_07022025_16_57_49_9929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b28d7255a56fefb9c0d320c847736b3.jpg","text":"TemporaryFile(/tmp/multipartBody545793349950251911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786405570,"filename":"image_07022025_16_57_39_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e685c457468c5d5ec173b0dac13808d.jpg","text":"TemporaryFile(/tmp/multipartBody8984446235625455147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786405570,"filename":"image_07022025_16_57_09_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338139207","file1":"1338139198","file0":"1338139193","file4":"1338139221","file5":"1338139227","file3":"1338139215"},"map_files_photo_id_array":[{"photo_id":"1338139227","filename":"file5"},{"photo_id":"1338139207","filename":"file2"},{"photo_id":"1338139221","filename":"file4"},{"photo_id":"1338139198","filename":"file1"},{"photo_id":"1338139193","filename":"file0"},{"photo_id":"1338139215","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338139221":["hashtag1","hashtag2"]},{"1338139215":["hashtag1","hashtag2"]},{"1338139193":["hashtag1","hashtag2"]},{"1338139198":["hashtag1","hashtag2"]},{"1338139207":["hashtag1","hashtag2"]},{"1338139227":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338139221, 1338139215, 1338139193, 1338139198, 1338139207, 1338139227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12716007232666 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:00:02.768982
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_59_9646.jpg', 0), ('/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_49_9669.jpg', 0), ('/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_40_10709.jpg', 0), ('/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_29_9673.jpg', 0), ('/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_19_9661.jpg', 0), ('/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_10_10656.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_59_9646.jpg', '/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_49_9669.jpg', '/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_40_10709.jpg', '/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_29_9673.jpg', '/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_19_9661.jpg', '/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_10_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_59_9646.jpg
/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_49_9669.jpg
/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_40_10709.jpg
/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_29_9673.jpg
/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_19_9661.jpg
/home/nano/Desktop/images/07022025/16/24/image_07022025_16_24_10_10656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338139268","1338139256","1338139265","1338139253","1338139261","1338139249"],"photo_ids_order":["1338139249","1338139253","1338139256","1338139261","1338139265","1338139268"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46922c87076b221591af01c5d39a912a.jpg","text":"TemporaryFile(/tmp/multipartBody4400508540286989539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786464962,"filename":"image_07022025_16_24_10_10656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fd2cf32755f33a8eec3ab6a5832fb6ee.jpg","text":"TemporaryFile(/tmp/multipartBody4158076850489410909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786464962,"filename":"image_07022025_16_24_40_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3cedaaea0907429fa557fb0037396f98.jpg","text":"TemporaryFile(/tmp/multipartBody965939737782780092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786464962,"filename":"image_07022025_16_24_19_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8bed3cbd00377c741438132c1e84aa92.jpg","text":"TemporaryFile(/tmp/multipartBody7107453508766997693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786464962,"filename":"image_07022025_16_24_49_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f3e6d24c79dc615480eeb7428bac012.jpg","text":"TemporaryFile(/tmp/multipartBody1795380201092927499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786464962,"filename":"image_07022025_16_24_29_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/20682227f9a1ea12ff6d45fac06c512d.jpg","text":"TemporaryFile(/tmp/multipartBody7082554975264993234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786464962,"filename":"image_07022025_16_24_59_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338139256","file1":"1338139253","file0":"1338139249","file4":"1338139265","file5":"1338139268","file3":"1338139261"},"map_files_photo_id_array":[{"photo_id":"1338139268","filename":"file5"},{"photo_id":"1338139256","filename":"file2"},{"photo_id":"1338139265","filename":"file4"},{"photo_id":"1338139253","filename":"file1"},{"photo_id":"1338139249","filename":"file0"},{"photo_id":"1338139261","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338139268":["hashtag1","hashtag2"]},{"1338139256":["hashtag1","hashtag2"]},{"1338139265":["hashtag1","hashtag2"]},{"1338139253":["hashtag1","hashtag2"]},{"1338139261":["hashtag1","hashtag2"]},{"1338139249":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338139268, 1338139256, 1338139265, 1338139253, 1338139261, 1338139249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2034797668457 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:01:02.966052
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_59_9652.jpg', 0), ('/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_49_9659.jpg', 0), ('/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_39_10667.jpg', 0), ('/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_29_9645.jpg', 0), ('/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_19_9657.jpg', 0), ('/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_09_10682.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_59_9652.jpg', '/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_49_9659.jpg', '/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_39_10667.jpg', '/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_29_9645.jpg', '/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_19_9657.jpg', '/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_09_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_59_9652.jpg
/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_49_9659.jpg
/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_39_10667.jpg
/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_29_9645.jpg
/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_19_9657.jpg
/home/nano/Desktop/images/07022025/16/10/image_07022025_16_10_09_10682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338139367","1338139370","1338139322","1338139319","1338139351","1338139354"],"photo_ids_order":["1338139319","1338139322","1338139351","1338139354","1338139367","1338139370"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b893e1d5adb0738eefb52ca8101d6b01.jpg","text":"TemporaryFile(/tmp/multipartBody8386159090180680460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786525099,"filename":"image_07022025_16_10_19_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/85a9b06e1452f10c50453432c570a1a0.jpg","text":"TemporaryFile(/tmp/multipartBody1664921532052841513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786525099,"filename":"image_07022025_16_10_09_10682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3621393a91b8e79ec740e3ad119c0ac.jpg","text":"TemporaryFile(/tmp/multipartBody9025997108919493015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786525099,"filename":"image_07022025_16_10_49_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e6685f8a08c7a2666911b4d2cf379e4.jpg","text":"TemporaryFile(/tmp/multipartBody2583645966459159597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786525099,"filename":"image_07022025_16_10_59_9652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f84ddc18de42ee597b9ffee837d1af0.jpg","text":"TemporaryFile(/tmp/multipartBody1082833372778176216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786525099,"filename":"image_07022025_16_10_39_10667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/edbcc7ab87796decefc9476ea4d3c4c8.jpg","text":"TemporaryFile(/tmp/multipartBody4554719509023233914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786525099,"filename":"image_07022025_16_10_29_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338139351","file1":"1338139322","file0":"1338139319","file4":"1338139367","file5":"1338139370","file3":"1338139354"},"map_files_photo_id_array":[{"photo_id":"1338139370","filename":"file5"},{"photo_id":"1338139351","filename":"file2"},{"photo_id":"1338139367","filename":"file4"},{"photo_id":"1338139322","filename":"file1"},{"photo_id":"1338139319","filename":"file0"},{"photo_id":"1338139354","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338139367":["hashtag1","hashtag2"]},{"1338139370":["hashtag1","hashtag2"]},{"1338139322":["hashtag1","hashtag2"]},{"1338139319":["hashtag1","hashtag2"]},{"1338139351":["hashtag1","hashtag2"]},{"1338139354":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338139367, 1338139370, 1338139322, 1338139319, 1338139351, 1338139354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18491888046265 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:02:02.340569
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/58/image_07022025_15_59_00_10654.jpg', 0), ('/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_49_9648.jpg', 0), ('/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_39_10654.jpg', 0), ('/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_29_9637.jpg', 0), ('/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_19_9653.jpg', 0), ('/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_09_10666.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/58/image_07022025_15_59_00_10654.jpg', '/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_49_9648.jpg', '/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_39_10654.jpg', '/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_29_9637.jpg', '/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_19_9653.jpg', '/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_09_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/58/image_07022025_15_59_00_10654.jpg
/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_49_9648.jpg
/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_39_10654.jpg
/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_29_9637.jpg
/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_19_9653.jpg
/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_09_10666.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8613176345825195 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:02:31.824570
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/58/image_07022025_15_59_00_10654.jpg', 0), ('/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_49_9648.jpg', 0), ('/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_39_10654.jpg', 0), ('/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_29_9637.jpg', 0), ('/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_19_9653.jpg', 0), ('/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_09_10666.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/58/image_07022025_15_59_00_10654.jpg', '/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_49_9648.jpg', '/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_39_10654.jpg', '/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_29_9637.jpg', '/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_19_9653.jpg', '/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_09_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/58/image_07022025_15_59_00_10654.jpg
/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_49_9648.jpg
/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_39_10654.jpg
/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_29_9637.jpg
/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_19_9653.jpg
/home/nano/Desktop/images/07022025/15/58/image_07022025_15_58_09_10666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338139577","1338139568","1338139573","1338139600","1338139587","1338139581"],"photo_ids_order":["1338139568","1338139573","1338139577","1338139581","1338139587","1338139600"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80f0cc82c7986e0f0852940cc0a379d3.jpg","text":"TemporaryFile(/tmp/multipartBody4061877259719775308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786613911,"filename":"image_07022025_15_58_39_10654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4188c19dd7ed9a1a510c460b622c4a4.jpg","text":"TemporaryFile(/tmp/multipartBody6243918454818890928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786613911,"filename":"image_07022025_15_59_00_10654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e995ae2b22bf5fc519294365fe72afe.jpg","text":"TemporaryFile(/tmp/multipartBody2260721711209147592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786613911,"filename":"image_07022025_15_58_49_9648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59db6bd2cb82560ec342c16ebb5db09a.jpg","text":"TemporaryFile(/tmp/multipartBody7507364391776574688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786613911,"filename":"image_07022025_15_58_09_10666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e87b95c5bc4ad2340b0244c89f6e5043.jpg","text":"TemporaryFile(/tmp/multipartBody7769091636792764567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786613911,"filename":"image_07022025_15_58_19_9653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d587371a8bb8daf586bca60889f6f56e.jpg","text":"TemporaryFile(/tmp/multipartBody6050626459677315707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786613911,"filename":"image_07022025_15_58_29_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338139577","file1":"1338139573","file0":"1338139568","file4":"1338139587","file5":"1338139600","file3":"1338139581"},"map_files_photo_id_array":[{"photo_id":"1338139600","filename":"file5"},{"photo_id":"1338139577","filename":"file2"},{"photo_id":"1338139587","filename":"file4"},{"photo_id":"1338139573","filename":"file1"},{"photo_id":"1338139568","filename":"file0"},{"photo_id":"1338139581","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338139577":["hashtag1","hashtag2"]},{"1338139568":["hashtag1","hashtag2"]},{"1338139573":["hashtag1","hashtag2"]},{"1338139600":["hashtag1","hashtag2"]},{"1338139587":["hashtag1","hashtag2"]},{"1338139581":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338139577, 1338139568, 1338139573, 1338139600, 1338139587, 1338139581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6420795917511 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:03:32.017037
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_59_9651.jpg', 0), ('/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_49_9676.jpg', 0), ('/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_39_10679.jpg', 0), ('/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_29_9658.jpg', 0), ('/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_19_9701.jpg', 0), ('/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_09_10660.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_59_9651.jpg', '/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_49_9676.jpg', '/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_39_10679.jpg', '/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_29_9658.jpg', '/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_19_9701.jpg', '/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_09_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_59_9651.jpg
/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_49_9676.jpg
/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_39_10679.jpg
/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_29_9658.jpg
/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_19_9701.jpg
/home/nano/Desktop/images/07022025/15/57/image_07022025_15_57_09_10660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338140271","1338139982","1338139670","1338140236","1338139821","1338139722"],"photo_ids_order":["1338139670","1338139722","1338139821","1338139982","1338140236","1338140271"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c0a4b00f8d4baa701371f3968752ebd.jpg","text":"TemporaryFile(/tmp/multipartBody2170267504616326723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786673973,"filename":"image_07022025_15_57_09_10660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e6b114ee509a7834df35db7ecdeec3dc.jpg","text":"TemporaryFile(/tmp/multipartBody3191232055848285986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786673973,"filename":"image_07022025_15_57_29_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b4dd26c30968e7d7f7419e24c0ceb9a.jpg","text":"TemporaryFile(/tmp/multipartBody5973416558169269500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786673973,"filename":"image_07022025_15_57_59_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f54930c2ffdcfffc87a6b8c61876c10.jpg","text":"TemporaryFile(/tmp/multipartBody1221186409512992497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786673973,"filename":"image_07022025_15_57_19_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d5b97cf1ecf60abc6baadc6e1ba14b9.jpg","text":"TemporaryFile(/tmp/multipartBody4710022750961337706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786673973,"filename":"image_07022025_15_57_39_10679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f305d54a60450333263b52b2953b848.jpg","text":"TemporaryFile(/tmp/multipartBody7516027543957360092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786673973,"filename":"image_07022025_15_57_49_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338139821","file1":"1338139722","file0":"1338139670","file4":"1338140236","file5":"1338140271","file3":"1338139982"},"map_files_photo_id_array":[{"photo_id":"1338140271","filename":"file5"},{"photo_id":"1338139821","filename":"file2"},{"photo_id":"1338140236","filename":"file4"},{"photo_id":"1338139722","filename":"file1"},{"photo_id":"1338139670","filename":"file0"},{"photo_id":"1338139982","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338140271":["hashtag1","hashtag2"]},{"1338139982":["hashtag1","hashtag2"]},{"1338139670":["hashtag1","hashtag2"]},{"1338140236":["hashtag1","hashtag2"]},{"1338139821":["hashtag1","hashtag2"]},{"1338139722":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338140271, 1338139982, 1338139670, 1338140236, 1338139821, 1338139722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.125789403915405 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:04:32.177514
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_59_9654.jpg', 0), ('/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_49_9646.jpg', 0), ('/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_39_10660.jpg', 0), ('/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_29_9652.jpg', 0), ('/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_19_9652.jpg', 0), ('/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_09_10658.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_59_9654.jpg', '/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_49_9646.jpg', '/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_39_10660.jpg', '/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_29_9652.jpg', '/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_19_9652.jpg', '/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_09_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_59_9654.jpg
/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_49_9646.jpg
/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_39_10660.jpg
/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_29_9652.jpg
/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_19_9652.jpg
/home/nano/Desktop/images/07022025/15/56/image_07022025_15_56_09_10658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338140433","1338140513","1338140429","1338140484","1338140437","1338140487"],"photo_ids_order":["1338140429","1338140433","1338140437","1338140484","1338140487","1338140513"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6695494dc5aaa2e2b3be3b58ccb53454.jpg","text":"TemporaryFile(/tmp/multipartBody689507496378639784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786734242,"filename":"image_07022025_15_56_49_9646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8caa8921934727fc652d18a686a501e.jpg","text":"TemporaryFile(/tmp/multipartBody1264408185866931747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786734242,"filename":"image_07022025_15_56_09_10658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d08c4f8cdfec19cd2540f426022e4df1.jpg","text":"TemporaryFile(/tmp/multipartBody5136837839049683730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786734242,"filename":"image_07022025_15_56_59_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8780aa78d7a8c73de32cf0c4a4742f01.jpg","text":"TemporaryFile(/tmp/multipartBody6628972202930842645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786734242,"filename":"image_07022025_15_56_29_9652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bdd1087204d587374ecfcad3c7e31076.jpg","text":"TemporaryFile(/tmp/multipartBody5812985234368387696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786734242,"filename":"image_07022025_15_56_39_10660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f12486df5562919b2ed5a32c9fd45e9d.jpg","text":"TemporaryFile(/tmp/multipartBody3042733131890027278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786734242,"filename":"image_07022025_15_56_19_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338140437","file1":"1338140433","file0":"1338140429","file4":"1338140487","file5":"1338140513","file3":"1338140484"},"map_files_photo_id_array":[{"photo_id":"1338140513","filename":"file5"},{"photo_id":"1338140437","filename":"file2"},{"photo_id":"1338140487","filename":"file4"},{"photo_id":"1338140433","filename":"file1"},{"photo_id":"1338140429","filename":"file0"},{"photo_id":"1338140484","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338140433":["hashtag1","hashtag2"]},{"1338140513":["hashtag1","hashtag2"]},{"1338140429":["hashtag1","hashtag2"]},{"1338140484":["hashtag1","hashtag2"]},{"1338140437":["hashtag1","hashtag2"]},{"1338140487":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338140433, 1338140513, 1338140429, 1338140484, 1338140437, 1338140487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.201889514923096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:05:32.332047
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_59_9651.jpg', 0), ('/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_49_9622.jpg', 0), ('/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_39_10674.jpg', 0), ('/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_29_9692.jpg', 0), ('/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_19_9699.jpg', 0), ('/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_09_10682.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_59_9651.jpg', '/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_49_9622.jpg', '/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_39_10674.jpg', '/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_29_9692.jpg', '/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_19_9699.jpg', '/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_09_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_59_9651.jpg
/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_49_9622.jpg
/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_39_10674.jpg
/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_29_9692.jpg
/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_19_9699.jpg
/home/nano/Desktop/images/07022025/15/55/image_07022025_15_55_09_10682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338140559","1338140594","1338140579","1338140596","1338140563","1338140592"],"photo_ids_order":["1338140559","1338140563","1338140579","1338140592","1338140594","1338140596"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8cac820d5fa08048a73ec0b938d6e48b.jpg","text":"TemporaryFile(/tmp/multipartBody811786858573170191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786794125,"filename":"image_07022025_15_55_59_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd246b914968508f344dd34ca2185771.jpg","text":"TemporaryFile(/tmp/multipartBody6124913197704233135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786794125,"filename":"image_07022025_15_55_19_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98708d611ad250ce34d1000b433d286b.jpg","text":"TemporaryFile(/tmp/multipartBody5849596959551841433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786794125,"filename":"image_07022025_15_55_39_10674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c41a0c0589d60394581648f1b1a6e27.jpg","text":"TemporaryFile(/tmp/multipartBody5745456962309762673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786794125,"filename":"image_07022025_15_55_09_10682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba49ecfa2712a9eb99d5437744e42347.jpg","text":"TemporaryFile(/tmp/multipartBody6060970344208799433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786794125,"filename":"image_07022025_15_55_49_9622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a0a6f56e86b8f2f5b1cbd2f2eaad89f.jpg","text":"TemporaryFile(/tmp/multipartBody8134121713347720001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786794125,"filename":"image_07022025_15_55_29_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338140579","file1":"1338140563","file0":"1338140559","file4":"1338140594","file5":"1338140596","file3":"1338140592"},"map_files_photo_id_array":[{"photo_id":"1338140596","filename":"file5"},{"photo_id":"1338140579","filename":"file2"},{"photo_id":"1338140594","filename":"file4"},{"photo_id":"1338140563","filename":"file1"},{"photo_id":"1338140559","filename":"file0"},{"photo_id":"1338140592","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338140559":["hashtag1","hashtag2"]},{"1338140594":["hashtag1","hashtag2"]},{"1338140579":["hashtag1","hashtag2"]},{"1338140596":["hashtag1","hashtag2"]},{"1338140563":["hashtag1","hashtag2"]},{"1338140592":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338140559, 1338140594, 1338140579, 1338140596, 1338140563, 1338140592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59585738182068 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:06:32.571115
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_59_9636.jpg', 0), ('/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_49_9709.jpg', 0), ('/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_39_10698.jpg', 0), ('/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_29_9693.jpg', 0), ('/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_19_9694.jpg', 0), ('/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_09_9750.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_59_9636.jpg', '/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_49_9709.jpg', '/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_39_10698.jpg', '/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_29_9693.jpg', '/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_19_9694.jpg', '/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_09_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_59_9636.jpg
/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_49_9709.jpg
/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_39_10698.jpg
/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_29_9693.jpg
/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_19_9694.jpg
/home/nano/Desktop/images/07022025/15/54/image_07022025_15_54_09_9750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338140661","1338140619","1338140657","1338140630","1338140635","1338140626"],"photo_ids_order":["1338140619","1338140626","1338140630","1338140635","1338140657","1338140661"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f89e93e937390e480eb0c1bf7d2830b7.jpg","text":"TemporaryFile(/tmp/multipartBody841136105183558672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786854791,"filename":"image_07022025_15_54_09_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c24f1ebc22b2c827ab0acb29b5c450b8.jpg","text":"TemporaryFile(/tmp/multipartBody6034339531883859703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786854791,"filename":"image_07022025_15_54_59_9636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/753e91feeb63b4bd412cc0a5f6ddaa4f.jpg","text":"TemporaryFile(/tmp/multipartBody8041204192312934235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786854791,"filename":"image_07022025_15_54_19_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce94b6369822aff74436ececdeb770f5.jpg","text":"TemporaryFile(/tmp/multipartBody3811421049839054062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786854791,"filename":"image_07022025_15_54_39_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5652c39147e985a8c749ade259a30247.jpg","text":"TemporaryFile(/tmp/multipartBody8791080982678235422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786854791,"filename":"image_07022025_15_54_29_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4fce69d26d4c1ef85e487a4cb1bcb322.jpg","text":"TemporaryFile(/tmp/multipartBody2628667987863408455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786854791,"filename":"image_07022025_15_54_49_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338140630","file1":"1338140626","file0":"1338140619","file4":"1338140657","file5":"1338140661","file3":"1338140635"},"map_files_photo_id_array":[{"photo_id":"1338140661","filename":"file5"},{"photo_id":"1338140630","filename":"file2"},{"photo_id":"1338140657","filename":"file4"},{"photo_id":"1338140626","filename":"file1"},{"photo_id":"1338140619","filename":"file0"},{"photo_id":"1338140635","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338140661":["hashtag1","hashtag2"]},{"1338140619":["hashtag1","hashtag2"]},{"1338140657":["hashtag1","hashtag2"]},{"1338140630":["hashtag1","hashtag2"]},{"1338140635":["hashtag1","hashtag2"]},{"1338140626":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338140661, 1338140619, 1338140657, 1338140630, 1338140635, 1338140626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49163031578064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:07:32.718752
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/53/image_07022025_15_54_00_10695.jpg', 0), ('/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_49_9697.jpg', 0), ('/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_39_9684.jpg', 0), ('/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_29_10724.jpg', 0), ('/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_19_9714.jpg', 0), ('/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_09_9725.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/53/image_07022025_15_54_00_10695.jpg', '/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_49_9697.jpg', '/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_39_9684.jpg', '/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_29_10724.jpg', '/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_19_9714.jpg', '/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_09_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/53/image_07022025_15_54_00_10695.jpg
/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_49_9697.jpg
/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_39_9684.jpg
/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_29_10724.jpg
/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_19_9714.jpg
/home/nano/Desktop/images/07022025/15/53/image_07022025_15_53_09_9725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338140757","1338140700","1338140681","1338140759","1338140708","1338140686"],"photo_ids_order":["1338140681","1338140686","1338140700","1338140708","1338140757","1338140759"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed35cf7e263db74a248d243e1e16c894.jpg","text":"TemporaryFile(/tmp/multipartBody4515655998497804848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786915345,"filename":"image_07022025_15_53_19_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad4553c3cacf275a1bca1a898deb74dc.jpg","text":"TemporaryFile(/tmp/multipartBody3518512740128966222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786915345,"filename":"image_07022025_15_53_39_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22c1bb0a38cf9230668f51481cd00831.jpg","text":"TemporaryFile(/tmp/multipartBody5706342124326075224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786915345,"filename":"image_07022025_15_54_00_10695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d26c3cbd8dcf584ee968783782389f7.jpg","text":"TemporaryFile(/tmp/multipartBody3720137638862075825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786915345,"filename":"image_07022025_15_53_09_9725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a86421ef412bcad092bddfbd6797c3cd.jpg","text":"TemporaryFile(/tmp/multipartBody3999545927434671855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786915345,"filename":"image_07022025_15_53_29_10724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/328e39d8d53bc3f54779c8fc51037549.jpg","text":"TemporaryFile(/tmp/multipartBody3369558256876901183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786915345,"filename":"image_07022025_15_53_49_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338140700","file1":"1338140686","file0":"1338140681","file4":"1338140757","file5":"1338140759","file3":"1338140708"},"map_files_photo_id_array":[{"photo_id":"1338140759","filename":"file5"},{"photo_id":"1338140700","filename":"file2"},{"photo_id":"1338140757","filename":"file4"},{"photo_id":"1338140686","filename":"file1"},{"photo_id":"1338140681","filename":"file0"},{"photo_id":"1338140708","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338140757":["hashtag1","hashtag2"]},{"1338140700":["hashtag1","hashtag2"]},{"1338140681":["hashtag1","hashtag2"]},{"1338140759":["hashtag1","hashtag2"]},{"1338140708":["hashtag1","hashtag2"]},{"1338140686":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338140757, 1338140700, 1338140681, 1338140759, 1338140708, 1338140686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3065984249115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:08:31.875190
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_59_9728.jpg', 0), ('/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_50_10671.jpg', 0), ('/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_39_9716.jpg', 0), ('/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_29_9694.jpg', 0), ('/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_19_10710.jpg', 0), ('/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_09_9730.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_59_9728.jpg', '/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_50_10671.jpg', '/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_39_9716.jpg', '/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_29_9694.jpg', '/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_19_10710.jpg', '/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_09_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_59_9728.jpg
/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_50_10671.jpg
/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_39_9716.jpg
/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_29_9694.jpg
/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_19_10710.jpg
/home/nano/Desktop/images/07022025/15/52/image_07022025_15_52_09_9730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338140804","1338140797","1338140801","1338140785","1338140794","1338140806"],"photo_ids_order":["1338140785","1338140794","1338140797","1338140801","1338140804","1338140806"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19ad2c61f3ab4d5825a5a2684085a278.jpg","text":"TemporaryFile(/tmp/multipartBody5419767584256070193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786974125,"filename":"image_07022025_15_52_19_10710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3fe138f66da0e11f10aec471d8ad72b3.jpg","text":"TemporaryFile(/tmp/multipartBody2836777796024283939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786974125,"filename":"image_07022025_15_52_39_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a919ec37259ff413c30f6b923f1af0a1.jpg","text":"TemporaryFile(/tmp/multipartBody3735257388553688886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786974125,"filename":"image_07022025_15_52_29_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/619c3e694d1be277c98a31a394b531d5.jpg","text":"TemporaryFile(/tmp/multipartBody6603897412957908098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786974125,"filename":"image_07022025_15_52_59_9728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13b09f2622d43c4c2e0377fdf5ce6579.jpg","text":"TemporaryFile(/tmp/multipartBody4366983349322675559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786974125,"filename":"image_07022025_15_52_50_10671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f9fee1f5ddd8668ef8cfb05bbcb514e5.jpg","text":"TemporaryFile(/tmp/multipartBody2445918216682612545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739786974125,"filename":"image_07022025_15_52_09_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338140797","file1":"1338140794","file0":"1338140785","file4":"1338140804","file5":"1338140806","file3":"1338140801"},"map_files_photo_id_array":[{"photo_id":"1338140806","filename":"file5"},{"photo_id":"1338140797","filename":"file2"},{"photo_id":"1338140804","filename":"file4"},{"photo_id":"1338140794","filename":"file1"},{"photo_id":"1338140785","filename":"file0"},{"photo_id":"1338140801","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338140804":["hashtag1","hashtag2"]},{"1338140797":["hashtag1","hashtag2"]},{"1338140801":["hashtag1","hashtag2"]},{"1338140785":["hashtag1","hashtag2"]},{"1338140794":["hashtag1","hashtag2"]},{"1338140806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338140804, 1338140797, 1338140801, 1338140785, 1338140794, 1338140806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96385455131531 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:09:32.012220
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_59_9696.jpg', 0), ('/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_49_9702.jpg', 0), ('/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_40_10710.jpg', 0), ('/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_29_9704.jpg', 0), ('/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_19_9686.jpg', 0), ('/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_10_10743.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_59_9696.jpg', '/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_49_9702.jpg', '/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_40_10710.jpg', '/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_29_9704.jpg', '/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_19_9686.jpg', '/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_10_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_59_9696.jpg
/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_49_9702.jpg
/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_40_10710.jpg
/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_29_9704.jpg
/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_19_9686.jpg
/home/nano/Desktop/images/07022025/15/51/image_07022025_15_51_10_10743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338140891","1338140888","1338140870","1338140900","1338140884","1338140898"],"photo_ids_order":["1338140870","1338140884","1338140888","1338140891","1338140898","1338140900"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/edcf08437eff9af5a2aee0b4d76bd336.jpg","text":"TemporaryFile(/tmp/multipartBody1468302709333234874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787034818,"filename":"image_07022025_15_51_29_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f2aeb6dba132fb62924f330e9b7ced7c.jpg","text":"TemporaryFile(/tmp/multipartBody5701079606567434440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787034818,"filename":"image_07022025_15_51_40_10710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8aef4fe54f9791dc12ebbdea4eded21d.jpg","text":"TemporaryFile(/tmp/multipartBody5869086679584028616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787034818,"filename":"image_07022025_15_51_59_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb2df0a89973e2ad787b319c67841f4e.jpg","text":"TemporaryFile(/tmp/multipartBody1815565124295588220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787034818,"filename":"image_07022025_15_51_10_10743.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f82d65dfeb88c5d0b69c7bdb130aecc6.jpg","text":"TemporaryFile(/tmp/multipartBody4765469249957305227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787034818,"filename":"image_07022025_15_51_49_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/06e7a8d08462f6927b22f4f9c30c80f4.jpg","text":"TemporaryFile(/tmp/multipartBody4637900960710458425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787034818,"filename":"image_07022025_15_51_19_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338140888","file1":"1338140884","file0":"1338140870","file4":"1338140898","file5":"1338140900","file3":"1338140891"},"map_files_photo_id_array":[{"photo_id":"1338140900","filename":"file5"},{"photo_id":"1338140888","filename":"file2"},{"photo_id":"1338140898","filename":"file4"},{"photo_id":"1338140884","filename":"file1"},{"photo_id":"1338140870","filename":"file0"},{"photo_id":"1338140891","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338140891":["hashtag1","hashtag2"]},{"1338140888":["hashtag1","hashtag2"]},{"1338140870":["hashtag1","hashtag2"]},{"1338140900":["hashtag1","hashtag2"]},{"1338140884":["hashtag1","hashtag2"]},{"1338140898":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338140891, 1338140888, 1338140870, 1338140900, 1338140884, 1338140898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81990933418274 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:10:32.179184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_59_9720.jpg', 0), ('/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_49_9682.jpg', 0), ('/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_39_10716.jpg', 0), ('/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_29_9699.jpg', 0), ('/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_19_9663.jpg', 0), ('/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_09_9677.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_59_9720.jpg', '/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_49_9682.jpg', '/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_39_10716.jpg', '/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_29_9699.jpg', '/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_19_9663.jpg', '/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_09_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_59_9720.jpg
/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_49_9682.jpg
/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_39_10716.jpg
/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_29_9699.jpg
/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_19_9663.jpg
/home/nano/Desktop/images/07022025/15/50/image_07022025_15_50_09_9677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338140970","1338140958","1338140972","1338140965","1338140968","1338140962"],"photo_ids_order":["1338140958","1338140962","1338140965","1338140968","1338140970","1338140972"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad326c18b4322b43c836401bf5e80e5a.jpg","text":"TemporaryFile(/tmp/multipartBody3858654766156248100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787095528,"filename":"image_07022025_15_50_19_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c71c7e2dbd672d3e1a0e20b20ba9455.jpg","text":"TemporaryFile(/tmp/multipartBody72144085074271435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787095528,"filename":"image_07022025_15_50_59_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ccfb928660881fed038231e4705002ed.jpg","text":"TemporaryFile(/tmp/multipartBody8427385608767107134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787095528,"filename":"image_07022025_15_50_09_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6aca4b6f10a1136264332c8aa3d56893.jpg","text":"TemporaryFile(/tmp/multipartBody2329988615481093323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787095528,"filename":"image_07022025_15_50_39_10716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e23196ab721a8636f23167741928c573.jpg","text":"TemporaryFile(/tmp/multipartBody2014625421254785842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787095528,"filename":"image_07022025_15_50_29_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e2c8b72d5af12e55c1ccc1a1f6ce3ca.jpg","text":"TemporaryFile(/tmp/multipartBody8384712998105000771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787095528,"filename":"image_07022025_15_50_49_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338140965","file1":"1338140962","file0":"1338140958","file4":"1338140970","file5":"1338140972","file3":"1338140968"},"map_files_photo_id_array":[{"photo_id":"1338140972","filename":"file5"},{"photo_id":"1338140965","filename":"file2"},{"photo_id":"1338140970","filename":"file4"},{"photo_id":"1338140962","filename":"file1"},{"photo_id":"1338140958","filename":"file0"},{"photo_id":"1338140968","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338140970":["hashtag1","hashtag2"]},{"1338140958":["hashtag1","hashtag2"]},{"1338140972":["hashtag1","hashtag2"]},{"1338140965":["hashtag1","hashtag2"]},{"1338140968":["hashtag1","hashtag2"]},{"1338140962":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338140970, 1338140958, 1338140972, 1338140965, 1338140968, 1338140962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.536718130111694 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:11:32.333441
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/49/image_07022025_15_50_00_10669.jpg', 0), ('/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_49_9657.jpg', 0), ('/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_39_9789.jpg', 0), ('/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_29_10682.jpg', 0), ('/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_19_9661.jpg', 0), ('/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_09_9721.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/49/image_07022025_15_50_00_10669.jpg', '/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_49_9657.jpg', '/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_39_9789.jpg', '/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_29_10682.jpg', '/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_19_9661.jpg', '/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_09_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/49/image_07022025_15_50_00_10669.jpg
/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_49_9657.jpg
/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_39_9789.jpg
/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_29_10682.jpg
/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_19_9661.jpg
/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_09_9721.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.112761497497559 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:12:02.955220
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/49/image_07022025_15_50_00_10669.jpg', 0), ('/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_49_9657.jpg', 0), ('/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_39_9789.jpg', 0), ('/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_29_10682.jpg', 0), ('/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_19_9661.jpg', 0), ('/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_09_9721.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/49/image_07022025_15_50_00_10669.jpg', '/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_49_9657.jpg', '/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_39_9789.jpg', '/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_29_10682.jpg', '/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_19_9661.jpg', '/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_09_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/49/image_07022025_15_50_00_10669.jpg
/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_49_9657.jpg
/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_39_9789.jpg
/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_29_10682.jpg
/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_19_9661.jpg
/home/nano/Desktop/images/07022025/15/49/image_07022025_15_49_09_9721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338141105","1338141098","1338141102","1338141094","1338141082","1338141090"],"photo_ids_order":["1338141082","1338141090","1338141094","1338141098","1338141102","1338141105"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60966c983b3449545a87f9a174e443fa.jpg","text":"TemporaryFile(/tmp/multipartBody7433426502971339285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787185468,"filename":"image_07022025_15_49_09_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d08d31c5453b8be714741e3e1f4c6cac.jpg","text":"TemporaryFile(/tmp/multipartBody9026020101001698630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787185468,"filename":"image_07022025_15_49_29_10682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff0d7461a0643c97db33a29b5f2c6fee.jpg","text":"TemporaryFile(/tmp/multipartBody4540966718674817921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787185468,"filename":"image_07022025_15_49_19_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/272e292d685760975c832a5221eec9e5.jpg","text":"TemporaryFile(/tmp/multipartBody4531492647823566524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787185468,"filename":"image_07022025_15_49_39_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb816e13d245b39bb51f34f26eb3f184.jpg","text":"TemporaryFile(/tmp/multipartBody4676604638284486900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787185468,"filename":"image_07022025_15_50_00_10669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e880a746b0fe13d87e017d10dfc6f491.jpg","text":"TemporaryFile(/tmp/multipartBody3879086223616412278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787185468,"filename":"image_07022025_15_49_49_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338141094","file1":"1338141090","file0":"1338141082","file4":"1338141102","file5":"1338141105","file3":"1338141098"},"map_files_photo_id_array":[{"photo_id":"1338141105","filename":"file5"},{"photo_id":"1338141094","filename":"file2"},{"photo_id":"1338141102","filename":"file4"},{"photo_id":"1338141090","filename":"file1"},{"photo_id":"1338141082","filename":"file0"},{"photo_id":"1338141098","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338141105":["hashtag1","hashtag2"]},{"1338141098":["hashtag1","hashtag2"]},{"1338141102":["hashtag1","hashtag2"]},{"1338141094":["hashtag1","hashtag2"]},{"1338141082":["hashtag1","hashtag2"]},{"1338141090":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338141105, 1338141098, 1338141102, 1338141094, 1338141082, 1338141090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97053027153015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:13:03.340245
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_59_10666.jpg', 0), ('/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_49_9696.jpg', 0), ('/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_39_9692.jpg', 0), ('/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_29_10699.jpg', 0), ('/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_19_9680.jpg', 0), ('/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_09_9702.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_59_10666.jpg', '/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_49_9696.jpg', '/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_39_9692.jpg', '/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_29_10699.jpg', '/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_19_9680.jpg', '/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_09_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_59_10666.jpg
/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_49_9696.jpg
/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_39_9692.jpg
/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_29_10699.jpg
/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_19_9680.jpg
/home/nano/Desktop/images/07022025/15/48/image_07022025_15_48_09_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338141501","1338141587","1338141411","1338141680","1338141670","1338141690"],"photo_ids_order":["1338141411","1338141501","1338141587","1338141670","1338141680","1338141690"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/44249b56f97dd8e5ec83b3a60ed5425d.jpg","text":"TemporaryFile(/tmp/multipartBody4437816646524223300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787245571,"filename":"image_07022025_15_48_49_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb1054735f6aa5a3129b24e9b351cf83.jpg","text":"TemporaryFile(/tmp/multipartBody2489080517517033208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787245571,"filename":"image_07022025_15_48_39_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f97e04a4003ee9cf9372bcb5c8c196dd.jpg","text":"TemporaryFile(/tmp/multipartBody3660940453828899975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787245571,"filename":"image_07022025_15_48_59_10666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e06192aaae9cc20aab7c3873f325af18.jpg","text":"TemporaryFile(/tmp/multipartBody4576698450738751794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787245571,"filename":"image_07022025_15_48_19_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6411b79b44761eee89d747e9d1bb38c8.jpg","text":"TemporaryFile(/tmp/multipartBody954948804408479026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787245571,"filename":"image_07022025_15_48_29_10699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c6da5a0c4f71ec8a7068fd87b984d7b.jpg","text":"TemporaryFile(/tmp/multipartBody3680977806422782392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787245571,"filename":"image_07022025_15_48_09_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338141587","file1":"1338141501","file0":"1338141411","file4":"1338141680","file5":"1338141690","file3":"1338141670"},"map_files_photo_id_array":[{"photo_id":"1338141690","filename":"file5"},{"photo_id":"1338141587","filename":"file2"},{"photo_id":"1338141680","filename":"file4"},{"photo_id":"1338141501","filename":"file1"},{"photo_id":"1338141411","filename":"file0"},{"photo_id":"1338141670","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338141501":["hashtag1","hashtag2"]},{"1338141587":["hashtag1","hashtag2"]},{"1338141411":["hashtag1","hashtag2"]},{"1338141680":["hashtag1","hashtag2"]},{"1338141670":["hashtag1","hashtag2"]},{"1338141690":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338141501, 1338141587, 1338141411, 1338141680, 1338141670, 1338141690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82864594459534 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:14:03.513064
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_59_10668.jpg', 0), ('/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_49_9656.jpg', 0), ('/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_39_9679.jpg', 0), ('/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_29_10661.jpg', 0), ('/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_19_9649.jpg', 0), ('/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_09_9662.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_59_10668.jpg', '/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_49_9656.jpg', '/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_39_9679.jpg', '/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_29_10661.jpg', '/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_19_9649.jpg', '/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_09_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_59_10668.jpg
/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_49_9656.jpg
/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_39_9679.jpg
/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_29_10661.jpg
/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_19_9649.jpg
/home/nano/Desktop/images/07022025/15/47/image_07022025_15_47_09_9662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338142034","1338142025","1338142018","1338142029","1338142038","1338142008"],"photo_ids_order":["1338142008","1338142018","1338142025","1338142029","1338142034","1338142038"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/baaef6d59b1e3dc2a6c26882f5d80903.jpg","text":"TemporaryFile(/tmp/multipartBody1919436171951980323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787306351,"filename":"image_07022025_15_47_19_9649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49ae7fa52bce156890ce6e4e2063d406.jpg","text":"TemporaryFile(/tmp/multipartBody8854587604561939318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787306351,"filename":"image_07022025_15_47_39_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16824def4e219d6195fad34547855c52.jpg","text":"TemporaryFile(/tmp/multipartBody1564285131828716221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787306351,"filename":"image_07022025_15_47_49_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c44d39f8a8884bfe54fc573800750e05.jpg","text":"TemporaryFile(/tmp/multipartBody8896757140288110139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787306351,"filename":"image_07022025_15_47_29_10661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b9d6e64558ad0b2d354119d646bcc097.jpg","text":"TemporaryFile(/tmp/multipartBody8753562136146141752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787306351,"filename":"image_07022025_15_47_09_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3489cc92f8b29bbc104a1dbfdffb07d.jpg","text":"TemporaryFile(/tmp/multipartBody8062599635825513393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787306351,"filename":"image_07022025_15_47_59_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338142025","file1":"1338142018","file0":"1338142008","file4":"1338142034","file5":"1338142038","file3":"1338142029"},"map_files_photo_id_array":[{"photo_id":"1338142038","filename":"file5"},{"photo_id":"1338142025","filename":"file2"},{"photo_id":"1338142034","filename":"file4"},{"photo_id":"1338142018","filename":"file1"},{"photo_id":"1338142008","filename":"file0"},{"photo_id":"1338142029","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338142034":["hashtag1","hashtag2"]},{"1338142025":["hashtag1","hashtag2"]},{"1338142018":["hashtag1","hashtag2"]},{"1338142029":["hashtag1","hashtag2"]},{"1338142038":["hashtag1","hashtag2"]},{"1338142008":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338142034, 1338142025, 1338142018, 1338142029, 1338142038, 1338142008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77543377876282 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:15:02.577138
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_59_10669.jpg', 0), ('/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_49_9656.jpg', 0), ('/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_39_9660.jpg', 0), ('/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_29_10663.jpg', 0), ('/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_19_9677.jpg', 0), ('/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_09_9731.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_59_10669.jpg', '/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_49_9656.jpg', '/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_39_9660.jpg', '/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_29_10663.jpg', '/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_19_9677.jpg', '/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_09_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_59_10669.jpg
/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_49_9656.jpg
/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_39_9660.jpg
/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_29_10663.jpg
/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_19_9677.jpg
/home/nano/Desktop/images/07022025/15/46/image_07022025_15_46_09_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":["1338142133","1338142141","1338142144","1338142138","1338142147","1338142146"],"photo_ids_order":["1338142133","1338142138","1338142141","1338142144","1338142146","1338142147"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8d2a432867e868eaf0076532395dcd9.jpg","text":"TemporaryFile(/tmp/multipartBody1262226736486196511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787364557,"filename":"image_07022025_15_46_59_10669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c86192c3bbc57ad1b5fff04c3618b0c.jpg","text":"TemporaryFile(/tmp/multipartBody6860922560837512707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787364557,"filename":"image_07022025_15_46_39_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67fa4d41fd30f280c9d7cba11e7558a6.jpg","text":"TemporaryFile(/tmp/multipartBody8034139839781265381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787364557,"filename":"image_07022025_15_46_29_10663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1cf9f3386e1716795bd44b7d5cbe254d.jpg","text":"TemporaryFile(/tmp/multipartBody8686437691705031746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787364557,"filename":"image_07022025_15_46_49_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d8bb8cf7db9b8d0326c35f221fd36bd.jpg","text":"TemporaryFile(/tmp/multipartBody7760471815129589840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787364557,"filename":"image_07022025_15_46_09_9731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8eb67f7fb5ce717ed78554c4910209a7.jpg","text":"TemporaryFile(/tmp/multipartBody3290952745559493159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787364557,"filename":"image_07022025_15_46_19_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338142141","file1":"1338142138","file0":"1338142133","file4":"1338142146","file5":"1338142147","file3":"1338142144"},"map_files_photo_id_array":[{"photo_id":"1338142147","filename":"file5"},{"photo_id":"1338142141","filename":"file2"},{"photo_id":"1338142146","filename":"file4"},{"photo_id":"1338142138","filename":"file1"},{"photo_id":"1338142133","filename":"file0"},{"photo_id":"1338142144","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338142133":["hashtag1","hashtag2"]},{"1338142141":["hashtag1","hashtag2"]},{"1338142144":["hashtag1","hashtag2"]},{"1338142138":["hashtag1","hashtag2"]},{"1338142147":["hashtag1","hashtag2"]},{"1338142146":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338142133, 1338142141, 1338142144, 1338142138, 1338142147, 1338142146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.23257398605347 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:16:32.195701
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_59_9667.jpg', 0), ('/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_50_10700.jpg', 0), ('/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_39_9627.jpg', 0), ('/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_29_9637.jpg', 0), ('/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_20_10673.jpg', 0), ('/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_09_9701.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_59_9667.jpg', '/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_50_10700.jpg', '/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_39_9627.jpg', '/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_29_9637.jpg', '/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_20_10673.jpg', '/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_09_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_59_9667.jpg
/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_50_10700.jpg
/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_39_9627.jpg
/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_29_9637.jpg
/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_20_10673.jpg
/home/nano/Desktop/images/07022025/15/45/image_07022025_15_45_09_9701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338142211","1338142205","1338142183","1338142191","1338142187","1338142175"],"photo_ids_order":["1338142175","1338142183","1338142187","1338142191","1338142205","1338142211"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f9b457d6726dda295f0db7b46250f5a.jpg","text":"TemporaryFile(/tmp/multipartBody7328667666538253275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787454335,"filename":"image_07022025_15_45_09_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76448bedadfc9362630de4a1b4d51ed8.jpg","text":"TemporaryFile(/tmp/multipartBody5680874733490669198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787454335,"filename":"image_07022025_15_45_20_10673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7e4e1e69dc4fc0e4a6906694392dcff0.jpg","text":"TemporaryFile(/tmp/multipartBody5338153277919720494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787454335,"filename":"image_07022025_15_45_50_10700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba2a4e93108a164f311aec42fc78517b.jpg","text":"TemporaryFile(/tmp/multipartBody5244862233298836000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787454335,"filename":"image_07022025_15_45_29_9637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ebe470642b1bcd72d31e11bc70ac70d.jpg","text":"TemporaryFile(/tmp/multipartBody4483105882467909729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787454335,"filename":"image_07022025_15_45_39_9627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b406dce87265ac25a3f892ba9445ef6d.jpg","text":"TemporaryFile(/tmp/multipartBody1026707672790650697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787454335,"filename":"image_07022025_15_45_59_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338142187","file1":"1338142183","file0":"1338142175","file4":"1338142205","file5":"1338142211","file3":"1338142191"},"map_files_photo_id_array":[{"photo_id":"1338142211","filename":"file5"},{"photo_id":"1338142187","filename":"file2"},{"photo_id":"1338142205","filename":"file4"},{"photo_id":"1338142183","filename":"file1"},{"photo_id":"1338142175","filename":"file0"},{"photo_id":"1338142191","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338142211":["hashtag1","hashtag2"]},{"1338142205":["hashtag1","hashtag2"]},{"1338142183":["hashtag1","hashtag2"]},{"1338142191":["hashtag1","hashtag2"]},{"1338142187":["hashtag1","hashtag2"]},{"1338142175":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338142211, 1338142205, 1338142183, 1338142191, 1338142187, 1338142175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62550139427185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:17:32.338198
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_59_9689.jpg', 0), ('/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_50_10708.jpg', 0), ('/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_39_9701.jpg', 0), ('/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_29_9701.jpg', 0), ('/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_19_10714.jpg', 0), ('/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_09_9709.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_59_9689.jpg', '/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_50_10708.jpg', '/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_39_9701.jpg', '/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_29_9701.jpg', '/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_19_10714.jpg', '/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_09_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_59_9689.jpg
/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_50_10708.jpg
/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_39_9701.jpg
/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_29_9701.jpg
/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_19_10714.jpg
/home/nano/Desktop/images/07022025/15/44/image_07022025_15_44_09_9709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338142849","1338142534","1338142866","1338142719","1338142874","1338142311"],"photo_ids_order":["1338142311","1338142534","1338142719","1338142849","1338142866","1338142874"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff811b25dd4a794fc761327f02fa1887.jpg","text":"TemporaryFile(/tmp/multipartBody5326279877041461214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787514700,"filename":"image_07022025_15_44_29_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/736ddf7363b16d1b80a53c7e70387903.jpg","text":"TemporaryFile(/tmp/multipartBody3750936291733366556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787514700,"filename":"image_07022025_15_44_50_10708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97b6553c7d8d98f82a64a069bea744e0.jpg","text":"TemporaryFile(/tmp/multipartBody5873194361609360381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787514700,"filename":"image_07022025_15_44_19_10714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d270d015dd66cc070d8525e488089396.jpg","text":"TemporaryFile(/tmp/multipartBody1377452850270075051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787514700,"filename":"image_07022025_15_44_39_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7cdbccd35e7adc9e2b79a94f807192b1.jpg","text":"TemporaryFile(/tmp/multipartBody660563017765903111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787514700,"filename":"image_07022025_15_44_09_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7db0d99d9045802b1f40fb2321589d1.jpg","text":"TemporaryFile(/tmp/multipartBody6818413307753309599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787514700,"filename":"image_07022025_15_44_59_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338142719","file1":"1338142534","file0":"1338142311","file4":"1338142866","file5":"1338142874","file3":"1338142849"},"map_files_photo_id_array":[{"photo_id":"1338142874","filename":"file5"},{"photo_id":"1338142719","filename":"file2"},{"photo_id":"1338142866","filename":"file4"},{"photo_id":"1338142534","filename":"file1"},{"photo_id":"1338142311","filename":"file0"},{"photo_id":"1338142849","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338142849":["hashtag1","hashtag2"]},{"1338142534":["hashtag1","hashtag2"]},{"1338142866":["hashtag1","hashtag2"]},{"1338142719":["hashtag1","hashtag2"]},{"1338142874":["hashtag1","hashtag2"]},{"1338142311":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338142849, 1338142534, 1338142866, 1338142719, 1338142874, 1338142311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55405306816101 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:18:32.503643
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_59_9704.jpg', 0), ('/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_49_9760.jpg', 0), ('/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_40_10752.jpg', 0), ('/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_29_9663.jpg', 0), ('/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_19_9723.jpg', 0), ('/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_09_10729.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_59_9704.jpg', '/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_49_9760.jpg', '/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_40_10752.jpg', '/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_29_9663.jpg', '/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_19_9723.jpg', '/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_09_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_59_9704.jpg
/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_49_9760.jpg
/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_40_10752.jpg
/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_29_9663.jpg
/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_19_9723.jpg
/home/nano/Desktop/images/07022025/15/43/image_07022025_15_43_09_10729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338143224","1338143166","1338143214","1338143121","1338143115","1338143162"],"photo_ids_order":["1338143115","1338143121","1338143162","1338143166","1338143214","1338143224"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fde153fdbbd52d74125d4a5d2f4876b5.jpg","text":"TemporaryFile(/tmp/multipartBody2736439390805865725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787574745,"filename":"image_07022025_15_43_09_10729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf4af950e89f91fdd52160b0b760333b.jpg","text":"TemporaryFile(/tmp/multipartBody5276585869381372205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787574745,"filename":"image_07022025_15_43_29_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1143a3d854bad96552abcfc6fc44428e.jpg","text":"TemporaryFile(/tmp/multipartBody4124176861314849228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787574745,"filename":"image_07022025_15_43_19_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d3ebe5f48c4a6955c9e78cc5f6508e69.jpg","text":"TemporaryFile(/tmp/multipartBody6023238178032851626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787574745,"filename":"image_07022025_15_43_49_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac83730b72d9b63e42c248fcb876960d.jpg","text":"TemporaryFile(/tmp/multipartBody8079950726551440856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787574745,"filename":"image_07022025_15_43_59_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39629e9c0a6e6232739cf7d670a15b05.jpg","text":"TemporaryFile(/tmp/multipartBody5417633089289432850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787574745,"filename":"image_07022025_15_43_40_10752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338143162","file1":"1338143121","file0":"1338143115","file4":"1338143214","file5":"1338143224","file3":"1338143166"},"map_files_photo_id_array":[{"photo_id":"1338143224","filename":"file5"},{"photo_id":"1338143162","filename":"file2"},{"photo_id":"1338143214","filename":"file4"},{"photo_id":"1338143121","filename":"file1"},{"photo_id":"1338143115","filename":"file0"},{"photo_id":"1338143166","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338143224":["hashtag1","hashtag2"]},{"1338143166":["hashtag1","hashtag2"]},{"1338143214":["hashtag1","hashtag2"]},{"1338143121":["hashtag1","hashtag2"]},{"1338143115":["hashtag1","hashtag2"]},{"1338143162":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338143224, 1338143166, 1338143214, 1338143121, 1338143115, 1338143162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.709731101989746 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:19:32.664286
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_59_9701.jpg', 0), ('/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_49_9706.jpg', 0), ('/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_39_9691.jpg', 0), ('/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_30_10668.jpg', 0), ('/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_19_9659.jpg', 0), ('/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_09_9654.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_59_9701.jpg', '/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_49_9706.jpg', '/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_39_9691.jpg', '/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_30_10668.jpg', '/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_19_9659.jpg', '/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_09_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_59_9701.jpg
/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_49_9706.jpg
/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_39_9691.jpg
/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_30_10668.jpg
/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_19_9659.jpg
/home/nano/Desktop/images/07022025/15/42/image_07022025_15_42_09_9654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338143272","1338143254","1338143250","1338143276","1338143255","1338143264"],"photo_ids_order":["1338143250","1338143254","1338143255","1338143264","1338143272","1338143276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70dfb2fb48e4f1f500d084b3708d0a6b.jpg","text":"TemporaryFile(/tmp/multipartBody7460540320565621875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787634557,"filename":"image_07022025_15_42_19_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c543d88e574ca572759f874de2687ca0.jpg","text":"TemporaryFile(/tmp/multipartBody5601468423271450615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787634557,"filename":"image_07022025_15_42_49_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/95b54337b5a3945c18d082ef1813ab5f.jpg","text":"TemporaryFile(/tmp/multipartBody4135594561106726017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787634557,"filename":"image_07022025_15_42_59_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d90338e90af6f1a41227de0f7248692.jpg","text":"TemporaryFile(/tmp/multipartBody1014083752217139681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787634557,"filename":"image_07022025_15_42_09_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b5373c08c699bccfe43d6f7a0283f507.jpg","text":"TemporaryFile(/tmp/multipartBody533388559540212984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787634557,"filename":"image_07022025_15_42_39_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed5eb157d145f1440b2fe8612c34fe64.jpg","text":"TemporaryFile(/tmp/multipartBody8158989510060321161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787634557,"filename":"image_07022025_15_42_30_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338143255","file1":"1338143254","file0":"1338143250","file4":"1338143272","file5":"1338143276","file3":"1338143264"},"map_files_photo_id_array":[{"photo_id":"1338143276","filename":"file5"},{"photo_id":"1338143255","filename":"file2"},{"photo_id":"1338143272","filename":"file4"},{"photo_id":"1338143254","filename":"file1"},{"photo_id":"1338143250","filename":"file0"},{"photo_id":"1338143264","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338143272":["hashtag1","hashtag2"]},{"1338143254":["hashtag1","hashtag2"]},{"1338143250":["hashtag1","hashtag2"]},{"1338143276":["hashtag1","hashtag2"]},{"1338143255":["hashtag1","hashtag2"]},{"1338143264":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338143272, 1338143254, 1338143250, 1338143276, 1338143255, 1338143264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58704447746277 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:20:31.836426
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/41/image_07022025_15_42_00_10668.jpg', 0), ('/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_49_9660.jpg', 0), ('/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_39_9665.jpg', 0), ('/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_30_10683.jpg', 0), ('/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_19_9656.jpg', 0), ('/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_09_9650.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/41/image_07022025_15_42_00_10668.jpg', '/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_49_9660.jpg', '/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_39_9665.jpg', '/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_30_10683.jpg', '/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_19_9656.jpg', '/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_09_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/41/image_07022025_15_42_00_10668.jpg
/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_49_9660.jpg
/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_39_9665.jpg
/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_30_10683.jpg
/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_19_9656.jpg
/home/nano/Desktop/images/07022025/15/41/image_07022025_15_41_09_9650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338143324","1338143300","1338143292","1338143305","1338143327","1338143321"],"photo_ids_order":["1338143292","1338143300","1338143305","1338143321","1338143324","1338143327"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ee91f8ded1d0e2fcde7ebccaf0bd3dc.jpg","text":"TemporaryFile(/tmp/multipartBody1378080622041880186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787693388,"filename":"image_07022025_15_41_19_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fbf5c093a630a251e3bc92bb92d46581.jpg","text":"TemporaryFile(/tmp/multipartBody1520503174040212704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787693388,"filename":"image_07022025_15_41_49_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e013546c3cd74051efc7e5f498a9b99.jpg","text":"TemporaryFile(/tmp/multipartBody4037038094996041786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787693388,"filename":"image_07022025_15_42_00_10668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8de05b4aa3f5bc824af0273958f0a99.jpg","text":"TemporaryFile(/tmp/multipartBody3855407198214070931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787693388,"filename":"image_07022025_15_41_39_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b025ded5cfe2a43b834de56f0dce1925.jpg","text":"TemporaryFile(/tmp/multipartBody1257349510707917867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787693388,"filename":"image_07022025_15_41_09_9650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a678ce1002370c74a13a4062f765e4e.jpg","text":"TemporaryFile(/tmp/multipartBody6326139208045710441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787693388,"filename":"image_07022025_15_41_30_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338143305","file1":"1338143300","file0":"1338143292","file4":"1338143324","file5":"1338143327","file3":"1338143321"},"map_files_photo_id_array":[{"photo_id":"1338143327","filename":"file5"},{"photo_id":"1338143305","filename":"file2"},{"photo_id":"1338143324","filename":"file4"},{"photo_id":"1338143300","filename":"file1"},{"photo_id":"1338143292","filename":"file0"},{"photo_id":"1338143321","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338143324":["hashtag1","hashtag2"]},{"1338143300":["hashtag1","hashtag2"]},{"1338143292":["hashtag1","hashtag2"]},{"1338143305":["hashtag1","hashtag2"]},{"1338143327":["hashtag1","hashtag2"]},{"1338143321":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338143324, 1338143300, 1338143292, 1338143305, 1338143327, 1338143321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52725887298584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:21:31.998658
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/40/image_07022025_15_41_00_10665.jpg', 0), ('/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_49_9654.jpg', 0), ('/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_39_9674.jpg', 0), ('/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_30_10663.jpg', 0), ('/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_19_9654.jpg', 0), ('/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_09_9698.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/40/image_07022025_15_41_00_10665.jpg', '/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_49_9654.jpg', '/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_39_9674.jpg', '/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_30_10663.jpg', '/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_19_9654.jpg', '/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_09_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/40/image_07022025_15_41_00_10665.jpg
/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_49_9654.jpg
/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_39_9674.jpg
/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_30_10663.jpg
/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_19_9654.jpg
/home/nano/Desktop/images/07022025/15/40/image_07022025_15_40_09_9698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338143473","1338143461","1338143466","1338143451","1338143427","1338143444"],"photo_ids_order":["1338143427","1338143444","1338143451","1338143461","1338143466","1338143473"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e23e5c0ecc706b116df13f3abfd19174.jpg","text":"TemporaryFile(/tmp/multipartBody7951482564992761306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787754398,"filename":"image_07022025_15_40_09_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1db341fed6c342116cb69fba99183d5.jpg","text":"TemporaryFile(/tmp/multipartBody2007450996369565043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787754398,"filename":"image_07022025_15_40_30_10663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78660919629010e5e7581a6743bee573.jpg","text":"TemporaryFile(/tmp/multipartBody3248394597209989325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787754398,"filename":"image_07022025_15_40_19_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ed692ab47624ad5d1b4e24d5ccef6c8.jpg","text":"TemporaryFile(/tmp/multipartBody5763555199571101713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787754398,"filename":"image_07022025_15_40_39_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e2703528d3ccf4bb9054720b49422abd.jpg","text":"TemporaryFile(/tmp/multipartBody6006064781909537663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787754398,"filename":"image_07022025_15_41_00_10665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f7d29af23fb7d1ebad6cb9a8220592f.jpg","text":"TemporaryFile(/tmp/multipartBody230302412501074005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787754398,"filename":"image_07022025_15_40_49_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338143451","file1":"1338143444","file0":"1338143427","file4":"1338143466","file5":"1338143473","file3":"1338143461"},"map_files_photo_id_array":[{"photo_id":"1338143473","filename":"file5"},{"photo_id":"1338143451","filename":"file2"},{"photo_id":"1338143466","filename":"file4"},{"photo_id":"1338143444","filename":"file1"},{"photo_id":"1338143427","filename":"file0"},{"photo_id":"1338143461","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338143473":["hashtag1","hashtag2"]},{"1338143461":["hashtag1","hashtag2"]},{"1338143466":["hashtag1","hashtag2"]},{"1338143451":["hashtag1","hashtag2"]},{"1338143427":["hashtag1","hashtag2"]},{"1338143444":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338143473, 1338143461, 1338143466, 1338143451, 1338143427, 1338143444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.639225244522095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:22:32.147611
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/39/image_07022025_15_40_00_10662.jpg', 0), ('/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_49_9659.jpg', 0), ('/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_39_10663.jpg', 0), ('/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_29_9648.jpg', 0), ('/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_19_9668.jpg', 0), ('/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_09_10666.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/39/image_07022025_15_40_00_10662.jpg', '/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_49_9659.jpg', '/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_39_10663.jpg', '/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_29_9648.jpg', '/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_19_9668.jpg', '/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_09_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/39/image_07022025_15_40_00_10662.jpg
/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_49_9659.jpg
/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_39_10663.jpg
/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_29_9648.jpg
/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_19_9668.jpg
/home/nano/Desktop/images/07022025/15/39/image_07022025_15_39_09_10666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338143548","1338143559","1338143568","1338143526","1338143564","1338143555"],"photo_ids_order":["1338143526","1338143548","1338143555","1338143559","1338143564","1338143568"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/667c2ed5f1dbce72dffa80850da6938b.jpg","text":"TemporaryFile(/tmp/multipartBody6396580007006668547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787814476,"filename":"image_07022025_15_39_49_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3077702ab84cd400ec277f8da81180e8.jpg","text":"TemporaryFile(/tmp/multipartBody9218827565367634291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787814476,"filename":"image_07022025_15_39_29_9648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/afffbda80c6fe95d87e3870f62116df8.jpg","text":"TemporaryFile(/tmp/multipartBody3478091774416229820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787814476,"filename":"image_07022025_15_39_09_10666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dce2fa33ebcefb82e8722534c6722dfd.jpg","text":"TemporaryFile(/tmp/multipartBody8887540612759909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787814476,"filename":"image_07022025_15_40_00_10662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a79d784932d1af5a5178b6fda157a1dc.jpg","text":"TemporaryFile(/tmp/multipartBody4675860086750150926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787814476,"filename":"image_07022025_15_39_19_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb8a5a3b95a5e9d8f86bbbc5515c68e7.jpg","text":"TemporaryFile(/tmp/multipartBody3429664794069263670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787814476,"filename":"image_07022025_15_39_39_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338143555","file1":"1338143548","file0":"1338143526","file4":"1338143564","file5":"1338143568","file3":"1338143559"},"map_files_photo_id_array":[{"photo_id":"1338143568","filename":"file5"},{"photo_id":"1338143555","filename":"file2"},{"photo_id":"1338143564","filename":"file4"},{"photo_id":"1338143548","filename":"file1"},{"photo_id":"1338143526","filename":"file0"},{"photo_id":"1338143559","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338143548":["hashtag1","hashtag2"]},{"1338143559":["hashtag1","hashtag2"]},{"1338143568":["hashtag1","hashtag2"]},{"1338143526":["hashtag1","hashtag2"]},{"1338143564":["hashtag1","hashtag2"]},{"1338143555":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338143548, 1338143559, 1338143568, 1338143526, 1338143564, 1338143555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14006805419922 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:23:32.305589
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_59_9659.jpg', 0), ('/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_49_9643.jpg', 0), ('/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_39_10661.jpg', 0), ('/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_29_9653.jpg', 0), ('/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_19_9654.jpg', 0), ('/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_09_10702.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_59_9659.jpg', '/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_49_9643.jpg', '/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_39_10661.jpg', '/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_29_9653.jpg', '/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_19_9654.jpg', '/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_09_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_59_9659.jpg
/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_49_9643.jpg
/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_39_10661.jpg
/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_29_9653.jpg
/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_19_9654.jpg
/home/nano/Desktop/images/07022025/15/38/image_07022025_15_38_09_10702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338143626","1338143614","1338143628","1338143622","1338143619","1338143624"],"photo_ids_order":["1338143614","1338143619","1338143622","1338143624","1338143626","1338143628"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67906f4b338359d31cb97f67c136e608.jpg","text":"TemporaryFile(/tmp/multipartBody1174213044458550106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787874338,"filename":"image_07022025_15_38_19_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2a186af9dc6f9badbbb37e787747e0d.jpg","text":"TemporaryFile(/tmp/multipartBody4803504570348689519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787874338,"filename":"image_07022025_15_38_59_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8477c158cbc4d348a28033644b6500a.jpg","text":"TemporaryFile(/tmp/multipartBody2952225622416406299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787874338,"filename":"image_07022025_15_38_09_10702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac0f75efd4c386c55c9c57a151111c0d.jpg","text":"TemporaryFile(/tmp/multipartBody6991938451614554828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787874338,"filename":"image_07022025_15_38_39_10661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b46bfb3f4f2d7b693816670ce2a22b4d.jpg","text":"TemporaryFile(/tmp/multipartBody4758335611890438001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787874338,"filename":"image_07022025_15_38_49_9643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/116da74b7fa6bdef7efe560137d91075.jpg","text":"TemporaryFile(/tmp/multipartBody2942266221203734371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787874338,"filename":"image_07022025_15_38_29_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338143622","file1":"1338143619","file0":"1338143614","file4":"1338143626","file5":"1338143628","file3":"1338143624"},"map_files_photo_id_array":[{"photo_id":"1338143628","filename":"file5"},{"photo_id":"1338143622","filename":"file2"},{"photo_id":"1338143626","filename":"file4"},{"photo_id":"1338143619","filename":"file1"},{"photo_id":"1338143614","filename":"file0"},{"photo_id":"1338143624","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338143626":["hashtag1","hashtag2"]},{"1338143614":["hashtag1","hashtag2"]},{"1338143628":["hashtag1","hashtag2"]},{"1338143622":["hashtag1","hashtag2"]},{"1338143619":["hashtag1","hashtag2"]},{"1338143624":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338143626, 1338143614, 1338143628, 1338143622, 1338143619, 1338143624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86988615989685 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:24:32.464392
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_59_9660.jpg', 0), ('/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_49_9656.jpg', 0), ('/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_39_10656.jpg', 0), ('/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_29_9660.jpg', 0), ('/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_19_9653.jpg', 0), ('/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_09_10681.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_59_9660.jpg', '/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_49_9656.jpg', '/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_39_10656.jpg', '/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_29_9660.jpg', '/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_19_9653.jpg', '/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_09_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_59_9660.jpg
/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_49_9656.jpg
/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_39_10656.jpg
/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_29_9660.jpg
/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_19_9653.jpg
/home/nano/Desktop/images/07022025/15/37/image_07022025_15_37_09_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":["1338143677","1338143694","1338143682","1338143687","1338143690","1338143672"],"photo_ids_order":["1338143672","1338143677","1338143682","1338143687","1338143690","1338143694"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/396e7289fca05bb18187c1cfacabc662.jpg","text":"TemporaryFile(/tmp/multipartBody4097713088048138135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787934764,"filename":"image_07022025_15_37_49_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59d4ce7136840d8e47d136a19448dafa.jpg","text":"TemporaryFile(/tmp/multipartBody6623170618739702116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787934764,"filename":"image_07022025_15_37_09_10681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab932b23add4927eedf35c151dcefec7.jpg","text":"TemporaryFile(/tmp/multipartBody6479126445327747550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787934764,"filename":"image_07022025_15_37_39_10656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58e0592b764b07d486cbe5b726a7a53f.jpg","text":"TemporaryFile(/tmp/multipartBody1331099090563003901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787934764,"filename":"image_07022025_15_37_29_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/127660f6d9f30d1ff9c6f2a31b8f56fb.jpg","text":"TemporaryFile(/tmp/multipartBody1816733124665452329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787934764,"filename":"image_07022025_15_37_19_9653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3acd272cea294c9b52afe61094694779.jpg","text":"TemporaryFile(/tmp/multipartBody3532385073006420479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739787934764,"filename":"image_07022025_15_37_59_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338143682","file1":"1338143677","file0":"1338143672","file4":"1338143690","file5":"1338143694","file3":"1338143687"},"map_files_photo_id_array":[{"photo_id":"1338143694","filename":"file5"},{"photo_id":"1338143682","filename":"file2"},{"photo_id":"1338143690","filename":"file4"},{"photo_id":"1338143677","filename":"file1"},{"photo_id":"1338143672","filename":"file0"},{"photo_id":"1338143687","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338143677":["hashtag1","hashtag2"]},{"1338143694":["hashtag1","hashtag2"]},{"1338143682":["hashtag1","hashtag2"]},{"1338143687":["hashtag1","hashtag2"]},{"1338143690":["hashtag1","hashtag2"]},{"1338143672":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338143677, 1338143694, 1338143682, 1338143687, 1338143690, 1338143672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.9649555683136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:26:03.299905
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_59_9646.jpg', 0), ('/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_49_9679.jpg', 0), ('/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_39_10664.jpg', 0), ('/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_29_9654.jpg', 0), ('/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_19_9647.jpg', 0), ('/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_09_10667.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_59_9646.jpg', '/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_49_9679.jpg', '/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_39_10664.jpg', '/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_29_9654.jpg', '/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_19_9647.jpg', '/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_09_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_59_9646.jpg
/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_49_9679.jpg
/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_39_10664.jpg
/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_29_9654.jpg
/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_19_9647.jpg
/home/nano/Desktop/images/07022025/15/36/image_07022025_15_36_09_10667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338143761","1338143758","1338143766","1338143769","1338143771","1338143750"],"photo_ids_order":["1338143750","1338143758","1338143761","1338143766","1338143769","1338143771"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/078d3bec81b31d2dce7e450a864e97a8.jpg","text":"TemporaryFile(/tmp/multipartBody683591305201377726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788025380,"filename":"image_07022025_15_36_39_10664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec7d203ee5b0d80407b6a6847cafb966.jpg","text":"TemporaryFile(/tmp/multipartBody375585270134923204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788025380,"filename":"image_07022025_15_36_49_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aaf961f717743bc19b65f1b427f5e63f.jpg","text":"TemporaryFile(/tmp/multipartBody2786301150833432874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788025380,"filename":"image_07022025_15_36_29_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3582ecb2a2901cdbef1249567115bd99.jpg","text":"TemporaryFile(/tmp/multipartBody8746292496236116237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788025380,"filename":"image_07022025_15_36_19_9647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6cfe4e3402b6c1a0cab31d36da50ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3651663516824808213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788025380,"filename":"image_07022025_15_36_09_10667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/18afb397499bc90caff7131954693016.jpg","text":"TemporaryFile(/tmp/multipartBody9193003435638695228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788025380,"filename":"image_07022025_15_36_59_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338143761","file1":"1338143758","file0":"1338143750","file4":"1338143769","file5":"1338143771","file3":"1338143766"},"map_files_photo_id_array":[{"photo_id":"1338143771","filename":"file5"},{"photo_id":"1338143761","filename":"file2"},{"photo_id":"1338143769","filename":"file4"},{"photo_id":"1338143758","filename":"file1"},{"photo_id":"1338143750","filename":"file0"},{"photo_id":"1338143766","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338143761":["hashtag1","hashtag2"]},{"1338143758":["hashtag1","hashtag2"]},{"1338143766":["hashtag1","hashtag2"]},{"1338143769":["hashtag1","hashtag2"]},{"1338143771":["hashtag1","hashtag2"]},{"1338143750":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338143761, 1338143758, 1338143766, 1338143769, 1338143771, 1338143750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11625647544861 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:27:02.470968
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_59_9656.jpg', 0), ('/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_49_9657.jpg', 0), ('/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_39_10666.jpg', 0), ('/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_29_9655.jpg', 0), ('/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_19_9686.jpg', 0), ('/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_09_10743.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_59_9656.jpg', '/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_49_9657.jpg', '/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_39_10666.jpg', '/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_29_9655.jpg', '/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_19_9686.jpg', '/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_09_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_59_9656.jpg
/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_49_9657.jpg
/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_39_10666.jpg
/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_29_9655.jpg
/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_19_9686.jpg
/home/nano/Desktop/images/07022025/15/35/image_07022025_15_35_09_10743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338143863","1338143875","1338143871","1338143868","1338143879","1338143852"],"photo_ids_order":["1338143852","1338143863","1338143868","1338143871","1338143875","1338143879"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea45fd86588be9e22b8b82757ab5c4d9.jpg","text":"TemporaryFile(/tmp/multipartBody5440098065306018315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788084366,"filename":"image_07022025_15_35_49_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/490b0e6a0074fdc0591c857c46e3f42d.jpg","text":"TemporaryFile(/tmp/multipartBody4491647358859341875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788084366,"filename":"image_07022025_15_35_19_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6dbd3f054b894f548e583369b11a894.jpg","text":"TemporaryFile(/tmp/multipartBody3112664353762902392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788084366,"filename":"image_07022025_15_35_29_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f70253e119c48ebaecf6b8e750ed086a.jpg","text":"TemporaryFile(/tmp/multipartBody2022431106597849459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788084366,"filename":"image_07022025_15_35_39_10666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca1e88f796f87a86e6cb01af9ba040c4.jpg","text":"TemporaryFile(/tmp/multipartBody3217411067747749403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788084366,"filename":"image_07022025_15_35_09_10743.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4862e53cf3c43f3f193d01ceb951d21.jpg","text":"TemporaryFile(/tmp/multipartBody2774448639832108240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788084366,"filename":"image_07022025_15_35_59_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338143868","file1":"1338143863","file0":"1338143852","file4":"1338143875","file5":"1338143879","file3":"1338143871"},"map_files_photo_id_array":[{"photo_id":"1338143879","filename":"file5"},{"photo_id":"1338143868","filename":"file2"},{"photo_id":"1338143875","filename":"file4"},{"photo_id":"1338143863","filename":"file1"},{"photo_id":"1338143852","filename":"file0"},{"photo_id":"1338143871","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338143863":["hashtag1","hashtag2"]},{"1338143875":["hashtag1","hashtag2"]},{"1338143871":["hashtag1","hashtag2"]},{"1338143868":["hashtag1","hashtag2"]},{"1338143879":["hashtag1","hashtag2"]},{"1338143852":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338143863, 1338143875, 1338143871, 1338143868, 1338143879, 1338143852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.91337466239929 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:28:32.112592
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_59_9699.jpg', 0), ('/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_49_9699.jpg', 0), ('/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_39_9668.jpg', 0), ('/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_30_10703.jpg', 0), ('/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_19_9707.jpg', 0), ('/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_09_9731.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_59_9699.jpg', '/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_49_9699.jpg', '/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_39_9668.jpg', '/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_30_10703.jpg', '/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_19_9707.jpg', '/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_09_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_59_9699.jpg
/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_49_9699.jpg
/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_39_9668.jpg
/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_30_10703.jpg
/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_19_9707.jpg
/home/nano/Desktop/images/07022025/15/34/image_07022025_15_34_09_9731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338143992","1338143986","1338144004","1338144045","1338143996","1338144041"],"photo_ids_order":["1338143986","1338143992","1338143996","1338144004","1338144041","1338144045"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ee74f15e4b79f0733d7b561ee51f6b3.jpg","text":"TemporaryFile(/tmp/multipartBody441395479006436888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788174592,"filename":"image_07022025_15_34_49_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80eb443e52a62101e46c62986d3a8021.jpg","text":"TemporaryFile(/tmp/multipartBody2502678790963583519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788174592,"filename":"image_07022025_15_34_59_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/654ba62fa927e0c4228098da87c5375b.jpg","text":"TemporaryFile(/tmp/multipartBody6457492489837107334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788174592,"filename":"image_07022025_15_34_30_10703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f3f6e38dcc57f96dae01b7f0fc16f52.jpg","text":"TemporaryFile(/tmp/multipartBody5719624848375121643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788174592,"filename":"image_07022025_15_34_09_9731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b97b84e5adb64ea837e63d834ee3cc03.jpg","text":"TemporaryFile(/tmp/multipartBody2437088584907234795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788174592,"filename":"image_07022025_15_34_39_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/56e2ac80287187bd670d8f6e4a07ce7f.jpg","text":"TemporaryFile(/tmp/multipartBody2522542987449111303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788174592,"filename":"image_07022025_15_34_19_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338143996","file1":"1338143992","file0":"1338143986","file4":"1338144041","file5":"1338144045","file3":"1338144004"},"map_files_photo_id_array":[{"photo_id":"1338144045","filename":"file5"},{"photo_id":"1338143996","filename":"file2"},{"photo_id":"1338144041","filename":"file4"},{"photo_id":"1338143992","filename":"file1"},{"photo_id":"1338143986","filename":"file0"},{"photo_id":"1338144004","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338143992":["hashtag1","hashtag2"]},{"1338143986":["hashtag1","hashtag2"]},{"1338144004":["hashtag1","hashtag2"]},{"1338144045":["hashtag1","hashtag2"]},{"1338143996":["hashtag1","hashtag2"]},{"1338144041":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338143992, 1338143986, 1338144004, 1338144045, 1338143996, 1338144041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77731537818909 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:29:32.323214
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_59_10675.jpg', 0), ('/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_49_9650.jpg', 0), ('/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_39_9667.jpg', 0), ('/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_29_10690.jpg', 0), ('/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_19_9667.jpg', 0), ('/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_09_9665.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_59_10675.jpg', '/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_49_9650.jpg', '/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_39_9667.jpg', '/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_29_10690.jpg', '/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_19_9667.jpg', '/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_09_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_59_10675.jpg
/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_49_9650.jpg
/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_39_9667.jpg
/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_29_10690.jpg
/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_19_9667.jpg
/home/nano/Desktop/images/07022025/15/33/image_07022025_15_33_09_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":["1338144115","1338144103","1338144111","1338144108","1338144122","1338144119"],"photo_ids_order":["1338144103","1338144108","1338144111","1338144115","1338144119","1338144122"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d1e63a79e146cf4718b0c63849e0f42.jpg","text":"TemporaryFile(/tmp/multipartBody4096309483505003640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788234415,"filename":"image_07022025_15_33_29_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f678b3b64d2a0b5b43db19e1d45990ee.jpg","text":"TemporaryFile(/tmp/multipartBody4916236774933216622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788234415,"filename":"image_07022025_15_33_59_10675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f61701dc443ef582f928b03fdff3ccf5.jpg","text":"TemporaryFile(/tmp/multipartBody2109465775915378119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788234415,"filename":"image_07022025_15_33_39_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1a7489f3633933efce637ece63b19a1c.jpg","text":"TemporaryFile(/tmp/multipartBody6632090101282550669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788234415,"filename":"image_07022025_15_33_49_9650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/65b75d7dc64e51863df49585083818e8.jpg","text":"TemporaryFile(/tmp/multipartBody834828368612527614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788234415,"filename":"image_07022025_15_33_09_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3033a123efeff75926a26384fda59aab.jpg","text":"TemporaryFile(/tmp/multipartBody8837038821283223857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788234415,"filename":"image_07022025_15_33_19_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338144111","file1":"1338144108","file0":"1338144103","file4":"1338144119","file5":"1338144122","file3":"1338144115"},"map_files_photo_id_array":[{"photo_id":"1338144122","filename":"file5"},{"photo_id":"1338144111","filename":"file2"},{"photo_id":"1338144119","filename":"file4"},{"photo_id":"1338144108","filename":"file1"},{"photo_id":"1338144103","filename":"file0"},{"photo_id":"1338144115","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338144115":["hashtag1","hashtag2"]},{"1338144103":["hashtag1","hashtag2"]},{"1338144111":["hashtag1","hashtag2"]},{"1338144108":["hashtag1","hashtag2"]},{"1338144122":["hashtag1","hashtag2"]},{"1338144119":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338144115, 1338144103, 1338144111, 1338144108, 1338144122, 1338144119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.70921969413757 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:31:03.291123
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_59_10673.jpg', 0), ('/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_49_9659.jpg', 0), ('/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_39_9667.jpg', 0), ('/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_29_10718.jpg', 0), ('/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_19_9672.jpg', 0), ('/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_09_9684.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_59_10673.jpg', '/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_49_9659.jpg', '/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_39_9667.jpg', '/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_29_10718.jpg', '/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_19_9672.jpg', '/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_09_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_59_10673.jpg
/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_49_9659.jpg
/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_39_9667.jpg
/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_29_10718.jpg
/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_19_9672.jpg
/home/nano/Desktop/images/07022025/15/32/image_07022025_15_32_09_9684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338144163","1338144151","1338144171","1338144185","1338144167","1338144160"],"photo_ids_order":["1338144151","1338144160","1338144163","1338144167","1338144171","1338144185"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08117510416fe6f389d9ff9655279dc9.jpg","text":"TemporaryFile(/tmp/multipartBody6562731619277931783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788325094,"filename":"image_07022025_15_32_39_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f2e69be96f852025f41204cbe6148f3b.jpg","text":"TemporaryFile(/tmp/multipartBody8646950805103545798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788325094,"filename":"image_07022025_15_32_59_10673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ed48e1d6090e16e49df0456ce3b854b.jpg","text":"TemporaryFile(/tmp/multipartBody1586381072158740113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788325094,"filename":"image_07022025_15_32_19_9672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f2ce06bc52ad408936f28d164ce8532.jpg","text":"TemporaryFile(/tmp/multipartBody1319008616425967758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788325094,"filename":"image_07022025_15_32_09_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/beb4bde80e005e649507c187d59a5c9f.jpg","text":"TemporaryFile(/tmp/multipartBody8650333636651237569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788325094,"filename":"image_07022025_15_32_29_10718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9f37fdf375a12f5317d113ecf223da1.jpg","text":"TemporaryFile(/tmp/multipartBody5872571061053184034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788325094,"filename":"image_07022025_15_32_49_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338144163","file1":"1338144160","file0":"1338144151","file4":"1338144171","file5":"1338144185","file3":"1338144167"},"map_files_photo_id_array":[{"photo_id":"1338144185","filename":"file5"},{"photo_id":"1338144163","filename":"file2"},{"photo_id":"1338144171","filename":"file4"},{"photo_id":"1338144160","filename":"file1"},{"photo_id":"1338144151","filename":"file0"},{"photo_id":"1338144167","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338144163":["hashtag1","hashtag2"]},{"1338144151":["hashtag1","hashtag2"]},{"1338144171":["hashtag1","hashtag2"]},{"1338144185":["hashtag1","hashtag2"]},{"1338144167":["hashtag1","hashtag2"]},{"1338144160":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338144163, 1338144151, 1338144171, 1338144185, 1338144167, 1338144160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75893545150757 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:32:02.184550
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_59_10672.jpg', 0), ('/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_49_9673.jpg', 0), ('/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_39_9657.jpg', 0), ('/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_29_10693.jpg', 0), ('/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_19_9661.jpg', 0), ('/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_09_9654.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_59_10672.jpg', '/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_49_9673.jpg', '/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_39_9657.jpg', '/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_29_10693.jpg', '/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_19_9661.jpg', '/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_09_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_59_10672.jpg
/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_49_9673.jpg
/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_39_9657.jpg
/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_29_10693.jpg
/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_19_9661.jpg
/home/nano/Desktop/images/07022025/15/31/image_07022025_15_31_09_9654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338144319","1338144316","1338144252","1338144306","1338144263","1338144295"],"photo_ids_order":["1338144252","1338144263","1338144295","1338144306","1338144316","1338144319"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e729e3ca6344e8cb8b57618c95ffdd36.jpg","text":"TemporaryFile(/tmp/multipartBody1963628156752550878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788384468,"filename":"image_07022025_15_31_09_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6270e5ab5e03c150acb164cb4ba948da.jpg","text":"TemporaryFile(/tmp/multipartBody184541379592011775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788384468,"filename":"image_07022025_15_31_19_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7e5a61e3529f881bf94c4d006f2d92a3.jpg","text":"TemporaryFile(/tmp/multipartBody2057069626726684817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788384468,"filename":"image_07022025_15_31_59_10672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3368ea48d4df0258aaa69e51938df270.jpg","text":"TemporaryFile(/tmp/multipartBody6104399075001778818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788384468,"filename":"image_07022025_15_31_29_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b71fe895aee7d15dd393b8761f34e69.jpg","text":"TemporaryFile(/tmp/multipartBody2781529386355189181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788384468,"filename":"image_07022025_15_31_49_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b3a6ef13161eb1d7d4a1b1cd21bc4e5.jpg","text":"TemporaryFile(/tmp/multipartBody7896686381222851764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788384468,"filename":"image_07022025_15_31_39_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338144295","file1":"1338144263","file0":"1338144252","file4":"1338144316","file5":"1338144319","file3":"1338144306"},"map_files_photo_id_array":[{"photo_id":"1338144319","filename":"file5"},{"photo_id":"1338144295","filename":"file2"},{"photo_id":"1338144316","filename":"file4"},{"photo_id":"1338144263","filename":"file1"},{"photo_id":"1338144252","filename":"file0"},{"photo_id":"1338144306","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338144319":["hashtag1","hashtag2"]},{"1338144316":["hashtag1","hashtag2"]},{"1338144252":["hashtag1","hashtag2"]},{"1338144306":["hashtag1","hashtag2"]},{"1338144263":["hashtag1","hashtag2"]},{"1338144295":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338144319, 1338144316, 1338144252, 1338144306, 1338144263, 1338144295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.390355825424194 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:33:02.610184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_59_10683.jpg', 0), ('/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_49_9649.jpg', 0), ('/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_39_9655.jpg', 0), ('/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_29_10688.jpg', 0), ('/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_19_9682.jpg', 0), ('/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_09_9690.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_59_10683.jpg', '/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_49_9649.jpg', '/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_39_9655.jpg', '/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_29_10688.jpg', '/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_19_9682.jpg', '/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_09_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_59_10683.jpg
/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_49_9649.jpg
/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_39_9655.jpg
/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_29_10688.jpg
/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_19_9682.jpg
/home/nano/Desktop/images/07022025/15/30/image_07022025_15_30_09_9690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338144376","1338144363","1338144372","1338144369","1338144360","1338144374"],"photo_ids_order":["1338144360","1338144363","1338144369","1338144372","1338144374","1338144376"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/048314689653db2f8c83967e10cec8fb.jpg","text":"TemporaryFile(/tmp/multipartBody1879464685188122095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788444403,"filename":"image_07022025_15_30_09_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/72757808b5463d28b7d790b2d8cb97b4.jpg","text":"TemporaryFile(/tmp/multipartBody2989171815589968206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788444403,"filename":"image_07022025_15_30_49_9649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b82cf39a886da35ac795bdc4c6fb4a68.jpg","text":"TemporaryFile(/tmp/multipartBody1476404092478190775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788444403,"filename":"image_07022025_15_30_29_10688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2bdbaed0aa856646ce28b10c1a6033a.jpg","text":"TemporaryFile(/tmp/multipartBody32825374672751151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788444403,"filename":"image_07022025_15_30_39_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/969fb43f0238800be90d90a49af5b5b7.jpg","text":"TemporaryFile(/tmp/multipartBody5267344568466236513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788444403,"filename":"image_07022025_15_30_59_10683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae40a9deaea38de1934aa4a6bc285b2d.jpg","text":"TemporaryFile(/tmp/multipartBody6463470341816243091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788444403,"filename":"image_07022025_15_30_19_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338144369","file1":"1338144363","file0":"1338144360","file4":"1338144374","file5":"1338144376","file3":"1338144372"},"map_files_photo_id_array":[{"photo_id":"1338144376","filename":"file5"},{"photo_id":"1338144369","filename":"file2"},{"photo_id":"1338144374","filename":"file4"},{"photo_id":"1338144363","filename":"file1"},{"photo_id":"1338144360","filename":"file0"},{"photo_id":"1338144372","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338144376":["hashtag1","hashtag2"]},{"1338144363":["hashtag1","hashtag2"]},{"1338144372":["hashtag1","hashtag2"]},{"1338144369":["hashtag1","hashtag2"]},{"1338144360":["hashtag1","hashtag2"]},{"1338144374":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338144376, 1338144363, 1338144372, 1338144369, 1338144360, 1338144374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10563683509827 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:34:02.883079
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_59_9701.jpg', 0), ('/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_50_10691.jpg', 0), ('/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_39_9661.jpg', 0), ('/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_29_9687.jpg', 0), ('/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_20_10709.jpg', 0), ('/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_09_9728.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_59_9701.jpg', '/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_50_10691.jpg', '/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_39_9661.jpg', '/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_29_9687.jpg', '/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_20_10709.jpg', '/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_09_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_59_9701.jpg
/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_50_10691.jpg
/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_39_9661.jpg
/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_29_9687.jpg
/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_20_10709.jpg
/home/nano/Desktop/images/07022025/15/29/image_07022025_15_29_09_9728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338144399","1338144410","1338144407","1338144397","1338144401","1338144404"],"photo_ids_order":["1338144397","1338144399","1338144401","1338144404","1338144407","1338144410"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7e4d635c5e4c14be708efe4a73fb861.jpg","text":"TemporaryFile(/tmp/multipartBody2711375774263174257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788504908,"filename":"image_07022025_15_29_50_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/776e11878075465d9d2ede4b4b458459.jpg","text":"TemporaryFile(/tmp/multipartBody3440217384499411669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788504908,"filename":"image_07022025_15_29_09_9728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/04de662f88c4c7551ac7f908a9e46721.jpg","text":"TemporaryFile(/tmp/multipartBody3669533639614747358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788504908,"filename":"image_07022025_15_29_20_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/104f29811298781579aabb30e8197c9a.jpg","text":"TemporaryFile(/tmp/multipartBody7540865798892647471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788504908,"filename":"image_07022025_15_29_59_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/353b795f2a287a176fc56abeeb30bf0d.jpg","text":"TemporaryFile(/tmp/multipartBody6083896657718618714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788504908,"filename":"image_07022025_15_29_39_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8401a983c8164a3dbb16431b685c7ab.jpg","text":"TemporaryFile(/tmp/multipartBody8637105523600647407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788504908,"filename":"image_07022025_15_29_29_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338144401","file1":"1338144399","file0":"1338144397","file4":"1338144407","file5":"1338144410","file3":"1338144404"},"map_files_photo_id_array":[{"photo_id":"1338144410","filename":"file5"},{"photo_id":"1338144401","filename":"file2"},{"photo_id":"1338144407","filename":"file4"},{"photo_id":"1338144399","filename":"file1"},{"photo_id":"1338144397","filename":"file0"},{"photo_id":"1338144404","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338144399":["hashtag1","hashtag2"]},{"1338144410":["hashtag1","hashtag2"]},{"1338144407":["hashtag1","hashtag2"]},{"1338144397":["hashtag1","hashtag2"]},{"1338144401":["hashtag1","hashtag2"]},{"1338144404":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338144399, 1338144410, 1338144407, 1338144397, 1338144401, 1338144404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.813140630722046 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:35:03.079152
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_59_9762.jpg', 0), ('/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_49_10679.jpg', 0), ('/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_39_9686.jpg', 0), ('/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_29_9726.jpg', 0), ('/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_19_9694.jpg', 0), ('/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_10_10731.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_59_9762.jpg', '/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_49_10679.jpg', '/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_39_9686.jpg', '/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_29_9726.jpg', '/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_19_9694.jpg', '/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_10_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_59_9762.jpg
/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_49_10679.jpg
/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_39_9686.jpg
/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_29_9726.jpg
/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_19_9694.jpg
/home/nano/Desktop/images/07022025/15/28/image_07022025_15_28_10_10731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338144511","1338144494","1338144497","1338144515","1338144499","1338144503"],"photo_ids_order":["1338144494","1338144497","1338144499","1338144503","1338144511","1338144515"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0b9a8cfbb93ffdd448688c8daca9b8f.jpg","text":"TemporaryFile(/tmp/multipartBody5875824461572113140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788565188,"filename":"image_07022025_15_28_19_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b18c7b879cf01530dad33a974e8cb692.jpg","text":"TemporaryFile(/tmp/multipartBody7636437478888605329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788565188,"filename":"image_07022025_15_28_59_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d0198f28e89e8b3fe3cc15ce0e1e43d.jpg","text":"TemporaryFile(/tmp/multipartBody258596508138659608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788565188,"filename":"image_07022025_15_28_49_10679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f02edb073e562cc4dce0a7eebab9553e.jpg","text":"TemporaryFile(/tmp/multipartBody2946267606965382769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788565188,"filename":"image_07022025_15_28_10_10731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/182d239a06af5a07f20d4298cda6e90d.jpg","text":"TemporaryFile(/tmp/multipartBody85375030998678131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788565188,"filename":"image_07022025_15_28_39_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f1aa502be8a54a81e1bfb569bb8aa43.jpg","text":"TemporaryFile(/tmp/multipartBody5223728110789492521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788565188,"filename":"image_07022025_15_28_29_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338144499","file1":"1338144497","file0":"1338144494","file4":"1338144511","file5":"1338144515","file3":"1338144503"},"map_files_photo_id_array":[{"photo_id":"1338144515","filename":"file5"},{"photo_id":"1338144499","filename":"file2"},{"photo_id":"1338144511","filename":"file4"},{"photo_id":"1338144497","filename":"file1"},{"photo_id":"1338144494","filename":"file0"},{"photo_id":"1338144503","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338144511":["hashtag1","hashtag2"]},{"1338144494":["hashtag1","hashtag2"]},{"1338144497":["hashtag1","hashtag2"]},{"1338144515":["hashtag1","hashtag2"]},{"1338144499":["hashtag1","hashtag2"]},{"1338144503":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338144511, 1338144494, 1338144497, 1338144515, 1338144499, 1338144503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46809911727905 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:36:02.916888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_59_9640.jpg', 0), ('/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_49_9671.jpg', 0), ('/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_40_10675.jpg', 0), ('/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_29_9663.jpg', 0), ('/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_19_9666.jpg', 0), ('/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_10_10657.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_59_9640.jpg', '/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_49_9671.jpg', '/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_40_10675.jpg', '/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_29_9663.jpg', '/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_19_9666.jpg', '/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_10_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_59_9640.jpg
/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_49_9671.jpg
/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_40_10675.jpg
/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_29_9663.jpg
/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_19_9666.jpg
/home/nano/Desktop/images/07022025/15/27/image_07022025_15_27_10_10657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338144715","1338144709","1338144732","1338144711","1338144722","1338144707"],"photo_ids_order":["1338144707","1338144709","1338144711","1338144715","1338144722","1338144732"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12346d25c75c53719a9d1d76ef7a38fa.jpg","text":"TemporaryFile(/tmp/multipartBody1816983606583886434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788624816,"filename":"image_07022025_15_27_29_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/09406115f589b6d3ccabf08c0619909e.jpg","text":"TemporaryFile(/tmp/multipartBody3075869916646789739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788624816,"filename":"image_07022025_15_27_49_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b07ee73ed848adf7620155c8d252dbf.jpg","text":"TemporaryFile(/tmp/multipartBody8993654657129945591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788624816,"filename":"image_07022025_15_27_10_10657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca326a5c44b58d5c3a8c3d9b4e5c6e6a.jpg","text":"TemporaryFile(/tmp/multipartBody3802074553635620449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788624816,"filename":"image_07022025_15_27_40_10675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d83cc4835ce4dda66db60cb39ee253d.jpg","text":"TemporaryFile(/tmp/multipartBody8454650883503632580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788624816,"filename":"image_07022025_15_27_19_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1cc28661c4b50257c01d588a6bb6290.jpg","text":"TemporaryFile(/tmp/multipartBody1942963068286680080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788624816,"filename":"image_07022025_15_27_59_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338144711","file1":"1338144709","file0":"1338144707","file4":"1338144722","file5":"1338144732","file3":"1338144715"},"map_files_photo_id_array":[{"photo_id":"1338144732","filename":"file5"},{"photo_id":"1338144711","filename":"file2"},{"photo_id":"1338144722","filename":"file4"},{"photo_id":"1338144709","filename":"file1"},{"photo_id":"1338144707","filename":"file0"},{"photo_id":"1338144715","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338144715":["hashtag1","hashtag2"]},{"1338144709":["hashtag1","hashtag2"]},{"1338144732":["hashtag1","hashtag2"]},{"1338144711":["hashtag1","hashtag2"]},{"1338144722":["hashtag1","hashtag2"]},{"1338144707":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338144715, 1338144709, 1338144732, 1338144711, 1338144722, 1338144707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.623542070388794 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:37:03.286242
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_59_9659.jpg', 0), ('/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_49_9698.jpg', 0), ('/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_40_10651.jpg', 0), ('/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_29_9655.jpg', 0), ('/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_19_9703.jpg', 0), ('/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_10_10687.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_59_9659.jpg', '/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_49_9698.jpg', '/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_40_10651.jpg', '/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_29_9655.jpg', '/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_19_9703.jpg', '/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_10_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_59_9659.jpg
/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_49_9698.jpg
/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_40_10651.jpg
/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_29_9655.jpg
/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_19_9703.jpg
/home/nano/Desktop/images/07022025/15/26/image_07022025_15_26_10_10687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338144771","1338144774","1338144768","1338144764","1338144776","1338144778"],"photo_ids_order":["1338144764","1338144768","1338144771","1338144774","1338144776","1338144778"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2cae49d83ead3a5a1a1765140df32f10.jpg","text":"TemporaryFile(/tmp/multipartBody7786614259894550159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788685300,"filename":"image_07022025_15_26_40_10651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ccc74cc822aa0e978cd202280dc9eb61.jpg","text":"TemporaryFile(/tmp/multipartBody7302699718791727860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788685300,"filename":"image_07022025_15_26_29_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed486cab948a6be74830faae487d22ba.jpg","text":"TemporaryFile(/tmp/multipartBody7004634732578331662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788685300,"filename":"image_07022025_15_26_49_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e30cbf21887b8195fc4ca7f4e4f70a9.jpg","text":"TemporaryFile(/tmp/multipartBody4054545867544317894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788685300,"filename":"image_07022025_15_26_59_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca766ff05721e92efa792dbe30b3ebd2.jpg","text":"TemporaryFile(/tmp/multipartBody8433086766735115992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788685300,"filename":"image_07022025_15_26_19_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/557accd1482914983d955b792348aaad.jpg","text":"TemporaryFile(/tmp/multipartBody8578115119618656996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788685300,"filename":"image_07022025_15_26_10_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338144771","file1":"1338144768","file0":"1338144764","file4":"1338144776","file5":"1338144778","file3":"1338144774"},"map_files_photo_id_array":[{"photo_id":"1338144778","filename":"file5"},{"photo_id":"1338144771","filename":"file2"},{"photo_id":"1338144776","filename":"file4"},{"photo_id":"1338144768","filename":"file1"},{"photo_id":"1338144764","filename":"file0"},{"photo_id":"1338144774","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338144771":["hashtag1","hashtag2"]},{"1338144774":["hashtag1","hashtag2"]},{"1338144768":["hashtag1","hashtag2"]},{"1338144764":["hashtag1","hashtag2"]},{"1338144776":["hashtag1","hashtag2"]},{"1338144778":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338144771, 1338144774, 1338144768, 1338144764, 1338144776, 1338144778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16686129570007 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:38:03.060207
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_59_9676.jpg', 0), ('/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_49_9699.jpg', 0), ('/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_39_10676.jpg', 0), ('/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_29_9684.jpg', 0), ('/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_19_9709.jpg', 0), ('/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_09_10684.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_59_9676.jpg', '/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_49_9699.jpg', '/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_39_10676.jpg', '/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_29_9684.jpg', '/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_19_9709.jpg', '/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_09_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_59_9676.jpg
/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_49_9699.jpg
/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_39_10676.jpg
/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_29_9684.jpg
/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_19_9709.jpg
/home/nano/Desktop/images/07022025/15/25/image_07022025_15_25_09_10684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338144838","1338144832","1338144826","1338144841","1338144829","1338144818"],"photo_ids_order":["1338144818","1338144826","1338144829","1338144832","1338144838","1338144841"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7895c4838bcf8f016cce983ccfac6f43.jpg","text":"TemporaryFile(/tmp/multipartBody918277472226071190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788745040,"filename":"image_07022025_15_25_19_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae42a7adfd68f71c2733341f3509fca3.jpg","text":"TemporaryFile(/tmp/multipartBody5933621976500622918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788745040,"filename":"image_07022025_15_25_29_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e0b81274064120cb7838ca7069aa513.jpg","text":"TemporaryFile(/tmp/multipartBody6557284245414796110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788745040,"filename":"image_07022025_15_25_49_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/144bfcb377ff7ba6dabca3a595adabb0.jpg","text":"TemporaryFile(/tmp/multipartBody8222416027260109175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788745040,"filename":"image_07022025_15_25_09_10684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67aa1658fda8c1fa3e5ee808f28fdc14.jpg","text":"TemporaryFile(/tmp/multipartBody9160415151600008956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788745040,"filename":"image_07022025_15_25_39_10676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ffa18e131df87142def59bb4343fbd6.jpg","text":"TemporaryFile(/tmp/multipartBody1662115425852789098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788745040,"filename":"image_07022025_15_25_59_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338144829","file1":"1338144826","file0":"1338144818","file4":"1338144838","file5":"1338144841","file3":"1338144832"},"map_files_photo_id_array":[{"photo_id":"1338144841","filename":"file5"},{"photo_id":"1338144829","filename":"file2"},{"photo_id":"1338144838","filename":"file4"},{"photo_id":"1338144826","filename":"file1"},{"photo_id":"1338144818","filename":"file0"},{"photo_id":"1338144832","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338144838":["hashtag1","hashtag2"]},{"1338144832":["hashtag1","hashtag2"]},{"1338144826":["hashtag1","hashtag2"]},{"1338144841":["hashtag1","hashtag2"]},{"1338144829":["hashtag1","hashtag2"]},{"1338144818":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338144838, 1338144832, 1338144826, 1338144841, 1338144829, 1338144818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13835644721985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:39:02.961035
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_59_9665.jpg', 0), ('/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_49_9682.jpg', 0), ('/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_39_10671.jpg', 0), ('/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_29_9659.jpg', 0), ('/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_19_9662.jpg', 0), ('/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_09_10672.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_59_9665.jpg', '/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_49_9682.jpg', '/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_39_10671.jpg', '/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_29_9659.jpg', '/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_19_9662.jpg', '/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_09_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_59_9665.jpg
/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_49_9682.jpg
/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_39_10671.jpg
/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_29_9659.jpg
/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_19_9662.jpg
/home/nano/Desktop/images/07022025/15/24/image_07022025_15_24_09_10672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338144872","1338144866","1338144875","1338144869","1338144880","1338144877"],"photo_ids_order":["1338144866","1338144869","1338144872","1338144875","1338144877","1338144880"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ee5aed8c58cbf4878385c7233fdd64e.jpg","text":"TemporaryFile(/tmp/multipartBody1243073503212203568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788804848,"filename":"image_07022025_15_24_39_10671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b057c88a1f52bb3968ed83efc48f30fe.jpg","text":"TemporaryFile(/tmp/multipartBody2134057578415903911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788804848,"filename":"image_07022025_15_24_59_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3875a2df4810cf130c61eea6394159e.jpg","text":"TemporaryFile(/tmp/multipartBody7215798889963041794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788804848,"filename":"image_07022025_15_24_29_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54407f1011ee724ade766bb88f957a6f.jpg","text":"TemporaryFile(/tmp/multipartBody7060629983738310257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788804848,"filename":"image_07022025_15_24_49_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78e3725c280e8bcc0387e9b519885abf.jpg","text":"TemporaryFile(/tmp/multipartBody6196297723708627496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788804848,"filename":"image_07022025_15_24_09_10672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2be3e2559265c3eb7d365ee6033621c6.jpg","text":"TemporaryFile(/tmp/multipartBody1435280484932746131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788804848,"filename":"image_07022025_15_24_19_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338144872","file1":"1338144869","file0":"1338144866","file4":"1338144877","file5":"1338144880","file3":"1338144875"},"map_files_photo_id_array":[{"photo_id":"1338144880","filename":"file5"},{"photo_id":"1338144872","filename":"file2"},{"photo_id":"1338144877","filename":"file4"},{"photo_id":"1338144869","filename":"file1"},{"photo_id":"1338144866","filename":"file0"},{"photo_id":"1338144875","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338144872":["hashtag1","hashtag2"]},{"1338144866":["hashtag1","hashtag2"]},{"1338144875":["hashtag1","hashtag2"]},{"1338144869":["hashtag1","hashtag2"]},{"1338144880":["hashtag1","hashtag2"]},{"1338144877":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338144872, 1338144866, 1338144875, 1338144869, 1338144880, 1338144877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.406328201293945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:40:02.669757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_59_9670.jpg', 0), ('/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_49_9661.jpg', 0), ('/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_39_10676.jpg', 0), ('/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_29_9683.jpg', 0), ('/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_19_9691.jpg', 0), ('/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_09_9671.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_59_9670.jpg', '/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_49_9661.jpg', '/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_39_10676.jpg', '/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_29_9683.jpg', '/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_19_9691.jpg', '/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_09_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_59_9670.jpg
/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_49_9661.jpg
/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_39_10676.jpg
/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_29_9683.jpg
/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_19_9691.jpg
/home/nano/Desktop/images/07022025/15/23/image_07022025_15_23_09_9671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338144919","1338144922","1338144916","1338144912","1338144914","1338144923"],"photo_ids_order":["1338144912","1338144914","1338144916","1338144919","1338144922","1338144923"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/96d4cb66abdf9730aaf9ffb99f0053c5.jpg","text":"TemporaryFile(/tmp/multipartBody5361511297175028008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788864780,"filename":"image_07022025_15_23_29_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/582847b9f2e6962fab64df0b7e80023b.jpg","text":"TemporaryFile(/tmp/multipartBody6243262024373640753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788864780,"filename":"image_07022025_15_23_19_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71ebf5cb2c8e340464f5813e115337d8.jpg","text":"TemporaryFile(/tmp/multipartBody3925585801959090540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788864780,"filename":"image_07022025_15_23_39_10676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b24b81f8c3c560fb68eca19ebc66ec8b.jpg","text":"TemporaryFile(/tmp/multipartBody4832435013180069055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788864780,"filename":"image_07022025_15_23_59_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a85b16c0a090622976fd0930f8434074.jpg","text":"TemporaryFile(/tmp/multipartBody273117755801257949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788864780,"filename":"image_07022025_15_23_49_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0fd96f6f248c4d62e4eb146b0a4841a9.jpg","text":"TemporaryFile(/tmp/multipartBody5863721568900215634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788864780,"filename":"image_07022025_15_23_09_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338144916","file1":"1338144914","file0":"1338144912","file4":"1338144922","file5":"1338144923","file3":"1338144919"},"map_files_photo_id_array":[{"photo_id":"1338144923","filename":"file5"},{"photo_id":"1338144916","filename":"file2"},{"photo_id":"1338144922","filename":"file4"},{"photo_id":"1338144914","filename":"file1"},{"photo_id":"1338144912","filename":"file0"},{"photo_id":"1338144919","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338144919":["hashtag1","hashtag2"]},{"1338144922":["hashtag1","hashtag2"]},{"1338144916":["hashtag1","hashtag2"]},{"1338144912":["hashtag1","hashtag2"]},{"1338144914":["hashtag1","hashtag2"]},{"1338144923":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338144919, 1338144922, 1338144916, 1338144912, 1338144914, 1338144923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.950772523880005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:41:02.798977
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/22/image_07022025_15_23_00_10680.jpg', 0), ('/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_49_9724.jpg', 0), ('/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_39_9671.jpg', 0), ('/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_30_10686.jpg', 0), ('/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_19_9684.jpg', 0), ('/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_09_9659.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/22/image_07022025_15_23_00_10680.jpg', '/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_49_9724.jpg', '/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_39_9671.jpg', '/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_30_10686.jpg', '/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_19_9684.jpg', '/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_09_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/22/image_07022025_15_23_00_10680.jpg
/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_49_9724.jpg
/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_39_9671.jpg
/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_30_10686.jpg
/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_19_9684.jpg
/home/nano/Desktop/images/07022025/15/22/image_07022025_15_22_09_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338145210","1338145218","1338145205","1338145208","1338145222","1338145216"],"photo_ids_order":["1338145205","1338145208","1338145210","1338145216","1338145218","1338145222"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0fe433a81a4e488a50faf8ef91ee1c0e.jpg","text":"TemporaryFile(/tmp/multipartBody2186725766309332212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788925083,"filename":"image_07022025_15_22_39_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/feb37e750443831cf102a601584d286c.jpg","text":"TemporaryFile(/tmp/multipartBody4520241218760149173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788925083,"filename":"image_07022025_15_22_19_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/487b9f0888fc88369322f71a7166a6c9.jpg","text":"TemporaryFile(/tmp/multipartBody1786875765361336399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788925083,"filename":"image_07022025_15_23_00_10680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ea721268a8f653d84e81e159cff9c63.jpg","text":"TemporaryFile(/tmp/multipartBody9178920656978495268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788925083,"filename":"image_07022025_15_22_49_9724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da6629257cf9ff024351b97efa4d464b.jpg","text":"TemporaryFile(/tmp/multipartBody7538846435495546604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788925083,"filename":"image_07022025_15_22_09_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b95aea666b7e02ee2c3c7971f23b218.jpg","text":"TemporaryFile(/tmp/multipartBody2680378052711480182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788925083,"filename":"image_07022025_15_22_30_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338145210","file1":"1338145208","file0":"1338145205","file4":"1338145218","file5":"1338145222","file3":"1338145216"},"map_files_photo_id_array":[{"photo_id":"1338145222","filename":"file5"},{"photo_id":"1338145210","filename":"file2"},{"photo_id":"1338145218","filename":"file4"},{"photo_id":"1338145208","filename":"file1"},{"photo_id":"1338145205","filename":"file0"},{"photo_id":"1338145216","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338145210":["hashtag1","hashtag2"]},{"1338145218":["hashtag1","hashtag2"]},{"1338145205":["hashtag1","hashtag2"]},{"1338145208":["hashtag1","hashtag2"]},{"1338145222":["hashtag1","hashtag2"]},{"1338145216":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338145210, 1338145218, 1338145205, 1338145208, 1338145222, 1338145216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19374394416809 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:42:02.927188
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/21/image_07022025_15_22_00_10673.jpg', 0), ('/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_49_9672.jpg', 0), ('/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_39_9692.jpg', 0), ('/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_29_10687.jpg', 0), ('/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_19_9653.jpg', 0), ('/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_09_9679.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/21/image_07022025_15_22_00_10673.jpg', '/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_49_9672.jpg', '/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_39_9692.jpg', '/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_29_10687.jpg', '/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_19_9653.jpg', '/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_09_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/21/image_07022025_15_22_00_10673.jpg
/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_49_9672.jpg
/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_39_9692.jpg
/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_29_10687.jpg
/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_19_9653.jpg
/home/nano/Desktop/images/07022025/15/21/image_07022025_15_21_09_9679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338145251","1338145260","1338145254","1338145247","1338145279","1338145270"],"photo_ids_order":["1338145247","1338145251","1338145254","1338145260","1338145270","1338145279"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ebaafa3bacfa91af8cc958b22e84bc6c.jpg","text":"TemporaryFile(/tmp/multipartBody1364591778993664785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788984827,"filename":"image_07022025_15_21_49_9672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/466410898f147f034ff7340f1c4861d2.jpg","text":"TemporaryFile(/tmp/multipartBody2012519128333298638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788984827,"filename":"image_07022025_15_21_29_10687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b949c9438b8c68d5272f44caf066f457.jpg","text":"TemporaryFile(/tmp/multipartBody8166825839826821321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788984827,"filename":"image_07022025_15_21_39_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff9b8308c46c782442ff640119067c29.jpg","text":"TemporaryFile(/tmp/multipartBody6024913961221273031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788984827,"filename":"image_07022025_15_22_00_10673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/29f8f3c04bf94c960974a9a241c4af22.jpg","text":"TemporaryFile(/tmp/multipartBody934000510252794067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788984827,"filename":"image_07022025_15_21_09_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cda224943a76a5566568230e22248e60.jpg","text":"TemporaryFile(/tmp/multipartBody85385320766217678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739788984827,"filename":"image_07022025_15_21_19_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338145254","file1":"1338145251","file0":"1338145247","file4":"1338145270","file5":"1338145279","file3":"1338145260"},"map_files_photo_id_array":[{"photo_id":"1338145279","filename":"file5"},{"photo_id":"1338145254","filename":"file2"},{"photo_id":"1338145270","filename":"file4"},{"photo_id":"1338145251","filename":"file1"},{"photo_id":"1338145247","filename":"file0"},{"photo_id":"1338145260","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338145251":["hashtag1","hashtag2"]},{"1338145260":["hashtag1","hashtag2"]},{"1338145254":["hashtag1","hashtag2"]},{"1338145247":["hashtag1","hashtag2"]},{"1338145279":["hashtag1","hashtag2"]},{"1338145270":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338145251, 1338145260, 1338145254, 1338145247, 1338145279, 1338145270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.028801441192627 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:43:03.238913
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_59_10730.jpg', 0), ('/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_49_9692.jpg', 0), ('/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_39_9658.jpg', 0), ('/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_29_10703.jpg', 0), ('/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_19_9725.jpg', 0), ('/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_09_9694.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_59_10730.jpg', '/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_49_9692.jpg', '/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_39_9658.jpg', '/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_29_10703.jpg', '/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_19_9725.jpg', '/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_09_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_59_10730.jpg
/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_49_9692.jpg
/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_39_9658.jpg
/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_29_10703.jpg
/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_19_9725.jpg
/home/nano/Desktop/images/07022025/15/20/image_07022025_15_20_09_9694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338145314","1338145317","1338145302","1338145305","1338145310","1338145307"],"photo_ids_order":["1338145302","1338145305","1338145307","1338145310","1338145314","1338145317"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8782bdecd9aaae5f4423bf88cf005759.jpg","text":"TemporaryFile(/tmp/multipartBody1534825465855881986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789045075,"filename":"image_07022025_15_20_19_9725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/348d66d7ee9f689b3830ac7a84233aba.jpg","text":"TemporaryFile(/tmp/multipartBody2250425012543452165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789045075,"filename":"image_07022025_15_20_09_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e5de524a138a15535cbfd09b8c1f691.jpg","text":"TemporaryFile(/tmp/multipartBody2395762557759122438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789045075,"filename":"image_07022025_15_20_59_10730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ae082ec585efe8888164b94f48e9d9a.jpg","text":"TemporaryFile(/tmp/multipartBody7401208706585973639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789045075,"filename":"image_07022025_15_20_49_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe8fa2d2b9d29de771a61f6e702d3c58.jpg","text":"TemporaryFile(/tmp/multipartBody7267311279255627673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789045075,"filename":"image_07022025_15_20_29_10703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/074802e7d2a57dfe17a6ca9c5cb0ff8d.jpg","text":"TemporaryFile(/tmp/multipartBody2518483996806757099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789045075,"filename":"image_07022025_15_20_39_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338145307","file1":"1338145305","file0":"1338145302","file4":"1338145314","file5":"1338145317","file3":"1338145310"},"map_files_photo_id_array":[{"photo_id":"1338145317","filename":"file5"},{"photo_id":"1338145307","filename":"file2"},{"photo_id":"1338145314","filename":"file4"},{"photo_id":"1338145305","filename":"file1"},{"photo_id":"1338145302","filename":"file0"},{"photo_id":"1338145310","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338145314":["hashtag1","hashtag2"]},{"1338145317":["hashtag1","hashtag2"]},{"1338145302":["hashtag1","hashtag2"]},{"1338145305":["hashtag1","hashtag2"]},{"1338145310":["hashtag1","hashtag2"]},{"1338145307":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338145314, 1338145317, 1338145302, 1338145305, 1338145310, 1338145307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.440505504608154 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:44:03.514368
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_59_9679.jpg', 0), ('/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_50_10758.jpg', 0), ('/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_39_9689.jpg', 0), ('/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_29_9646.jpg', 0), ('/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_19_10770.jpg', 0), ('/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_09_9663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_59_9679.jpg', '/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_50_10758.jpg', '/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_39_9689.jpg', '/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_29_9646.jpg', '/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_19_10770.jpg', '/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_09_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_59_9679.jpg
/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_50_10758.jpg
/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_39_9689.jpg
/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_29_9646.jpg
/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_19_10770.jpg
/home/nano/Desktop/images/07022025/15/19/image_07022025_15_19_09_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338145339","1338145347","1338145355","1338145331","1338145363","1338145360"],"photo_ids_order":["1338145331","1338145339","1338145347","1338145355","1338145360","1338145363"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9cf2614969aab1318bccaf6d0150988e.jpg","text":"TemporaryFile(/tmp/multipartBody5905641168458202512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789105345,"filename":"image_07022025_15_19_50_10758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8414caf1bc7ada42bb0328c7a964e912.jpg","text":"TemporaryFile(/tmp/multipartBody8731414914825488530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789105345,"filename":"image_07022025_15_19_39_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0666553866076710270a897b2da0a7e8.jpg","text":"TemporaryFile(/tmp/multipartBody1499620906281067681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789105345,"filename":"image_07022025_15_19_29_9646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/04ef915a2bbfd894f427161311da86d8.jpg","text":"TemporaryFile(/tmp/multipartBody7263246812719761371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789105345,"filename":"image_07022025_15_19_59_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fde19096e3fd5da5c6c897de904916e8.jpg","text":"TemporaryFile(/tmp/multipartBody3025638188733286709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789105345,"filename":"image_07022025_15_19_09_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c028cfc19aec15179b716158df00c67c.jpg","text":"TemporaryFile(/tmp/multipartBody7575873282596427277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789105345,"filename":"image_07022025_15_19_19_10770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338145347","file1":"1338145339","file0":"1338145331","file4":"1338145360","file5":"1338145363","file3":"1338145355"},"map_files_photo_id_array":[{"photo_id":"1338145363","filename":"file5"},{"photo_id":"1338145347","filename":"file2"},{"photo_id":"1338145360","filename":"file4"},{"photo_id":"1338145339","filename":"file1"},{"photo_id":"1338145331","filename":"file0"},{"photo_id":"1338145355","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338145339":["hashtag1","hashtag2"]},{"1338145347":["hashtag1","hashtag2"]},{"1338145355":["hashtag1","hashtag2"]},{"1338145331":["hashtag1","hashtag2"]},{"1338145363":["hashtag1","hashtag2"]},{"1338145360":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338145339, 1338145347, 1338145355, 1338145331, 1338145363, 1338145360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.5899019241333 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:45:02.427453
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_59_9656.jpg', 0), ('/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_49_10665.jpg', 0), ('/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_39_9690.jpg', 0), ('/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_29_9674.jpg', 0), ('/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_19_10691.jpg', 0), ('/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_09_9679.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_59_9656.jpg', '/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_49_10665.jpg', '/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_39_9690.jpg', '/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_29_9674.jpg', '/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_19_10691.jpg', '/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_09_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_59_9656.jpg
/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_49_10665.jpg
/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_39_9690.jpg
/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_29_9674.jpg
/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_19_10691.jpg
/home/nano/Desktop/images/07022025/15/18/image_07022025_15_18_09_9679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338145377","1338145379","1338145382","1338145384","1338145387","1338145375"],"photo_ids_order":["1338145375","1338145377","1338145379","1338145382","1338145384","1338145387"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/524d5cfbbaf94232676be10a28a9ab63.jpg","text":"TemporaryFile(/tmp/multipartBody44233440393272369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789164266,"filename":"image_07022025_15_18_49_10665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/816cbdfce4da8ba5fed3e34d44bdda2d.jpg","text":"TemporaryFile(/tmp/multipartBody8281201909138552444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789164266,"filename":"image_07022025_15_18_39_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5352d693faff587e340be7ab77a7e69d.jpg","text":"TemporaryFile(/tmp/multipartBody1435916398724907232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789164266,"filename":"image_07022025_15_18_29_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c2cc7821ae03fa15b5f9e5d1a4edc37.jpg","text":"TemporaryFile(/tmp/multipartBody2480399852593054974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789164266,"filename":"image_07022025_15_18_19_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1caf6fa93ce679f8ea2f2bbac75a26b1.jpg","text":"TemporaryFile(/tmp/multipartBody8857743724369729417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789164266,"filename":"image_07022025_15_18_09_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9e48f7b9dddab188de501b8de27a49b.jpg","text":"TemporaryFile(/tmp/multipartBody1286855232554041117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789164266,"filename":"image_07022025_15_18_59_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338145379","file1":"1338145377","file0":"1338145375","file4":"1338145384","file5":"1338145387","file3":"1338145382"},"map_files_photo_id_array":[{"photo_id":"1338145387","filename":"file5"},{"photo_id":"1338145379","filename":"file2"},{"photo_id":"1338145384","filename":"file4"},{"photo_id":"1338145377","filename":"file1"},{"photo_id":"1338145375","filename":"file0"},{"photo_id":"1338145382","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338145377":["hashtag1","hashtag2"]},{"1338145379":["hashtag1","hashtag2"]},{"1338145382":["hashtag1","hashtag2"]},{"1338145384":["hashtag1","hashtag2"]},{"1338145387":["hashtag1","hashtag2"]},{"1338145375":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338145377, 1338145379, 1338145382, 1338145384, 1338145387, 1338145375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1694393157959 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:46:02.524726
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_59_9678.jpg', 0), ('/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_49_9720.jpg', 0), ('/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_40_10671.jpg', 0), ('/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_29_9673.jpg', 0), ('/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_19_9699.jpg', 0), ('/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_10_10747.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_59_9678.jpg', '/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_49_9720.jpg', '/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_40_10671.jpg', '/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_29_9673.jpg', '/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_19_9699.jpg', '/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_10_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_59_9678.jpg
/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_49_9720.jpg
/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_40_10671.jpg
/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_29_9673.jpg
/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_19_9699.jpg
/home/nano/Desktop/images/07022025/15/17/image_07022025_15_17_10_10747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338145695","1338145677","1338145697","1338145691","1338145703","1338145684"],"photo_ids_order":["1338145677","1338145684","1338145691","1338145695","1338145697","1338145703"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/917cfcd45501e352e25bf4c3cda7e952.jpg","text":"TemporaryFile(/tmp/multipartBody5999424606656516225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789224249,"filename":"image_07022025_15_17_29_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77cb5b839156008c929b121b110e83ec.jpg","text":"TemporaryFile(/tmp/multipartBody6797833425052696087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789224249,"filename":"image_07022025_15_17_59_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4b8e745724aa4d3b304a11fb8acf88a.jpg","text":"TemporaryFile(/tmp/multipartBody3405745206937884712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789224249,"filename":"image_07022025_15_17_19_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f3fba898cc30c21413916f2154a0c89.jpg","text":"TemporaryFile(/tmp/multipartBody1558976698564917714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789224249,"filename":"image_07022025_15_17_40_10671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/286a22c9a57adf8558d497e09c61d9f6.jpg","text":"TemporaryFile(/tmp/multipartBody312480063511422183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789224249,"filename":"image_07022025_15_17_10_10747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b9ddc20845e5d8096fc23a38583de256.jpg","text":"TemporaryFile(/tmp/multipartBody9192172339466236394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789224249,"filename":"image_07022025_15_17_49_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338145691","file1":"1338145684","file0":"1338145677","file4":"1338145697","file5":"1338145703","file3":"1338145695"},"map_files_photo_id_array":[{"photo_id":"1338145703","filename":"file5"},{"photo_id":"1338145691","filename":"file2"},{"photo_id":"1338145697","filename":"file4"},{"photo_id":"1338145684","filename":"file1"},{"photo_id":"1338145677","filename":"file0"},{"photo_id":"1338145695","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338145695":["hashtag1","hashtag2"]},{"1338145677":["hashtag1","hashtag2"]},{"1338145697":["hashtag1","hashtag2"]},{"1338145691":["hashtag1","hashtag2"]},{"1338145703":["hashtag1","hashtag2"]},{"1338145684":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338145695, 1338145677, 1338145697, 1338145691, 1338145703, 1338145684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31913757324219 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:47:02.635827
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_59_9735.jpg', 0), ('/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_49_9722.jpg', 0), ('/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_39_9721.jpg', 0), ('/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_30_10729.jpg', 0), ('/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_19_9756.jpg', 0), ('/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_09_9716.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_59_9735.jpg', '/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_49_9722.jpg', '/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_39_9721.jpg', '/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_30_10729.jpg', '/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_19_9756.jpg', '/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_09_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_59_9735.jpg
/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_49_9722.jpg
/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_39_9721.jpg
/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_30_10729.jpg
/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_19_9756.jpg
/home/nano/Desktop/images/07022025/15/16/image_07022025_15_16_09_9716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338145739","1338145748","1338145733","1338145736","1338145741","1338145744"],"photo_ids_order":["1338145733","1338145736","1338145739","1338145741","1338145744","1338145748"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f73dd37434c4e92f105e8b6cc4abcab7.jpg","text":"TemporaryFile(/tmp/multipartBody6863749648015179634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789285067,"filename":"image_07022025_15_16_39_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07ef4cfdbbdb30abfb6e040b459b3764.jpg","text":"TemporaryFile(/tmp/multipartBody6185424079080762678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789285067,"filename":"image_07022025_15_16_09_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f92b41d1fd466179e7c678ee870ac05.jpg","text":"TemporaryFile(/tmp/multipartBody8851443877860659294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789285067,"filename":"image_07022025_15_16_59_9735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a639a1aed33355abe1814f1d534e317c.jpg","text":"TemporaryFile(/tmp/multipartBody4312318775894247761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789285067,"filename":"image_07022025_15_16_49_9722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97a46cb81bd88692209c425fa359ffce.jpg","text":"TemporaryFile(/tmp/multipartBody4413509964307027583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789285067,"filename":"image_07022025_15_16_30_10729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9098c777cdc2b8ee031281618bb6bc49.jpg","text":"TemporaryFile(/tmp/multipartBody2863766294748422650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789285067,"filename":"image_07022025_15_16_19_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338145739","file1":"1338145736","file0":"1338145733","file4":"1338145744","file5":"1338145748","file3":"1338145741"},"map_files_photo_id_array":[{"photo_id":"1338145748","filename":"file5"},{"photo_id":"1338145739","filename":"file2"},{"photo_id":"1338145744","filename":"file4"},{"photo_id":"1338145736","filename":"file1"},{"photo_id":"1338145733","filename":"file0"},{"photo_id":"1338145741","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338145739":["hashtag1","hashtag2"]},{"1338145748":["hashtag1","hashtag2"]},{"1338145733":["hashtag1","hashtag2"]},{"1338145736":["hashtag1","hashtag2"]},{"1338145741":["hashtag1","hashtag2"]},{"1338145744":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338145739, 1338145748, 1338145733, 1338145736, 1338145741, 1338145744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.868242263793945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:48:02.741514
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_59_10685.jpg', 0), ('/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_49_9708.jpg', 0), ('/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_39_9723.jpg', 0), ('/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_29_9690.jpg', 0), ('/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_20_10690.jpg', 0), ('/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_09_9711.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_59_10685.jpg', '/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_49_9708.jpg', '/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_39_9723.jpg', '/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_29_9690.jpg', '/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_20_10690.jpg', '/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_09_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_59_10685.jpg
/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_49_9708.jpg
/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_39_9723.jpg
/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_29_9690.jpg
/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_20_10690.jpg
/home/nano/Desktop/images/07022025/15/15/image_07022025_15_15_09_9711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338145770","1338145775","1338145778","1338145772","1338145780","1338145768"],"photo_ids_order":["1338145768","1338145770","1338145772","1338145775","1338145778","1338145780"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64a69e0763232bfc34a225ebfc7f1a76.jpg","text":"TemporaryFile(/tmp/multipartBody6840185964178088752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789344472,"filename":"image_07022025_15_15_49_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f425149d34bd33b280bc1e1422e00477.jpg","text":"TemporaryFile(/tmp/multipartBody1592902037117647253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789344472,"filename":"image_07022025_15_15_29_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26d0e69624fb9543b2b03dbac68ff85d.jpg","text":"TemporaryFile(/tmp/multipartBody6654292784932866005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789344472,"filename":"image_07022025_15_15_20_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c5da19c7e78b07980750df1a3cc49bd.jpg","text":"TemporaryFile(/tmp/multipartBody7998888153173846883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789344472,"filename":"image_07022025_15_15_39_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b2e45770d29c720399c0f49eef9cc3c.jpg","text":"TemporaryFile(/tmp/multipartBody3366050061543711137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789344472,"filename":"image_07022025_15_15_09_9711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c99149c016457ed6e576e8e427388fd7.jpg","text":"TemporaryFile(/tmp/multipartBody7374881011984942441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789344472,"filename":"image_07022025_15_15_59_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338145772","file1":"1338145770","file0":"1338145768","file4":"1338145778","file5":"1338145780","file3":"1338145775"},"map_files_photo_id_array":[{"photo_id":"1338145780","filename":"file5"},{"photo_id":"1338145772","filename":"file2"},{"photo_id":"1338145778","filename":"file4"},{"photo_id":"1338145770","filename":"file1"},{"photo_id":"1338145768","filename":"file0"},{"photo_id":"1338145775","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338145770":["hashtag1","hashtag2"]},{"1338145775":["hashtag1","hashtag2"]},{"1338145778":["hashtag1","hashtag2"]},{"1338145772":["hashtag1","hashtag2"]},{"1338145780":["hashtag1","hashtag2"]},{"1338145768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338145770, 1338145775, 1338145778, 1338145772, 1338145780, 1338145768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19654321670532 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:49:03.275259
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_59_9678.jpg', 0), ('/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_50_10689.jpg', 0), ('/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_39_9665.jpg', 0), ('/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_29_9659.jpg', 0), ('/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_19_10681.jpg', 0), ('/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_09_9708.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_59_9678.jpg', '/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_50_10689.jpg', '/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_39_9665.jpg', '/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_29_9659.jpg', '/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_19_10681.jpg', '/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_09_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_59_9678.jpg
/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_50_10689.jpg
/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_39_9665.jpg
/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_29_9659.jpg
/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_19_10681.jpg
/home/nano/Desktop/images/07022025/15/14/image_07022025_15_14_09_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338145821","1338145824","1338145832","1338145826","1338145835","1338145829"],"photo_ids_order":["1338145821","1338145824","1338145826","1338145829","1338145832","1338145835"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae9f06f30414245a9b5c1852cabcc343.jpg","text":"TemporaryFile(/tmp/multipartBody3439325661414146033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789405450,"filename":"image_07022025_15_14_59_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e2976e9fe8714d46873945a42a6b4152.jpg","text":"TemporaryFile(/tmp/multipartBody5911462935341739279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789405450,"filename":"image_07022025_15_14_50_10689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8066c55af4b2ccede51dd1a3ec325636.jpg","text":"TemporaryFile(/tmp/multipartBody8797158060251876196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789405450,"filename":"image_07022025_15_14_19_10681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c6423986f8e7479e8cde295818c7e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1128316664644310114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789405450,"filename":"image_07022025_15_14_39_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0756ae367698071bf246106698b3fb91.jpg","text":"TemporaryFile(/tmp/multipartBody9185345448253777335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789405450,"filename":"image_07022025_15_14_09_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f20a9df39b266cb49d84bdca57964054.jpg","text":"TemporaryFile(/tmp/multipartBody6843323405890742144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789405450,"filename":"image_07022025_15_14_29_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338145826","file1":"1338145824","file0":"1338145821","file4":"1338145832","file5":"1338145835","file3":"1338145829"},"map_files_photo_id_array":[{"photo_id":"1338145835","filename":"file5"},{"photo_id":"1338145826","filename":"file2"},{"photo_id":"1338145832","filename":"file4"},{"photo_id":"1338145824","filename":"file1"},{"photo_id":"1338145821","filename":"file0"},{"photo_id":"1338145829","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338145821":["hashtag1","hashtag2"]},{"1338145824":["hashtag1","hashtag2"]},{"1338145832":["hashtag1","hashtag2"]},{"1338145826":["hashtag1","hashtag2"]},{"1338145835":["hashtag1","hashtag2"]},{"1338145829":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338145821, 1338145824, 1338145832, 1338145826, 1338145835, 1338145829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3975989818573 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:50:03.028631
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_59_9678.jpg', 0), ('/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_49_10705.jpg', 0), ('/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_39_9660.jpg', 0), ('/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_29_9705.jpg', 0), ('/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_19_10686.jpg', 0), ('/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_09_9697.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_59_9678.jpg', '/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_49_10705.jpg', '/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_39_9660.jpg', '/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_29_9705.jpg', '/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_19_10686.jpg', '/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_09_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_59_9678.jpg
/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_49_10705.jpg
/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_39_9660.jpg
/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_29_9705.jpg
/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_19_10686.jpg
/home/nano/Desktop/images/07022025/15/13/image_07022025_15_13_09_9697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338145878","1338145857","1338145859","1338145873","1338145876","1338145855"],"photo_ids_order":["1338145855","1338145857","1338145859","1338145873","1338145876","1338145878"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1aea017bd5bb2dd22208d37306b8c1bf.jpg","text":"TemporaryFile(/tmp/multipartBody2625751948637119796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789465094,"filename":"image_07022025_15_13_09_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/239e41de1a3a43ed8c0893fe5c9c5f1b.jpg","text":"TemporaryFile(/tmp/multipartBody3492275821069286591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789465094,"filename":"image_07022025_15_13_49_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e8e2ec76c664a847c72529575285f50.jpg","text":"TemporaryFile(/tmp/multipartBody54162539985806489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789465094,"filename":"image_07022025_15_13_39_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d2e2bac777779b7ede10833c6aa81ce.jpg","text":"TemporaryFile(/tmp/multipartBody7854083882636347340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789465094,"filename":"image_07022025_15_13_29_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/475c0dc796374bbf15d0c7026e574f14.jpg","text":"TemporaryFile(/tmp/multipartBody6564064461201270422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789465094,"filename":"image_07022025_15_13_19_10686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14c8df9fe82395ed05abdfbcdbf6decd.jpg","text":"TemporaryFile(/tmp/multipartBody8669238834996507411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789465094,"filename":"image_07022025_15_13_59_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338145859","file1":"1338145857","file0":"1338145855","file4":"1338145876","file5":"1338145878","file3":"1338145873"},"map_files_photo_id_array":[{"photo_id":"1338145878","filename":"file5"},{"photo_id":"1338145859","filename":"file2"},{"photo_id":"1338145876","filename":"file4"},{"photo_id":"1338145857","filename":"file1"},{"photo_id":"1338145855","filename":"file0"},{"photo_id":"1338145873","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338145878":["hashtag1","hashtag2"]},{"1338145857":["hashtag1","hashtag2"]},{"1338145859":["hashtag1","hashtag2"]},{"1338145873":["hashtag1","hashtag2"]},{"1338145876":["hashtag1","hashtag2"]},{"1338145855":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338145878, 1338145857, 1338145859, 1338145873, 1338145876, 1338145855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05361533164978 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:51:03.068878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_59_9667.jpg', 0), ('/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_49_10679.jpg', 0), ('/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_39_9662.jpg', 0), ('/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_29_9643.jpg', 0), ('/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_19_10687.jpg', 0), ('/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_09_9661.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_59_9667.jpg', '/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_49_10679.jpg', '/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_39_9662.jpg', '/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_29_9643.jpg', '/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_19_10687.jpg', '/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_09_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_59_9667.jpg
/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_49_10679.jpg
/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_39_9662.jpg
/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_29_9643.jpg
/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_19_10687.jpg
/home/nano/Desktop/images/07022025/15/12/image_07022025_15_12_09_9661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338146223","1338146217","1338146220","1338146214","1338146102","1338146194"],"photo_ids_order":["1338146102","1338146194","1338146214","1338146217","1338146220","1338146223"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb68705287b6d2ee2280f616ca87c926.jpg","text":"TemporaryFile(/tmp/multipartBody5468997492187326312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789524652,"filename":"image_07022025_15_12_09_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b1d53769c81470604e3f8f8acd3a2dd.jpg","text":"TemporaryFile(/tmp/multipartBody3869653501713192308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789524652,"filename":"image_07022025_15_12_29_9643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86f2c916b763de09bf8fa95741ce2bfd.jpg","text":"TemporaryFile(/tmp/multipartBody5647133102785212399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789524652,"filename":"image_07022025_15_12_19_10687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46893b4a36a5095aedfba0e8fb12bd8a.jpg","text":"TemporaryFile(/tmp/multipartBody360199842807980929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789524652,"filename":"image_07022025_15_12_39_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54e86ad3b0aff4a577e60973a668b0c5.jpg","text":"TemporaryFile(/tmp/multipartBody7594573452536601056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789524652,"filename":"image_07022025_15_12_59_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf59bfa14c286f24b9a1260a1a6808c9.jpg","text":"TemporaryFile(/tmp/multipartBody9067075525384654341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789524652,"filename":"image_07022025_15_12_49_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338146214","file1":"1338146194","file0":"1338146102","file4":"1338146220","file5":"1338146223","file3":"1338146217"},"map_files_photo_id_array":[{"photo_id":"1338146223","filename":"file5"},{"photo_id":"1338146214","filename":"file2"},{"photo_id":"1338146220","filename":"file4"},{"photo_id":"1338146194","filename":"file1"},{"photo_id":"1338146102","filename":"file0"},{"photo_id":"1338146217","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338146223":["hashtag1","hashtag2"]},{"1338146217":["hashtag1","hashtag2"]},{"1338146220":["hashtag1","hashtag2"]},{"1338146214":["hashtag1","hashtag2"]},{"1338146102":["hashtag1","hashtag2"]},{"1338146194":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338146223, 1338146217, 1338146220, 1338146214, 1338146102, 1338146194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.838903665542603 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:52:02.282736
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_59_9664.jpg', 0), ('/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_49_10670.jpg', 0), ('/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_39_9656.jpg', 0), ('/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_29_9683.jpg', 0), ('/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_19_10664.jpg', 0), ('/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_09_9666.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_59_9664.jpg', '/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_49_10670.jpg', '/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_39_9656.jpg', '/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_29_9683.jpg', '/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_19_10664.jpg', '/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_09_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_59_9664.jpg
/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_49_10670.jpg
/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_39_9656.jpg
/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_29_9683.jpg
/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_19_10664.jpg
/home/nano/Desktop/images/07022025/15/11/image_07022025_15_11_09_9666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338146283","1338146279","1338146276","1338146286","1338146289","1338146274"],"photo_ids_order":["1338146274","1338146276","1338146279","1338146283","1338146286","1338146289"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/450f4a4d97acfb998d2a3cff33f5ff25.jpg","text":"TemporaryFile(/tmp/multipartBody8839219768899937813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789583872,"filename":"image_07022025_15_11_29_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c33fd6b59850cb646cdd0b5ea1ec937.jpg","text":"TemporaryFile(/tmp/multipartBody4426681272615105223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789583872,"filename":"image_07022025_15_11_39_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/880f9ccfff1d5a55a9cf50a5aadd0709.jpg","text":"TemporaryFile(/tmp/multipartBody1778742642061942926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789583872,"filename":"image_07022025_15_11_49_10670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/519c9abaf4ef6c79a7bc298a79eba6f3.jpg","text":"TemporaryFile(/tmp/multipartBody1139240629489673912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789583872,"filename":"image_07022025_15_11_19_10664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b620eac7e1ba3983c42f7056d0824aa3.jpg","text":"TemporaryFile(/tmp/multipartBody653773611810358523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789583872,"filename":"image_07022025_15_11_09_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d48c83d8904adc6d85786f20aaf073b4.jpg","text":"TemporaryFile(/tmp/multipartBody1656121562473849559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789583872,"filename":"image_07022025_15_11_59_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338146279","file1":"1338146276","file0":"1338146274","file4":"1338146286","file5":"1338146289","file3":"1338146283"},"map_files_photo_id_array":[{"photo_id":"1338146289","filename":"file5"},{"photo_id":"1338146279","filename":"file2"},{"photo_id":"1338146286","filename":"file4"},{"photo_id":"1338146276","filename":"file1"},{"photo_id":"1338146274","filename":"file0"},{"photo_id":"1338146283","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338146283":["hashtag1","hashtag2"]},{"1338146279":["hashtag1","hashtag2"]},{"1338146276":["hashtag1","hashtag2"]},{"1338146286":["hashtag1","hashtag2"]},{"1338146289":["hashtag1","hashtag2"]},{"1338146274":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338146283, 1338146279, 1338146276, 1338146286, 1338146289, 1338146274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.213256359100342 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:53:02.596299
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_59_9656.jpg', 0), ('/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_49_10671.jpg', 0), ('/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_39_9646.jpg', 0), ('/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_29_9659.jpg', 0), ('/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_19_10686.jpg', 0), ('/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_09_9668.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_59_9656.jpg', '/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_49_10671.jpg', '/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_39_9646.jpg', '/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_29_9659.jpg', '/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_19_10686.jpg', '/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_09_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_59_9656.jpg
/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_49_10671.jpg
/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_39_9646.jpg
/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_29_9659.jpg
/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_19_10686.jpg
/home/nano/Desktop/images/07022025/15/10/image_07022025_15_10_09_9668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338146337","1338146331","1338146328","1338146333","1338146344","1338146352"],"photo_ids_order":["1338146328","1338146331","1338146333","1338146337","1338146344","1338146352"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff6127233421e9e490dc369a1cc379b5.jpg","text":"TemporaryFile(/tmp/multipartBody5049661726054046338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789644946,"filename":"image_07022025_15_10_29_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/42f8a26bb654eeb1a205b1dd91899e57.jpg","text":"TemporaryFile(/tmp/multipartBody5651071872180240184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789644946,"filename":"image_07022025_15_10_49_10671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/003c5757558ef343649a12b172168e4e.jpg","text":"TemporaryFile(/tmp/multipartBody8709382688073971379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789644946,"filename":"image_07022025_15_10_59_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/affb467922537d2de760024de6b08dc2.jpg","text":"TemporaryFile(/tmp/multipartBody8793652093550485210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789644946,"filename":"image_07022025_15_10_39_9646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a72a9988df4753cbf1ac851a4e7a38b7.jpg","text":"TemporaryFile(/tmp/multipartBody595145567760534704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789644946,"filename":"image_07022025_15_10_19_10686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4efe406626349ca357e105d2a30f050.jpg","text":"TemporaryFile(/tmp/multipartBody3944195078026348809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789644946,"filename":"image_07022025_15_10_09_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338146333","file1":"1338146331","file0":"1338146328","file4":"1338146344","file5":"1338146352","file3":"1338146337"},"map_files_photo_id_array":[{"photo_id":"1338146352","filename":"file5"},{"photo_id":"1338146333","filename":"file2"},{"photo_id":"1338146344","filename":"file4"},{"photo_id":"1338146331","filename":"file1"},{"photo_id":"1338146328","filename":"file0"},{"photo_id":"1338146337","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338146337":["hashtag1","hashtag2"]},{"1338146331":["hashtag1","hashtag2"]},{"1338146328":["hashtag1","hashtag2"]},{"1338146333":["hashtag1","hashtag2"]},{"1338146344":["hashtag1","hashtag2"]},{"1338146352":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338146337, 1338146331, 1338146328, 1338146333, 1338146344, 1338146352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18302273750305 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:54:02.879904
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_59_9652.jpg', 0), ('/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_49_10661.jpg', 0), ('/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_39_9650.jpg', 0), ('/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_29_9657.jpg', 0), ('/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_19_10684.jpg', 0), ('/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_09_9664.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_59_9652.jpg', '/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_49_10661.jpg', '/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_39_9650.jpg', '/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_29_9657.jpg', '/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_19_10684.jpg', '/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_09_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_59_9652.jpg
/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_49_10661.jpg
/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_39_9650.jpg
/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_29_9657.jpg
/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_19_10684.jpg
/home/nano/Desktop/images/07022025/15/09/image_07022025_15_09_09_9664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338146382","1338146400","1338146393","1338146395","1338146385","1338146388"],"photo_ids_order":["1338146382","1338146385","1338146388","1338146393","1338146395","1338146400"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07b6a4ca0b15c34c295f751a6a362ee4.jpg","text":"TemporaryFile(/tmp/multipartBody393409075469447846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789705313,"filename":"image_07022025_15_09_59_9652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1974634bbe3ed2143c28ccdd895a3bd0.jpg","text":"TemporaryFile(/tmp/multipartBody1882768519111725410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789705313,"filename":"image_07022025_15_09_09_9664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3cba24ffa775443181cf7d74e5e4af20.jpg","text":"TemporaryFile(/tmp/multipartBody5791826888349555772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789705313,"filename":"image_07022025_15_09_29_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f59283790caa1a04ca6f8cfe453997e1.jpg","text":"TemporaryFile(/tmp/multipartBody4792447472601955874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789705313,"filename":"image_07022025_15_09_19_10684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d687c19119fe9e0d581ae70fe73a8e5.jpg","text":"TemporaryFile(/tmp/multipartBody110714152659784032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789705313,"filename":"image_07022025_15_09_49_10661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/495692f58348403dc3f8d42c14c32e9a.jpg","text":"TemporaryFile(/tmp/multipartBody1735433295808800561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789705313,"filename":"image_07022025_15_09_39_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338146388","file1":"1338146385","file0":"1338146382","file4":"1338146395","file5":"1338146400","file3":"1338146393"},"map_files_photo_id_array":[{"photo_id":"1338146400","filename":"file5"},{"photo_id":"1338146388","filename":"file2"},{"photo_id":"1338146395","filename":"file4"},{"photo_id":"1338146385","filename":"file1"},{"photo_id":"1338146382","filename":"file0"},{"photo_id":"1338146393","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338146382":["hashtag1","hashtag2"]},{"1338146400":["hashtag1","hashtag2"]},{"1338146393":["hashtag1","hashtag2"]},{"1338146395":["hashtag1","hashtag2"]},{"1338146385":["hashtag1","hashtag2"]},{"1338146388":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338146382, 1338146400, 1338146393, 1338146395, 1338146385, 1338146388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.872469902038574 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:55:02.899476
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_59_9658.jpg', 0), ('/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_49_10675.jpg', 0), ('/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_39_9658.jpg', 0), ('/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_29_9654.jpg', 0), ('/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_19_10658.jpg', 0), ('/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_09_9668.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_59_9658.jpg', '/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_49_10675.jpg', '/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_39_9658.jpg', '/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_29_9654.jpg', '/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_19_10658.jpg', '/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_09_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_59_9658.jpg
/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_49_10675.jpg
/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_39_9658.jpg
/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_29_9654.jpg
/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_19_10658.jpg
/home/nano/Desktop/images/07022025/15/08/image_07022025_15_08_09_9668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338146436","1338146445","1338146438","1338146453","1338146441","1338146449"],"photo_ids_order":["1338146436","1338146438","1338146441","1338146445","1338146449","1338146453"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a72f5afd5c1eecbc5e334063c54e36e.jpg","text":"TemporaryFile(/tmp/multipartBody6645518642427999605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789764607,"filename":"image_07022025_15_08_59_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28d4b081972fc8bafbe4feff0db75d47.jpg","text":"TemporaryFile(/tmp/multipartBody5495042152107501637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789764607,"filename":"image_07022025_15_08_29_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7635549cc2bb1a256164670aa359f8e.jpg","text":"TemporaryFile(/tmp/multipartBody8953796376319977388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789764607,"filename":"image_07022025_15_08_49_10675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed078db6e038e4c9f48330fe29d98161.jpg","text":"TemporaryFile(/tmp/multipartBody1166710106598167935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789764607,"filename":"image_07022025_15_08_09_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f51503934d1c5ac32a038895f9de331.jpg","text":"TemporaryFile(/tmp/multipartBody920595986325160272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789764607,"filename":"image_07022025_15_08_39_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fcecfd48512a8908b3185c01ffcadaf2.jpg","text":"TemporaryFile(/tmp/multipartBody2360142295317357738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789764607,"filename":"image_07022025_15_08_19_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338146441","file1":"1338146438","file0":"1338146436","file4":"1338146449","file5":"1338146453","file3":"1338146445"},"map_files_photo_id_array":[{"photo_id":"1338146453","filename":"file5"},{"photo_id":"1338146441","filename":"file2"},{"photo_id":"1338146449","filename":"file4"},{"photo_id":"1338146438","filename":"file1"},{"photo_id":"1338146436","filename":"file0"},{"photo_id":"1338146445","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338146436":["hashtag1","hashtag2"]},{"1338146445":["hashtag1","hashtag2"]},{"1338146438":["hashtag1","hashtag2"]},{"1338146453":["hashtag1","hashtag2"]},{"1338146441":["hashtag1","hashtag2"]},{"1338146449":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338146436, 1338146445, 1338146438, 1338146453, 1338146441, 1338146449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.371095418930054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:56:03.005538
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_59_9648.jpg', 0), ('/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_49_10679.jpg', 0), ('/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_39_9665.jpg', 0), ('/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_29_9663.jpg', 0), ('/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_19_10666.jpg', 0), ('/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_09_9649.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_59_9648.jpg', '/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_49_10679.jpg', '/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_39_9665.jpg', '/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_29_9663.jpg', '/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_19_10666.jpg', '/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_09_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_59_9648.jpg
/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_49_10679.jpg
/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_39_9665.jpg
/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_29_9663.jpg
/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_19_10666.jpg
/home/nano/Desktop/images/07022025/15/07/image_07022025_15_07_09_9649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338146700","1338146698","1338146692","1338146695","1338146689","1338146704"],"photo_ids_order":["1338146689","1338146692","1338146695","1338146698","1338146700","1338146704"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3cbdf67437451f81b5d84ecb8922da2c.jpg","text":"TemporaryFile(/tmp/multipartBody154581333254265726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789826445,"filename":"image_07022025_15_07_19_10666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b23eee1f7c6a38434d71aa45ec728bc5.jpg","text":"TemporaryFile(/tmp/multipartBody3411335561944367400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789826445,"filename":"image_07022025_15_07_29_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a4da22b060f28de3a9c675a14bd3340.jpg","text":"TemporaryFile(/tmp/multipartBody8511796549617143068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789826445,"filename":"image_07022025_15_07_49_10679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e5738e1442a073cc4570893af80345e7.jpg","text":"TemporaryFile(/tmp/multipartBody5439899762607010201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789826445,"filename":"image_07022025_15_07_39_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/290eb2dcdb4f8233954f34b6b11093cb.jpg","text":"TemporaryFile(/tmp/multipartBody5844143056890034407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789826445,"filename":"image_07022025_15_07_59_9648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6ded3e879b1f13477eb7691da6919eb.jpg","text":"TemporaryFile(/tmp/multipartBody1683906737220718214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789826445,"filename":"image_07022025_15_07_09_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338146695","file1":"1338146692","file0":"1338146689","file4":"1338146700","file5":"1338146704","file3":"1338146698"},"map_files_photo_id_array":[{"photo_id":"1338146704","filename":"file5"},{"photo_id":"1338146695","filename":"file2"},{"photo_id":"1338146700","filename":"file4"},{"photo_id":"1338146692","filename":"file1"},{"photo_id":"1338146689","filename":"file0"},{"photo_id":"1338146698","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338146700":["hashtag1","hashtag2"]},{"1338146698":["hashtag1","hashtag2"]},{"1338146692":["hashtag1","hashtag2"]},{"1338146695":["hashtag1","hashtag2"]},{"1338146689":["hashtag1","hashtag2"]},{"1338146704":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338146700, 1338146698, 1338146692, 1338146695, 1338146689, 1338146704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88260507583618 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:57:03.282253
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_59_9648.jpg', 0), ('/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_49_10667.jpg', 0), ('/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_39_9666.jpg', 0), ('/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_29_9662.jpg', 0), ('/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_19_10659.jpg', 0), ('/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_09_9710.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_59_9648.jpg', '/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_49_10667.jpg', '/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_39_9666.jpg', '/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_29_9662.jpg', '/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_19_10659.jpg', '/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_09_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_59_9648.jpg
/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_49_10667.jpg
/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_39_9666.jpg
/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_29_9662.jpg
/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_19_10659.jpg
/home/nano/Desktop/images/07022025/15/06/image_07022025_15_06_09_9710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338146825","1338146828","1338146785","1338146749","1338146760","1338146757"],"photo_ids_order":["1338146749","1338146757","1338146760","1338146785","1338146825","1338146828"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f39818de35e5778f3103947785b94a85.jpg","text":"TemporaryFile(/tmp/multipartBody5069514627591776483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789885195,"filename":"image_07022025_15_06_19_10659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c18711a5e5f70ed5a8b9b15b5ff3ce5c.jpg","text":"TemporaryFile(/tmp/multipartBody7237766817926165773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789885195,"filename":"image_07022025_15_06_09_9710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86f72cc30b956c650ca23fd7e8254765.jpg","text":"TemporaryFile(/tmp/multipartBody5647888481489635263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789885195,"filename":"image_07022025_15_06_29_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e5ee50cd533998ab65a2e306430b062.jpg","text":"TemporaryFile(/tmp/multipartBody6734349954299304355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789885195,"filename":"image_07022025_15_06_59_9648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ade07c307b3340137ef98b31801903fd.jpg","text":"TemporaryFile(/tmp/multipartBody6794289483593890898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789885195,"filename":"image_07022025_15_06_39_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ced6902e8c51aa8ffbcb3e8c2ce4c64d.jpg","text":"TemporaryFile(/tmp/multipartBody2327255100358080892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789885195,"filename":"image_07022025_15_06_49_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338146760","file1":"1338146757","file0":"1338146749","file4":"1338146825","file5":"1338146828","file3":"1338146785"},"map_files_photo_id_array":[{"photo_id":"1338146828","filename":"file5"},{"photo_id":"1338146760","filename":"file2"},{"photo_id":"1338146825","filename":"file4"},{"photo_id":"1338146757","filename":"file1"},{"photo_id":"1338146749","filename":"file0"},{"photo_id":"1338146785","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338146825":["hashtag1","hashtag2"]},{"1338146828":["hashtag1","hashtag2"]},{"1338146785":["hashtag1","hashtag2"]},{"1338146749":["hashtag1","hashtag2"]},{"1338146760":["hashtag1","hashtag2"]},{"1338146757":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338146825, 1338146828, 1338146785, 1338146749, 1338146760, 1338146757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.780622482299805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:58:03.207638
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_59_9662.jpg', 0), ('/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_49_10646.jpg', 0), ('/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_39_9679.jpg', 0), ('/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_29_9680.jpg', 0), ('/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_19_10686.jpg', 0), ('/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_09_9725.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_59_9662.jpg', '/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_49_10646.jpg', '/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_39_9679.jpg', '/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_29_9680.jpg', '/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_19_10686.jpg', '/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_09_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_59_9662.jpg
/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_49_10646.jpg
/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_39_9679.jpg
/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_29_9680.jpg
/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_19_10686.jpg
/home/nano/Desktop/images/07022025/15/05/image_07022025_15_05_09_9725.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338146943","1338146937","1338146946","1338146931","1338146925","1338146945"],"photo_ids_order":["1338146925","1338146931","1338146937","1338146943","1338146945","1338146946"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2fa2d9bd9e1555c1c84d907b0a7bcf7.jpg","text":"TemporaryFile(/tmp/multipartBody3396843417044650852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789944966,"filename":"image_07022025_15_05_29_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6af9a574a3fb6e15fa5b8a3c9b724c8a.jpg","text":"TemporaryFile(/tmp/multipartBody6882174943923731070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789944966,"filename":"image_07022025_15_05_39_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0b1066567cd547870c2bb3e675e161a.jpg","text":"TemporaryFile(/tmp/multipartBody828291337101209078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789944966,"filename":"image_07022025_15_05_09_9725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1ba400203de1ab435ecbc256c9d2e48.jpg","text":"TemporaryFile(/tmp/multipartBody7442883347290175075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789944966,"filename":"image_07022025_15_05_49_10646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7dc5962be30ba45abaeab32e18cc3572.jpg","text":"TemporaryFile(/tmp/multipartBody7704865888232741385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789944966,"filename":"image_07022025_15_05_59_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bdaa0cdf7326a454db7df327851e3c3d.jpg","text":"TemporaryFile(/tmp/multipartBody6034915969697914981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739789944966,"filename":"image_07022025_15_05_19_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338146937","file1":"1338146931","file0":"1338146925","file4":"1338146945","file5":"1338146946","file3":"1338146943"},"map_files_photo_id_array":[{"photo_id":"1338146946","filename":"file5"},{"photo_id":"1338146937","filename":"file2"},{"photo_id":"1338146945","filename":"file4"},{"photo_id":"1338146931","filename":"file1"},{"photo_id":"1338146925","filename":"file0"},{"photo_id":"1338146943","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338146943":["hashtag1","hashtag2"]},{"1338146937":["hashtag1","hashtag2"]},{"1338146946":["hashtag1","hashtag2"]},{"1338146931":["hashtag1","hashtag2"]},{"1338146925":["hashtag1","hashtag2"]},{"1338146945":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338146943, 1338146937, 1338146946, 1338146931, 1338146925, 1338146945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73164701461792 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 11:59:02.715494
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_59_9732.jpg', 0), ('/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_49_9714.jpg', 0), ('/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_40_10662.jpg', 0), ('/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_29_9669.jpg', 0), ('/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_19_9677.jpg', 0), ('/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_10_10676.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_59_9732.jpg', '/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_49_9714.jpg', '/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_40_10662.jpg', '/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_29_9669.jpg', '/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_19_9677.jpg', '/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_10_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_59_9732.jpg
/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_49_9714.jpg
/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_40_10662.jpg
/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_29_9669.jpg
/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_19_9677.jpg
/home/nano/Desktop/images/07022025/15/04/image_07022025_15_04_10_10676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338147009","1338147047","1338147056","1338147064","1338146994","1338146988"],"photo_ids_order":["1338146988","1338146994","1338147009","1338147047","1338147056","1338147064"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4761b6613e81bd52a7f381cb54c5b43d.jpg","text":"TemporaryFile(/tmp/multipartBody3066486286261574465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790004738,"filename":"image_07022025_15_04_40_10662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f87bfadab1544f8223518d9f8886917.jpg","text":"TemporaryFile(/tmp/multipartBody3959362237811406178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790004738,"filename":"image_07022025_15_04_29_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7b632e1a19d00c40e0df8abded92db4.jpg","text":"TemporaryFile(/tmp/multipartBody2069046808088026060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790004738,"filename":"image_07022025_15_04_19_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b30a30e9784e550cbcc8789c43958fe0.jpg","text":"TemporaryFile(/tmp/multipartBody2794866988478449904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790004738,"filename":"image_07022025_15_04_10_10676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7f529382bf363d822b0d7868da0af6e.jpg","text":"TemporaryFile(/tmp/multipartBody8489885039240748259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790004738,"filename":"image_07022025_15_04_49_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19a26b2216f5f787dc2d3d319dc1e2d0.jpg","text":"TemporaryFile(/tmp/multipartBody4812695626362878467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790004738,"filename":"image_07022025_15_04_59_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338147009","file1":"1338146994","file0":"1338146988","file4":"1338147056","file5":"1338147064","file3":"1338147047"},"map_files_photo_id_array":[{"photo_id":"1338147064","filename":"file5"},{"photo_id":"1338147009","filename":"file2"},{"photo_id":"1338147056","filename":"file4"},{"photo_id":"1338146994","filename":"file1"},{"photo_id":"1338146988","filename":"file0"},{"photo_id":"1338147047","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338147009":["hashtag1","hashtag2"]},{"1338147047":["hashtag1","hashtag2"]},{"1338147056":["hashtag1","hashtag2"]},{"1338147064":["hashtag1","hashtag2"]},{"1338146994":["hashtag1","hashtag2"]},{"1338146988":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338147009, 1338147047, 1338147056, 1338147064, 1338146994, 1338146988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29747700691223 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:00:02.618627
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_59_9662.jpg', 0), ('/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_49_9660.jpg', 0), ('/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_40_10667.jpg', 0), ('/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_29_9671.jpg', 0), ('/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_19_9665.jpg', 0), ('/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_10_10678.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_59_9662.jpg', '/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_49_9660.jpg', '/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_40_10667.jpg', '/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_29_9671.jpg', '/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_19_9665.jpg', '/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_10_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_59_9662.jpg
/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_49_9660.jpg
/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_40_10667.jpg
/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_29_9671.jpg
/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_19_9665.jpg
/home/nano/Desktop/images/07022025/15/03/image_07022025_15_03_10_10678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338147182","1338147176","1338147185","1338147179","1338147187","1338147196"],"photo_ids_order":["1338147176","1338147179","1338147182","1338147185","1338147187","1338147196"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40ea374124414b446dca72cd12895f28.jpg","text":"TemporaryFile(/tmp/multipartBody7184078902361099329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790065046,"filename":"image_07022025_15_03_40_10667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14f22b98f31a4e3eedb67b834bc9f621.jpg","text":"TemporaryFile(/tmp/multipartBody1052214120505372114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790065046,"filename":"image_07022025_15_03_59_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e1a0f071e719c236a32d43668f97f29.jpg","text":"TemporaryFile(/tmp/multipartBody5955205244189950499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790065046,"filename":"image_07022025_15_03_29_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87b24017690f9d87c2c080d5140923f4.jpg","text":"TemporaryFile(/tmp/multipartBody5438541729230358346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790065046,"filename":"image_07022025_15_03_49_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b522a019b49559bf30e9cd49bb15d806.jpg","text":"TemporaryFile(/tmp/multipartBody2917919041639047803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790065046,"filename":"image_07022025_15_03_19_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e060de82458a3ff1c94ad7b0f05bc6a.jpg","text":"TemporaryFile(/tmp/multipartBody2229716659842875168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790065046,"filename":"image_07022025_15_03_10_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338147182","file1":"1338147179","file0":"1338147176","file4":"1338147187","file5":"1338147196","file3":"1338147185"},"map_files_photo_id_array":[{"photo_id":"1338147196","filename":"file5"},{"photo_id":"1338147182","filename":"file2"},{"photo_id":"1338147187","filename":"file4"},{"photo_id":"1338147179","filename":"file1"},{"photo_id":"1338147176","filename":"file0"},{"photo_id":"1338147185","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338147182":["hashtag1","hashtag2"]},{"1338147176":["hashtag1","hashtag2"]},{"1338147185":["hashtag1","hashtag2"]},{"1338147179":["hashtag1","hashtag2"]},{"1338147187":["hashtag1","hashtag2"]},{"1338147196":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338147182, 1338147176, 1338147185, 1338147179, 1338147187, 1338147196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.61969447135925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:01:02.999883
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_59_9665.jpg', 0), ('/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_49_9669.jpg', 0), ('/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_39_10661.jpg', 0), ('/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_29_9652.jpg', 0), ('/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_19_9651.jpg', 0), ('/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_10_10668.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_59_9665.jpg', '/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_49_9669.jpg', '/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_39_10661.jpg', '/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_29_9652.jpg', '/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_19_9651.jpg', '/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_10_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_59_9665.jpg
/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_49_9669.jpg
/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_39_10661.jpg
/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_29_9652.jpg
/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_19_9651.jpg
/home/nano/Desktop/images/07022025/14/58/image_07022025_14_58_10_10668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338147232","1338147229","1338147240","1338147234","1338147243","1338147237"],"photo_ids_order":["1338147229","1338147232","1338147234","1338147237","1338147240","1338147243"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a05db5c88d864d9ac5ac69eafd5b06a.jpg","text":"TemporaryFile(/tmp/multipartBody2130768397047475908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790124885,"filename":"image_07022025_14_58_49_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53c8778ecac45dc60f4bd0c242e4b643.jpg","text":"TemporaryFile(/tmp/multipartBody2458110169799278328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790124885,"filename":"image_07022025_14_58_59_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a22e86389aeed557f8740fafe7809ca.jpg","text":"TemporaryFile(/tmp/multipartBody3045865170905188491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790124885,"filename":"image_07022025_14_58_19_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/06c3ea90d0cf73a2f34077493f4ab7d9.jpg","text":"TemporaryFile(/tmp/multipartBody7219321796190870536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790124885,"filename":"image_07022025_14_58_39_10661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1791700e3ef926e2483cb820ade0afdb.jpg","text":"TemporaryFile(/tmp/multipartBody3613849075399659538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790124885,"filename":"image_07022025_14_58_10_10668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f93b07918ab082a77041e884c1493bb7.jpg","text":"TemporaryFile(/tmp/multipartBody7274564815968190651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790124885,"filename":"image_07022025_14_58_29_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338147234","file1":"1338147232","file0":"1338147229","file4":"1338147240","file5":"1338147243","file3":"1338147237"},"map_files_photo_id_array":[{"photo_id":"1338147243","filename":"file5"},{"photo_id":"1338147234","filename":"file2"},{"photo_id":"1338147240","filename":"file4"},{"photo_id":"1338147232","filename":"file1"},{"photo_id":"1338147229","filename":"file0"},{"photo_id":"1338147237","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338147232":["hashtag1","hashtag2"]},{"1338147229":["hashtag1","hashtag2"]},{"1338147240":["hashtag1","hashtag2"]},{"1338147234":["hashtag1","hashtag2"]},{"1338147243":["hashtag1","hashtag2"]},{"1338147237":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338147232, 1338147229, 1338147240, 1338147234, 1338147243, 1338147237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36977005004883 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:02:02.974431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_59_9736.jpg', 0), ('/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_49_10747.jpg', 0), ('/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_39_9735.jpg', 0), ('/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_29_9739.jpg', 0), ('/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_19_9738.jpg', 0), ('/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_09_10740.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_59_9736.jpg', '/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_49_10747.jpg', '/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_39_9735.jpg', '/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_29_9739.jpg', '/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_19_9738.jpg', '/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_09_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_59_9736.jpg
/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_49_10747.jpg
/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_39_9735.jpg
/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_29_9739.jpg
/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_19_9738.jpg
/home/nano/Desktop/images/07022025/14/21/image_07022025_14_21_09_10740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338147608","1338147283","1338147285","1338147288","1338147453","1338147606"],"photo_ids_order":["1338147283","1338147285","1338147288","1338147453","1338147606","1338147608"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/89f507e724f7f5e3343471d49a1b55a7.jpg","text":"TemporaryFile(/tmp/multipartBody6648184468232827795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790185227,"filename":"image_07022025_14_21_09_10740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/353021a50f78b97ea307de632ddd675c.jpg","text":"TemporaryFile(/tmp/multipartBody3499614231623420743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790185227,"filename":"image_07022025_14_21_59_9736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fac9e85e3c9c35f6de7c41fc1157fab2.jpg","text":"TemporaryFile(/tmp/multipartBody4381794563227464145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790185227,"filename":"image_07022025_14_21_49_10747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2eec66591ccce2348c462028fac7fcf3.jpg","text":"TemporaryFile(/tmp/multipartBody4117158421733165312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790185227,"filename":"image_07022025_14_21_39_9735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/874fdd83045cb35f06e894870be35c35.jpg","text":"TemporaryFile(/tmp/multipartBody955902721276328810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790185227,"filename":"image_07022025_14_21_29_9739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a1fe6717dcd7f932397244809f8a692.jpg","text":"TemporaryFile(/tmp/multipartBody5722314709056086245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790185227,"filename":"image_07022025_14_21_19_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338147288","file1":"1338147285","file0":"1338147283","file4":"1338147606","file5":"1338147608","file3":"1338147453"},"map_files_photo_id_array":[{"photo_id":"1338147608","filename":"file5"},{"photo_id":"1338147288","filename":"file2"},{"photo_id":"1338147606","filename":"file4"},{"photo_id":"1338147285","filename":"file1"},{"photo_id":"1338147283","filename":"file0"},{"photo_id":"1338147453","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338147608":["hashtag1","hashtag2"]},{"1338147283":["hashtag1","hashtag2"]},{"1338147285":["hashtag1","hashtag2"]},{"1338147288":["hashtag1","hashtag2"]},{"1338147453":["hashtag1","hashtag2"]},{"1338147606":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338147608, 1338147283, 1338147285, 1338147288, 1338147453, 1338147606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9369215965271 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:03:03.138072
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_59_9736.jpg', 0), ('/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_49_9734.jpg', 0), ('/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_39_10742.jpg', 0), ('/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_29_9755.jpg', 0), ('/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_19_9731.jpg', 0), ('/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_09_9738.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_59_9736.jpg', '/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_49_9734.jpg', '/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_39_10742.jpg', '/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_29_9755.jpg', '/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_19_9731.jpg', '/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_09_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_59_9736.jpg
/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_49_9734.jpg
/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_39_10742.jpg
/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_29_9755.jpg
/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_19_9731.jpg
/home/nano/Desktop/images/07022025/14/07/image_07022025_14_07_09_9738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338147785","1338147788","1338147793","1338147796","1338147799","1338147790"],"photo_ids_order":["1338147785","1338147788","1338147790","1338147793","1338147796","1338147799"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a986cee8e3b9d0599fc48341c974fe5.jpg","text":"TemporaryFile(/tmp/multipartBody7252839432491193135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790244766,"filename":"image_07022025_14_07_59_9736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ae24a130cda06281d3c5df2d1f2b856.jpg","text":"TemporaryFile(/tmp/multipartBody3476181050609065888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790244766,"filename":"image_07022025_14_07_49_9734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86ad10e4de79de1a2cfc94f750b2327f.jpg","text":"TemporaryFile(/tmp/multipartBody780699797794442446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790244766,"filename":"image_07022025_14_07_29_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/51aea11647809e8a837b5bc931e29139.jpg","text":"TemporaryFile(/tmp/multipartBody3162437611655597268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790244766,"filename":"image_07022025_14_07_19_9731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cef111919240a9d027c7991c8e02de00.jpg","text":"TemporaryFile(/tmp/multipartBody158413923302458561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790244766,"filename":"image_07022025_14_07_09_9738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ef3d9e1f7fdc6297ec5da2cdb010fa7.jpg","text":"TemporaryFile(/tmp/multipartBody2153502732641780027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790244766,"filename":"image_07022025_14_07_39_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338147790","file1":"1338147788","file0":"1338147785","file4":"1338147796","file5":"1338147799","file3":"1338147793"},"map_files_photo_id_array":[{"photo_id":"1338147799","filename":"file5"},{"photo_id":"1338147790","filename":"file2"},{"photo_id":"1338147796","filename":"file4"},{"photo_id":"1338147788","filename":"file1"},{"photo_id":"1338147785","filename":"file0"},{"photo_id":"1338147793","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338147785":["hashtag1","hashtag2"]},{"1338147788":["hashtag1","hashtag2"]},{"1338147793":["hashtag1","hashtag2"]},{"1338147796":["hashtag1","hashtag2"]},{"1338147799":["hashtag1","hashtag2"]},{"1338147790":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338147785, 1338147788, 1338147793, 1338147796, 1338147799, 1338147790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52695035934448 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:04:03.499432
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_59_10739.jpg', 0), ('/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_49_9735.jpg', 0), ('/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_39_9733.jpg', 0), ('/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_29_9732.jpg', 0), ('/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_20_10742.jpg', 0), ('/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_09_9730.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_59_10739.jpg', '/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_49_9735.jpg', '/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_39_9733.jpg', '/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_29_9732.jpg', '/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_20_10742.jpg', '/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_09_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_59_10739.jpg
/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_49_9735.jpg
/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_39_9733.jpg
/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_29_9732.jpg
/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_20_10742.jpg
/home/nano/Desktop/images/07022025/14/06/image_07022025_14_06_09_9730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338147848","1338147846","1338147840","1338147843","1338147837","1338147831"],"photo_ids_order":["1338147831","1338147837","1338147840","1338147843","1338147846","1338147848"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4587a03e93f2f7dd84a9d36da85d5a45.jpg","text":"TemporaryFile(/tmp/multipartBody9137115022282952141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790305589,"filename":"image_07022025_14_06_09_9730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da7d752e059861b1786f36ff71b48fbd.jpg","text":"TemporaryFile(/tmp/multipartBody462912938274379817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790305589,"filename":"image_07022025_14_06_20_10742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fde52c71fe6f9bf59cc941d82617a522.jpg","text":"TemporaryFile(/tmp/multipartBody2207142281096744193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790305589,"filename":"image_07022025_14_06_39_9733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d63772f7037af40497856f1dd044fcb9.jpg","text":"TemporaryFile(/tmp/multipartBody4309574381339084322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790305589,"filename":"image_07022025_14_06_29_9732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/acc9cce11e9f4eb038c9420dd358e2bf.jpg","text":"TemporaryFile(/tmp/multipartBody3972367179477967422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790305589,"filename":"image_07022025_14_06_49_9735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/32997106c94d3a936b6b4dd65d1fa268.jpg","text":"TemporaryFile(/tmp/multipartBody7528729249136537647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790305589,"filename":"image_07022025_14_06_59_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338147840","file1":"1338147837","file0":"1338147831","file4":"1338147846","file5":"1338147848","file3":"1338147843"},"map_files_photo_id_array":[{"photo_id":"1338147848","filename":"file5"},{"photo_id":"1338147840","filename":"file2"},{"photo_id":"1338147846","filename":"file4"},{"photo_id":"1338147837","filename":"file1"},{"photo_id":"1338147831","filename":"file0"},{"photo_id":"1338147843","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338147848":["hashtag1","hashtag2"]},{"1338147846":["hashtag1","hashtag2"]},{"1338147840":["hashtag1","hashtag2"]},{"1338147843":["hashtag1","hashtag2"]},{"1338147837":["hashtag1","hashtag2"]},{"1338147831":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338147848, 1338147846, 1338147840, 1338147843, 1338147837, 1338147831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3569757938385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:05:02.505423
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/13/37/image_07022025_13_38_00_10720.jpg', 0), ('/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_49_9696.jpg', 0), ('/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_39_9723.jpg', 0), ('/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_29_10743.jpg', 0), ('/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_19_9709.jpg', 0), ('/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_09_9669.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/13/37/image_07022025_13_38_00_10720.jpg', '/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_49_9696.jpg', '/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_39_9723.jpg', '/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_29_10743.jpg', '/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_19_9709.jpg', '/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_09_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/13/37/image_07022025_13_38_00_10720.jpg
/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_49_9696.jpg
/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_39_9723.jpg
/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_29_10743.jpg
/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_19_9709.jpg
/home/nano/Desktop/images/07022025/13/37/image_07022025_13_37_09_9669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338148052","1338148060","1338148054","1338148048","1338148063","1338148057"],"photo_ids_order":["1338148048","1338148052","1338148054","1338148057","1338148060","1338148063"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c644a56905bced63dd307ba2d6b6ba95.jpg","text":"TemporaryFile(/tmp/multipartBody531870996708400319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790364727,"filename":"image_07022025_13_37_49_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60cec186f5313ac0e93a630201273f3d.jpg","text":"TemporaryFile(/tmp/multipartBody3121502616374777652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790364727,"filename":"image_07022025_13_37_19_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ba8e23072d3e6c2dcdc4f34fa9e9744.jpg","text":"TemporaryFile(/tmp/multipartBody5701178432859236016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790364727,"filename":"image_07022025_13_37_39_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15e252f8fde26da22a15267fcb90c56b.jpg","text":"TemporaryFile(/tmp/multipartBody5236692305839171673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790364727,"filename":"image_07022025_13_38_00_10720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8912af9071e8612ae8fb20badbbca5cb.jpg","text":"TemporaryFile(/tmp/multipartBody7695110241008884409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790364727,"filename":"image_07022025_13_37_09_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8872652915aff604e9b105250e1dac49.jpg","text":"TemporaryFile(/tmp/multipartBody3161790998079558805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790364727,"filename":"image_07022025_13_37_29_10743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338148054","file1":"1338148052","file0":"1338148048","file4":"1338148060","file5":"1338148063","file3":"1338148057"},"map_files_photo_id_array":[{"photo_id":"1338148063","filename":"file5"},{"photo_id":"1338148054","filename":"file2"},{"photo_id":"1338148060","filename":"file4"},{"photo_id":"1338148052","filename":"file1"},{"photo_id":"1338148048","filename":"file0"},{"photo_id":"1338148057","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338148052":["hashtag1","hashtag2"]},{"1338148060":["hashtag1","hashtag2"]},{"1338148054":["hashtag1","hashtag2"]},{"1338148048":["hashtag1","hashtag2"]},{"1338148063":["hashtag1","hashtag2"]},{"1338148057":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338148052, 1338148060, 1338148054, 1338148048, 1338148063, 1338148057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59744572639465 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:06:02.436820
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_59_9657.jpg', 0), ('/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_49_9658.jpg', 0), ('/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_40_10667.jpg', 0), ('/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_29_9646.jpg', 0), ('/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_19_9667.jpg', 0), ('/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_10_10674.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_59_9657.jpg', '/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_49_9658.jpg', '/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_40_10667.jpg', '/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_29_9646.jpg', '/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_19_9667.jpg', '/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_10_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_59_9657.jpg
/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_49_9658.jpg
/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_40_10667.jpg
/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_29_9646.jpg
/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_19_9667.jpg
/home/nano/Desktop/images/07022025/12/56/image_07022025_12_56_10_10674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338148096","1338148109","1338148099","1338148102","1338148107","1338148104"],"photo_ids_order":["1338148096","1338148099","1338148102","1338148104","1338148107","1338148109"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5190030465c32a2e8e177112c2cfa59c.jpg","text":"TemporaryFile(/tmp/multipartBody7380954897942101762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790429778,"filename":"image_07022025_12_56_59_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8248b2f3fd19436336289021d13348f8.jpg","text":"TemporaryFile(/tmp/multipartBody2979275923170987767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790429778,"filename":"image_07022025_12_56_10_10674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e02626fa0aeeb19ea96c31fd300e630a.jpg","text":"TemporaryFile(/tmp/multipartBody8403493224774194726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790429778,"filename":"image_07022025_12_56_49_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab4d6ff28e105978f30eb8fb03257bdb.jpg","text":"TemporaryFile(/tmp/multipartBody87628024116597926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790429778,"filename":"image_07022025_12_56_40_10667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf03a695d08fc27e85f1a86d981b815a.jpg","text":"TemporaryFile(/tmp/multipartBody6491238045979877820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790429778,"filename":"image_07022025_12_56_19_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c199995bc4af3827f5f07e4d8302be3.jpg","text":"TemporaryFile(/tmp/multipartBody733361405490723239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790429778,"filename":"image_07022025_12_56_29_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338148102","file1":"1338148099","file0":"1338148096","file4":"1338148107","file5":"1338148109","file3":"1338148104"},"map_files_photo_id_array":[{"photo_id":"1338148109","filename":"file5"},{"photo_id":"1338148102","filename":"file2"},{"photo_id":"1338148107","filename":"file4"},{"photo_id":"1338148099","filename":"file1"},{"photo_id":"1338148096","filename":"file0"},{"photo_id":"1338148104","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338148096":["hashtag1","hashtag2"]},{"1338148109":["hashtag1","hashtag2"]},{"1338148099":["hashtag1","hashtag2"]},{"1338148102":["hashtag1","hashtag2"]},{"1338148107":["hashtag1","hashtag2"]},{"1338148104":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338148096, 1338148109, 1338148099, 1338148102, 1338148107, 1338148104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63652682304382 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:07:02.721403
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_59_9640.jpg', 0), ('/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_50_10835.jpg', 0), ('/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_39_9817.jpg', 0), ('/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_29_9829.jpg', 0), ('/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_19_9815.jpg', 0), ('/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_09_9812.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_59_9640.jpg', '/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_50_10835.jpg', '/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_39_9817.jpg', '/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_29_9829.jpg', '/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_19_9815.jpg', '/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_09_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_59_9640.jpg
/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_50_10835.jpg
/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_39_9817.jpg
/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_29_9829.jpg
/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_19_9815.jpg
/home/nano/Desktop/images/07022025/12/47/image_07022025_12_47_09_9812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338148142","1338148136","1338148139","1338148144","1338148170","1338148134"],"photo_ids_order":["1338148134","1338148136","1338148139","1338148142","1338148144","1338148170"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f137c2de41b2c42dc24384fcff7ea841.jpg","text":"TemporaryFile(/tmp/multipartBody9059168015841605048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790485442,"filename":"image_07022025_12_47_29_9829.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/087402145ca5fe74a25d1c2bd8660b33.jpg","text":"TemporaryFile(/tmp/multipartBody8409410076877018960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790485442,"filename":"image_07022025_12_47_50_10835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/446d5aee7e4bc8d8c98bace23a2ea95f.jpg","text":"TemporaryFile(/tmp/multipartBody1854470212370819916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790485442,"filename":"image_07022025_12_47_39_9817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71d9b044878fbdc5f0a8604a14b1adb4.jpg","text":"TemporaryFile(/tmp/multipartBody1513961666010814727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790485442,"filename":"image_07022025_12_47_19_9815.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/679b74a7ec4e10da4f12f535a04e1db7.jpg","text":"TemporaryFile(/tmp/multipartBody4632350546132951820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790485442,"filename":"image_07022025_12_47_09_9812.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1576cba9b195600223ed0fa19052d317.jpg","text":"TemporaryFile(/tmp/multipartBody1658944061886357963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790485442,"filename":"image_07022025_12_47_59_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338148139","file1":"1338148136","file0":"1338148134","file4":"1338148144","file5":"1338148170","file3":"1338148142"},"map_files_photo_id_array":[{"photo_id":"1338148170","filename":"file5"},{"photo_id":"1338148139","filename":"file2"},{"photo_id":"1338148144","filename":"file4"},{"photo_id":"1338148136","filename":"file1"},{"photo_id":"1338148134","filename":"file0"},{"photo_id":"1338148142","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338148142":["hashtag1","hashtag2"]},{"1338148136":["hashtag1","hashtag2"]},{"1338148139":["hashtag1","hashtag2"]},{"1338148144":["hashtag1","hashtag2"]},{"1338148170":["hashtag1","hashtag2"]},{"1338148134":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338148142, 1338148136, 1338148139, 1338148144, 1338148170, 1338148134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21369171142578 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:08:02.731589
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_59_9666.jpg', 0), ('/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_50_10672.jpg', 0), ('/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_39_9658.jpg', 0), ('/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_29_9661.jpg', 0), ('/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_20_10676.jpg', 0), ('/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_09_9685.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_59_9666.jpg', '/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_50_10672.jpg', '/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_39_9658.jpg', '/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_29_9661.jpg', '/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_20_10676.jpg', '/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_09_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_59_9666.jpg
/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_50_10672.jpg
/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_39_9658.jpg
/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_29_9661.jpg
/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_20_10676.jpg
/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_09_9685.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.478501081466675 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:08:32.254322
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_59_9666.jpg', 0), ('/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_50_10672.jpg', 0), ('/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_39_9658.jpg', 0), ('/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_29_9661.jpg', 0), ('/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_20_10676.jpg', 0), ('/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_09_9685.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_59_9666.jpg', '/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_50_10672.jpg', '/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_39_9658.jpg', '/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_29_9661.jpg', '/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_20_10676.jpg', '/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_09_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_59_9666.jpg
/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_50_10672.jpg
/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_39_9658.jpg
/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_29_9661.jpg
/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_20_10676.jpg
/home/nano/Desktop/images/07022025/12/38/image_07022025_12_38_09_9685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338148340","1338148319","1338148333","1338148312","1338148336","1338148308"],"photo_ids_order":["1338148308","1338148312","1338148319","1338148333","1338148336","1338148340"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8846c9e69b8302e8388e06cb7e78e0b4.jpg","text":"TemporaryFile(/tmp/multipartBody1442711258817985767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790574147,"filename":"image_07022025_12_38_09_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ffbd0e308d760d75c7ca4ef2eb1bbc3.jpg","text":"TemporaryFile(/tmp/multipartBody3291946336693965562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790574147,"filename":"image_07022025_12_38_39_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81131de64447d9018ea6600eddc53266.jpg","text":"TemporaryFile(/tmp/multipartBody2977399832579073649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790574147,"filename":"image_07022025_12_38_29_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f14b6e2bc8be4bdafb344387788a2698.jpg","text":"TemporaryFile(/tmp/multipartBody3195372349961181764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790574147,"filename":"image_07022025_12_38_50_10672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/288e87f111596709a12a2a86d1f91cb2.jpg","text":"TemporaryFile(/tmp/multipartBody3078337430677827034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790574147,"filename":"image_07022025_12_38_20_10676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db1edaa184e901727c1d3cb3598e874b.jpg","text":"TemporaryFile(/tmp/multipartBody4157577808438731944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790574147,"filename":"image_07022025_12_38_59_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338148319","file1":"1338148312","file0":"1338148308","file4":"1338148336","file5":"1338148340","file3":"1338148333"},"map_files_photo_id_array":[{"photo_id":"1338148340","filename":"file5"},{"photo_id":"1338148319","filename":"file2"},{"photo_id":"1338148336","filename":"file4"},{"photo_id":"1338148312","filename":"file1"},{"photo_id":"1338148308","filename":"file0"},{"photo_id":"1338148333","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338148340":["hashtag1","hashtag2"]},{"1338148319":["hashtag1","hashtag2"]},{"1338148333":["hashtag1","hashtag2"]},{"1338148312":["hashtag1","hashtag2"]},{"1338148336":["hashtag1","hashtag2"]},{"1338148308":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338148340, 1338148319, 1338148333, 1338148312, 1338148336, 1338148308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.70232558250427 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:09:32.408750
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/11/58/image_07022025_11_59_00_10674.jpg', 0), ('/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_49_9669.jpg', 0), ('/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_39_9678.jpg', 0), ('/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_30_10661.jpg', 0), ('/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_19_9640.jpg', 0), ('/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_09_9655.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/11/58/image_07022025_11_59_00_10674.jpg', '/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_49_9669.jpg', '/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_39_9678.jpg', '/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_30_10661.jpg', '/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_19_9640.jpg', '/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_09_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/11/58/image_07022025_11_59_00_10674.jpg
/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_49_9669.jpg
/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_39_9678.jpg
/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_30_10661.jpg
/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_19_9640.jpg
/home/nano/Desktop/images/07022025/11/58/image_07022025_11_58_09_9655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338148433","1338148372","1338148380","1338148383","1338148377","1338148367"],"photo_ids_order":["1338148367","1338148372","1338148377","1338148380","1338148383","1338148433"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/66289017e8f3ca565951f1937eee4609.jpg","text":"TemporaryFile(/tmp/multipartBody4773018262409356695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790634781,"filename":"image_07022025_11_58_09_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/207260fda938aa37e1cb049e0105e7d7.jpg","text":"TemporaryFile(/tmp/multipartBody886617060473525448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790634781,"filename":"image_07022025_11_58_49_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df54c086bd004f8b0cb6fa87da30c0d1.jpg","text":"TemporaryFile(/tmp/multipartBody4523075363413891785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790634781,"filename":"image_07022025_11_58_30_10661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b66a76654c84a3cb21e58c65f88863d.jpg","text":"TemporaryFile(/tmp/multipartBody883575693245051196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790634781,"filename":"image_07022025_11_58_19_9640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0298d366c8b832f84afdc7287d9f55c5.jpg","text":"TemporaryFile(/tmp/multipartBody5895421793534464098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790634781,"filename":"image_07022025_11_58_39_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b95bb0d9aeaa72960101a4342721cd6.jpg","text":"TemporaryFile(/tmp/multipartBody7968334893187977046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790634781,"filename":"image_07022025_11_59_00_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338148377","file1":"1338148372","file0":"1338148367","file4":"1338148383","file5":"1338148433","file3":"1338148380"},"map_files_photo_id_array":[{"photo_id":"1338148433","filename":"file5"},{"photo_id":"1338148377","filename":"file2"},{"photo_id":"1338148383","filename":"file4"},{"photo_id":"1338148372","filename":"file1"},{"photo_id":"1338148367","filename":"file0"},{"photo_id":"1338148380","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338148433":["hashtag1","hashtag2"]},{"1338148372":["hashtag1","hashtag2"]},{"1338148380":["hashtag1","hashtag2"]},{"1338148383":["hashtag1","hashtag2"]},{"1338148377":["hashtag1","hashtag2"]},{"1338148367":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338148433, 1338148372, 1338148380, 1338148383, 1338148377, 1338148367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98386740684509 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:10:32.544774
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_59_9639.jpg', 0), ('/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_49_10656.jpg', 0), ('/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_39_9658.jpg', 0), ('/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_29_9653.jpg', 0), ('/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_19_10648.jpg', 0), ('/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_09_9686.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_59_9639.jpg', '/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_49_10656.jpg', '/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_39_9658.jpg', '/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_29_9653.jpg', '/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_19_10648.jpg', '/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_09_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_59_9639.jpg
/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_49_10656.jpg
/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_39_9658.jpg
/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_29_9653.jpg
/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_19_10648.jpg
/home/nano/Desktop/images/07022025/11/31/image_07022025_11_31_09_9686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338148469","1338148483","1338148465","1338148488","1338148476","1338148461"],"photo_ids_order":["1338148461","1338148465","1338148469","1338148476","1338148483","1338148488"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/919e77c76b62d1b5b0d90b64a7ec2ec1.jpg","text":"TemporaryFile(/tmp/multipartBody4796673588761453114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790695058,"filename":"image_07022025_11_31_39_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be4101afd0c526b0712ca1f42b98d071.jpg","text":"TemporaryFile(/tmp/multipartBody7985093606268451138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790695058,"filename":"image_07022025_11_31_19_10648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38ee82a75bb79eb023afbe2cef3eed9e.jpg","text":"TemporaryFile(/tmp/multipartBody7108436196619091961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790695058,"filename":"image_07022025_11_31_49_10656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b164d55011b30c74c8c946bfdd5bc8ab.jpg","text":"TemporaryFile(/tmp/multipartBody2981499285137136876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790695058,"filename":"image_07022025_11_31_09_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c360fea790127900f8c4eb42085f517.jpg","text":"TemporaryFile(/tmp/multipartBody650741942406254957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790695058,"filename":"image_07022025_11_31_29_9653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80b90eedef0462b5e13e68f152182dbe.jpg","text":"TemporaryFile(/tmp/multipartBody4776484182209930669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790695058,"filename":"image_07022025_11_31_59_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338148469","file1":"1338148465","file0":"1338148461","file4":"1338148483","file5":"1338148488","file3":"1338148476"},"map_files_photo_id_array":[{"photo_id":"1338148488","filename":"file5"},{"photo_id":"1338148469","filename":"file2"},{"photo_id":"1338148483","filename":"file4"},{"photo_id":"1338148465","filename":"file1"},{"photo_id":"1338148461","filename":"file0"},{"photo_id":"1338148476","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338148469":["hashtag1","hashtag2"]},{"1338148483":["hashtag1","hashtag2"]},{"1338148465":["hashtag1","hashtag2"]},{"1338148488":["hashtag1","hashtag2"]},{"1338148476":["hashtag1","hashtag2"]},{"1338148461":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338148469, 1338148483, 1338148465, 1338148488, 1338148476, 1338148461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33415770530701 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:11:32.730584
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_59_9978.jpg', 0), ('/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_49_9974.jpg', 0), ('/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_39_9969.jpg', 0), ('/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_29_9939.jpg', 0), ('/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_20_9940.jpg', 0), ('/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_10_9939.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_59_9978.jpg', '/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_49_9974.jpg', '/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_39_9969.jpg', '/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_29_9939.jpg', '/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_20_9940.jpg', '/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_10_9939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_59_9978.jpg
/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_49_9974.jpg
/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_39_9969.jpg
/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_29_9939.jpg
/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_20_9940.jpg
/home/nano/Desktop/images/07022025/11/05/image_07022025_11_05_10_9939.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338148523","1338148537","1338148504","1338148548","1338148518","1338148527"],"photo_ids_order":["1338148504","1338148518","1338148523","1338148527","1338148537","1338148548"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d68808e98ce2ad8a5afa1ee8bd2c5d6.jpg","text":"TemporaryFile(/tmp/multipartBody4669304195291773137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790755821,"filename":"image_07022025_11_05_39_9969.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a09add03f33bc37081918104320de747.jpg","text":"TemporaryFile(/tmp/multipartBody5285103118184430941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790755821,"filename":"image_07022025_11_05_20_9940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7d111298a4bbf1e4d983e0d0c34f529.jpg","text":"TemporaryFile(/tmp/multipartBody2447897366930636870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790755821,"filename":"image_07022025_11_05_59_9978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/65983a67792dc5922cdf253554ed4247.jpg","text":"TemporaryFile(/tmp/multipartBody821346617741571238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790755821,"filename":"image_07022025_11_05_10_9939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/705d9bac4ce59dc44eea34947add94a0.jpg","text":"TemporaryFile(/tmp/multipartBody7623808260646044154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790755821,"filename":"image_07022025_11_05_49_9974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f845a05f0f19f46bc4c7eca624897cb.jpg","text":"TemporaryFile(/tmp/multipartBody6486254741400469989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790755821,"filename":"image_07022025_11_05_29_9939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338148523","file1":"1338148518","file0":"1338148504","file4":"1338148537","file5":"1338148548","file3":"1338148527"},"map_files_photo_id_array":[{"photo_id":"1338148548","filename":"file5"},{"photo_id":"1338148523","filename":"file2"},{"photo_id":"1338148537","filename":"file4"},{"photo_id":"1338148518","filename":"file1"},{"photo_id":"1338148504","filename":"file0"},{"photo_id":"1338148527","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338148523":["hashtag1","hashtag2"]},{"1338148537":["hashtag1","hashtag2"]},{"1338148504":["hashtag1","hashtag2"]},{"1338148548":["hashtag1","hashtag2"]},{"1338148518":["hashtag1","hashtag2"]},{"1338148527":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338148523, 1338148537, 1338148504, 1338148548, 1338148518, 1338148527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58362150192261 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:12:31.900727
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_59_9972.jpg', 0), ('/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_49_9973.jpg', 0), ('/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_39_9982.jpg', 0), ('/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_29_9973.jpg', 0), ('/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_19_9977.jpg', 0), ('/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_09_10017.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_59_9972.jpg', '/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_49_9973.jpg', '/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_39_9982.jpg', '/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_29_9973.jpg', '/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_19_9977.jpg', '/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_09_10017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_59_9972.jpg
/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_49_9973.jpg
/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_39_9982.jpg
/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_29_9973.jpg
/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_19_9977.jpg
/home/nano/Desktop/images/07022025/10/57/image_07022025_10_57_09_10017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338148631","1338148613","1338148622","1338148636","1338148618","1338148626"],"photo_ids_order":["1338148613","1338148618","1338148622","1338148626","1338148631","1338148636"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f92e8950109582365e08affdc4fc46be.jpg","text":"TemporaryFile(/tmp/multipartBody583812472542742017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790814639,"filename":"image_07022025_10_57_19_9977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d713d04e04bbf151450794d3dd6c2ebf.jpg","text":"TemporaryFile(/tmp/multipartBody4787981068913886610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790814639,"filename":"image_07022025_10_57_59_9972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/01308d1b9ada580b24c647cb45f042d9.jpg","text":"TemporaryFile(/tmp/multipartBody7943481647544610802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790814639,"filename":"image_07022025_10_57_39_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1e4d57c307ded8750b538828de357e9.jpg","text":"TemporaryFile(/tmp/multipartBody5657189201078341022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790814639,"filename":"image_07022025_10_57_09_10017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46225342bb4999bd27a9cf23979eef72.jpg","text":"TemporaryFile(/tmp/multipartBody410360798383177955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790814639,"filename":"image_07022025_10_57_49_9973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c0633cdeb79437d92d4f6deaac6cbfd.jpg","text":"TemporaryFile(/tmp/multipartBody1218435407536060189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790814639,"filename":"image_07022025_10_57_29_9973.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338148622","file1":"1338148618","file0":"1338148613","file4":"1338148631","file5":"1338148636","file3":"1338148626"},"map_files_photo_id_array":[{"photo_id":"1338148636","filename":"file5"},{"photo_id":"1338148622","filename":"file2"},{"photo_id":"1338148631","filename":"file4"},{"photo_id":"1338148618","filename":"file1"},{"photo_id":"1338148613","filename":"file0"},{"photo_id":"1338148626","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338148631":["hashtag1","hashtag2"]},{"1338148613":["hashtag1","hashtag2"]},{"1338148622":["hashtag1","hashtag2"]},{"1338148636":["hashtag1","hashtag2"]},{"1338148618":["hashtag1","hashtag2"]},{"1338148626":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338148631, 1338148613, 1338148622, 1338148636, 1338148618, 1338148626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.504454135894775 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:13:32.059523
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_59_9915.jpg', 0), ('/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_49_9747.jpg', 0), ('/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_40_10750.jpg', 0), ('/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_29_9779.jpg', 0), ('/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_19_9859.jpg', 0), ('/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_09_9871.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_59_9915.jpg', '/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_49_9747.jpg', '/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_40_10750.jpg', '/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_29_9779.jpg', '/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_19_9859.jpg', '/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_09_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_59_9915.jpg
/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_49_9747.jpg
/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_40_10750.jpg
/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_29_9779.jpg
/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_19_9859.jpg
/home/nano/Desktop/images/07022025/10/32/image_07022025_10_32_09_9871.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338148673","1338148684","1338148681","1338148695","1338148688","1338148676"],"photo_ids_order":["1338148673","1338148676","1338148681","1338148684","1338148688","1338148695"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c380bac0d18b2e480a77fdd21f5d112.jpg","text":"TemporaryFile(/tmp/multipartBody4489975810901350358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790874700,"filename":"image_07022025_10_32_59_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba2c654bebf2dc0728b45e51b612faea.jpg","text":"TemporaryFile(/tmp/multipartBody3181487225513239534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790874700,"filename":"image_07022025_10_32_29_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e25a1147a15a8084dfa576f7248731e.jpg","text":"TemporaryFile(/tmp/multipartBody193152874676530338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790874700,"filename":"image_07022025_10_32_40_10750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7cbebb30c80d5c0b5223189b64d590ee.jpg","text":"TemporaryFile(/tmp/multipartBody5683052070746279921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790874700,"filename":"image_07022025_10_32_09_9871.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0926893389099c6b9b4cd3b89684b2b2.jpg","text":"TemporaryFile(/tmp/multipartBody3150043185662012948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790874700,"filename":"image_07022025_10_32_19_9859.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00c894ee200ee765fc23a1fa09c8a819.jpg","text":"TemporaryFile(/tmp/multipartBody3981861228944944577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790874700,"filename":"image_07022025_10_32_49_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338148681","file1":"1338148676","file0":"1338148673","file4":"1338148688","file5":"1338148695","file3":"1338148684"},"map_files_photo_id_array":[{"photo_id":"1338148695","filename":"file5"},{"photo_id":"1338148681","filename":"file2"},{"photo_id":"1338148688","filename":"file4"},{"photo_id":"1338148676","filename":"file1"},{"photo_id":"1338148673","filename":"file0"},{"photo_id":"1338148684","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338148673":["hashtag1","hashtag2"]},{"1338148684":["hashtag1","hashtag2"]},{"1338148681":["hashtag1","hashtag2"]},{"1338148695":["hashtag1","hashtag2"]},{"1338148688":["hashtag1","hashtag2"]},{"1338148676":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338148673, 1338148684, 1338148681, 1338148695, 1338148688, 1338148676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74140739440918 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:14:32.194994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/09/58/image_07022025_09_59_00_10704.jpg', 0), ('/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_49_9701.jpg', 0), ('/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_39_9712.jpg', 0), ('/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_29_10705.jpg', 0), ('/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_19_9697.jpg', 0), ('/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_09_9724.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/09/58/image_07022025_09_59_00_10704.jpg', '/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_49_9701.jpg', '/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_39_9712.jpg', '/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_29_10705.jpg', '/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_19_9697.jpg', '/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_09_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/09/58/image_07022025_09_59_00_10704.jpg
/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_49_9701.jpg
/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_39_9712.jpg
/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_29_10705.jpg
/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_19_9697.jpg
/home/nano/Desktop/images/07022025/09/58/image_07022025_09_58_09_9724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338148751","1338148754","1338148733","1338148720","1338148740","1338148737"],"photo_ids_order":["1338148720","1338148733","1338148737","1338148740","1338148751","1338148754"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c4f1bd9737d0ca711a4288e1e846042.jpg","text":"TemporaryFile(/tmp/multipartBody880577974121616715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790934307,"filename":"image_07022025_09_58_19_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c5cdebbe24bb294b574cc765ce2e560f.jpg","text":"TemporaryFile(/tmp/multipartBody5150794162388253222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790934307,"filename":"image_07022025_09_58_09_9724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb72c2542c5e3e1cd3887dc99337311d.jpg","text":"TemporaryFile(/tmp/multipartBody8614553818113791486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790934307,"filename":"image_07022025_09_58_49_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1beefb01ab0cc9bbddb1b714c75678fd.jpg","text":"TemporaryFile(/tmp/multipartBody1288418652257207627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790934307,"filename":"image_07022025_09_59_00_10704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc07802c0629bbb10aeb3f135550e150.jpg","text":"TemporaryFile(/tmp/multipartBody8303470439858273052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790934307,"filename":"image_07022025_09_58_29_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64c77eed0991213651166dfa722f11a9.jpg","text":"TemporaryFile(/tmp/multipartBody3251181212129273211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790934307,"filename":"image_07022025_09_58_39_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338148737","file1":"1338148733","file0":"1338148720","file4":"1338148751","file5":"1338148754","file3":"1338148740"},"map_files_photo_id_array":[{"photo_id":"1338148754","filename":"file5"},{"photo_id":"1338148737","filename":"file2"},{"photo_id":"1338148751","filename":"file4"},{"photo_id":"1338148733","filename":"file1"},{"photo_id":"1338148720","filename":"file0"},{"photo_id":"1338148740","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338148751":["hashtag1","hashtag2"]},{"1338148754":["hashtag1","hashtag2"]},{"1338148733":["hashtag1","hashtag2"]},{"1338148720":["hashtag1","hashtag2"]},{"1338148740":["hashtag1","hashtag2"]},{"1338148737":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338148751, 1338148754, 1338148733, 1338148720, 1338148740, 1338148737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.874610900878906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:15:32.346214
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_59_9726.jpg', 0), ('/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_50_10704.jpg', 0), ('/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_39_9695.jpg', 0), ('/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_29_9703.jpg', 0), ('/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_19_10703.jpg', 0), ('/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_09_9685.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_59_9726.jpg', '/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_50_10704.jpg', '/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_39_9695.jpg', '/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_29_9703.jpg', '/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_19_10703.jpg', '/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_09_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_59_9726.jpg
/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_50_10704.jpg
/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_39_9695.jpg
/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_29_9703.jpg
/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_19_10703.jpg
/home/nano/Desktop/images/07022025/09/57/image_07022025_09_57_09_9685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338148782","1338148776","1338148779","1338148773","1338148769","1338148784"],"photo_ids_order":["1338148769","1338148773","1338148776","1338148779","1338148782","1338148784"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed7a43a3a6a3ca9daf57234dc38893f6.jpg","text":"TemporaryFile(/tmp/multipartBody5445414474573514315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790994134,"filename":"image_07022025_09_57_19_10703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c488227d11f7060e5c6ce4709ab54c32.jpg","text":"TemporaryFile(/tmp/multipartBody4056518226700507983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790994134,"filename":"image_07022025_09_57_39_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ea1f8f90d5ae01c6d8e90677809f412.jpg","text":"TemporaryFile(/tmp/multipartBody672563995672812688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790994134,"filename":"image_07022025_09_57_29_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16c333c5c148ae38c353efae511827ba.jpg","text":"TemporaryFile(/tmp/multipartBody8472695517682765084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790994134,"filename":"image_07022025_09_57_50_10704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ecb196a93759baa257ca055ea5552958.jpg","text":"TemporaryFile(/tmp/multipartBody4431305546482064022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790994134,"filename":"image_07022025_09_57_59_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf3753ef8621c6434ee1019058e79763.jpg","text":"TemporaryFile(/tmp/multipartBody6992905458388939920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739790994134,"filename":"image_07022025_09_57_09_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338148776","file1":"1338148773","file0":"1338148769","file4":"1338148782","file5":"1338148784","file3":"1338148779"},"map_files_photo_id_array":[{"photo_id":"1338148784","filename":"file5"},{"photo_id":"1338148776","filename":"file2"},{"photo_id":"1338148782","filename":"file4"},{"photo_id":"1338148773","filename":"file1"},{"photo_id":"1338148769","filename":"file0"},{"photo_id":"1338148779","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338148782":["hashtag1","hashtag2"]},{"1338148776":["hashtag1","hashtag2"]},{"1338148779":["hashtag1","hashtag2"]},{"1338148773":["hashtag1","hashtag2"]},{"1338148769":["hashtag1","hashtag2"]},{"1338148784":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338148782, 1338148776, 1338148779, 1338148773, 1338148769, 1338148784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53172516822815 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:16:32.510186
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_59_9645.jpg', 0), ('/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_49_9643.jpg', 0), ('/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_40_10663.jpg', 0), ('/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_29_9633.jpg', 0), ('/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_19_10658.jpg', 0), ('/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_09_9640.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_59_9645.jpg', '/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_49_9643.jpg', '/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_40_10663.jpg', '/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_29_9633.jpg', '/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_19_10658.jpg', '/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_09_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_59_9645.jpg
/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_49_9643.jpg
/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_40_10663.jpg
/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_29_9633.jpg
/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_19_10658.jpg
/home/nano/Desktop/images/07022025/09/21/image_07022025_09_21_09_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338148823","1338148811","1338148820","1338148814","1338148825","1338148809"],"photo_ids_order":["1338148809","1338148811","1338148814","1338148820","1338148823","1338148825"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b027fed218c66944ae966ed2f88d902a.jpg","text":"TemporaryFile(/tmp/multipartBody7761933673630749691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791054678,"filename":"image_07022025_09_21_19_10658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/66e548ee4a93e9e2689fd0bd5dd85943.jpg","text":"TemporaryFile(/tmp/multipartBody4990828423433595772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791054678,"filename":"image_07022025_09_21_49_9643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98f22dbcac572cbe44c5934df22ec4b5.jpg","text":"TemporaryFile(/tmp/multipartBody719865424919572458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791054678,"filename":"image_07022025_09_21_29_9633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f68c3c4758e5b39639646855c691237f.jpg","text":"TemporaryFile(/tmp/multipartBody3275987663140074737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791054678,"filename":"image_07022025_09_21_40_10663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0195884c3eacf0c9fb5ac1410fae5c69.jpg","text":"TemporaryFile(/tmp/multipartBody4341955882484121083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791054678,"filename":"image_07022025_09_21_09_9640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e1c611a6721141833c1160dae8568d1a.jpg","text":"TemporaryFile(/tmp/multipartBody7770588111615228418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791054678,"filename":"image_07022025_09_21_59_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338148814","file1":"1338148811","file0":"1338148809","file4":"1338148823","file5":"1338148825","file3":"1338148820"},"map_files_photo_id_array":[{"photo_id":"1338148825","filename":"file5"},{"photo_id":"1338148814","filename":"file2"},{"photo_id":"1338148823","filename":"file4"},{"photo_id":"1338148811","filename":"file1"},{"photo_id":"1338148809","filename":"file0"},{"photo_id":"1338148820","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338148823":["hashtag1","hashtag2"]},{"1338148811":["hashtag1","hashtag2"]},{"1338148820":["hashtag1","hashtag2"]},{"1338148814":["hashtag1","hashtag2"]},{"1338148825":["hashtag1","hashtag2"]},{"1338148809":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338148823, 1338148811, 1338148820, 1338148814, 1338148825, 1338148809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64590549468994 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:17:32.643671
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_59_9699.jpg', 0), ('/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_49_9701.jpg', 0), ('/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_39_10730.jpg', 0), ('/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_29_9703.jpg', 0), ('/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_19_9703.jpg', 0), ('/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_09_9713.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_59_9699.jpg', '/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_49_9701.jpg', '/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_39_10730.jpg', '/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_29_9703.jpg', '/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_19_9703.jpg', '/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_09_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_59_9699.jpg
/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_49_9701.jpg
/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_39_10730.jpg
/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_29_9703.jpg
/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_19_9703.jpg
/home/nano/Desktop/images/07022025/09/09/image_07022025_09_09_09_9713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338149416","1338149404","1338149118","1338149412","1338148889","1338149408"],"photo_ids_order":["1338148889","1338149118","1338149404","1338149408","1338149412","1338149416"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b1e92d05c1e2a1231f8d62cc50c2ff6.jpg","text":"TemporaryFile(/tmp/multipartBody2516464125799924871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791114787,"filename":"image_07022025_09_09_09_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9c5e95ea372a4687ed9aa2e5e705505.jpg","text":"TemporaryFile(/tmp/multipartBody5227398632027686622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791114787,"filename":"image_07022025_09_09_39_10730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/decbd96e1f21aba498f0500ee9b0c1cd.jpg","text":"TemporaryFile(/tmp/multipartBody4181896672028222003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791114787,"filename":"image_07022025_09_09_49_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/85f1e9fdd05f92eadb31008daf3e8218.jpg","text":"TemporaryFile(/tmp/multipartBody3461347297212393526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791114787,"filename":"image_07022025_09_09_19_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/226c3fab74833a3d01a7759e11f8fe61.jpg","text":"TemporaryFile(/tmp/multipartBody3398748391575151435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791114787,"filename":"image_07022025_09_09_59_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/811b32a39600cc62a7b4aaeae33d2da7.jpg","text":"TemporaryFile(/tmp/multipartBody1032276929157120088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791114787,"filename":"image_07022025_09_09_29_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338149404","file1":"1338149118","file0":"1338148889","file4":"1338149412","file5":"1338149416","file3":"1338149408"},"map_files_photo_id_array":[{"photo_id":"1338149416","filename":"file5"},{"photo_id":"1338149404","filename":"file2"},{"photo_id":"1338149412","filename":"file4"},{"photo_id":"1338149118","filename":"file1"},{"photo_id":"1338148889","filename":"file0"},{"photo_id":"1338149408","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338149416":["hashtag1","hashtag2"]},{"1338149404":["hashtag1","hashtag2"]},{"1338149118":["hashtag1","hashtag2"]},{"1338149412":["hashtag1","hashtag2"]},{"1338148889":["hashtag1","hashtag2"]},{"1338149408":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338149416, 1338149404, 1338149118, 1338149412, 1338148889, 1338149408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3971164226532 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:18:31.794616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_59_9705.jpg', 0), ('/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_49_10727.jpg', 0), ('/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_39_9698.jpg', 0), ('/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_29_9697.jpg', 0), ('/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_19_9726.jpg', 0), ('/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_10_10707.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_59_9705.jpg', '/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_49_10727.jpg', '/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_39_9698.jpg', '/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_29_9697.jpg', '/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_19_9726.jpg', '/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_10_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_59_9705.jpg
/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_49_10727.jpg
/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_39_9698.jpg
/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_29_9697.jpg
/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_19_9726.jpg
/home/nano/Desktop/images/07022025/08/58/image_07022025_08_58_10_10707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338149647","1338149617","1338149626","1338149643","1338149634","1338149654"],"photo_ids_order":["1338149617","1338149626","1338149634","1338149643","1338149647","1338149654"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2babde3d7bea08735a16970022296ef0.jpg","text":"TemporaryFile(/tmp/multipartBody853907729216000597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791174032,"filename":"image_07022025_08_58_19_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/727e891a5c4642dafa5ef1b1f685c382.jpg","text":"TemporaryFile(/tmp/multipartBody8343713424055168513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791174032,"filename":"image_07022025_08_58_59_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ef3dee9220e14ef79925f19f9a7d973a.jpg","text":"TemporaryFile(/tmp/multipartBody1483633159458898497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791174032,"filename":"image_07022025_08_58_49_10727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/acd2bd9d0bc446da5e423bd7f081200f.jpg","text":"TemporaryFile(/tmp/multipartBody5269678192591232921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791174032,"filename":"image_07022025_08_58_29_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/670b790822147516af17b44f6d860497.jpg","text":"TemporaryFile(/tmp/multipartBody5502180630410357314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791174032,"filename":"image_07022025_08_58_39_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16d85095f5f1c1fbdbebe87ed7b05909.jpg","text":"TemporaryFile(/tmp/multipartBody3524062194432505349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791174032,"filename":"image_07022025_08_58_10_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338149634","file1":"1338149626","file0":"1338149617","file4":"1338149647","file5":"1338149654","file3":"1338149643"},"map_files_photo_id_array":[{"photo_id":"1338149654","filename":"file5"},{"photo_id":"1338149634","filename":"file2"},{"photo_id":"1338149647","filename":"file4"},{"photo_id":"1338149626","filename":"file1"},{"photo_id":"1338149617","filename":"file0"},{"photo_id":"1338149643","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338149647":["hashtag1","hashtag2"]},{"1338149617":["hashtag1","hashtag2"]},{"1338149626":["hashtag1","hashtag2"]},{"1338149643":["hashtag1","hashtag2"]},{"1338149634":["hashtag1","hashtag2"]},{"1338149654":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338149647, 1338149617, 1338149626, 1338149643, 1338149634, 1338149654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.602153301239014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:19:31.935199
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_59_9696.jpg', 0), ('/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_49_9699.jpg', 0), ('/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_39_10709.jpg', 0), ('/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_29_9702.jpg', 0), ('/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_19_9701.jpg', 0), ('/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_09_10713.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_59_9696.jpg', '/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_49_9699.jpg', '/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_39_10709.jpg', '/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_29_9702.jpg', '/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_19_9701.jpg', '/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_09_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_59_9696.jpg
/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_49_9699.jpg
/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_39_10709.jpg
/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_29_9702.jpg
/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_19_9701.jpg
/home/nano/Desktop/images/07022025/08/57/image_07022025_08_57_09_10713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338149683","1338149686","1338149680","1338149688","1338149676","1338149690"],"photo_ids_order":["1338149676","1338149680","1338149683","1338149686","1338149688","1338149690"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/915ccb246e54793e63b5eeaba9b63be5.jpg","text":"TemporaryFile(/tmp/multipartBody5536925462646454560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791234085,"filename":"image_07022025_08_57_39_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b269fa79977161bebf2d47b7a805f6db.jpg","text":"TemporaryFile(/tmp/multipartBody8943858952242376636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791234085,"filename":"image_07022025_08_57_29_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70f0cfe80151c8100204dac31f2361fd.jpg","text":"TemporaryFile(/tmp/multipartBody1311552493400123158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791234085,"filename":"image_07022025_08_57_49_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38f85b8abd48ed07adc8da1e143ce53c.jpg","text":"TemporaryFile(/tmp/multipartBody28234034340242426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791234085,"filename":"image_07022025_08_57_19_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aba0d8b30315367b655b321f55f4367e.jpg","text":"TemporaryFile(/tmp/multipartBody7881233648144460927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791234085,"filename":"image_07022025_08_57_59_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/229b4ca21a7a49fb65d2eea261841ff6.jpg","text":"TemporaryFile(/tmp/multipartBody4423766115213098397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791234085,"filename":"image_07022025_08_57_09_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338149683","file1":"1338149680","file0":"1338149676","file4":"1338149688","file5":"1338149690","file3":"1338149686"},"map_files_photo_id_array":[{"photo_id":"1338149690","filename":"file5"},{"photo_id":"1338149683","filename":"file2"},{"photo_id":"1338149688","filename":"file4"},{"photo_id":"1338149680","filename":"file1"},{"photo_id":"1338149676","filename":"file0"},{"photo_id":"1338149686","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338149683":["hashtag1","hashtag2"]},{"1338149686":["hashtag1","hashtag2"]},{"1338149680":["hashtag1","hashtag2"]},{"1338149688":["hashtag1","hashtag2"]},{"1338149676":["hashtag1","hashtag2"]},{"1338149690":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338149683, 1338149686, 1338149680, 1338149688, 1338149676, 1338149690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.754991054534912 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:20:32.079320
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_59_9719.jpg', 0), ('/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_49_9780.jpg', 0), ('/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_39_10676.jpg', 0), ('/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_29_9656.jpg', 0), ('/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_19_9673.jpg', 0), ('/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_09_10663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_59_9719.jpg', '/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_49_9780.jpg', '/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_39_10676.jpg', '/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_29_9656.jpg', '/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_19_9673.jpg', '/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_09_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_59_9719.jpg
/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_49_9780.jpg
/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_39_10676.jpg
/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_29_9656.jpg
/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_19_9673.jpg
/home/nano/Desktop/images/07022025/08/28/image_07022025_08_28_09_10663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338149716","1338149712","1338149706","1338149715","1338149709","1338149718"],"photo_ids_order":["1338149706","1338149709","1338149712","1338149715","1338149716","1338149718"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e20183c662d9541a0174f786afd644d0.jpg","text":"TemporaryFile(/tmp/multipartBody9195758892205512461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791294129,"filename":"image_07022025_08_28_19_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9715f0bc48503da4cb5ee4ce07552e4c.jpg","text":"TemporaryFile(/tmp/multipartBody3192360688218322298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791294129,"filename":"image_07022025_08_28_39_10676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9fa1e8d9ff06eb60ed8540548624cb18.jpg","text":"TemporaryFile(/tmp/multipartBody6534024796195881707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791294129,"filename":"image_07022025_08_28_59_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a1865a5f568dbe2f64b0df355a821707.jpg","text":"TemporaryFile(/tmp/multipartBody4811850131404331576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791294129,"filename":"image_07022025_08_28_29_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/37c2195af722cf1ee3027caa2ac478bb.jpg","text":"TemporaryFile(/tmp/multipartBody6720302187462679328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791294129,"filename":"image_07022025_08_28_49_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/47a3006fae3f9f37ef9c2fd133770e90.jpg","text":"TemporaryFile(/tmp/multipartBody4122159185734848352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791294129,"filename":"image_07022025_08_28_09_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338149712","file1":"1338149709","file0":"1338149706","file4":"1338149716","file5":"1338149718","file3":"1338149715"},"map_files_photo_id_array":[{"photo_id":"1338149718","filename":"file5"},{"photo_id":"1338149712","filename":"file2"},{"photo_id":"1338149716","filename":"file4"},{"photo_id":"1338149709","filename":"file1"},{"photo_id":"1338149706","filename":"file0"},{"photo_id":"1338149715","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338149716":["hashtag1","hashtag2"]},{"1338149712":["hashtag1","hashtag2"]},{"1338149706":["hashtag1","hashtag2"]},{"1338149715":["hashtag1","hashtag2"]},{"1338149709":["hashtag1","hashtag2"]},{"1338149718":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338149716, 1338149712, 1338149706, 1338149715, 1338149709, 1338149718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02260732650757 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:21:32.238813
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_59_9838.jpg', 0), ('/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_49_9763.jpg', 0), ('/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_39_9783.jpg', 0), ('/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_29_9775.jpg', 0), ('/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_20_10805.jpg', 0), ('/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_09_9811.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_59_9838.jpg', '/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_49_9763.jpg', '/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_39_9783.jpg', '/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_29_9775.jpg', '/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_20_10805.jpg', '/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_09_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_59_9838.jpg
/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_49_9763.jpg
/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_39_9783.jpg
/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_29_9775.jpg
/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_20_10805.jpg
/home/nano/Desktop/images/07022025/08/17/image_07022025_08_17_09_9811.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338149807","1338149826","1338149811","1338149829","1338149792","1338149804"],"photo_ids_order":["1338149792","1338149804","1338149807","1338149811","1338149826","1338149829"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ae87ba5bef37ab073a27739b3b2e1d1.jpg","text":"TemporaryFile(/tmp/multipartBody3841562234481469264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791354795,"filename":"image_07022025_08_17_39_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3bf76b38fbf4cd33c74e77af6eccaa45.jpg","text":"TemporaryFile(/tmp/multipartBody7384488659760887333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791354795,"filename":"image_07022025_08_17_20_10805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a50880ccadb051ce6cae7a48c0df87a.jpg","text":"TemporaryFile(/tmp/multipartBody5115740374920943178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791354795,"filename":"image_07022025_08_17_29_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22ee67b12e0f054eb689910859fccd63.jpg","text":"TemporaryFile(/tmp/multipartBody1480876785355528036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791354795,"filename":"image_07022025_08_17_09_9811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ef53279e48c083e185a2e082d295420.jpg","text":"TemporaryFile(/tmp/multipartBody8014303999659868770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791354795,"filename":"image_07022025_08_17_59_9838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/adedb343380d30ccdf4780fbaa5aabb0.jpg","text":"TemporaryFile(/tmp/multipartBody7673979044274401610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791354795,"filename":"image_07022025_08_17_49_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338149807","file1":"1338149804","file0":"1338149792","file4":"1338149826","file5":"1338149829","file3":"1338149811"},"map_files_photo_id_array":[{"photo_id":"1338149829","filename":"file5"},{"photo_id":"1338149807","filename":"file2"},{"photo_id":"1338149826","filename":"file4"},{"photo_id":"1338149804","filename":"file1"},{"photo_id":"1338149792","filename":"file0"},{"photo_id":"1338149811","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338149807":["hashtag1","hashtag2"]},{"1338149826":["hashtag1","hashtag2"]},{"1338149811":["hashtag1","hashtag2"]},{"1338149829":["hashtag1","hashtag2"]},{"1338149792":["hashtag1","hashtag2"]},{"1338149804":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338149807, 1338149826, 1338149811, 1338149829, 1338149792, 1338149804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1618857383728 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:22:32.405520
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_59_9659.jpg', 0), ('/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_50_10675.jpg', 0), ('/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_39_9651.jpg', 0), ('/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_29_10650.jpg', 0), ('/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_19_9679.jpg', 0), ('/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_09_9661.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_59_9659.jpg', '/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_50_10675.jpg', '/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_39_9651.jpg', '/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_29_10650.jpg', '/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_19_9679.jpg', '/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_09_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_59_9659.jpg
/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_50_10675.jpg
/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_39_9651.jpg
/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_29_10650.jpg
/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_19_9679.jpg
/home/nano/Desktop/images/07022025/07/58/image_07022025_07_58_09_9661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338149872","1338149937","1338150010","1338150174","1338149846","1338150092"],"photo_ids_order":["1338149846","1338149872","1338149937","1338150010","1338150092","1338150174"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/821c1b2966fec8150badadd28031b8e6.jpg","text":"TemporaryFile(/tmp/multipartBody3573155018165736514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791414314,"filename":"image_07022025_07_58_50_10675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12f9c442e5179810e29b4c85407c0bf6.jpg","text":"TemporaryFile(/tmp/multipartBody9001600921343354497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791414314,"filename":"image_07022025_07_58_39_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/47da7db9beddb629cd438f6ad7502b45.jpg","text":"TemporaryFile(/tmp/multipartBody2890862418320831032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791414314,"filename":"image_07022025_07_58_29_10650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a69d378b8aac59576c25d2f1222ab34.jpg","text":"TemporaryFile(/tmp/multipartBody3717613782481565768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791414314,"filename":"image_07022025_07_58_09_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4fbcd1af703a52909c8796526a4dce0.jpg","text":"TemporaryFile(/tmp/multipartBody6369123094281873969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791414314,"filename":"image_07022025_07_58_59_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/69f0fc139042c93f6542099637083ca4.jpg","text":"TemporaryFile(/tmp/multipartBody2899050589842732097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791414314,"filename":"image_07022025_07_58_19_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338149937","file1":"1338149872","file0":"1338149846","file4":"1338150092","file5":"1338150174","file3":"1338150010"},"map_files_photo_id_array":[{"photo_id":"1338150174","filename":"file5"},{"photo_id":"1338149937","filename":"file2"},{"photo_id":"1338150092","filename":"file4"},{"photo_id":"1338149872","filename":"file1"},{"photo_id":"1338149846","filename":"file0"},{"photo_id":"1338150010","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338149872":["hashtag1","hashtag2"]},{"1338149937":["hashtag1","hashtag2"]},{"1338150010":["hashtag1","hashtag2"]},{"1338150174":["hashtag1","hashtag2"]},{"1338149846":["hashtag1","hashtag2"]},{"1338150092":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338149872, 1338149937, 1338150010, 1338150174, 1338149846, 1338150092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02865219116211 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:23:32.544505
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_59_9661.jpg', 0), ('/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_50_10652.jpg', 0), ('/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_39_9664.jpg', 0), ('/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_29_10663.jpg', 0), ('/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_19_9654.jpg', 0), ('/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_09_9666.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_59_9661.jpg', '/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_50_10652.jpg', '/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_39_9664.jpg', '/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_29_10663.jpg', '/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_19_9654.jpg', '/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_09_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_59_9661.jpg
/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_50_10652.jpg
/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_39_9664.jpg
/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_29_10663.jpg
/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_19_9654.jpg
/home/nano/Desktop/images/07022025/07/57/image_07022025_07_57_09_9666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338150506","1338150509","1338150472","1338150556","1338150474","1338150548"],"photo_ids_order":["1338150472","1338150474","1338150506","1338150509","1338150548","1338150556"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8642d556ff88e17a3844690fa436a0a1.jpg","text":"TemporaryFile(/tmp/multipartBody641651702708605790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791474489,"filename":"image_07022025_07_57_39_9664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8447003111cb7a770b36f137e32706b5.jpg","text":"TemporaryFile(/tmp/multipartBody150803690326186517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791474489,"filename":"image_07022025_07_57_29_10663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b12b0043267a75d509550690802967af.jpg","text":"TemporaryFile(/tmp/multipartBody2368161192401282663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791474489,"filename":"image_07022025_07_57_59_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cbdd162680b7cd3d0c70513c640502ea.jpg","text":"TemporaryFile(/tmp/multipartBody1744928250814831786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791474489,"filename":"image_07022025_07_57_09_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ba694eb52681d59d9753681159c3fe7.jpg","text":"TemporaryFile(/tmp/multipartBody321513677920648880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791474489,"filename":"image_07022025_07_57_50_10652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/72381616cc855f351cdf8c39bc63dab1.jpg","text":"TemporaryFile(/tmp/multipartBody3867225487649412963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791474489,"filename":"image_07022025_07_57_19_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338150506","file1":"1338150474","file0":"1338150472","file4":"1338150548","file5":"1338150556","file3":"1338150509"},"map_files_photo_id_array":[{"photo_id":"1338150556","filename":"file5"},{"photo_id":"1338150506","filename":"file2"},{"photo_id":"1338150548","filename":"file4"},{"photo_id":"1338150474","filename":"file1"},{"photo_id":"1338150472","filename":"file0"},{"photo_id":"1338150509","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338150506":["hashtag1","hashtag2"]},{"1338150509":["hashtag1","hashtag2"]},{"1338150472":["hashtag1","hashtag2"]},{"1338150556":["hashtag1","hashtag2"]},{"1338150474":["hashtag1","hashtag2"]},{"1338150548":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338150506, 1338150509, 1338150472, 1338150556, 1338150474, 1338150548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49958777427673 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:24:32.695094
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_59_9671.jpg', 0), ('/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_50_10698.jpg', 0), ('/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_39_9626.jpg', 0), ('/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_29_9771.jpg', 0), ('/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_20_10714.jpg', 0), ('/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_09_9660.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_59_9671.jpg', '/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_50_10698.jpg', '/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_39_9626.jpg', '/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_29_9771.jpg', '/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_20_10714.jpg', '/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_09_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_59_9671.jpg
/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_50_10698.jpg
/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_39_9626.jpg
/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_29_9771.jpg
/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_20_10714.jpg
/home/nano/Desktop/images/07022025/07/15/image_07022025_07_15_09_9660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338150574","1338150576","1338150579","1338150570","1338150584","1338150581"],"photo_ids_order":["1338150570","1338150574","1338150576","1338150579","1338150581","1338150584"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/926436f5f9ac14eb5ee0a77202467a77.jpg","text":"TemporaryFile(/tmp/multipartBody8686034289106569635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791535034,"filename":"image_07022025_07_15_50_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/800b26a10f829f0522b8c9f2e57c851e.jpg","text":"TemporaryFile(/tmp/multipartBody5842073970008195019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791535034,"filename":"image_07022025_07_15_39_9626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d458a04680aa21cb9579df0c22c9d52.jpg","text":"TemporaryFile(/tmp/multipartBody2059654853823826057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791535034,"filename":"image_07022025_07_15_29_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/09fca28385aa7994339714957631bbfa.jpg","text":"TemporaryFile(/tmp/multipartBody416502167112822720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791535034,"filename":"image_07022025_07_15_59_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4524d8558f207f09daa3a66f3d116b4.jpg","text":"TemporaryFile(/tmp/multipartBody6133439010598332134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791535034,"filename":"image_07022025_07_15_09_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee622f3550f16e026a02f6ceed41bc3a.jpg","text":"TemporaryFile(/tmp/multipartBody4805015120555604277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791535034,"filename":"image_07022025_07_15_20_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338150576","file1":"1338150574","file0":"1338150570","file4":"1338150581","file5":"1338150584","file3":"1338150579"},"map_files_photo_id_array":[{"photo_id":"1338150584","filename":"file5"},{"photo_id":"1338150576","filename":"file2"},{"photo_id":"1338150581","filename":"file4"},{"photo_id":"1338150574","filename":"file1"},{"photo_id":"1338150570","filename":"file0"},{"photo_id":"1338150579","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338150574":["hashtag1","hashtag2"]},{"1338150576":["hashtag1","hashtag2"]},{"1338150579":["hashtag1","hashtag2"]},{"1338150570":["hashtag1","hashtag2"]},{"1338150584":["hashtag1","hashtag2"]},{"1338150581":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338150574, 1338150576, 1338150579, 1338150570, 1338150584, 1338150581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06765055656433 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:25:31.874854
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_59_9655.jpg', 0), ('/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_49_9668.jpg', 0), ('/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_39_10714.jpg', 0), ('/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_29_9702.jpg', 0), ('/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_19_9687.jpg', 0), ('/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_09_9693.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_59_9655.jpg', '/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_49_9668.jpg', '/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_39_10714.jpg', '/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_29_9702.jpg', '/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_19_9687.jpg', '/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_09_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_59_9655.jpg
/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_49_9668.jpg
/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_39_10714.jpg
/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_29_9702.jpg
/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_19_9687.jpg
/home/nano/Desktop/images/07022025/07/13/image_07022025_07_13_09_9693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338150602","1338150598","1338150607","1338150610","1338150604","1338150612"],"photo_ids_order":["1338150598","1338150602","1338150604","1338150607","1338150610","1338150612"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f8a32227cb2abd2a9d3fd9a03d75f6f.jpg","text":"TemporaryFile(/tmp/multipartBody8420410593502044939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791593798,"filename":"image_07022025_07_13_49_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f0de2dc0ae49159029f2415d4d883e08.jpg","text":"TemporaryFile(/tmp/multipartBody9082112935559294582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791593798,"filename":"image_07022025_07_13_59_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7579c8854188d4e00589b235410b064f.jpg","text":"TemporaryFile(/tmp/multipartBody1573689599325387424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791593798,"filename":"image_07022025_07_13_29_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8857dd66abe1ade2ad88cf554695b569.jpg","text":"TemporaryFile(/tmp/multipartBody2023817163748420705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791593798,"filename":"image_07022025_07_13_19_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5cf729cea8dee61c05c2e1a1c992140.jpg","text":"TemporaryFile(/tmp/multipartBody7990962784121315239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791593798,"filename":"image_07022025_07_13_39_10714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c32bf09c912120de066c16741365516c.jpg","text":"TemporaryFile(/tmp/multipartBody6609118415859573536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791593798,"filename":"image_07022025_07_13_09_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338150604","file1":"1338150602","file0":"1338150598","file4":"1338150610","file5":"1338150612","file3":"1338150607"},"map_files_photo_id_array":[{"photo_id":"1338150612","filename":"file5"},{"photo_id":"1338150604","filename":"file2"},{"photo_id":"1338150610","filename":"file4"},{"photo_id":"1338150602","filename":"file1"},{"photo_id":"1338150598","filename":"file0"},{"photo_id":"1338150607","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338150602":["hashtag1","hashtag2"]},{"1338150598":["hashtag1","hashtag2"]},{"1338150607":["hashtag1","hashtag2"]},{"1338150610":["hashtag1","hashtag2"]},{"1338150604":["hashtag1","hashtag2"]},{"1338150612":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338150602, 1338150598, 1338150607, 1338150610, 1338150604, 1338150612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80485534667969 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:26:32.007344
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/07/12/image_07022025_07_13_00_10727.jpg', 0), ('/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_49_9651.jpg', 0), ('/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_39_9655.jpg', 0), ('/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_30_10669.jpg', 0), ('/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_19_9737.jpg', 0), ('/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_09_9766.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/07/12/image_07022025_07_13_00_10727.jpg', '/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_49_9651.jpg', '/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_39_9655.jpg', '/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_30_10669.jpg', '/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_19_9737.jpg', '/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_09_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/07/12/image_07022025_07_13_00_10727.jpg
/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_49_9651.jpg
/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_39_9655.jpg
/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_30_10669.jpg
/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_19_9737.jpg
/home/nano/Desktop/images/07022025/07/12/image_07022025_07_12_09_9766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338150730","1338150727","1338150736","1338150741","1338150723","1338150747"],"photo_ids_order":["1338150723","1338150727","1338150730","1338150736","1338150741","1338150747"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7e23ff9a4204ee468b7cff92c8c85e20.jpg","text":"TemporaryFile(/tmp/multipartBody1855496332385783165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791654179,"filename":"image_07022025_07_12_39_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/35ff1db2647a35fbb4f7cdc68794e98e.jpg","text":"TemporaryFile(/tmp/multipartBody3601298350630421834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791654179,"filename":"image_07022025_07_12_49_9651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bec84f234f2a364f72ddf54221376339.jpg","text":"TemporaryFile(/tmp/multipartBody469011531701186998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791654179,"filename":"image_07022025_07_12_30_10669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13a1c252f08ff0db7ac65ae25e32d8a1.jpg","text":"TemporaryFile(/tmp/multipartBody9150619313351267449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791654179,"filename":"image_07022025_07_12_19_9737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d8f8a84c83e9181162f344ee005bfc5.jpg","text":"TemporaryFile(/tmp/multipartBody5639942280970619453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791654179,"filename":"image_07022025_07_13_00_10727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f59938fef64a04864d88c5137fc57dd.jpg","text":"TemporaryFile(/tmp/multipartBody1147182431782221067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791654179,"filename":"image_07022025_07_12_09_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338150730","file1":"1338150727","file0":"1338150723","file4":"1338150741","file5":"1338150747","file3":"1338150736"},"map_files_photo_id_array":[{"photo_id":"1338150747","filename":"file5"},{"photo_id":"1338150730","filename":"file2"},{"photo_id":"1338150741","filename":"file4"},{"photo_id":"1338150727","filename":"file1"},{"photo_id":"1338150723","filename":"file0"},{"photo_id":"1338150736","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338150730":["hashtag1","hashtag2"]},{"1338150727":["hashtag1","hashtag2"]},{"1338150736":["hashtag1","hashtag2"]},{"1338150741":["hashtag1","hashtag2"]},{"1338150723":["hashtag1","hashtag2"]},{"1338150747":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338150730, 1338150727, 1338150736, 1338150741, 1338150723, 1338150747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82321238517761 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:27:32.168148
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_59_10725.jpg', 0), ('/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_49_9619.jpg', 0), ('/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_39_9616.jpg', 0), ('/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_29_10695.jpg', 0), ('/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_19_9637.jpg', 0), ('/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_09_9671.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_59_10725.jpg', '/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_49_9619.jpg', '/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_39_9616.jpg', '/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_29_10695.jpg', '/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_19_9637.jpg', '/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_09_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_59_10725.jpg
/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_49_9619.jpg
/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_39_9616.jpg
/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_29_10695.jpg
/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_19_9637.jpg
/home/nano/Desktop/images/07022025/07/11/image_07022025_07_11_09_9671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338150769","1338150763","1338150772","1338150766","1338150759","1338150770"],"photo_ids_order":["1338150759","1338150763","1338150766","1338150769","1338150770","1338150772"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/acce11e08a82b2b4bb1244cd57b7de2c.jpg","text":"TemporaryFile(/tmp/multipartBody4662876798391258518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791714067,"filename":"image_07022025_07_11_29_10695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f9b0e7bd9146a405a994fca04e788bb.jpg","text":"TemporaryFile(/tmp/multipartBody2251489247948127383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791714067,"filename":"image_07022025_07_11_49_9619.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ccb7fe7af04d449f30091c6b80600b9.jpg","text":"TemporaryFile(/tmp/multipartBody5274731481972148251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791714067,"filename":"image_07022025_07_11_09_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1cc614e440fee29b8f50896bbfb8203a.jpg","text":"TemporaryFile(/tmp/multipartBody4111406766202961838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791714067,"filename":"image_07022025_07_11_39_9616.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28aed9a8bee719e75118488fc15a0729.jpg","text":"TemporaryFile(/tmp/multipartBody3944891403991895224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791714067,"filename":"image_07022025_07_11_59_10725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/01aeb694772057603299232e18417325.jpg","text":"TemporaryFile(/tmp/multipartBody8263197258313602482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791714067,"filename":"image_07022025_07_11_19_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338150766","file1":"1338150763","file0":"1338150759","file4":"1338150770","file5":"1338150772","file3":"1338150769"},"map_files_photo_id_array":[{"photo_id":"1338150772","filename":"file5"},{"photo_id":"1338150766","filename":"file2"},{"photo_id":"1338150770","filename":"file4"},{"photo_id":"1338150763","filename":"file1"},{"photo_id":"1338150759","filename":"file0"},{"photo_id":"1338150769","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338150769":["hashtag1","hashtag2"]},{"1338150763":["hashtag1","hashtag2"]},{"1338150772":["hashtag1","hashtag2"]},{"1338150766":["hashtag1","hashtag2"]},{"1338150759":["hashtag1","hashtag2"]},{"1338150770":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338150769, 1338150763, 1338150772, 1338150766, 1338150759, 1338150770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.789443969726562 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:28:32.323848
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_59_10763.jpg', 0), ('/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_49_9641.jpg', 0), ('/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_39_9790.jpg', 0), ('/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_29_9662.jpg', 0), ('/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_20_10643.jpg', 0), ('/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_09_9610.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_59_10763.jpg', '/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_49_9641.jpg', '/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_39_9790.jpg', '/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_29_9662.jpg', '/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_20_10643.jpg', '/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_09_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_59_10763.jpg
/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_49_9641.jpg
/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_39_9790.jpg
/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_29_9662.jpg
/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_20_10643.jpg
/home/nano/Desktop/images/07022025/07/10/image_07022025_07_10_09_9610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338150815","1338150831","1338150825","1338150813","1338150807","1338150791"],"photo_ids_order":["1338150791","1338150807","1338150813","1338150815","1338150825","1338150831"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/402354a184ca0d21b6c370637eb4a588.jpg","text":"TemporaryFile(/tmp/multipartBody4666545433158451972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791774576,"filename":"image_07022025_07_10_29_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da57bb9f22ee1cb0e4620bb3caa3a181.jpg","text":"TemporaryFile(/tmp/multipartBody4395539338202422335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791774576,"filename":"image_07022025_07_10_09_9610.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb6386d84d990da39e882525fb0177a9.jpg","text":"TemporaryFile(/tmp/multipartBody2861501804631416042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791774576,"filename":"image_07022025_07_10_20_10643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5cdd10a45609418a2e8c59a45d6bd23c.jpg","text":"TemporaryFile(/tmp/multipartBody4606547191535729605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791774576,"filename":"image_07022025_07_10_39_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6184a46037f62cd06b5c10d7cb092cf4.jpg","text":"TemporaryFile(/tmp/multipartBody5806830266877513149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791774576,"filename":"image_07022025_07_10_49_9641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/581acb6ec60122f4cdef2ce898e4eea0.jpg","text":"TemporaryFile(/tmp/multipartBody2314391524879048209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791774576,"filename":"image_07022025_07_10_59_10763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338150813","file1":"1338150807","file0":"1338150791","file4":"1338150825","file5":"1338150831","file3":"1338150815"},"map_files_photo_id_array":[{"photo_id":"1338150831","filename":"file5"},{"photo_id":"1338150813","filename":"file2"},{"photo_id":"1338150825","filename":"file4"},{"photo_id":"1338150807","filename":"file1"},{"photo_id":"1338150791","filename":"file0"},{"photo_id":"1338150815","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338150815":["hashtag1","hashtag2"]},{"1338150831":["hashtag1","hashtag2"]},{"1338150825":["hashtag1","hashtag2"]},{"1338150813":["hashtag1","hashtag2"]},{"1338150807":["hashtag1","hashtag2"]},{"1338150791":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338150815, 1338150831, 1338150825, 1338150813, 1338150807, 1338150791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.438162088394165 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:29:32.484856
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_59_10629.jpg', 0), ('/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_49_9629.jpg', 0), ('/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_39_9742.jpg', 0), ('/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_29_9770.jpg', 0), ('/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_20_10844.jpg', 0), ('/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_09_9649.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_59_10629.jpg', '/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_49_9629.jpg', '/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_39_9742.jpg', '/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_29_9770.jpg', '/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_20_10844.jpg', '/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_09_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_59_10629.jpg
/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_49_9629.jpg
/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_39_9742.jpg
/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_29_9770.jpg
/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_20_10844.jpg
/home/nano/Desktop/images/07022025/07/09/image_07022025_07_09_09_9649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338150869","1338150905","1338150873","1338150903","1338150893","1338150900"],"photo_ids_order":["1338150869","1338150873","1338150893","1338150900","1338150903","1338150905"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d12955a3abc7e23e6ae87ecfc808866.jpg","text":"TemporaryFile(/tmp/multipartBody3036922787135333092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791834835,"filename":"image_07022025_07_09_59_10629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ddeab7b910cb445afe06289032cde58a.jpg","text":"TemporaryFile(/tmp/multipartBody102696575017457518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791834835,"filename":"image_07022025_07_09_09_9649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97150d9d5aa64520a7d12041ada9b234.jpg","text":"TemporaryFile(/tmp/multipartBody4424336701990296343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791834835,"filename":"image_07022025_07_09_49_9629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88ea5bdc85c6450e4d980e777022b32e.jpg","text":"TemporaryFile(/tmp/multipartBody1776549288782381925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791834835,"filename":"image_07022025_07_09_20_10844.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6df7de295ca5bc00352912a43017209.jpg","text":"TemporaryFile(/tmp/multipartBody7920241212071152787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791834835,"filename":"image_07022025_07_09_39_9742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc7c3d6f7072d394136fdca5c650b129.jpg","text":"TemporaryFile(/tmp/multipartBody7561980928260138185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791834835,"filename":"image_07022025_07_09_29_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338150893","file1":"1338150873","file0":"1338150869","file4":"1338150903","file5":"1338150905","file3":"1338150900"},"map_files_photo_id_array":[{"photo_id":"1338150905","filename":"file5"},{"photo_id":"1338150893","filename":"file2"},{"photo_id":"1338150903","filename":"file4"},{"photo_id":"1338150873","filename":"file1"},{"photo_id":"1338150869","filename":"file0"},{"photo_id":"1338150900","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338150869":["hashtag1","hashtag2"]},{"1338150905":["hashtag1","hashtag2"]},{"1338150873":["hashtag1","hashtag2"]},{"1338150903":["hashtag1","hashtag2"]},{"1338150893":["hashtag1","hashtag2"]},{"1338150900":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338150869, 1338150905, 1338150873, 1338150903, 1338150893, 1338150900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.373876094818115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:30:32.713640
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_59_9653.jpg', 0), ('/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_50_10700.jpg', 0), ('/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_39_9674.jpg', 0), ('/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_29_9665.jpg', 0), ('/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_19_10675.jpg', 0), ('/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_09_9679.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_59_9653.jpg', '/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_50_10700.jpg', '/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_39_9674.jpg', '/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_29_9665.jpg', '/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_19_10675.jpg', '/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_09_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_59_9653.jpg
/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_50_10700.jpg
/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_39_9674.jpg
/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_29_9665.jpg
/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_19_10675.jpg
/home/nano/Desktop/images/07022025/06/58/image_07022025_06_58_09_9679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338150932","1338150920","1338150923","1338150917","1338150927","1338150930"],"photo_ids_order":["1338150917","1338150920","1338150923","1338150927","1338150930","1338150932"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53f43786602767c83874950796dbbc00.jpg","text":"TemporaryFile(/tmp/multipartBody7513645490301869345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791894798,"filename":"image_07022025_06_58_09_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/072059fdfccf1e2df2fb08fdceefaae7.jpg","text":"TemporaryFile(/tmp/multipartBody7365693144396750951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791894798,"filename":"image_07022025_06_58_50_10700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b76fcb8a488584ff88fdb56965539d0.jpg","text":"TemporaryFile(/tmp/multipartBody6074025825177001268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791894798,"filename":"image_07022025_06_58_39_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d7408a7e966f40b412024a8b1617f459.jpg","text":"TemporaryFile(/tmp/multipartBody8809752865541811713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791894798,"filename":"image_07022025_06_58_59_9653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/69b9e7171a60ebc04bc59de93ea23306.jpg","text":"TemporaryFile(/tmp/multipartBody376022407760901381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791894798,"filename":"image_07022025_06_58_29_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b80badd152f5ca3f0ee9505050d8265a.jpg","text":"TemporaryFile(/tmp/multipartBody7773094361450110062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791894798,"filename":"image_07022025_06_58_19_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338150923","file1":"1338150920","file0":"1338150917","file4":"1338150930","file5":"1338150932","file3":"1338150927"},"map_files_photo_id_array":[{"photo_id":"1338150932","filename":"file5"},{"photo_id":"1338150923","filename":"file2"},{"photo_id":"1338150930","filename":"file4"},{"photo_id":"1338150920","filename":"file1"},{"photo_id":"1338150917","filename":"file0"},{"photo_id":"1338150927","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338150932":["hashtag1","hashtag2"]},{"1338150920":["hashtag1","hashtag2"]},{"1338150923":["hashtag1","hashtag2"]},{"1338150917":["hashtag1","hashtag2"]},{"1338150927":["hashtag1","hashtag2"]},{"1338150930":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338150932, 1338150920, 1338150923, 1338150917, 1338150927, 1338150930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06863737106323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:31:31.853961
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_59_9668.jpg', 0), ('/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_49_10656.jpg', 0), ('/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_39_9654.jpg', 0), ('/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_29_9641.jpg', 0), ('/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_19_10662.jpg', 0), ('/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_09_9651.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_59_9668.jpg', '/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_49_10656.jpg', '/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_39_9654.jpg', '/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_29_9641.jpg', '/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_19_10662.jpg', '/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_09_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_59_9668.jpg
/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_49_10656.jpg
/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_39_9654.jpg
/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_29_9641.jpg
/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_19_10662.jpg
/home/nano/Desktop/images/07022025/06/57/image_07022025_06_57_09_9651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338150955","1338150970","1338150952","1338150960","1338150948","1338150974"],"photo_ids_order":["1338150948","1338150952","1338150955","1338150960","1338150970","1338150974"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a35464a24f1aee30ad2a3029d7e84c6.jpg","text":"TemporaryFile(/tmp/multipartBody3747015632556358079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791954169,"filename":"image_07022025_06_57_39_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3032dc1435f4880fd4a5a06148a5728.jpg","text":"TemporaryFile(/tmp/multipartBody3981185141287303600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791954169,"filename":"image_07022025_06_57_19_10662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/631bf8b13cccffe6bdfea54f315df3ec.jpg","text":"TemporaryFile(/tmp/multipartBody4006539232592077337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791954169,"filename":"image_07022025_06_57_49_10656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90d16959c5f0d20b97f741e21bd9914c.jpg","text":"TemporaryFile(/tmp/multipartBody2543327244882775169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791954169,"filename":"image_07022025_06_57_29_9641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8fd63d1db665e25acb6451d33d0ae5e0.jpg","text":"TemporaryFile(/tmp/multipartBody5788628600504173037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791954169,"filename":"image_07022025_06_57_59_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1944e8368dfe873953af1eb81f92eba.jpg","text":"TemporaryFile(/tmp/multipartBody2808977904821142166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739791954169,"filename":"image_07022025_06_57_09_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338150955","file1":"1338150952","file0":"1338150948","file4":"1338150970","file5":"1338150974","file3":"1338150960"},"map_files_photo_id_array":[{"photo_id":"1338150974","filename":"file5"},{"photo_id":"1338150955","filename":"file2"},{"photo_id":"1338150970","filename":"file4"},{"photo_id":"1338150952","filename":"file1"},{"photo_id":"1338150948","filename":"file0"},{"photo_id":"1338150960","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338150955":["hashtag1","hashtag2"]},{"1338150970":["hashtag1","hashtag2"]},{"1338150952":["hashtag1","hashtag2"]},{"1338150960":["hashtag1","hashtag2"]},{"1338150948":["hashtag1","hashtag2"]},{"1338150974":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338150955, 1338150970, 1338150952, 1338150960, 1338150948, 1338150974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64881777763367 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:32:32.011414
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_59_9772.jpg', 0), ('/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_49_9772.jpg', 0), ('/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_39_9775.jpg', 0), ('/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_29_9771.jpg', 0), ('/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_20_10790.jpg', 0), ('/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_09_9801.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_59_9772.jpg', '/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_49_9772.jpg', '/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_39_9775.jpg', '/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_29_9771.jpg', '/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_20_10790.jpg', '/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_09_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_59_9772.jpg
/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_49_9772.jpg
/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_39_9775.jpg
/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_29_9771.jpg
/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_20_10790.jpg
/home/nano/Desktop/images/07022025/06/40/image_07022025_06_40_09_9801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151001","1338150985","1338150994","1338150990","1338150987","1338150998"],"photo_ids_order":["1338150985","1338150987","1338150990","1338150994","1338150998","1338151001"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/402be823b1e24c3b1c1d8ccdfcbebcbb.jpg","text":"TemporaryFile(/tmp/multipartBody6188070392962000975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792014462,"filename":"image_07022025_06_40_09_9801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc3778451916781d94df886bd58a892a.jpg","text":"TemporaryFile(/tmp/multipartBody488230392600392643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792014462,"filename":"image_07022025_06_40_59_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a35f2a7c815ef9c1f276032fb5b55410.jpg","text":"TemporaryFile(/tmp/multipartBody7182664106686754343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792014462,"filename":"image_07022025_06_40_29_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6d67718077c0ddf7c9ab8685d53d615.jpg","text":"TemporaryFile(/tmp/multipartBody5632010997175380724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792014462,"filename":"image_07022025_06_40_39_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53fde30cd0b731b773e7c6c332bebf47.jpg","text":"TemporaryFile(/tmp/multipartBody2014533824376921985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792014462,"filename":"image_07022025_06_40_49_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08881fb542230f081ff1c964c7848ca9.jpg","text":"TemporaryFile(/tmp/multipartBody1876749970211898228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792014462,"filename":"image_07022025_06_40_20_10790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338150990","file1":"1338150987","file0":"1338150985","file4":"1338150998","file5":"1338151001","file3":"1338150994"},"map_files_photo_id_array":[{"photo_id":"1338151001","filename":"file5"},{"photo_id":"1338150990","filename":"file2"},{"photo_id":"1338150998","filename":"file4"},{"photo_id":"1338150987","filename":"file1"},{"photo_id":"1338150985","filename":"file0"},{"photo_id":"1338150994","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151001":["hashtag1","hashtag2"]},{"1338150985":["hashtag1","hashtag2"]},{"1338150994":["hashtag1","hashtag2"]},{"1338150990":["hashtag1","hashtag2"]},{"1338150987":["hashtag1","hashtag2"]},{"1338150998":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151001, 1338150985, 1338150994, 1338150990, 1338150987, 1338150998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.879154443740845 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:33:32.150189
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_59_9772.jpg', 0), ('/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_49_9775.jpg', 0), ('/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_39_9795.jpg', 0), ('/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_29_10783.jpg', 0), ('/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_19_9775.jpg', 0), ('/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_09_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_59_9772.jpg', '/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_49_9775.jpg', '/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_39_9795.jpg', '/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_29_10783.jpg', '/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_19_9775.jpg', '/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_09_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_59_9772.jpg
/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_49_9775.jpg
/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_39_9795.jpg
/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_29_10783.jpg
/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_19_9775.jpg
/home/nano/Desktop/images/07022025/06/17/image_07022025_06_17_09_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151030","1338151020","1338151023","1338151017","1338151025","1338151028"],"photo_ids_order":["1338151017","1338151020","1338151023","1338151025","1338151028","1338151030"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e9babeb79d9fe8f0a773da8f0e5d5fdf.jpg","text":"TemporaryFile(/tmp/multipartBody700334701197531768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792074660,"filename":"image_07022025_06_17_09_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0fbe20914e23824aff23c6e941498f3a.jpg","text":"TemporaryFile(/tmp/multipartBody1904225375701201175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792074660,"filename":"image_07022025_06_17_49_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/881cfbf816ae66b5094d6cd65efd1dd1.jpg","text":"TemporaryFile(/tmp/multipartBody5421871398929271639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792074660,"filename":"image_07022025_06_17_39_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/725708a68bce0cf8bddaaf017aa60924.jpg","text":"TemporaryFile(/tmp/multipartBody4751525169734193721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792074660,"filename":"image_07022025_06_17_59_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/002393c287803b22967168c44bcb7210.jpg","text":"TemporaryFile(/tmp/multipartBody2316610322807963981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792074660,"filename":"image_07022025_06_17_29_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/528460fa7bf1e97f78e9041dde7d15b4.jpg","text":"TemporaryFile(/tmp/multipartBody2348504158033066604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792074660,"filename":"image_07022025_06_17_19_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151023","file1":"1338151020","file0":"1338151017","file4":"1338151028","file5":"1338151030","file3":"1338151025"},"map_files_photo_id_array":[{"photo_id":"1338151030","filename":"file5"},{"photo_id":"1338151023","filename":"file2"},{"photo_id":"1338151028","filename":"file4"},{"photo_id":"1338151020","filename":"file1"},{"photo_id":"1338151017","filename":"file0"},{"photo_id":"1338151025","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151030":["hashtag1","hashtag2"]},{"1338151020":["hashtag1","hashtag2"]},{"1338151023":["hashtag1","hashtag2"]},{"1338151017":["hashtag1","hashtag2"]},{"1338151025":["hashtag1","hashtag2"]},{"1338151028":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151030, 1338151020, 1338151023, 1338151017, 1338151025, 1338151028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49275231361389 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:34:32.299646
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_59_9782.jpg', 0), ('/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_49_9777.jpg', 0), ('/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_39_9773.jpg', 0), ('/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_29_10782.jpg', 0), ('/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_19_9791.jpg', 0), ('/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_09_9803.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_59_9782.jpg', '/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_49_9777.jpg', '/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_39_9773.jpg', '/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_29_10782.jpg', '/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_19_9791.jpg', '/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_09_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_59_9782.jpg
/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_49_9777.jpg
/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_39_9773.jpg
/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_29_10782.jpg
/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_19_9791.jpg
/home/nano/Desktop/images/07022025/05/44/image_07022025_05_44_09_9803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151090","1338151081","1338151077","1338151086","1338151094","1338151073"],"photo_ids_order":["1338151073","1338151077","1338151081","1338151086","1338151090","1338151094"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8960cd83caf9ceca9d34a15bd31f3d3.jpg","text":"TemporaryFile(/tmp/multipartBody436526838076208694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792135623,"filename":"image_07022025_05_44_19_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1eae353671754ba2bf80abdb53f19de7.jpg","text":"TemporaryFile(/tmp/multipartBody8849226526525127395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792135623,"filename":"image_07022025_05_44_39_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d722cb4a8ead38e332b1e398ce103e07.jpg","text":"TemporaryFile(/tmp/multipartBody351317199033290741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792135623,"filename":"image_07022025_05_44_49_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bb4a509d498d2e6c50c600a08da14bed.jpg","text":"TemporaryFile(/tmp/multipartBody1141141102908934646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792135623,"filename":"image_07022025_05_44_29_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71651752c7a40b494d64bb4e8d14e1e3.jpg","text":"TemporaryFile(/tmp/multipartBody4995370612428396357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792135623,"filename":"image_07022025_05_44_09_9803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b631d1d423097b4b3e78b3bbcb4e521.jpg","text":"TemporaryFile(/tmp/multipartBody3058305661179011914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792135623,"filename":"image_07022025_05_44_59_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151081","file1":"1338151077","file0":"1338151073","file4":"1338151090","file5":"1338151094","file3":"1338151086"},"map_files_photo_id_array":[{"photo_id":"1338151094","filename":"file5"},{"photo_id":"1338151081","filename":"file2"},{"photo_id":"1338151090","filename":"file4"},{"photo_id":"1338151077","filename":"file1"},{"photo_id":"1338151073","filename":"file0"},{"photo_id":"1338151086","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151090":["hashtag1","hashtag2"]},{"1338151081":["hashtag1","hashtag2"]},{"1338151077":["hashtag1","hashtag2"]},{"1338151086":["hashtag1","hashtag2"]},{"1338151094":["hashtag1","hashtag2"]},{"1338151073":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151090, 1338151081, 1338151077, 1338151086, 1338151094, 1338151073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05043005943298 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:35:32.448022
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_59_10783.jpg', 0), ('/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_49_9784.jpg', 0), ('/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_39_9774.jpg', 0), ('/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_29_9775.jpg', 0), ('/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_19_9792.jpg', 0), ('/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_10_10795.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_59_10783.jpg', '/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_49_9784.jpg', '/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_39_9774.jpg', '/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_29_9775.jpg', '/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_19_9792.jpg', '/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_10_10795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_59_10783.jpg
/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_49_9784.jpg
/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_39_9774.jpg
/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_29_9775.jpg
/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_19_9792.jpg
/home/nano/Desktop/images/07022025/04/58/image_07022025_04_58_10_10795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151115","1338151109","1338151122","1338151119","1338151112","1338151106"],"photo_ids_order":["1338151106","1338151109","1338151112","1338151115","1338151119","1338151122"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4445c3ff2d4dff05e4d6eab16534716a.jpg","text":"TemporaryFile(/tmp/multipartBody3519368295118850612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792194719,"filename":"image_07022025_04_58_29_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f843fa0c6720785d48afd2c27703f46.jpg","text":"TemporaryFile(/tmp/multipartBody226538800641372512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792194719,"filename":"image_07022025_04_58_49_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31bed3563b04f879207e6291c707104e.jpg","text":"TemporaryFile(/tmp/multipartBody260327440341069337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792194719,"filename":"image_07022025_04_58_10_10795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/667958af2b7547f20fc34859a0ac0211.jpg","text":"TemporaryFile(/tmp/multipartBody1781778519378380215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792194719,"filename":"image_07022025_04_58_19_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f0bd7783fca46ba4eb74b1edfcce4f20.jpg","text":"TemporaryFile(/tmp/multipartBody5810741439689913891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792194719,"filename":"image_07022025_04_58_39_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cfa4fb0d8209754a56c1f8b6e4a21f2.jpg","text":"TemporaryFile(/tmp/multipartBody7802037184570025318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792194719,"filename":"image_07022025_04_58_59_10783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151112","file1":"1338151109","file0":"1338151106","file4":"1338151119","file5":"1338151122","file3":"1338151115"},"map_files_photo_id_array":[{"photo_id":"1338151122","filename":"file5"},{"photo_id":"1338151112","filename":"file2"},{"photo_id":"1338151119","filename":"file4"},{"photo_id":"1338151109","filename":"file1"},{"photo_id":"1338151106","filename":"file0"},{"photo_id":"1338151115","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151115":["hashtag1","hashtag2"]},{"1338151109":["hashtag1","hashtag2"]},{"1338151122":["hashtag1","hashtag2"]},{"1338151119":["hashtag1","hashtag2"]},{"1338151112":["hashtag1","hashtag2"]},{"1338151106":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151115, 1338151109, 1338151122, 1338151119, 1338151112, 1338151106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.290114641189575 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:36:32.596864
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/04/45/image_07022025_04_46_00_10784.jpg', 0), ('/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_49_9774.jpg', 0), ('/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_39_9776.jpg', 0), ('/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_29_9773.jpg', 0), ('/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_19_9777.jpg', 0), ('/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_10_10778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/04/45/image_07022025_04_46_00_10784.jpg', '/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_49_9774.jpg', '/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_39_9776.jpg', '/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_29_9773.jpg', '/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_19_9777.jpg', '/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_10_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/04/45/image_07022025_04_46_00_10784.jpg
/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_49_9774.jpg
/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_39_9776.jpg
/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_29_9773.jpg
/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_19_9777.jpg
/home/nano/Desktop/images/07022025/04/45/image_07022025_04_45_10_10778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151152","1338151146","1338151149","1338151137","1338151142","1338151133"],"photo_ids_order":["1338151133","1338151137","1338151142","1338151146","1338151149","1338151152"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2bf5437481b938f92b47333a3b405275.jpg","text":"TemporaryFile(/tmp/multipartBody3625958275906383845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792255344,"filename":"image_07022025_04_45_10_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f108e066926158f06ab34e399a2c536d.jpg","text":"TemporaryFile(/tmp/multipartBody4047513889841628064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792255344,"filename":"image_07022025_04_45_29_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1b1d09e1752de5646d668c710a690b0.jpg","text":"TemporaryFile(/tmp/multipartBody1064601177857279923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792255344,"filename":"image_07022025_04_45_19_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c58681eabc9ffa7dc44e48df26185667.jpg","text":"TemporaryFile(/tmp/multipartBody2509253436650765397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792255344,"filename":"image_07022025_04_45_49_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e28f9a6b0b05465418d593bcf904112d.jpg","text":"TemporaryFile(/tmp/multipartBody8762438226357055718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792255344,"filename":"image_07022025_04_45_39_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9d6690edafc152e02a1bd553bf8e4cb.jpg","text":"TemporaryFile(/tmp/multipartBody5755098820398757721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792255344,"filename":"image_07022025_04_46_00_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151142","file1":"1338151137","file0":"1338151133","file4":"1338151149","file5":"1338151152","file3":"1338151146"},"map_files_photo_id_array":[{"photo_id":"1338151152","filename":"file5"},{"photo_id":"1338151142","filename":"file2"},{"photo_id":"1338151149","filename":"file4"},{"photo_id":"1338151137","filename":"file1"},{"photo_id":"1338151133","filename":"file0"},{"photo_id":"1338151146","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151152":["hashtag1","hashtag2"]},{"1338151146":["hashtag1","hashtag2"]},{"1338151149":["hashtag1","hashtag2"]},{"1338151137":["hashtag1","hashtag2"]},{"1338151142":["hashtag1","hashtag2"]},{"1338151133":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151152, 1338151146, 1338151149, 1338151137, 1338151142, 1338151133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.057899475097656 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:37:32.736268
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_59_9774.jpg', 0), ('/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_49_9776.jpg', 0), ('/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_39_9778.jpg', 0), ('/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_29_10786.jpg', 0), ('/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_19_9778.jpg', 0), ('/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_09_9790.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_59_9774.jpg', '/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_49_9776.jpg', '/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_39_9778.jpg', '/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_29_10786.jpg', '/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_19_9778.jpg', '/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_09_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_59_9774.jpg
/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_49_9776.jpg
/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_39_9778.jpg
/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_29_10786.jpg
/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_19_9778.jpg
/home/nano/Desktop/images/07022025/03/54/image_07022025_03_54_09_9790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151177","1338151189","1338151162","1338151182","1338151170","1338151167"],"photo_ids_order":["1338151162","1338151167","1338151170","1338151177","1338151182","1338151189"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60d045e3e8bfc2bdf18a1713f032aaee.jpg","text":"TemporaryFile(/tmp/multipartBody7658176605177218686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792315283,"filename":"image_07022025_03_54_29_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c826237c2a451f18e06cd206462f8f07.jpg","text":"TemporaryFile(/tmp/multipartBody6117265230334640567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792315283,"filename":"image_07022025_03_54_09_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf7a763b071bfbd827a747fefa2b0e88.jpg","text":"TemporaryFile(/tmp/multipartBody7689207624323405509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792315283,"filename":"image_07022025_03_54_59_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a58f77d46d928d83defb5927162f82a.jpg","text":"TemporaryFile(/tmp/multipartBody8547265676382221873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792315283,"filename":"image_07022025_03_54_19_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da45006d890c0c793e85bab99f5d9921.jpg","text":"TemporaryFile(/tmp/multipartBody7605606360856577164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792315283,"filename":"image_07022025_03_54_39_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc32493231378d6dc7ee818859456d06.jpg","text":"TemporaryFile(/tmp/multipartBody2339954799379219720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792315283,"filename":"image_07022025_03_54_49_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151170","file1":"1338151167","file0":"1338151162","file4":"1338151182","file5":"1338151189","file3":"1338151177"},"map_files_photo_id_array":[{"photo_id":"1338151189","filename":"file5"},{"photo_id":"1338151170","filename":"file2"},{"photo_id":"1338151182","filename":"file4"},{"photo_id":"1338151167","filename":"file1"},{"photo_id":"1338151162","filename":"file0"},{"photo_id":"1338151177","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151177":["hashtag1","hashtag2"]},{"1338151189":["hashtag1","hashtag2"]},{"1338151162":["hashtag1","hashtag2"]},{"1338151182":["hashtag1","hashtag2"]},{"1338151170":["hashtag1","hashtag2"]},{"1338151167":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151177, 1338151189, 1338151162, 1338151182, 1338151170, 1338151167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.741182804107666 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:38:31.902108
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_59_9772.jpg', 0), ('/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_49_9778.jpg', 0), ('/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_39_10785.jpg', 0), ('/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_29_9775.jpg', 0), ('/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_19_9775.jpg', 0), ('/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_09_9804.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_59_9772.jpg', '/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_49_9778.jpg', '/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_39_10785.jpg', '/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_29_9775.jpg', '/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_19_9775.jpg', '/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_09_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_59_9772.jpg
/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_49_9778.jpg
/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_39_10785.jpg
/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_29_9775.jpg
/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_19_9775.jpg
/home/nano/Desktop/images/07022025/02/57/image_07022025_02_57_09_9804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151366","1338151201","1338151197","1338151286","1338151361","1338151205"],"photo_ids_order":["1338151197","1338151201","1338151205","1338151286","1338151361","1338151366"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad1e93e9459722ca36ab3e92bf964583.jpg","text":"TemporaryFile(/tmp/multipartBody6033804893742172631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792374337,"filename":"image_07022025_02_57_09_9804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92019688ac0e372fadc358e3f7149321.jpg","text":"TemporaryFile(/tmp/multipartBody2360032882056295804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792374337,"filename":"image_07022025_02_57_49_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f2cf1890cf54be6d1e472a6a5dceacbc.jpg","text":"TemporaryFile(/tmp/multipartBody8405190090231950363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792374337,"filename":"image_07022025_02_57_59_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f90b640d7cd376539450eacbcb4093e.jpg","text":"TemporaryFile(/tmp/multipartBody9198922462316599674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792374337,"filename":"image_07022025_02_57_29_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/85adccc8531d5e845999a046bb4ea7df.jpg","text":"TemporaryFile(/tmp/multipartBody7032701535416357152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792374337,"filename":"image_07022025_02_57_19_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f93da644fce6ae68ffd72a40741bacc.jpg","text":"TemporaryFile(/tmp/multipartBody6927330803206876596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792374337,"filename":"image_07022025_02_57_39_10785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151205","file1":"1338151201","file0":"1338151197","file4":"1338151361","file5":"1338151366","file3":"1338151286"},"map_files_photo_id_array":[{"photo_id":"1338151366","filename":"file5"},{"photo_id":"1338151205","filename":"file2"},{"photo_id":"1338151361","filename":"file4"},{"photo_id":"1338151201","filename":"file1"},{"photo_id":"1338151197","filename":"file0"},{"photo_id":"1338151286","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151366":["hashtag1","hashtag2"]},{"1338151201":["hashtag1","hashtag2"]},{"1338151197":["hashtag1","hashtag2"]},{"1338151286":["hashtag1","hashtag2"]},{"1338151361":["hashtag1","hashtag2"]},{"1338151205":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151366, 1338151201, 1338151197, 1338151286, 1338151361, 1338151205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16608929634094 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:39:32.037730
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_59_9779.jpg', 0), ('/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_50_10786.jpg', 0), ('/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_39_9775.jpg', 0), ('/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_29_9794.jpg', 0), ('/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_19_9797.jpg', 0), ('/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_09_10777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_59_9779.jpg', '/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_50_10786.jpg', '/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_39_9775.jpg', '/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_29_9794.jpg', '/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_19_9797.jpg', '/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_09_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_59_9779.jpg
/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_50_10786.jpg
/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_39_9775.jpg
/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_29_9794.jpg
/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_19_9797.jpg
/home/nano/Desktop/images/07022025/02/23/image_07022025_02_23_09_10777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151378","1338151392","1338151385","1338151394","1338151388","1338151382"],"photo_ids_order":["1338151378","1338151382","1338151385","1338151388","1338151392","1338151394"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e58825f54cc18e07f0698440e3ea0003.jpg","text":"TemporaryFile(/tmp/multipartBody2201782025728765689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792434582,"filename":"image_07022025_02_23_59_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/73af448d29f0e2688648b69e0a6fa05b.jpg","text":"TemporaryFile(/tmp/multipartBody3704610448561818987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792434582,"filename":"image_07022025_02_23_19_9797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ba796ffa36a95f82868f22c7eef5b59.jpg","text":"TemporaryFile(/tmp/multipartBody305301292236996966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792434582,"filename":"image_07022025_02_23_39_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d8b25eeb56f7d7da36560ab671c565b.jpg","text":"TemporaryFile(/tmp/multipartBody6164975827673903115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792434582,"filename":"image_07022025_02_23_09_10777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19b79e1aaceb6a29c36df18ce216974b.jpg","text":"TemporaryFile(/tmp/multipartBody8001112207226907885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792434582,"filename":"image_07022025_02_23_29_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/018766090a4899922c222cff56afa22b.jpg","text":"TemporaryFile(/tmp/multipartBody6725195982861941988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792434582,"filename":"image_07022025_02_23_50_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151385","file1":"1338151382","file0":"1338151378","file4":"1338151392","file5":"1338151394","file3":"1338151388"},"map_files_photo_id_array":[{"photo_id":"1338151394","filename":"file5"},{"photo_id":"1338151385","filename":"file2"},{"photo_id":"1338151392","filename":"file4"},{"photo_id":"1338151382","filename":"file1"},{"photo_id":"1338151378","filename":"file0"},{"photo_id":"1338151388","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151378":["hashtag1","hashtag2"]},{"1338151392":["hashtag1","hashtag2"]},{"1338151385":["hashtag1","hashtag2"]},{"1338151394":["hashtag1","hashtag2"]},{"1338151388":["hashtag1","hashtag2"]},{"1338151382":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151378, 1338151392, 1338151385, 1338151394, 1338151388, 1338151382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11849856376648 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:40:32.183820
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_59_9774.jpg', 0), ('/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_49_9772.jpg', 0), ('/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_39_9773.jpg', 0), ('/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_29_10778.jpg', 0), ('/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_19_9794.jpg', 0), ('/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_09_9793.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_59_9774.jpg', '/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_49_9772.jpg', '/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_39_9773.jpg', '/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_29_10778.jpg', '/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_19_9794.jpg', '/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_09_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_59_9774.jpg
/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_49_9772.jpg
/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_39_9773.jpg
/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_29_10778.jpg
/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_19_9794.jpg
/home/nano/Desktop/images/07022025/02/08/image_07022025_02_08_09_9793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151412","1338151414","1338151408","1338151422","1338151419","1338151404"],"photo_ids_order":["1338151404","1338151408","1338151412","1338151414","1338151419","1338151422"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d582c2073d6fd8c630b646b436b6b68e.jpg","text":"TemporaryFile(/tmp/multipartBody8194278231260040764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792494642,"filename":"image_07022025_02_08_39_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1abe54f06ed05a38ae558215a2ddff47.jpg","text":"TemporaryFile(/tmp/multipartBody1150898004393400301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792494642,"filename":"image_07022025_02_08_29_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40f2b86c7781c131de029da962690121.jpg","text":"TemporaryFile(/tmp/multipartBody8443670890287527108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792494642,"filename":"image_07022025_02_08_49_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e076591660aa8401e2f298c243130dac.jpg","text":"TemporaryFile(/tmp/multipartBody4004956071933243982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792494642,"filename":"image_07022025_02_08_09_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/06a744d1f6a28cfea0826bd75a024a87.jpg","text":"TemporaryFile(/tmp/multipartBody9076882108404525182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792494642,"filename":"image_07022025_02_08_19_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1385491c10a6c80fba035fdfd281399b.jpg","text":"TemporaryFile(/tmp/multipartBody1100593958252158650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792494642,"filename":"image_07022025_02_08_59_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151412","file1":"1338151408","file0":"1338151404","file4":"1338151419","file5":"1338151422","file3":"1338151414"},"map_files_photo_id_array":[{"photo_id":"1338151422","filename":"file5"},{"photo_id":"1338151412","filename":"file2"},{"photo_id":"1338151419","filename":"file4"},{"photo_id":"1338151408","filename":"file1"},{"photo_id":"1338151404","filename":"file0"},{"photo_id":"1338151414","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151412":["hashtag1","hashtag2"]},{"1338151414":["hashtag1","hashtag2"]},{"1338151408":["hashtag1","hashtag2"]},{"1338151422":["hashtag1","hashtag2"]},{"1338151419":["hashtag1","hashtag2"]},{"1338151404":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151412, 1338151414, 1338151408, 1338151422, 1338151419, 1338151404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.77980709075928 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:41:32.329088
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_59_9774.jpg', 0), ('/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_49_9774.jpg', 0), ('/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_39_9781.jpg', 0), ('/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_30_10787.jpg', 0), ('/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_19_9772.jpg', 0), ('/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_09_9798.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_59_9774.jpg', '/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_49_9774.jpg', '/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_39_9781.jpg', '/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_30_10787.jpg', '/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_19_9772.jpg', '/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_09_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_59_9774.jpg
/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_49_9774.jpg
/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_39_9781.jpg
/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_30_10787.jpg
/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_19_9772.jpg
/home/nano/Desktop/images/07022025/01/58/image_07022025_01_58_09_9798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151438","1338151455","1338151452","1338151445","1338151448","1338151442"],"photo_ids_order":["1338151438","1338151442","1338151445","1338151448","1338151452","1338151455"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5eae537916738300c8b4b6a07074a7ca.jpg","text":"TemporaryFile(/tmp/multipartBody1495436945157632554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792555288,"filename":"image_07022025_01_58_59_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e7425d37189652abfe935782a8c14f51.jpg","text":"TemporaryFile(/tmp/multipartBody3837644151733785257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792555288,"filename":"image_07022025_01_58_09_9798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3450f7b86b4a124d3723bdbd92a3c34.jpg","text":"TemporaryFile(/tmp/multipartBody8608940208130093946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792555288,"filename":"image_07022025_01_58_19_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92cd1d0cb1780ceab752e0613c9d2152.jpg","text":"TemporaryFile(/tmp/multipartBody5559050514227079210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792555288,"filename":"image_07022025_01_58_39_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1091cd73f9f6d3b8443129ffe0088ff0.jpg","text":"TemporaryFile(/tmp/multipartBody7385835171712180244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792555288,"filename":"image_07022025_01_58_30_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ffe6299de599f7a6a8cf1fc51608a0e7.jpg","text":"TemporaryFile(/tmp/multipartBody2064660684218531979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792555288,"filename":"image_07022025_01_58_49_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151445","file1":"1338151442","file0":"1338151438","file4":"1338151452","file5":"1338151455","file3":"1338151448"},"map_files_photo_id_array":[{"photo_id":"1338151455","filename":"file5"},{"photo_id":"1338151445","filename":"file2"},{"photo_id":"1338151452","filename":"file4"},{"photo_id":"1338151442","filename":"file1"},{"photo_id":"1338151438","filename":"file0"},{"photo_id":"1338151448","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151438":["hashtag1","hashtag2"]},{"1338151455":["hashtag1","hashtag2"]},{"1338151452":["hashtag1","hashtag2"]},{"1338151445":["hashtag1","hashtag2"]},{"1338151448":["hashtag1","hashtag2"]},{"1338151442":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151438, 1338151455, 1338151452, 1338151445, 1338151448, 1338151442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41936182975769 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:42:32.508701
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_59_9773.jpg', 0), ('/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_49_10782.jpg', 0), ('/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_39_9772.jpg', 0), ('/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_29_9774.jpg', 0), ('/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_19_9775.jpg', 0), ('/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_09_9782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_59_9773.jpg', '/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_49_10782.jpg', '/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_39_9772.jpg', '/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_29_9774.jpg', '/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_19_9775.jpg', '/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_09_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_59_9773.jpg
/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_49_10782.jpg
/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_39_9772.jpg
/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_29_9774.jpg
/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_19_9775.jpg
/home/nano/Desktop/images/07022025/01/57/image_07022025_01_57_09_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151480","1338151474","1338151477","1338151471","1338151468","1338151466"],"photo_ids_order":["1338151466","1338151468","1338151471","1338151474","1338151477","1338151480"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f082653fbc8e5cda63818da8eff3ed9.jpg","text":"TemporaryFile(/tmp/multipartBody7607574329259263771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792614883,"filename":"image_07022025_01_57_09_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f5a861f6854d7ac417d7c0d0d946108.jpg","text":"TemporaryFile(/tmp/multipartBody3740520914155305319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792614883,"filename":"image_07022025_01_57_29_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b32658dd3ecc7ce83247980aab056d2.jpg","text":"TemporaryFile(/tmp/multipartBody8951849136994680184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792614883,"filename":"image_07022025_01_57_19_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ef7698f0e1d6600405de582df3eed36.jpg","text":"TemporaryFile(/tmp/multipartBody5186508487800991880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792614883,"filename":"image_07022025_01_57_39_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b46d8a150850e72e6d1ea4134e2e7494.jpg","text":"TemporaryFile(/tmp/multipartBody8628102389690445058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792614883,"filename":"image_07022025_01_57_49_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7bf78324722d52f22a84c6b418c3cba.jpg","text":"TemporaryFile(/tmp/multipartBody8275046696696286087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792614883,"filename":"image_07022025_01_57_59_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151471","file1":"1338151468","file0":"1338151466","file4":"1338151477","file5":"1338151480","file3":"1338151474"},"map_files_photo_id_array":[{"photo_id":"1338151480","filename":"file5"},{"photo_id":"1338151471","filename":"file2"},{"photo_id":"1338151477","filename":"file4"},{"photo_id":"1338151468","filename":"file1"},{"photo_id":"1338151466","filename":"file0"},{"photo_id":"1338151474","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151480":["hashtag1","hashtag2"]},{"1338151474":["hashtag1","hashtag2"]},{"1338151477":["hashtag1","hashtag2"]},{"1338151471":["hashtag1","hashtag2"]},{"1338151468":["hashtag1","hashtag2"]},{"1338151466":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151480, 1338151474, 1338151477, 1338151471, 1338151468, 1338151466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.910571336746216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:43:32.673250
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_59_9773.jpg', 0), ('/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_49_9777.jpg', 0), ('/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_39_10787.jpg', 0), ('/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_29_9778.jpg', 0), ('/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_19_9802.jpg', 0), ('/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_09_9781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_59_9773.jpg', '/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_49_9777.jpg', '/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_39_10787.jpg', '/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_29_9778.jpg', '/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_19_9802.jpg', '/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_09_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_59_9773.jpg
/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_49_9777.jpg
/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_39_10787.jpg
/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_29_9778.jpg
/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_19_9802.jpg
/home/nano/Desktop/images/07022025/01/48/image_07022025_01_48_09_9781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151537","1338151530","1338151527","1338151532","1338151535","1338151523"],"photo_ids_order":["1338151523","1338151527","1338151530","1338151532","1338151535","1338151537"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4aee4fa1405582813941a74355c590e1.jpg","text":"TemporaryFile(/tmp/multipartBody2337556194146564693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792675318,"filename":"image_07022025_01_48_09_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efd9c60d6a5a2782b0438d31119dd055.jpg","text":"TemporaryFile(/tmp/multipartBody5064829828991714179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792675318,"filename":"image_07022025_01_48_39_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af815a090f8bbe658dc8512cb1dd53d4.jpg","text":"TemporaryFile(/tmp/multipartBody1174415356886006662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792675318,"filename":"image_07022025_01_48_49_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/800f7d3f538fa101ab6ec83205bbeac8.jpg","text":"TemporaryFile(/tmp/multipartBody4545474468524618704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792675318,"filename":"image_07022025_01_48_29_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99c588bc584983b18556f0eb325e851c.jpg","text":"TemporaryFile(/tmp/multipartBody811038122283717464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792675318,"filename":"image_07022025_01_48_19_9802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff64d2b551e67f868d76a104dcdf4b39.jpg","text":"TemporaryFile(/tmp/multipartBody1659310533361198444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792675318,"filename":"image_07022025_01_48_59_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151530","file1":"1338151527","file0":"1338151523","file4":"1338151535","file5":"1338151537","file3":"1338151532"},"map_files_photo_id_array":[{"photo_id":"1338151537","filename":"file5"},{"photo_id":"1338151530","filename":"file2"},{"photo_id":"1338151535","filename":"file4"},{"photo_id":"1338151527","filename":"file1"},{"photo_id":"1338151523","filename":"file0"},{"photo_id":"1338151532","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151537":["hashtag1","hashtag2"]},{"1338151530":["hashtag1","hashtag2"]},{"1338151527":["hashtag1","hashtag2"]},{"1338151532":["hashtag1","hashtag2"]},{"1338151535":["hashtag1","hashtag2"]},{"1338151523":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151537, 1338151530, 1338151527, 1338151532, 1338151535, 1338151523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57402038574219 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:44:31.823435
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_59_9774.jpg', 0), ('/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_49_9799.jpg', 0), ('/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_40_10784.jpg', 0), ('/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_29_9776.jpg', 0), ('/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_19_9795.jpg', 0), ('/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_09_9790.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_59_9774.jpg', '/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_49_9799.jpg', '/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_40_10784.jpg', '/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_29_9776.jpg', '/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_19_9795.jpg', '/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_09_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_59_9774.jpg
/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_49_9799.jpg
/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_40_10784.jpg
/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_29_9776.jpg
/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_19_9795.jpg
/home/nano/Desktop/images/07022025/01/28/image_07022025_01_28_09_9790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151582","1338151578","1338151575","1338151563","1338151571","1338151568"],"photo_ids_order":["1338151563","1338151568","1338151571","1338151575","1338151578","1338151582"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/217fd05aa4a16e3a2a8ef8115ef01dd6.jpg","text":"TemporaryFile(/tmp/multipartBody5512297263621349301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792734393,"filename":"image_07022025_01_28_09_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/552570baf5c2a7fc8e00d0251e5f6f60.jpg","text":"TemporaryFile(/tmp/multipartBody508144832356979526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792734393,"filename":"image_07022025_01_28_19_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f09d03fa6d739801aa7c88061ce8511.jpg","text":"TemporaryFile(/tmp/multipartBody7387977818113500577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792734393,"filename":"image_07022025_01_28_29_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e59130eae57caaf7a3ca74d0a2e14806.jpg","text":"TemporaryFile(/tmp/multipartBody5698460041712885335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792734393,"filename":"image_07022025_01_28_59_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/742a93acf85c4b2596709e6a1f011096.jpg","text":"TemporaryFile(/tmp/multipartBody3607236072184532033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792734393,"filename":"image_07022025_01_28_40_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3820b7282fbb60e9216d1084a60d9ec7.jpg","text":"TemporaryFile(/tmp/multipartBody5436154293807428788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792734393,"filename":"image_07022025_01_28_49_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151571","file1":"1338151568","file0":"1338151563","file4":"1338151578","file5":"1338151582","file3":"1338151575"},"map_files_photo_id_array":[{"photo_id":"1338151582","filename":"file5"},{"photo_id":"1338151571","filename":"file2"},{"photo_id":"1338151578","filename":"file4"},{"photo_id":"1338151568","filename":"file1"},{"photo_id":"1338151563","filename":"file0"},{"photo_id":"1338151575","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151582":["hashtag1","hashtag2"]},{"1338151578":["hashtag1","hashtag2"]},{"1338151575":["hashtag1","hashtag2"]},{"1338151563":["hashtag1","hashtag2"]},{"1338151571":["hashtag1","hashtag2"]},{"1338151568":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151582, 1338151578, 1338151575, 1338151563, 1338151571, 1338151568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67210268974304 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:45:32.053561
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_59_9768.jpg', 0), ('/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_49_9772.jpg', 0), ('/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_39_10790.jpg', 0), ('/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_29_9783.jpg', 0), ('/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_19_9785.jpg', 0), ('/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_09_9780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_59_9768.jpg', '/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_49_9772.jpg', '/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_39_10790.jpg', '/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_29_9783.jpg', '/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_19_9785.jpg', '/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_09_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_59_9768.jpg
/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_49_9772.jpg
/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_39_10790.jpg
/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_29_9783.jpg
/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_19_9785.jpg
/home/nano/Desktop/images/07022025/01/06/image_07022025_01_06_09_9780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151621","1338151629","1338151623","1338151626","1338151631","1338151634"],"photo_ids_order":["1338151621","1338151623","1338151626","1338151629","1338151631","1338151634"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e026945fba6e17abaeb1784b7ca1918.jpg","text":"TemporaryFile(/tmp/multipartBody6385348840382340988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792794464,"filename":"image_07022025_01_06_59_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/01eb4ea66cb8926f965bb1d3088416fa.jpg","text":"TemporaryFile(/tmp/multipartBody2931841210978427703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792794464,"filename":"image_07022025_01_06_29_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3edf18f3502221a088b4480a21c16ae.jpg","text":"TemporaryFile(/tmp/multipartBody152159375810433230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792794464,"filename":"image_07022025_01_06_49_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/431cd3056369bf010103357ae65f8f10.jpg","text":"TemporaryFile(/tmp/multipartBody459964442306897716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792794464,"filename":"image_07022025_01_06_39_10790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0996418a49c45f54a19d84a6bb36d737.jpg","text":"TemporaryFile(/tmp/multipartBody1179160300011346898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792794464,"filename":"image_07022025_01_06_19_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8dd06f0b5ec1a57a89442ed03595d854.jpg","text":"TemporaryFile(/tmp/multipartBody2756133333515807004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792794464,"filename":"image_07022025_01_06_09_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151626","file1":"1338151623","file0":"1338151621","file4":"1338151631","file5":"1338151634","file3":"1338151629"},"map_files_photo_id_array":[{"photo_id":"1338151634","filename":"file5"},{"photo_id":"1338151626","filename":"file2"},{"photo_id":"1338151631","filename":"file4"},{"photo_id":"1338151623","filename":"file1"},{"photo_id":"1338151621","filename":"file0"},{"photo_id":"1338151629","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151621":["hashtag1","hashtag2"]},{"1338151629":["hashtag1","hashtag2"]},{"1338151623":["hashtag1","hashtag2"]},{"1338151626":["hashtag1","hashtag2"]},{"1338151631":["hashtag1","hashtag2"]},{"1338151634":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151621, 1338151629, 1338151623, 1338151626, 1338151631, 1338151634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.675607204437256 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:46:32.201179
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/00/58/image_07022025_00_59_00_10786.jpg', 0), ('/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_49_9773.jpg', 0), ('/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_39_9795.jpg', 0), ('/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_29_9784.jpg', 0), ('/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_19_9777.jpg', 0), ('/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_10_10786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/00/58/image_07022025_00_59_00_10786.jpg', '/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_49_9773.jpg', '/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_39_9795.jpg', '/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_29_9784.jpg', '/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_19_9777.jpg', '/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_10_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/00/58/image_07022025_00_59_00_10786.jpg
/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_49_9773.jpg
/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_39_9795.jpg
/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_29_9784.jpg
/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_19_9777.jpg
/home/nano/Desktop/images/07022025/00/58/image_07022025_00_58_10_10786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151718","1338151723","1338151712","1338151721","1338151715","1338151709"],"photo_ids_order":["1338151709","1338151712","1338151715","1338151718","1338151721","1338151723"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21c3d6c5fc092e596c58cf51dd689092.jpg","text":"TemporaryFile(/tmp/multipartBody304679784433261921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792854520,"filename":"image_07022025_00_58_29_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/23f974e5c1b4b0d4cf14651915b2aac3.jpg","text":"TemporaryFile(/tmp/multipartBody6210734603185013645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792854520,"filename":"image_07022025_00_58_10_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0490e44eadf0b1ca4ac5c5e517764f98.jpg","text":"TemporaryFile(/tmp/multipartBody8558439893688868879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792854520,"filename":"image_07022025_00_58_49_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da0a877531f5fe4ef6865b23054114d9.jpg","text":"TemporaryFile(/tmp/multipartBody1703563169736308030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792854520,"filename":"image_07022025_00_58_19_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/56acff87faaa40e4420f082fdf5b67d6.jpg","text":"TemporaryFile(/tmp/multipartBody3179084003123518000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792854520,"filename":"image_07022025_00_58_39_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d1946e6f87763625ca1509f33ff3ee6.jpg","text":"TemporaryFile(/tmp/multipartBody8706418803236480482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792854520,"filename":"image_07022025_00_59_00_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151715","file1":"1338151712","file0":"1338151709","file4":"1338151721","file5":"1338151723","file3":"1338151718"},"map_files_photo_id_array":[{"photo_id":"1338151723","filename":"file5"},{"photo_id":"1338151715","filename":"file2"},{"photo_id":"1338151721","filename":"file4"},{"photo_id":"1338151712","filename":"file1"},{"photo_id":"1338151709","filename":"file0"},{"photo_id":"1338151718","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151718":["hashtag1","hashtag2"]},{"1338151723":["hashtag1","hashtag2"]},{"1338151712":["hashtag1","hashtag2"]},{"1338151721":["hashtag1","hashtag2"]},{"1338151715":["hashtag1","hashtag2"]},{"1338151709":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151718, 1338151723, 1338151712, 1338151721, 1338151715, 1338151709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.77299976348877 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:47:32.389373
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/00/36/image_07022025_00_37_00_10783.jpg', 0), ('/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_49_9770.jpg', 0), ('/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_39_9770.jpg', 0), ('/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_29_9771.jpg', 0), ('/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_20_10781.jpg', 0), ('/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_09_9768.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/00/36/image_07022025_00_37_00_10783.jpg', '/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_49_9770.jpg', '/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_39_9770.jpg', '/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_29_9771.jpg', '/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_20_10781.jpg', '/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_09_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/00/36/image_07022025_00_37_00_10783.jpg
/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_49_9770.jpg
/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_39_9770.jpg
/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_29_9771.jpg
/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_20_10781.jpg
/home/nano/Desktop/images/07022025/00/36/image_07022025_00_36_09_9768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151762","1338151731","1338151761","1338151749","1338151757","1338151736"],"photo_ids_order":["1338151731","1338151736","1338151749","1338151757","1338151761","1338151762"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a7ffb991ea221912c8a20fd12ce1839.jpg","text":"TemporaryFile(/tmp/multipartBody3961674441380136724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792914718,"filename":"image_07022025_00_36_09_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8648c55a4cef52765f3398560a24344c.jpg","text":"TemporaryFile(/tmp/multipartBody6711863902365280461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792914718,"filename":"image_07022025_00_37_00_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/684087a0a6f72679dd430a7a42aa608d.jpg","text":"TemporaryFile(/tmp/multipartBody2035418899319842320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792914718,"filename":"image_07022025_00_36_20_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c78ec28b6a1a24f9771a9bb857aaaa7c.jpg","text":"TemporaryFile(/tmp/multipartBody6102268774361966573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792914718,"filename":"image_07022025_00_36_39_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c7da766fd8675245d8e148439e3d9fb.jpg","text":"TemporaryFile(/tmp/multipartBody6558506793537325267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792914718,"filename":"image_07022025_00_36_29_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1949c5dc31bb245c8e0e93ef3ba83f01.jpg","text":"TemporaryFile(/tmp/multipartBody3561997814458894614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792914718,"filename":"image_07022025_00_36_49_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151749","file1":"1338151736","file0":"1338151731","file4":"1338151761","file5":"1338151762","file3":"1338151757"},"map_files_photo_id_array":[{"photo_id":"1338151762","filename":"file5"},{"photo_id":"1338151749","filename":"file2"},{"photo_id":"1338151761","filename":"file4"},{"photo_id":"1338151736","filename":"file1"},{"photo_id":"1338151731","filename":"file0"},{"photo_id":"1338151757","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151762":["hashtag1","hashtag2"]},{"1338151731":["hashtag1","hashtag2"]},{"1338151761":["hashtag1","hashtag2"]},{"1338151749":["hashtag1","hashtag2"]},{"1338151757":["hashtag1","hashtag2"]},{"1338151736":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151762, 1338151731, 1338151761, 1338151749, 1338151757, 1338151736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35362243652344 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:48:32.535495
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
  port_id : 20313862
  datou_current_id : 2560833
in upload_from_sqlite, uploading in 20313862
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_59_9777.jpg', 0), ('/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_49_9776.jpg', 0), ('/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_39_9771.jpg', 0), ('/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_29_9770.jpg', 0), ('/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_20_10783.jpg', 0), ('/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_09_9788.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_59_9777.jpg', '/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_49_9776.jpg', '/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_39_9771.jpg', '/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_29_9770.jpg', '/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_20_10783.jpg', '/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_09_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2560833&datou=0
/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_59_9777.jpg
/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_49_9776.jpg
/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_39_9771.jpg
/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_29_9770.jpg
/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_20_10783.jpg
/home/nano/Desktop/images/07022025/00/11/image_07022025_00_11_09_9788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151776","1338151791","1338151779","1338151788","1338151793","1338151784"],"photo_ids_order":["1338151776","1338151779","1338151784","1338151788","1338151791","1338151793"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d27a6eef85a0844b328a311fce8e26b0.jpg","text":"TemporaryFile(/tmp/multipartBody2756882408766735478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792974948,"filename":"image_07022025_00_11_59_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3032e0dc4229efaff2419636820c971f.jpg","text":"TemporaryFile(/tmp/multipartBody6575845417126016440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792974948,"filename":"image_07022025_00_11_20_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/673142a88e93327c429db12d92882586.jpg","text":"TemporaryFile(/tmp/multipartBody6013732663997304362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792974948,"filename":"image_07022025_00_11_49_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/887c0a51519542c2b258161d3e14ed72.jpg","text":"TemporaryFile(/tmp/multipartBody8092330431350504018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792974948,"filename":"image_07022025_00_11_29_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eaf711fd965ae8fc9b0bf833e93e0e5d.jpg","text":"TemporaryFile(/tmp/multipartBody5188436214640672933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792974948,"filename":"image_07022025_00_11_09_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6594b9688184a2534de5925f0b78647.jpg","text":"TemporaryFile(/tmp/multipartBody2250889074706854307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739792974948,"filename":"image_07022025_00_11_39_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151784","file1":"1338151779","file0":"1338151776","file4":"1338151791","file5":"1338151793","file3":"1338151788"},"map_files_photo_id_array":[{"photo_id":"1338151793","filename":"file5"},{"photo_id":"1338151784","filename":"file2"},{"photo_id":"1338151791","filename":"file4"},{"photo_id":"1338151779","filename":"file1"},{"photo_id":"1338151776","filename":"file0"},{"photo_id":"1338151788","filename":"file3"}],"portfolio_id":20313862,"hashtag_by_photo_ids":[{"1338151776":["hashtag1","hashtag2"]},{"1338151791":["hashtag1","hashtag2"]},{"1338151779":["hashtag1","hashtag2"]},{"1338151788":["hashtag1","hashtag2"]},{"1338151793":["hashtag1","hashtag2"]},{"1338151784":["hashtag1","hashtag2"]}],"comms":"Portfolio 20313862 used, photo_id : ArrayBuffer(1338151776, 1338151791, 1338151779, 1338151788, 1338151793, 1338151784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35132622718811 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:49:32.697588
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_54_9784.jpg', 0), ('/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_44_9765.jpg', 0), ('/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_34_9765.jpg', 0), ('/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_25_10774.jpg', 0), ('/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_14_9768.jpg', 0), ('/home/nano/Desktop/images/08022025/23/58/image_08022025_23_59_04_9760.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_54_9784.jpg', '/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_44_9765.jpg', '/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_34_9765.jpg', '/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_25_10774.jpg', '/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_14_9768.jpg', '/home/nano/Desktop/images/08022025/23/58/image_08022025_23_59_04_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_54_9784.jpg
/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_44_9765.jpg
/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_34_9765.jpg
/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_25_10774.jpg
/home/nano/Desktop/images/08022025/23/59/image_08022025_23_59_14_9768.jpg
/home/nano/Desktop/images/08022025/23/58/image_08022025_23_59_04_9760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151837","1338151825","1338151833","1338151874","1338151805","1338151829"],"photo_ids_order":["1338151805","1338151825","1338151829","1338151833","1338151837","1338151874"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97598aa06a4d402808225411d72a1206.jpg","text":"TemporaryFile(/tmp/multipartBody2683272883372130662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793035357,"filename":"image_08022025_23_59_14_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0baa20b338d2842aad48add49da674ef.jpg","text":"TemporaryFile(/tmp/multipartBody5005348715293400751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793035357,"filename":"image_08022025_23_59_44_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/266ccb4a3f47b5c0cadd7251715c6eeb.jpg","text":"TemporaryFile(/tmp/multipartBody7543103262064153692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793035357,"filename":"image_08022025_23_59_25_10774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/710baee378c9472091cc3d9dec8bb0c5.jpg","text":"TemporaryFile(/tmp/multipartBody6642063001809675469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793035357,"filename":"image_08022025_23_59_04_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8bc5eaa9d2ff4f2b5ed5d903bd21ae2d.jpg","text":"TemporaryFile(/tmp/multipartBody6925346100819147068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793035357,"filename":"image_08022025_23_59_54_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78e824b1ea33d6038b35c790f0e94d98.jpg","text":"TemporaryFile(/tmp/multipartBody8043698374872776108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793035357,"filename":"image_08022025_23_59_34_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151829","file1":"1338151825","file0":"1338151805","file4":"1338151837","file5":"1338151874","file3":"1338151833"},"map_files_photo_id_array":[{"photo_id":"1338151874","filename":"file5"},{"photo_id":"1338151829","filename":"file2"},{"photo_id":"1338151837","filename":"file4"},{"photo_id":"1338151825","filename":"file1"},{"photo_id":"1338151805","filename":"file0"},{"photo_id":"1338151833","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338151837":["hashtag1","hashtag2"]},{"1338151825":["hashtag1","hashtag2"]},{"1338151833":["hashtag1","hashtag2"]},{"1338151874":["hashtag1","hashtag2"]},{"1338151805":["hashtag1","hashtag2"]},{"1338151829":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338151837, 1338151825, 1338151833, 1338151874, 1338151805, 1338151829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29790449142456 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:50:31.848967
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_54_9783.jpg', 0), ('/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_44_9778.jpg', 0), ('/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_35_10774.jpg', 0), ('/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_24_9766.jpg', 0), ('/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_14_9794.jpg', 0), ('/home/nano/Desktop/images/08022025/23/55/image_08022025_23_56_04_9774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_54_9783.jpg', '/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_44_9778.jpg', '/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_35_10774.jpg', '/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_24_9766.jpg', '/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_14_9794.jpg', '/home/nano/Desktop/images/08022025/23/55/image_08022025_23_56_04_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_54_9783.jpg
/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_44_9778.jpg
/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_35_10774.jpg
/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_24_9766.jpg
/home/nano/Desktop/images/08022025/23/56/image_08022025_23_56_14_9794.jpg
/home/nano/Desktop/images/08022025/23/55/image_08022025_23_56_04_9774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151921","1338151915","1338151909","1338151918","1338151912","1338151906"],"photo_ids_order":["1338151906","1338151909","1338151912","1338151915","1338151918","1338151921"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a484481b32cb839a037720c6bec90135.jpg","text":"TemporaryFile(/tmp/multipartBody1153465013188975029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793094285,"filename":"image_08022025_23_56_04_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a91f863451451b4fc2888cd1512e0a2.jpg","text":"TemporaryFile(/tmp/multipartBody6040495451188619135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793094285,"filename":"image_08022025_23_56_24_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a5847ec5118286146df546b1643553ca.jpg","text":"TemporaryFile(/tmp/multipartBody7569574022520784840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793094285,"filename":"image_08022025_23_56_44_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/578b3f4950164a52d5d31fa870ecc6de.jpg","text":"TemporaryFile(/tmp/multipartBody8170173471786756468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793094285,"filename":"image_08022025_23_56_14_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4bc2426ba26368960cf0951012ae5ac8.jpg","text":"TemporaryFile(/tmp/multipartBody7264210297042477251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793094285,"filename":"image_08022025_23_56_35_10774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a1de274a489daaab365b76b4491d00f4.jpg","text":"TemporaryFile(/tmp/multipartBody1015337409790676988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793094285,"filename":"image_08022025_23_56_54_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151912","file1":"1338151909","file0":"1338151906","file4":"1338151918","file5":"1338151921","file3":"1338151915"},"map_files_photo_id_array":[{"photo_id":"1338151921","filename":"file5"},{"photo_id":"1338151912","filename":"file2"},{"photo_id":"1338151918","filename":"file4"},{"photo_id":"1338151909","filename":"file1"},{"photo_id":"1338151906","filename":"file0"},{"photo_id":"1338151915","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338151921":["hashtag1","hashtag2"]},{"1338151915":["hashtag1","hashtag2"]},{"1338151909":["hashtag1","hashtag2"]},{"1338151918":["hashtag1","hashtag2"]},{"1338151912":["hashtag1","hashtag2"]},{"1338151906":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338151921, 1338151915, 1338151909, 1338151918, 1338151912, 1338151906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83780527114868 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:51:32.014866
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_55_10774.jpg', 0), ('/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_44_9767.jpg', 0), ('/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_34_9763.jpg', 0), ('/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_24_9764.jpg', 0), ('/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_14_9765.jpg', 0), ('/home/nano/Desktop/images/08022025/23/38/image_08022025_23_39_05_10795.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_55_10774.jpg', '/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_44_9767.jpg', '/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_34_9763.jpg', '/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_24_9764.jpg', '/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_14_9765.jpg', '/home/nano/Desktop/images/08022025/23/38/image_08022025_23_39_05_10795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_55_10774.jpg
/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_44_9767.jpg
/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_34_9763.jpg
/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_24_9764.jpg
/home/nano/Desktop/images/08022025/23/39/image_08022025_23_39_14_9765.jpg
/home/nano/Desktop/images/08022025/23/38/image_08022025_23_39_05_10795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151945","1338151948","1338151942","1338151955","1338151937","1338151952"],"photo_ids_order":["1338151937","1338151942","1338151945","1338151948","1338151952","1338151955"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15f9bf579160a6ac8021ae1290e1fda5.jpg","text":"TemporaryFile(/tmp/multipartBody876350024047870981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793154413,"filename":"image_08022025_23_39_34_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e51703017947cec90a153af2ba6f9314.jpg","text":"TemporaryFile(/tmp/multipartBody3768572186294565414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793154413,"filename":"image_08022025_23_39_24_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/89f0ffe57a7778be5f720b8a729ba40d.jpg","text":"TemporaryFile(/tmp/multipartBody8181900694412758502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793154413,"filename":"image_08022025_23_39_44_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3be2cb22d5221ad08003b4e357db4ba2.jpg","text":"TemporaryFile(/tmp/multipartBody5722533110860114310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793154413,"filename":"image_08022025_23_39_05_10795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a26deb27f4336fed6d2db9b32cc5d3ed.jpg","text":"TemporaryFile(/tmp/multipartBody839526656847842079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793154413,"filename":"image_08022025_23_39_55_10774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b990d2678a57ea039320c5d36bacadba.jpg","text":"TemporaryFile(/tmp/multipartBody7650576989362962744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793154413,"filename":"image_08022025_23_39_14_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151945","file1":"1338151942","file0":"1338151937","file4":"1338151952","file5":"1338151955","file3":"1338151948"},"map_files_photo_id_array":[{"photo_id":"1338151955","filename":"file5"},{"photo_id":"1338151945","filename":"file2"},{"photo_id":"1338151952","filename":"file4"},{"photo_id":"1338151942","filename":"file1"},{"photo_id":"1338151937","filename":"file0"},{"photo_id":"1338151948","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338151945":["hashtag1","hashtag2"]},{"1338151948":["hashtag1","hashtag2"]},{"1338151942":["hashtag1","hashtag2"]},{"1338151955":["hashtag1","hashtag2"]},{"1338151937":["hashtag1","hashtag2"]},{"1338151952":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338151945, 1338151948, 1338151942, 1338151955, 1338151937, 1338151952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5541033744812 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:52:32.149158
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_54_10776.jpg', 0), ('/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_44_9764.jpg', 0), ('/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_34_9767.jpg', 0), ('/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_24_9760.jpg', 0), ('/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_14_9805.jpg', 0), ('/home/nano/Desktop/images/08022025/22/57/image_08022025_22_58_05_10782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_54_10776.jpg', '/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_44_9764.jpg', '/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_34_9767.jpg', '/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_24_9760.jpg', '/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_14_9805.jpg', '/home/nano/Desktop/images/08022025/22/57/image_08022025_22_58_05_10782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_54_10776.jpg
/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_44_9764.jpg
/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_34_9767.jpg
/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_24_9760.jpg
/home/nano/Desktop/images/08022025/22/58/image_08022025_22_58_14_9805.jpg
/home/nano/Desktop/images/08022025/22/57/image_08022025_22_58_05_10782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338151990","1338151978","1338151972","1338152023","1338151986","1338151982"],"photo_ids_order":["1338151972","1338151978","1338151982","1338151986","1338151990","1338152023"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76a0b9ce851c1e71cfd95e14f10ad45e.jpg","text":"TemporaryFile(/tmp/multipartBody4634885046933694642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793214427,"filename":"image_08022025_22_58_14_9805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e278a048416d6698dc6062975ad3ef1.jpg","text":"TemporaryFile(/tmp/multipartBody48705023334972173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793214427,"filename":"image_08022025_22_58_44_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/94f3f443fbeef48290a96a443a3d1dbc.jpg","text":"TemporaryFile(/tmp/multipartBody1379777712887986824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793214427,"filename":"image_08022025_22_58_54_10776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b962c76d37438c327abfa29ed6a8c6d.jpg","text":"TemporaryFile(/tmp/multipartBody4786603534234522481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793214427,"filename":"image_08022025_22_58_05_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dce8d929f4d8881782eb9d5580e3921c.jpg","text":"TemporaryFile(/tmp/multipartBody1985595407458240672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793214427,"filename":"image_08022025_22_58_24_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8368a841792cc26bd5401d8984c657f.jpg","text":"TemporaryFile(/tmp/multipartBody4442442683595330463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793214427,"filename":"image_08022025_22_58_34_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338151982","file1":"1338151978","file0":"1338151972","file4":"1338151990","file5":"1338152023","file3":"1338151986"},"map_files_photo_id_array":[{"photo_id":"1338152023","filename":"file5"},{"photo_id":"1338151982","filename":"file2"},{"photo_id":"1338151990","filename":"file4"},{"photo_id":"1338151978","filename":"file1"},{"photo_id":"1338151972","filename":"file0"},{"photo_id":"1338151986","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338151990":["hashtag1","hashtag2"]},{"1338151978":["hashtag1","hashtag2"]},{"1338151972":["hashtag1","hashtag2"]},{"1338152023":["hashtag1","hashtag2"]},{"1338151986":["hashtag1","hashtag2"]},{"1338151982":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338151990, 1338151978, 1338151972, 1338152023, 1338151986, 1338151982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01386332511902 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:53:32.306795
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_54_9769.jpg', 0), ('/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_44_9768.jpg', 0), ('/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_35_10778.jpg', 0), ('/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_24_9768.jpg', 0), ('/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_14_9769.jpg', 0), ('/home/nano/Desktop/images/08022025/22/55/image_08022025_22_56_04_9769.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_54_9769.jpg', '/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_44_9768.jpg', '/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_35_10778.jpg', '/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_24_9768.jpg', '/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_14_9769.jpg', '/home/nano/Desktop/images/08022025/22/55/image_08022025_22_56_04_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_54_9769.jpg
/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_44_9768.jpg
/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_35_10778.jpg
/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_24_9768.jpg
/home/nano/Desktop/images/08022025/22/56/image_08022025_22_56_14_9769.jpg
/home/nano/Desktop/images/08022025/22/55/image_08022025_22_56_04_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338152173","1338152167","1338152181","1338152178","1338152163","1338152171"],"photo_ids_order":["1338152163","1338152167","1338152171","1338152173","1338152178","1338152181"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/269594a0ec2b327a2d0cae19fca47d09.jpg","text":"TemporaryFile(/tmp/multipartBody8468873500186680361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793274563,"filename":"image_08022025_22_56_24_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/503e47b0dc01e661ed55f6696410c7a6.jpg","text":"TemporaryFile(/tmp/multipartBody8246439819027021721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793274563,"filename":"image_08022025_22_56_44_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf0fbac6761769393ab6c5b6ba4afe95.jpg","text":"TemporaryFile(/tmp/multipartBody9188469779095128319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793274563,"filename":"image_08022025_22_56_04_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f405dabe12f907993b026e57927d889.jpg","text":"TemporaryFile(/tmp/multipartBody3785179705284467924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793274563,"filename":"image_08022025_22_56_14_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/687151cfae14919bb6a47deae41ccc58.jpg","text":"TemporaryFile(/tmp/multipartBody8926588487128438600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793274563,"filename":"image_08022025_22_56_54_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3d5e2f21146e4b3ab006356ab17b1b5.jpg","text":"TemporaryFile(/tmp/multipartBody987522253609093705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793274563,"filename":"image_08022025_22_56_35_10778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338152171","file1":"1338152167","file0":"1338152163","file4":"1338152178","file5":"1338152181","file3":"1338152173"},"map_files_photo_id_array":[{"photo_id":"1338152181","filename":"file5"},{"photo_id":"1338152171","filename":"file2"},{"photo_id":"1338152178","filename":"file4"},{"photo_id":"1338152167","filename":"file1"},{"photo_id":"1338152163","filename":"file0"},{"photo_id":"1338152173","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338152173":["hashtag1","hashtag2"]},{"1338152167":["hashtag1","hashtag2"]},{"1338152181":["hashtag1","hashtag2"]},{"1338152178":["hashtag1","hashtag2"]},{"1338152163":["hashtag1","hashtag2"]},{"1338152171":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338152173, 1338152167, 1338152181, 1338152178, 1338152163, 1338152171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17100477218628 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:54:32.473000
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_54_9769.jpg', 0), ('/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_44_9768.jpg', 0), ('/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_34_9765.jpg', 0), ('/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_25_10776.jpg', 0), ('/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_14_9773.jpg', 0), ('/home/nano/Desktop/images/08022025/22/31/image_08022025_22_32_04_9782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_54_9769.jpg', '/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_44_9768.jpg', '/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_34_9765.jpg', '/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_25_10776.jpg', '/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_14_9773.jpg', '/home/nano/Desktop/images/08022025/22/31/image_08022025_22_32_04_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_54_9769.jpg
/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_44_9768.jpg
/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_34_9765.jpg
/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_25_10776.jpg
/home/nano/Desktop/images/08022025/22/32/image_08022025_22_32_14_9773.jpg
/home/nano/Desktop/images/08022025/22/31/image_08022025_22_32_04_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338152245","1338152254","1338152302","1338152295","1338152250","1338152299"],"photo_ids_order":["1338152245","1338152250","1338152254","1338152295","1338152299","1338152302"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9374dcd6a10417254d55f1107dae666b.jpg","text":"TemporaryFile(/tmp/multipartBody6198684660000724092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793334761,"filename":"image_08022025_22_32_54_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d3badeb83fd810f2c81de2c22a5b4324.jpg","text":"TemporaryFile(/tmp/multipartBody7822332318565829083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793334761,"filename":"image_08022025_22_32_34_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a83a5b34bcbb36be708d7f6bdc1b5ff.jpg","text":"TemporaryFile(/tmp/multipartBody1417581650961005234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793334761,"filename":"image_08022025_22_32_04_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3bb979ac09dff4448c0a9fd1242cdc7c.jpg","text":"TemporaryFile(/tmp/multipartBody7457001754499107139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793334761,"filename":"image_08022025_22_32_25_10776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6abdfafdd49d22270272d5f8acf83085.jpg","text":"TemporaryFile(/tmp/multipartBody3381774758478904314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793334761,"filename":"image_08022025_22_32_44_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a8cf68166f7cd96bb1f97ccf2c4951e3.jpg","text":"TemporaryFile(/tmp/multipartBody3483517737017826468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793334761,"filename":"image_08022025_22_32_14_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338152254","file1":"1338152250","file0":"1338152245","file4":"1338152299","file5":"1338152302","file3":"1338152295"},"map_files_photo_id_array":[{"photo_id":"1338152302","filename":"file5"},{"photo_id":"1338152254","filename":"file2"},{"photo_id":"1338152299","filename":"file4"},{"photo_id":"1338152250","filename":"file1"},{"photo_id":"1338152245","filename":"file0"},{"photo_id":"1338152295","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338152245":["hashtag1","hashtag2"]},{"1338152254":["hashtag1","hashtag2"]},{"1338152302":["hashtag1","hashtag2"]},{"1338152295":["hashtag1","hashtag2"]},{"1338152250":["hashtag1","hashtag2"]},{"1338152299":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338152245, 1338152254, 1338152302, 1338152295, 1338152250, 1338152299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.100197076797485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:55:32.669949
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_54_9767.jpg', 0), ('/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_44_9767.jpg', 0), ('/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_34_10776.jpg', 0), ('/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_24_9769.jpg', 0), ('/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_14_9776.jpg', 0), ('/home/nano/Desktop/images/08022025/21/57/image_08022025_21_58_04_9774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_54_9767.jpg', '/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_44_9767.jpg', '/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_34_10776.jpg', '/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_24_9769.jpg', '/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_14_9776.jpg', '/home/nano/Desktop/images/08022025/21/57/image_08022025_21_58_04_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_54_9767.jpg
/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_44_9767.jpg
/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_34_10776.jpg
/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_24_9769.jpg
/home/nano/Desktop/images/08022025/21/58/image_08022025_21_58_14_9776.jpg
/home/nano/Desktop/images/08022025/21/57/image_08022025_21_58_04_9774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338152308","1338152317","1338152313","1338152327","1338152321","1338152324"],"photo_ids_order":["1338152308","1338152313","1338152317","1338152321","1338152324","1338152327"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2db0c877399e4f6c267b29979dbaa16c.jpg","text":"TemporaryFile(/tmp/multipartBody3315893943235908518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793395070,"filename":"image_08022025_21_58_54_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d70e397845b9af088046b7feee846f5c.jpg","text":"TemporaryFile(/tmp/multipartBody1012066501991507037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793395070,"filename":"image_08022025_21_58_34_10776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/855e15e19fa2ddb4b5d7e6257207c971.jpg","text":"TemporaryFile(/tmp/multipartBody5115796087790805553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793395070,"filename":"image_08022025_21_58_44_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16f67123148fa47ed7d5ab415fa68d3e.jpg","text":"TemporaryFile(/tmp/multipartBody7102007335235749129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793395070,"filename":"image_08022025_21_58_04_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03588327cbfbf80511af9d24081c47c0.jpg","text":"TemporaryFile(/tmp/multipartBody313295050008189242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793395070,"filename":"image_08022025_21_58_24_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d6582a48fcea4400973f5af5d0f80e8.jpg","text":"TemporaryFile(/tmp/multipartBody1956108485700713928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793395070,"filename":"image_08022025_21_58_14_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338152317","file1":"1338152313","file0":"1338152308","file4":"1338152324","file5":"1338152327","file3":"1338152321"},"map_files_photo_id_array":[{"photo_id":"1338152327","filename":"file5"},{"photo_id":"1338152317","filename":"file2"},{"photo_id":"1338152324","filename":"file4"},{"photo_id":"1338152313","filename":"file1"},{"photo_id":"1338152308","filename":"file0"},{"photo_id":"1338152321","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338152308":["hashtag1","hashtag2"]},{"1338152317":["hashtag1","hashtag2"]},{"1338152313":["hashtag1","hashtag2"]},{"1338152327":["hashtag1","hashtag2"]},{"1338152321":["hashtag1","hashtag2"]},{"1338152324":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338152308, 1338152317, 1338152313, 1338152327, 1338152321, 1338152324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.60977029800415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:56:31.819857
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_54_9764.jpg', 0), ('/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_44_9769.jpg', 0), ('/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_34_9765.jpg', 0), ('/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_25_10776.jpg', 0), ('/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_14_9769.jpg', 0), ('/home/nano/Desktop/images/08022025/21/52/image_08022025_21_53_04_9769.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_54_9764.jpg', '/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_44_9769.jpg', '/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_34_9765.jpg', '/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_25_10776.jpg', '/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_14_9769.jpg', '/home/nano/Desktop/images/08022025/21/52/image_08022025_21_53_04_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_54_9764.jpg
/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_44_9769.jpg
/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_34_9765.jpg
/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_25_10776.jpg
/home/nano/Desktop/images/08022025/21/53/image_08022025_21_53_14_9769.jpg
/home/nano/Desktop/images/08022025/21/52/image_08022025_21_53_04_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338152470","1338152490","1338152478","1338152474","1338152485","1338152482"],"photo_ids_order":["1338152470","1338152474","1338152478","1338152482","1338152485","1338152490"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f97d6fb0e163ef74ef4442e33d0096b3.jpg","text":"TemporaryFile(/tmp/multipartBody746976148941235317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793454310,"filename":"image_08022025_21_53_54_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/818bfb3255de5525e57579d8c8730a07.jpg","text":"TemporaryFile(/tmp/multipartBody7511820486091986512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793454310,"filename":"image_08022025_21_53_04_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/436ba03cda8fa23670fc1c909552ef42.jpg","text":"TemporaryFile(/tmp/multipartBody7571259422120203573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793454310,"filename":"image_08022025_21_53_34_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/918d21a6f6ce4ebc2162701cfde8fd9f.jpg","text":"TemporaryFile(/tmp/multipartBody6740199746868973367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793454310,"filename":"image_08022025_21_53_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/079dd257d6cfafc7433dcf6c814517de.jpg","text":"TemporaryFile(/tmp/multipartBody7145225656863556252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793454310,"filename":"image_08022025_21_53_14_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/effe63caa6754b858d9508d900fc55fd.jpg","text":"TemporaryFile(/tmp/multipartBody6157860597073533751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793454310,"filename":"image_08022025_21_53_25_10776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338152478","file1":"1338152474","file0":"1338152470","file4":"1338152485","file5":"1338152490","file3":"1338152482"},"map_files_photo_id_array":[{"photo_id":"1338152490","filename":"file5"},{"photo_id":"1338152478","filename":"file2"},{"photo_id":"1338152485","filename":"file4"},{"photo_id":"1338152474","filename":"file1"},{"photo_id":"1338152470","filename":"file0"},{"photo_id":"1338152482","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338152470":["hashtag1","hashtag2"]},{"1338152490":["hashtag1","hashtag2"]},{"1338152478":["hashtag1","hashtag2"]},{"1338152474":["hashtag1","hashtag2"]},{"1338152485":["hashtag1","hashtag2"]},{"1338152482":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338152470, 1338152490, 1338152478, 1338152474, 1338152485, 1338152482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22342872619629 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:57:32.005422
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_54_9767.jpg', 0), ('/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_45_10778.jpg', 0), ('/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_34_9768.jpg', 0), ('/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_24_9768.jpg', 0), ('/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_14_9774.jpg', 0), ('/home/nano/Desktop/images/08022025/21/45/image_08022025_21_46_05_10808.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_54_9767.jpg', '/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_45_10778.jpg', '/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_34_9768.jpg', '/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_24_9768.jpg', '/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_14_9774.jpg', '/home/nano/Desktop/images/08022025/21/45/image_08022025_21_46_05_10808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_54_9767.jpg
/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_45_10778.jpg
/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_34_9768.jpg
/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_24_9768.jpg
/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_14_9774.jpg
/home/nano/Desktop/images/08022025/21/45/image_08022025_21_46_05_10808.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:58:02.804398
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_54_9767.jpg', 0), ('/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_45_10778.jpg', 0), ('/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_34_9768.jpg', 0), ('/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_24_9768.jpg', 0), ('/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_14_9774.jpg', 0), ('/home/nano/Desktop/images/08022025/21/45/image_08022025_21_46_05_10808.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_54_9767.jpg', '/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_45_10778.jpg', '/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_34_9768.jpg', '/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_24_9768.jpg', '/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_14_9774.jpg', '/home/nano/Desktop/images/08022025/21/45/image_08022025_21_46_05_10808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_54_9767.jpg
/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_45_10778.jpg
/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_34_9768.jpg
/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_24_9768.jpg
/home/nano/Desktop/images/08022025/21/46/image_08022025_21_46_14_9774.jpg
/home/nano/Desktop/images/08022025/21/45/image_08022025_21_46_05_10808.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338152530","1338152532","1338152526","1338152523","1338152525","1338152528"],"photo_ids_order":["1338152523","1338152525","1338152526","1338152528","1338152530","1338152532"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53d0a2e634143a18e171b13841757c1c.jpg","text":"TemporaryFile(/tmp/multipartBody5125807750487659211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793544956,"filename":"image_08022025_21_46_14_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/332df811c8d7cd9a7b6db4dbb7700981.jpg","text":"TemporaryFile(/tmp/multipartBody7098306762828522729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793544956,"filename":"image_08022025_21_46_05_10808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b9f2250a003b08137f3bf94c0a3180b7.jpg","text":"TemporaryFile(/tmp/multipartBody6820108480396665448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793544956,"filename":"image_08022025_21_46_34_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e7a211073ba377f39c7cfd4721468fb.jpg","text":"TemporaryFile(/tmp/multipartBody1742083051454512333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793544956,"filename":"image_08022025_21_46_54_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7e73eed435bbd3043542e7f17a2690b1.jpg","text":"TemporaryFile(/tmp/multipartBody596402277352315385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793544956,"filename":"image_08022025_21_46_45_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab859a3205504e298dc27977cbfd3ba5.jpg","text":"TemporaryFile(/tmp/multipartBody5197692375394610528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793544956,"filename":"image_08022025_21_46_24_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338152526","file1":"1338152525","file0":"1338152523","file4":"1338152530","file5":"1338152532","file3":"1338152528"},"map_files_photo_id_array":[{"photo_id":"1338152532","filename":"file5"},{"photo_id":"1338152526","filename":"file2"},{"photo_id":"1338152530","filename":"file4"},{"photo_id":"1338152525","filename":"file1"},{"photo_id":"1338152523","filename":"file0"},{"photo_id":"1338152528","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338152530":["hashtag1","hashtag2"]},{"1338152532":["hashtag1","hashtag2"]},{"1338152526":["hashtag1","hashtag2"]},{"1338152523":["hashtag1","hashtag2"]},{"1338152525":["hashtag1","hashtag2"]},{"1338152528":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338152530, 1338152532, 1338152526, 1338152523, 1338152525, 1338152528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78708219528198 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 12:59:03.228767
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_54_9764.jpg', 0), ('/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_44_9768.jpg', 0), ('/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_35_10779.jpg', 0), ('/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_24_9767.jpg', 0), ('/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_14_9767.jpg', 0), ('/home/nano/Desktop/images/08022025/21/32/image_08022025_21_33_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_54_9764.jpg', '/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_44_9768.jpg', '/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_35_10779.jpg', '/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_24_9767.jpg', '/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_14_9767.jpg', '/home/nano/Desktop/images/08022025/21/32/image_08022025_21_33_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_54_9764.jpg
/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_44_9768.jpg
/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_35_10779.jpg
/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_24_9767.jpg
/home/nano/Desktop/images/08022025/21/33/image_08022025_21_33_14_9767.jpg
/home/nano/Desktop/images/08022025/21/32/image_08022025_21_33_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338153121","1338152563","1338153147","1338152535","1338152540","1338152830"],"photo_ids_order":["1338152535","1338152540","1338152563","1338152830","1338153121","1338153147"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3106b4f9b06970e4b76c4536742fbef1.jpg","text":"TemporaryFile(/tmp/multipartBody2953056072980183119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793605391,"filename":"image_08022025_21_33_14_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e27d7c2c6d834c13c643ee29a8a7b17.jpg","text":"TemporaryFile(/tmp/multipartBody552412621174977212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793605391,"filename":"image_08022025_21_33_35_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/517ea73d617831ab4ddb1ceeccd4296a.jpg","text":"TemporaryFile(/tmp/multipartBody8746110471144053243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793605391,"filename":"image_08022025_21_33_04_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f1ab4587daa4201f3058676daea1bbe.jpg","text":"TemporaryFile(/tmp/multipartBody7370820166281266617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793605391,"filename":"image_08022025_21_33_54_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f572e623b5c67aa516635b03d2b7fc9.jpg","text":"TemporaryFile(/tmp/multipartBody7928263005939605256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793605391,"filename":"image_08022025_21_33_44_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a852cde28431ded45637a67ef28dade1.jpg","text":"TemporaryFile(/tmp/multipartBody5365353498229731691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793605391,"filename":"image_08022025_21_33_24_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338152563","file1":"1338152540","file0":"1338152535","file4":"1338153121","file5":"1338153147","file3":"1338152830"},"map_files_photo_id_array":[{"photo_id":"1338153147","filename":"file5"},{"photo_id":"1338152563","filename":"file2"},{"photo_id":"1338153121","filename":"file4"},{"photo_id":"1338152540","filename":"file1"},{"photo_id":"1338152535","filename":"file0"},{"photo_id":"1338152830","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338153121":["hashtag1","hashtag2"]},{"1338152563":["hashtag1","hashtag2"]},{"1338153147":["hashtag1","hashtag2"]},{"1338152535":["hashtag1","hashtag2"]},{"1338152540":["hashtag1","hashtag2"]},{"1338152830":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338153121, 1338152563, 1338153147, 1338152535, 1338152540, 1338152830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.958874225616455 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:00:02.668989
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_55_10776.jpg', 0), ('/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_44_9779.jpg', 0), ('/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_34_9765.jpg', 0), ('/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_24_9760.jpg', 0), ('/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_15_10802.jpg', 0), ('/home/nano/Desktop/images/08022025/21/25/image_08022025_21_26_04_9769.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_55_10776.jpg', '/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_44_9779.jpg', '/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_34_9765.jpg', '/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_24_9760.jpg', '/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_15_10802.jpg', '/home/nano/Desktop/images/08022025/21/25/image_08022025_21_26_04_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_55_10776.jpg
/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_44_9779.jpg
/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_34_9765.jpg
/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_24_9760.jpg
/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_15_10802.jpg
/home/nano/Desktop/images/08022025/21/25/image_08022025_21_26_04_9769.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.357337713241577 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:00:32.295399
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_55_10776.jpg', 0), ('/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_44_9779.jpg', 0), ('/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_34_9765.jpg', 0), ('/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_24_9760.jpg', 0), ('/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_15_10802.jpg', 0), ('/home/nano/Desktop/images/08022025/21/25/image_08022025_21_26_04_9769.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_55_10776.jpg', '/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_44_9779.jpg', '/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_34_9765.jpg', '/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_24_9760.jpg', '/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_15_10802.jpg', '/home/nano/Desktop/images/08022025/21/25/image_08022025_21_26_04_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_55_10776.jpg
/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_44_9779.jpg
/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_34_9765.jpg
/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_24_9760.jpg
/home/nano/Desktop/images/08022025/21/26/image_08022025_21_26_15_10802.jpg
/home/nano/Desktop/images/08022025/21/25/image_08022025_21_26_04_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338153465","1338153450","1338153453","1338153447","1338153461","1338153457"],"photo_ids_order":["1338153447","1338153450","1338153453","1338153457","1338153461","1338153465"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3af5ba880663a06440bf8382f3449593.jpg","text":"TemporaryFile(/tmp/multipartBody1341008271617114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793694569,"filename":"image_08022025_21_26_04_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d32c6075e542511d798e6a3c381fe48.jpg","text":"TemporaryFile(/tmp/multipartBody8603973813571481373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793694569,"filename":"image_08022025_21_26_44_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31671290420d7b56388da39cee8fee2a.jpg","text":"TemporaryFile(/tmp/multipartBody7868256240265102112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793694569,"filename":"image_08022025_21_26_34_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b45837bbe72c09d615b45ff6e6cad6c.jpg","text":"TemporaryFile(/tmp/multipartBody337634682805219049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793694569,"filename":"image_08022025_21_26_55_10776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4967e033d899766a1876c3927fe7fa47.jpg","text":"TemporaryFile(/tmp/multipartBody6387790760464654642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793694569,"filename":"image_08022025_21_26_15_10802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed1e4a46ea215918180d187924c320c1.jpg","text":"TemporaryFile(/tmp/multipartBody1688800524623788938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793694569,"filename":"image_08022025_21_26_24_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338153453","file1":"1338153450","file0":"1338153447","file4":"1338153461","file5":"1338153465","file3":"1338153457"},"map_files_photo_id_array":[{"photo_id":"1338153465","filename":"file5"},{"photo_id":"1338153453","filename":"file2"},{"photo_id":"1338153461","filename":"file4"},{"photo_id":"1338153450","filename":"file1"},{"photo_id":"1338153447","filename":"file0"},{"photo_id":"1338153457","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338153465":["hashtag1","hashtag2"]},{"1338153450":["hashtag1","hashtag2"]},{"1338153453":["hashtag1","hashtag2"]},{"1338153447":["hashtag1","hashtag2"]},{"1338153461":["hashtag1","hashtag2"]},{"1338153457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338153465, 1338153450, 1338153453, 1338153447, 1338153461, 1338153457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.316564083099365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:01:32.439764
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_54_9766.jpg', 0), ('/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_44_9767.jpg', 0), ('/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_35_10778.jpg', 0), ('/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_24_9768.jpg', 0), ('/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_14_9774.jpg', 0), ('/home/nano/Desktop/images/08022025/21/13/image_08022025_21_14_04_9769.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_54_9766.jpg', '/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_44_9767.jpg', '/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_35_10778.jpg', '/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_24_9768.jpg', '/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_14_9774.jpg', '/home/nano/Desktop/images/08022025/21/13/image_08022025_21_14_04_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_54_9766.jpg
/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_44_9767.jpg
/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_35_10778.jpg
/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_24_9768.jpg
/home/nano/Desktop/images/08022025/21/14/image_08022025_21_14_14_9774.jpg
/home/nano/Desktop/images/08022025/21/13/image_08022025_21_14_04_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338153495","1338153477","1338153482","1338153490","1338153492","1338153486"],"photo_ids_order":["1338153477","1338153482","1338153486","1338153490","1338153492","1338153495"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bdecfb2e76f7d28d1ea171ba94bf768f.jpg","text":"TemporaryFile(/tmp/multipartBody8482573348751680835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793754686,"filename":"image_08022025_21_14_04_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/95036324995835a599d97aa0d6cb2622.jpg","text":"TemporaryFile(/tmp/multipartBody5331698052673311694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793754686,"filename":"image_08022025_21_14_54_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/429ac5b2777fe813c2d5173c6d1817f7.jpg","text":"TemporaryFile(/tmp/multipartBody5764028410455386676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793754686,"filename":"image_08022025_21_14_44_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24eb19d022c6ed4c04bda4363a21c2e6.jpg","text":"TemporaryFile(/tmp/multipartBody7849793178327556944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793754686,"filename":"image_08022025_21_14_24_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b814127c3732214cd8f4b1fbc69d958.jpg","text":"TemporaryFile(/tmp/multipartBody1803250568228423727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793754686,"filename":"image_08022025_21_14_14_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9524baf3849286296cd2560f00cbb7b5.jpg","text":"TemporaryFile(/tmp/multipartBody2265658430090158356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793754686,"filename":"image_08022025_21_14_35_10778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338153486","file1":"1338153482","file0":"1338153477","file4":"1338153492","file5":"1338153495","file3":"1338153490"},"map_files_photo_id_array":[{"photo_id":"1338153495","filename":"file5"},{"photo_id":"1338153486","filename":"file2"},{"photo_id":"1338153492","filename":"file4"},{"photo_id":"1338153482","filename":"file1"},{"photo_id":"1338153477","filename":"file0"},{"photo_id":"1338153490","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338153495":["hashtag1","hashtag2"]},{"1338153477":["hashtag1","hashtag2"]},{"1338153482":["hashtag1","hashtag2"]},{"1338153490":["hashtag1","hashtag2"]},{"1338153492":["hashtag1","hashtag2"]},{"1338153486":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338153495, 1338153477, 1338153482, 1338153490, 1338153492, 1338153486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4858455657959 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:02:32.589586
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_54_9768.jpg', 0), ('/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_44_9767.jpg', 0), ('/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_34_9770.jpg', 0), ('/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_24_10781.jpg', 0), ('/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_14_9770.jpg', 0), ('/home/nano/Desktop/images/08022025/20/57/image_08022025_20_58_04_9782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_54_9768.jpg', '/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_44_9767.jpg', '/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_34_9770.jpg', '/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_24_10781.jpg', '/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_14_9770.jpg', '/home/nano/Desktop/images/08022025/20/57/image_08022025_20_58_04_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_54_9768.jpg
/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_44_9767.jpg
/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_34_9770.jpg
/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_24_10781.jpg
/home/nano/Desktop/images/08022025/20/58/image_08022025_20_58_14_9770.jpg
/home/nano/Desktop/images/08022025/20/57/image_08022025_20_58_04_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338153511","1338153519","1338153522","1338153504","1338153515","1338153508"],"photo_ids_order":["1338153504","1338153508","1338153511","1338153515","1338153519","1338153522"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d29a329207f43ab340d6295e87313164.jpg","text":"TemporaryFile(/tmp/multipartBody3397758884513129201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793815854,"filename":"image_08022025_20_58_34_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9bd7ec00fa8997014fb7701953065ae9.jpg","text":"TemporaryFile(/tmp/multipartBody8817923879771070330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793815854,"filename":"image_08022025_20_58_14_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70dfb33a61345a5372b5f970cce4ca08.jpg","text":"TemporaryFile(/tmp/multipartBody337832217429260550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793815854,"filename":"image_08022025_20_58_04_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/992c68c9e318d9cefa6ce270c91203d9.jpg","text":"TemporaryFile(/tmp/multipartBody3724890787669002013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793815854,"filename":"image_08022025_20_58_54_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/430f4d56812ea8888c07c4f1f9bf4c93.jpg","text":"TemporaryFile(/tmp/multipartBody1028153099440595696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793815854,"filename":"image_08022025_20_58_24_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22e84ff30c6c9558582c734248e6e66e.jpg","text":"TemporaryFile(/tmp/multipartBody4454667359327344343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793815854,"filename":"image_08022025_20_58_44_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338153511","file1":"1338153508","file0":"1338153504","file4":"1338153519","file5":"1338153522","file3":"1338153515"},"map_files_photo_id_array":[{"photo_id":"1338153522","filename":"file5"},{"photo_id":"1338153511","filename":"file2"},{"photo_id":"1338153519","filename":"file4"},{"photo_id":"1338153508","filename":"file1"},{"photo_id":"1338153504","filename":"file0"},{"photo_id":"1338153515","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338153511":["hashtag1","hashtag2"]},{"1338153519":["hashtag1","hashtag2"]},{"1338153522":["hashtag1","hashtag2"]},{"1338153504":["hashtag1","hashtag2"]},{"1338153515":["hashtag1","hashtag2"]},{"1338153508":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338153511, 1338153519, 1338153522, 1338153504, 1338153515, 1338153508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06754732131958 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:03:32.734806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_54_9771.jpg', 0), ('/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_44_9769.jpg', 0), ('/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_35_10778.jpg', 0), ('/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_24_9768.jpg', 0), ('/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_14_9776.jpg', 0), ('/home/nano/Desktop/images/08022025/20/56/image_08022025_20_57_04_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_54_9771.jpg', '/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_44_9769.jpg', '/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_35_10778.jpg', '/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_24_9768.jpg', '/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_14_9776.jpg', '/home/nano/Desktop/images/08022025/20/56/image_08022025_20_57_04_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_54_9771.jpg
/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_44_9769.jpg
/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_35_10778.jpg
/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_24_9768.jpg
/home/nano/Desktop/images/08022025/20/57/image_08022025_20_57_14_9776.jpg
/home/nano/Desktop/images/08022025/20/56/image_08022025_20_57_04_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338153795","1338154094","1338153534","1338153530","1338154293","1338154296"],"photo_ids_order":["1338153530","1338153534","1338153795","1338154094","1338154293","1338154296"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/885d1330617bb78e48e32b70bcf24927.jpg","text":"TemporaryFile(/tmp/multipartBody6464608728804445531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793875035,"filename":"image_08022025_20_57_35_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/646a31d831440b81351f1a863bee2b52.jpg","text":"TemporaryFile(/tmp/multipartBody1953724026581114647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793875035,"filename":"image_08022025_20_57_24_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22cf16c5be83f7c3ea743593da6ad797.jpg","text":"TemporaryFile(/tmp/multipartBody7105796778916358500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793875035,"filename":"image_08022025_20_57_44_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e635eb217f6083ba9d7a42e02e669059.jpg","text":"TemporaryFile(/tmp/multipartBody2204272235924608770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793875035,"filename":"image_08022025_20_57_54_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/012ad2de6bfa2c251225b8e44fcb84db.jpg","text":"TemporaryFile(/tmp/multipartBody2096483082306228888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793875035,"filename":"image_08022025_20_57_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/311b8575660f4a93115d83458527084a.jpg","text":"TemporaryFile(/tmp/multipartBody5884449064277246070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793875035,"filename":"image_08022025_20_57_04_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338153795","file1":"1338153534","file0":"1338153530","file4":"1338154293","file5":"1338154296","file3":"1338154094"},"map_files_photo_id_array":[{"photo_id":"1338154296","filename":"file5"},{"photo_id":"1338153795","filename":"file2"},{"photo_id":"1338154293","filename":"file4"},{"photo_id":"1338153534","filename":"file1"},{"photo_id":"1338153530","filename":"file0"},{"photo_id":"1338154094","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338153795":["hashtag1","hashtag2"]},{"1338154094":["hashtag1","hashtag2"]},{"1338153534":["hashtag1","hashtag2"]},{"1338153530":["hashtag1","hashtag2"]},{"1338154293":["hashtag1","hashtag2"]},{"1338154296":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338153795, 1338154094, 1338153534, 1338153530, 1338154293, 1338154296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.804624319076538 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:04:31.893303
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_54_9765.jpg', 0), ('/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_44_9794.jpg', 0), ('/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_35_10782.jpg', 0), ('/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_24_9774.jpg', 0), ('/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_14_9776.jpg', 0), ('/home/nano/Desktop/images/08022025/20/20/image_08022025_20_21_04_9799.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_54_9765.jpg', '/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_44_9794.jpg', '/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_35_10782.jpg', '/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_24_9774.jpg', '/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_14_9776.jpg', '/home/nano/Desktop/images/08022025/20/20/image_08022025_20_21_04_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_54_9765.jpg
/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_44_9794.jpg
/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_35_10782.jpg
/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_24_9774.jpg
/home/nano/Desktop/images/08022025/20/21/image_08022025_20_21_14_9776.jpg
/home/nano/Desktop/images/08022025/20/20/image_08022025_20_21_04_9799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338154422","1338154496","1338154500","1338154508","1338154573","1338154504"],"photo_ids_order":["1338154422","1338154496","1338154500","1338154504","1338154508","1338154573"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67d5bcc4f9e83bbf097045fc45ec3b27.jpg","text":"TemporaryFile(/tmp/multipartBody2144818879750172396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793934158,"filename":"image_08022025_20_21_54_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0eef7a5f1bb21140e99282b088cca75f.jpg","text":"TemporaryFile(/tmp/multipartBody4133832520778004742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793934158,"filename":"image_08022025_20_21_44_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7a035b9af7bc6b87e74dee2b7e74167.jpg","text":"TemporaryFile(/tmp/multipartBody2269797994059614906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793934158,"filename":"image_08022025_20_21_35_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bd28005ce845506f76eeb2dcb9436cd4.jpg","text":"TemporaryFile(/tmp/multipartBody5700804191621043059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793934158,"filename":"image_08022025_20_21_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/602e91f719394e67facaad8e2b6f10f8.jpg","text":"TemporaryFile(/tmp/multipartBody8287205317328901982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793934158,"filename":"image_08022025_20_21_04_9799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc5bf08a4744bca5de84caed2fd243d5.jpg","text":"TemporaryFile(/tmp/multipartBody6777544061848927522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793934158,"filename":"image_08022025_20_21_24_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338154500","file1":"1338154496","file0":"1338154422","file4":"1338154508","file5":"1338154573","file3":"1338154504"},"map_files_photo_id_array":[{"photo_id":"1338154573","filename":"file5"},{"photo_id":"1338154500","filename":"file2"},{"photo_id":"1338154508","filename":"file4"},{"photo_id":"1338154496","filename":"file1"},{"photo_id":"1338154422","filename":"file0"},{"photo_id":"1338154504","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338154422":["hashtag1","hashtag2"]},{"1338154496":["hashtag1","hashtag2"]},{"1338154500":["hashtag1","hashtag2"]},{"1338154508":["hashtag1","hashtag2"]},{"1338154573":["hashtag1","hashtag2"]},{"1338154504":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338154422, 1338154496, 1338154500, 1338154508, 1338154573, 1338154504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.738484621047974 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:05:32.038587
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_54_9771.jpg', 0), ('/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_44_9763.jpg', 0), ('/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_35_10782.jpg', 0), ('/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_24_9771.jpg', 0), ('/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_14_9778.jpg', 0), ('/home/nano/Desktop/images/08022025/19/56/image_08022025_19_57_04_9772.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_54_9771.jpg', '/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_44_9763.jpg', '/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_35_10782.jpg', '/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_24_9771.jpg', '/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_14_9778.jpg', '/home/nano/Desktop/images/08022025/19/56/image_08022025_19_57_04_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_54_9771.jpg
/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_44_9763.jpg
/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_35_10782.jpg
/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_24_9771.jpg
/home/nano/Desktop/images/08022025/19/57/image_08022025_19_57_14_9778.jpg
/home/nano/Desktop/images/08022025/19/56/image_08022025_19_57_04_9772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338154662","1338154658","1338154654","1338154665","1338154650","1338154647"],"photo_ids_order":["1338154647","1338154650","1338154654","1338154658","1338154662","1338154665"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31b425060b812b43ce5b53591d6f398c.jpg","text":"TemporaryFile(/tmp/multipartBody4704426672179900772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793994590,"filename":"image_08022025_19_57_14_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a7f298489dde0a1c052341296ab2e03.jpg","text":"TemporaryFile(/tmp/multipartBody8590912497777513937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793994590,"filename":"image_08022025_19_57_24_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab4f6c0b5114d0bd09e379f060529fb9.jpg","text":"TemporaryFile(/tmp/multipartBody5762000958320265461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793994590,"filename":"image_08022025_19_57_35_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c10865730674ed3752443a3cc023c094.jpg","text":"TemporaryFile(/tmp/multipartBody8019065301523111355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793994590,"filename":"image_08022025_19_57_04_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/89e0a6dfb7da470cd4a3d40e8052756e.jpg","text":"TemporaryFile(/tmp/multipartBody1184255271890010343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793994590,"filename":"image_08022025_19_57_44_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77adec128125eec3047c4a480a0f3b35.jpg","text":"TemporaryFile(/tmp/multipartBody4306713800461687445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739793994590,"filename":"image_08022025_19_57_54_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338154654","file1":"1338154650","file0":"1338154647","file4":"1338154662","file5":"1338154665","file3":"1338154658"},"map_files_photo_id_array":[{"photo_id":"1338154665","filename":"file5"},{"photo_id":"1338154654","filename":"file2"},{"photo_id":"1338154662","filename":"file4"},{"photo_id":"1338154650","filename":"file1"},{"photo_id":"1338154647","filename":"file0"},{"photo_id":"1338154658","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338154662":["hashtag1","hashtag2"]},{"1338154658":["hashtag1","hashtag2"]},{"1338154654":["hashtag1","hashtag2"]},{"1338154665":["hashtag1","hashtag2"]},{"1338154650":["hashtag1","hashtag2"]},{"1338154647":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338154662, 1338154658, 1338154654, 1338154665, 1338154650, 1338154647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89345407485962 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:06:32.186093
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_54_9773.jpg', 0), ('/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_44_9777.jpg', 0), ('/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_34_9775.jpg', 0), ('/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_25_10783.jpg', 0), ('/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_14_9781.jpg', 0), ('/home/nano/Desktop/images/08022025/19/38/image_08022025_19_39_04_9780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_54_9773.jpg', '/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_44_9777.jpg', '/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_34_9775.jpg', '/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_25_10783.jpg', '/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_14_9781.jpg', '/home/nano/Desktop/images/08022025/19/38/image_08022025_19_39_04_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_54_9773.jpg
/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_44_9777.jpg
/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_34_9775.jpg
/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_25_10783.jpg
/home/nano/Desktop/images/08022025/19/39/image_08022025_19_39_14_9781.jpg
/home/nano/Desktop/images/08022025/19/38/image_08022025_19_39_04_9780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338154697","1338154733","1338154693","1338154672","1338154726","1338154689"],"photo_ids_order":["1338154672","1338154689","1338154693","1338154697","1338154726","1338154733"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2562e65b962f90ef5478c6c567b2aa7.jpg","text":"TemporaryFile(/tmp/multipartBody560753809449307430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794054553,"filename":"image_08022025_19_39_25_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0de6ee1bc793ca6349460adb9c421f49.jpg","text":"TemporaryFile(/tmp/multipartBody8878648162393029976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794054553,"filename":"image_08022025_19_39_04_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9798cd1e0d245e1b108d95673484b8f5.jpg","text":"TemporaryFile(/tmp/multipartBody4970738551947645110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794054553,"filename":"image_08022025_19_39_34_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87bd851acef3c96888886d356209cc03.jpg","text":"TemporaryFile(/tmp/multipartBody7849001904391809127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794054553,"filename":"image_08022025_19_39_54_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dde620a4e74f7199178d85e91486b773.jpg","text":"TemporaryFile(/tmp/multipartBody5528961214559277780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794054553,"filename":"image_08022025_19_39_14_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/68fc7ced3b03c6a4c9107ff2a98db3d8.jpg","text":"TemporaryFile(/tmp/multipartBody3607110386016784202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794054553,"filename":"image_08022025_19_39_44_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338154693","file1":"1338154689","file0":"1338154672","file4":"1338154726","file5":"1338154733","file3":"1338154697"},"map_files_photo_id_array":[{"photo_id":"1338154733","filename":"file5"},{"photo_id":"1338154693","filename":"file2"},{"photo_id":"1338154726","filename":"file4"},{"photo_id":"1338154689","filename":"file1"},{"photo_id":"1338154672","filename":"file0"},{"photo_id":"1338154697","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338154697":["hashtag1","hashtag2"]},{"1338154733":["hashtag1","hashtag2"]},{"1338154693":["hashtag1","hashtag2"]},{"1338154672":["hashtag1","hashtag2"]},{"1338154726":["hashtag1","hashtag2"]},{"1338154689":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338154697, 1338154733, 1338154693, 1338154672, 1338154726, 1338154689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.166202545166016 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:07:32.393920
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_54_9774.jpg', 0), ('/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_44_9789.jpg', 0), ('/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_34_9774.jpg', 0), ('/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_25_10783.jpg', 0), ('/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_14_9775.jpg', 0), ('/home/nano/Desktop/images/08022025/19/31/image_08022025_19_32_04_9790.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_54_9774.jpg', '/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_44_9789.jpg', '/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_34_9774.jpg', '/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_25_10783.jpg', '/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_14_9775.jpg', '/home/nano/Desktop/images/08022025/19/31/image_08022025_19_32_04_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_54_9774.jpg
/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_44_9789.jpg
/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_34_9774.jpg
/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_25_10783.jpg
/home/nano/Desktop/images/08022025/19/32/image_08022025_19_32_14_9775.jpg
/home/nano/Desktop/images/08022025/19/31/image_08022025_19_32_04_9790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338154775","1338154760","1338154771","1338154768","1338154779","1338154764"],"photo_ids_order":["1338154760","1338154764","1338154768","1338154771","1338154775","1338154779"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15c1fe1860e1a93601fe3330767dbf68.jpg","text":"TemporaryFile(/tmp/multipartBody3404561037075672625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794114621,"filename":"image_08022025_19_32_14_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1ad42cb4eb05cf02c147f518233b140.jpg","text":"TemporaryFile(/tmp/multipartBody954386201447648064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794114621,"filename":"image_08022025_19_32_54_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/800c876861db50cbf0ed9e2cc64d5c5a.jpg","text":"TemporaryFile(/tmp/multipartBody1661802277862811356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794114621,"filename":"image_08022025_19_32_25_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/190714d103504e7b32f0746666e2d159.jpg","text":"TemporaryFile(/tmp/multipartBody7567826989699310172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794114621,"filename":"image_08022025_19_32_34_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a48cfa1113c9042c5fa3764257111b1e.jpg","text":"TemporaryFile(/tmp/multipartBody4991024157963516810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794114621,"filename":"image_08022025_19_32_04_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9cd1dd2fbee83ea23eb744d1615c270a.jpg","text":"TemporaryFile(/tmp/multipartBody4256752102825501898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794114621,"filename":"image_08022025_19_32_44_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338154768","file1":"1338154764","file0":"1338154760","file4":"1338154775","file5":"1338154779","file3":"1338154771"},"map_files_photo_id_array":[{"photo_id":"1338154779","filename":"file5"},{"photo_id":"1338154768","filename":"file2"},{"photo_id":"1338154775","filename":"file4"},{"photo_id":"1338154764","filename":"file1"},{"photo_id":"1338154760","filename":"file0"},{"photo_id":"1338154771","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338154775":["hashtag1","hashtag2"]},{"1338154760":["hashtag1","hashtag2"]},{"1338154771":["hashtag1","hashtag2"]},{"1338154768":["hashtag1","hashtag2"]},{"1338154779":["hashtag1","hashtag2"]},{"1338154764":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338154775, 1338154760, 1338154771, 1338154768, 1338154779, 1338154764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.068557024002075 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:08:32.543679
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_54_9777.jpg', 0), ('/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_44_9777.jpg', 0), ('/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_34_10786.jpg', 0), ('/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_24_9770.jpg', 0), ('/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_14_9798.jpg', 0), ('/home/nano/Desktop/images/08022025/19/21/image_08022025_19_22_04_9777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_54_9777.jpg', '/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_44_9777.jpg', '/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_34_10786.jpg', '/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_24_9770.jpg', '/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_14_9798.jpg', '/home/nano/Desktop/images/08022025/19/21/image_08022025_19_22_04_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_54_9777.jpg
/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_44_9777.jpg
/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_34_10786.jpg
/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_24_9770.jpg
/home/nano/Desktop/images/08022025/19/22/image_08022025_19_22_14_9798.jpg
/home/nano/Desktop/images/08022025/19/21/image_08022025_19_22_04_9777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338154806","1338154790","1338154803","1338154798","1338154786","1338154794"],"photo_ids_order":["1338154786","1338154790","1338154794","1338154798","1338154803","1338154806"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/55c899f5b73a042358551faa67ea5b70.jpg","text":"TemporaryFile(/tmp/multipartBody1174979402678909444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794174914,"filename":"image_08022025_19_22_04_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dbbc286dae51bc1cefd4dcf22ef0deef.jpg","text":"TemporaryFile(/tmp/multipartBody202977862646746406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794174914,"filename":"image_08022025_19_22_44_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/168a1e9f617481d9048ed97a3aaefab5.jpg","text":"TemporaryFile(/tmp/multipartBody6529972681889225105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794174914,"filename":"image_08022025_19_22_14_9798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49dc2d3670d4e2e60abd87be7893d884.jpg","text":"TemporaryFile(/tmp/multipartBody7275863239343844697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794174914,"filename":"image_08022025_19_22_24_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c093b079f808e878d6362c48739097ac.jpg","text":"TemporaryFile(/tmp/multipartBody5854002971145028731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794174914,"filename":"image_08022025_19_22_54_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fefc59a022b278414f3a23cb59afea22.jpg","text":"TemporaryFile(/tmp/multipartBody363203691750692702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794174914,"filename":"image_08022025_19_22_34_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338154794","file1":"1338154790","file0":"1338154786","file4":"1338154803","file5":"1338154806","file3":"1338154798"},"map_files_photo_id_array":[{"photo_id":"1338154806","filename":"file5"},{"photo_id":"1338154794","filename":"file2"},{"photo_id":"1338154803","filename":"file4"},{"photo_id":"1338154790","filename":"file1"},{"photo_id":"1338154786","filename":"file0"},{"photo_id":"1338154798","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338154806":["hashtag1","hashtag2"]},{"1338154790":["hashtag1","hashtag2"]},{"1338154803":["hashtag1","hashtag2"]},{"1338154798":["hashtag1","hashtag2"]},{"1338154786":["hashtag1","hashtag2"]},{"1338154794":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338154806, 1338154790, 1338154803, 1338154798, 1338154786, 1338154794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9166841506958 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:09:32.693783
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_55_10785.jpg', 0), ('/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_44_9777.jpg', 0), ('/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_34_9778.jpg', 0), ('/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_24_9796.jpg', 0), ('/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_14_9781.jpg', 0), ('/home/nano/Desktop/images/08022025/18/57/image_08022025_18_58_05_10797.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_55_10785.jpg', '/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_44_9777.jpg', '/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_34_9778.jpg', '/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_24_9796.jpg', '/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_14_9781.jpg', '/home/nano/Desktop/images/08022025/18/57/image_08022025_18_58_05_10797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_55_10785.jpg
/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_44_9777.jpg
/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_34_9778.jpg
/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_24_9796.jpg
/home/nano/Desktop/images/08022025/18/58/image_08022025_18_58_14_9781.jpg
/home/nano/Desktop/images/08022025/18/57/image_08022025_18_58_05_10797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338154836","1338154823","1338154826","1338154834","1338154819","1338154830"],"photo_ids_order":["1338154819","1338154823","1338154826","1338154830","1338154834","1338154836"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1a28f56acc393f746b1a30a7844f4ae8.jpg","text":"TemporaryFile(/tmp/multipartBody396476086214851138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794235210,"filename":"image_08022025_18_58_05_10797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd88b632c6e86830b0483059e09be5b2.jpg","text":"TemporaryFile(/tmp/multipartBody4873634377051848108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794235210,"filename":"image_08022025_18_58_44_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed9090d7cb53565c3109525076b6e7b3.jpg","text":"TemporaryFile(/tmp/multipartBody9009733022331961451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794235210,"filename":"image_08022025_18_58_34_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92f254b1dcde02183d36304053b872b5.jpg","text":"TemporaryFile(/tmp/multipartBody87364260561118351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794235210,"filename":"image_08022025_18_58_14_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4187f263bba67e17e0dc419af8ab4ea.jpg","text":"TemporaryFile(/tmp/multipartBody8205599813520743906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794235210,"filename":"image_08022025_18_58_55_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6dd4bd997d3dc2e601f65566eeebb583.jpg","text":"TemporaryFile(/tmp/multipartBody4419376270149314806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794235210,"filename":"image_08022025_18_58_24_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338154826","file1":"1338154823","file0":"1338154819","file4":"1338154834","file5":"1338154836","file3":"1338154830"},"map_files_photo_id_array":[{"photo_id":"1338154836","filename":"file5"},{"photo_id":"1338154826","filename":"file2"},{"photo_id":"1338154834","filename":"file4"},{"photo_id":"1338154823","filename":"file1"},{"photo_id":"1338154819","filename":"file0"},{"photo_id":"1338154830","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338154836":["hashtag1","hashtag2"]},{"1338154823":["hashtag1","hashtag2"]},{"1338154826":["hashtag1","hashtag2"]},{"1338154834":["hashtag1","hashtag2"]},{"1338154819":["hashtag1","hashtag2"]},{"1338154830":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338154836, 1338154823, 1338154826, 1338154834, 1338154819, 1338154830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.470988035202026 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:10:31.844192
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_54_9803.jpg', 0), ('/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_44_9775.jpg', 0), ('/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_34_9776.jpg', 0), ('/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_24_9774.jpg', 0), ('/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_15_10792.jpg', 0), ('/home/nano/Desktop/images/08022025/18/46/image_08022025_18_47_04_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_54_9803.jpg', '/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_44_9775.jpg', '/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_34_9776.jpg', '/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_24_9774.jpg', '/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_15_10792.jpg', '/home/nano/Desktop/images/08022025/18/46/image_08022025_18_47_04_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_54_9803.jpg
/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_44_9775.jpg
/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_34_9776.jpg
/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_24_9774.jpg
/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_15_10792.jpg
/home/nano/Desktop/images/08022025/18/46/image_08022025_18_47_04_9776.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.446390151977539 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:11:02.557077
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_54_9803.jpg', 0), ('/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_44_9775.jpg', 0), ('/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_34_9776.jpg', 0), ('/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_24_9774.jpg', 0), ('/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_15_10792.jpg', 0), ('/home/nano/Desktop/images/08022025/18/46/image_08022025_18_47_04_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_54_9803.jpg', '/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_44_9775.jpg', '/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_34_9776.jpg', '/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_24_9774.jpg', '/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_15_10792.jpg', '/home/nano/Desktop/images/08022025/18/46/image_08022025_18_47_04_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_54_9803.jpg
/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_44_9775.jpg
/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_34_9776.jpg
/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_24_9774.jpg
/home/nano/Desktop/images/08022025/18/47/image_08022025_18_47_15_10792.jpg
/home/nano/Desktop/images/08022025/18/46/image_08022025_18_47_04_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338155573","1338155537","1338155668","1338155598","1338155571","1338155535"],"photo_ids_order":["1338155535","1338155537","1338155571","1338155573","1338155598","1338155668"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eaed8b68cb57afaef1773ac5958f9e6b.jpg","text":"TemporaryFile(/tmp/multipartBody1201184991531145068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794324825,"filename":"image_08022025_18_47_24_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec381cde798f650d53d78110c2456c1c.jpg","text":"TemporaryFile(/tmp/multipartBody9178614222279392521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794324825,"filename":"image_08022025_18_47_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/faa0f776c0830f0993cf316d06888a46.jpg","text":"TemporaryFile(/tmp/multipartBody9098728973406820062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794324825,"filename":"image_08022025_18_47_04_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54469e0cd7cfb9719747da6d0f083fcd.jpg","text":"TemporaryFile(/tmp/multipartBody6345199116682778266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794324825,"filename":"image_08022025_18_47_15_10792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dfb6827bd360da70091d3e3f8424b744.jpg","text":"TemporaryFile(/tmp/multipartBody8844377490381128920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794324825,"filename":"image_08022025_18_47_34_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe96a2f9040a0dac85963baf0509fa8b.jpg","text":"TemporaryFile(/tmp/multipartBody3533858403469068636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794324825,"filename":"image_08022025_18_47_54_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338155571","file1":"1338155537","file0":"1338155535","file4":"1338155598","file5":"1338155668","file3":"1338155573"},"map_files_photo_id_array":[{"photo_id":"1338155668","filename":"file5"},{"photo_id":"1338155571","filename":"file2"},{"photo_id":"1338155598","filename":"file4"},{"photo_id":"1338155537","filename":"file1"},{"photo_id":"1338155535","filename":"file0"},{"photo_id":"1338155573","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338155573":["hashtag1","hashtag2"]},{"1338155537":["hashtag1","hashtag2"]},{"1338155668":["hashtag1","hashtag2"]},{"1338155598":["hashtag1","hashtag2"]},{"1338155571":["hashtag1","hashtag2"]},{"1338155535":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338155573, 1338155537, 1338155668, 1338155598, 1338155571, 1338155535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06651258468628 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:12:02.503815
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_54_9780.jpg', 0), ('/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_44_9802.jpg', 0), ('/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_35_10809.jpg', 0), ('/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_24_9798.jpg', 0), ('/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_14_9798.jpg', 0), ('/home/nano/Desktop/images/08022025/17/57/image_08022025_17_58_04_9781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_54_9780.jpg', '/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_44_9802.jpg', '/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_35_10809.jpg', '/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_24_9798.jpg', '/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_14_9798.jpg', '/home/nano/Desktop/images/08022025/17/57/image_08022025_17_58_04_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_54_9780.jpg
/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_44_9802.jpg
/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_35_10809.jpg
/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_24_9798.jpg
/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_14_9798.jpg
/home/nano/Desktop/images/08022025/17/57/image_08022025_17_58_04_9781.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1479203701019287 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:12:32.131267
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_54_9780.jpg', 0), ('/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_44_9802.jpg', 0), ('/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_35_10809.jpg', 0), ('/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_24_9798.jpg', 0), ('/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_14_9798.jpg', 0), ('/home/nano/Desktop/images/08022025/17/57/image_08022025_17_58_04_9781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_54_9780.jpg', '/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_44_9802.jpg', '/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_35_10809.jpg', '/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_24_9798.jpg', '/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_14_9798.jpg', '/home/nano/Desktop/images/08022025/17/57/image_08022025_17_58_04_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_54_9780.jpg
/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_44_9802.jpg
/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_35_10809.jpg
/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_24_9798.jpg
/home/nano/Desktop/images/08022025/17/58/image_08022025_17_58_14_9798.jpg
/home/nano/Desktop/images/08022025/17/57/image_08022025_17_58_04_9781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338155942","1338155932","1338155940","1338155934","1338155937","1338155928"],"photo_ids_order":["1338155928","1338155932","1338155934","1338155937","1338155940","1338155942"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38ad09f25b62789dc42a0b0730f859f8.jpg","text":"TemporaryFile(/tmp/multipartBody7986874949751524213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794414423,"filename":"image_08022025_17_58_04_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d15d8c8b42c4bea9bd5b8385e807d721.jpg","text":"TemporaryFile(/tmp/multipartBody8492502039895863754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794414423,"filename":"image_08022025_17_58_44_9802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f2450323d95ae86699738bed65aa0a8a.jpg","text":"TemporaryFile(/tmp/multipartBody2362024262696497055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794414423,"filename":"image_08022025_17_58_14_9798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1fa9955ca14e5fa4b068336fb668162e.jpg","text":"TemporaryFile(/tmp/multipartBody2658467589499834732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794414423,"filename":"image_08022025_17_58_35_10809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0f7be7bfc72baef195c299e2364006f.jpg","text":"TemporaryFile(/tmp/multipartBody3492336406350477052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794414423,"filename":"image_08022025_17_58_24_9798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46d76fd8a14f34a375fb1335f150c9bb.jpg","text":"TemporaryFile(/tmp/multipartBody6545312591809241863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794414423,"filename":"image_08022025_17_58_54_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338155934","file1":"1338155932","file0":"1338155928","file4":"1338155940","file5":"1338155942","file3":"1338155937"},"map_files_photo_id_array":[{"photo_id":"1338155942","filename":"file5"},{"photo_id":"1338155934","filename":"file2"},{"photo_id":"1338155940","filename":"file4"},{"photo_id":"1338155932","filename":"file1"},{"photo_id":"1338155928","filename":"file0"},{"photo_id":"1338155937","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338155942":["hashtag1","hashtag2"]},{"1338155932":["hashtag1","hashtag2"]},{"1338155940":["hashtag1","hashtag2"]},{"1338155934":["hashtag1","hashtag2"]},{"1338155937":["hashtag1","hashtag2"]},{"1338155928":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338155942, 1338155932, 1338155940, 1338155934, 1338155937, 1338155928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.991161584854126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:13:32.276294
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_55_10785.jpg', 0), ('/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_44_9775.jpg', 0), ('/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_34_9779.jpg', 0), ('/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_24_9773.jpg', 0), ('/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_15_10789.jpg', 0), ('/home/nano/Desktop/images/08022025/17/55/image_08022025_17_56_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_55_10785.jpg', '/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_44_9775.jpg', '/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_34_9779.jpg', '/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_24_9773.jpg', '/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_15_10789.jpg', '/home/nano/Desktop/images/08022025/17/55/image_08022025_17_56_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_55_10785.jpg
/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_44_9775.jpg
/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_34_9779.jpg
/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_24_9773.jpg
/home/nano/Desktop/images/08022025/17/56/image_08022025_17_56_15_10789.jpg
/home/nano/Desktop/images/08022025/17/55/image_08022025_17_56_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338155963","1338155966","1338155954","1338155968","1338155961","1338155958"],"photo_ids_order":["1338155954","1338155958","1338155961","1338155963","1338155966","1338155968"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07721234945c02bab6d23b74f5ea7f03.jpg","text":"TemporaryFile(/tmp/multipartBody1067514326602728683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794474495,"filename":"image_08022025_17_56_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1d4b56b0ee3f8297449c3c23fbc1463.jpg","text":"TemporaryFile(/tmp/multipartBody2263125756450532413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794474495,"filename":"image_08022025_17_56_15_10789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ac0c5d7f6798f9c3d7c5d65e7c6b80a.jpg","text":"TemporaryFile(/tmp/multipartBody8457988994458920417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794474495,"filename":"image_08022025_17_56_55_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/deae7c1cd00c27509ca8fce3f3cfcc9f.jpg","text":"TemporaryFile(/tmp/multipartBody737500682668655302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794474495,"filename":"image_08022025_17_56_04_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af196c0f12c4c69ba2e42b5709e6170c.jpg","text":"TemporaryFile(/tmp/multipartBody3404019802624059651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794474495,"filename":"image_08022025_17_56_34_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bfa4bc478f837dcd1843088d3346496a.jpg","text":"TemporaryFile(/tmp/multipartBody4203368439184887000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794474495,"filename":"image_08022025_17_56_44_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338155961","file1":"1338155958","file0":"1338155954","file4":"1338155966","file5":"1338155968","file3":"1338155963"},"map_files_photo_id_array":[{"photo_id":"1338155968","filename":"file5"},{"photo_id":"1338155961","filename":"file2"},{"photo_id":"1338155966","filename":"file4"},{"photo_id":"1338155958","filename":"file1"},{"photo_id":"1338155954","filename":"file0"},{"photo_id":"1338155963","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338155963":["hashtag1","hashtag2"]},{"1338155966":["hashtag1","hashtag2"]},{"1338155954":["hashtag1","hashtag2"]},{"1338155968":["hashtag1","hashtag2"]},{"1338155961":["hashtag1","hashtag2"]},{"1338155958":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338155963, 1338155966, 1338155954, 1338155968, 1338155961, 1338155958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04161190986633 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:14:32.417819
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_54_9779.jpg', 0), ('/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_44_9781.jpg', 0), ('/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_34_9773.jpg', 0), ('/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_24_9800.jpg', 0), ('/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_15_10798.jpg', 0), ('/home/nano/Desktop/images/08022025/17/24/image_08022025_17_25_04_9790.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_54_9779.jpg', '/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_44_9781.jpg', '/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_34_9773.jpg', '/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_24_9800.jpg', '/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_15_10798.jpg', '/home/nano/Desktop/images/08022025/17/24/image_08022025_17_25_04_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_54_9779.jpg
/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_44_9781.jpg
/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_34_9773.jpg
/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_24_9800.jpg
/home/nano/Desktop/images/08022025/17/25/image_08022025_17_25_15_10798.jpg
/home/nano/Desktop/images/08022025/17/24/image_08022025_17_25_04_9790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338155999","1338156008","1338156017","1338156002","1338156005","1338156013"],"photo_ids_order":["1338155999","1338156002","1338156005","1338156008","1338156013","1338156017"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c34f1e54581983a22e2480d61633151.jpg","text":"TemporaryFile(/tmp/multipartBody8504583793709732772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794535626,"filename":"image_08022025_17_25_54_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9dd19d9c660f6d15b326524e99ff6333.jpg","text":"TemporaryFile(/tmp/multipartBody3536962933865471455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794535626,"filename":"image_08022025_17_25_24_9800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2eda63f6dd07cee9fc4f7397a1cb2abf.jpg","text":"TemporaryFile(/tmp/multipartBody8962184955296962735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794535626,"filename":"image_08022025_17_25_04_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ba794ffd4f83eab8611fa716ebaf0d0.jpg","text":"TemporaryFile(/tmp/multipartBody8712006142692511832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794535626,"filename":"image_08022025_17_25_44_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8cd5cddf699ba1973a2d641e4c6d55d2.jpg","text":"TemporaryFile(/tmp/multipartBody612082844215438184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794535626,"filename":"image_08022025_17_25_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e4dbb884419c1af1a3d1102d62e254f.jpg","text":"TemporaryFile(/tmp/multipartBody8206391126572378625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794535626,"filename":"image_08022025_17_25_15_10798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338156005","file1":"1338156002","file0":"1338155999","file4":"1338156013","file5":"1338156017","file3":"1338156008"},"map_files_photo_id_array":[{"photo_id":"1338156017","filename":"file5"},{"photo_id":"1338156005","filename":"file2"},{"photo_id":"1338156013","filename":"file4"},{"photo_id":"1338156002","filename":"file1"},{"photo_id":"1338155999","filename":"file0"},{"photo_id":"1338156008","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338155999":["hashtag1","hashtag2"]},{"1338156008":["hashtag1","hashtag2"]},{"1338156017":["hashtag1","hashtag2"]},{"1338156002":["hashtag1","hashtag2"]},{"1338156005":["hashtag1","hashtag2"]},{"1338156013":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338155999, 1338156008, 1338156017, 1338156002, 1338156005, 1338156013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.715242862701416 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:15:32.570930
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_54_9779.jpg', 0), ('/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_44_9780.jpg', 0), ('/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_34_9780.jpg', 0), ('/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_24_9779.jpg', 0), ('/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_15_10796.jpg', 0), ('/home/nano/Desktop/images/08022025/17/17/image_08022025_17_18_04_9780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_54_9779.jpg', '/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_44_9780.jpg', '/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_34_9780.jpg', '/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_24_9779.jpg', '/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_15_10796.jpg', '/home/nano/Desktop/images/08022025/17/17/image_08022025_17_18_04_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_54_9779.jpg
/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_44_9780.jpg
/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_34_9780.jpg
/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_24_9779.jpg
/home/nano/Desktop/images/08022025/17/18/image_08022025_17_18_15_10796.jpg
/home/nano/Desktop/images/08022025/17/17/image_08022025_17_18_04_9780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338156053","1338156067","1338156060","1338156057","1338156062","1338156065"],"photo_ids_order":["1338156053","1338156057","1338156060","1338156062","1338156065","1338156067"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99f518cad12b76e9c6781d43430a8e82.jpg","text":"TemporaryFile(/tmp/multipartBody7929805293558848868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794595140,"filename":"image_08022025_17_18_54_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90b71585887ec2947a1a2cd9772b2a35.jpg","text":"TemporaryFile(/tmp/multipartBody4174326068318826915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794595140,"filename":"image_08022025_17_18_04_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8088cb95cde11b9fdd600e02d8aa2bf5.jpg","text":"TemporaryFile(/tmp/multipartBody7065367549130213151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794595140,"filename":"image_08022025_17_18_34_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8204d5817feb28798723fb4e1eecfce.jpg","text":"TemporaryFile(/tmp/multipartBody8788903584541025179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794595140,"filename":"image_08022025_17_18_44_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58519bdf6c422f82673dd30f7e2a6ed8.jpg","text":"TemporaryFile(/tmp/multipartBody7552156354903769764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794595140,"filename":"image_08022025_17_18_24_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0dc1a50e12e1904cfa11228757b7906f.jpg","text":"TemporaryFile(/tmp/multipartBody219274563725370637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794595140,"filename":"image_08022025_17_18_15_10796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338156060","file1":"1338156057","file0":"1338156053","file4":"1338156065","file5":"1338156067","file3":"1338156062"},"map_files_photo_id_array":[{"photo_id":"1338156067","filename":"file5"},{"photo_id":"1338156060","filename":"file2"},{"photo_id":"1338156065","filename":"file4"},{"photo_id":"1338156057","filename":"file1"},{"photo_id":"1338156053","filename":"file0"},{"photo_id":"1338156062","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338156053":["hashtag1","hashtag2"]},{"1338156067":["hashtag1","hashtag2"]},{"1338156060":["hashtag1","hashtag2"]},{"1338156057":["hashtag1","hashtag2"]},{"1338156062":["hashtag1","hashtag2"]},{"1338156065":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338156053, 1338156067, 1338156060, 1338156057, 1338156062, 1338156065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.476908922195435 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:16:32.731626
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_55_10786.jpg', 0), ('/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_44_9776.jpg', 0), ('/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_34_9776.jpg', 0), ('/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_24_9785.jpg', 0), ('/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_15_10786.jpg', 0), ('/home/nano/Desktop/images/08022025/16/57/image_08022025_16_58_04_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_55_10786.jpg', '/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_44_9776.jpg', '/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_34_9776.jpg', '/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_24_9785.jpg', '/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_15_10786.jpg', '/home/nano/Desktop/images/08022025/16/57/image_08022025_16_58_04_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_55_10786.jpg
/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_44_9776.jpg
/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_34_9776.jpg
/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_24_9785.jpg
/home/nano/Desktop/images/08022025/16/58/image_08022025_16_58_15_10786.jpg
/home/nano/Desktop/images/08022025/16/57/image_08022025_16_58_04_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338156094","1338156082","1338156096","1338156092","1338156089","1338156086"],"photo_ids_order":["1338156082","1338156086","1338156089","1338156092","1338156094","1338156096"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28c3125681257a0b8cfbb3dfb49f2e4d.jpg","text":"TemporaryFile(/tmp/multipartBody9196719777068458819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794655618,"filename":"image_08022025_16_58_15_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a810610136dadd92ef71fa774e9e40ea.jpg","text":"TemporaryFile(/tmp/multipartBody7287039321451558815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794655618,"filename":"image_08022025_16_58_55_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/63764c2af941febeaf8a04f51f6f3272.jpg","text":"TemporaryFile(/tmp/multipartBody4583116156647028419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794655618,"filename":"image_08022025_16_58_04_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e5088e6505e29991e1866f1ce8052e93.jpg","text":"TemporaryFile(/tmp/multipartBody5467421867189936438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794655618,"filename":"image_08022025_16_58_24_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/36bd85e22af9b3a37a9bddd754a9428e.jpg","text":"TemporaryFile(/tmp/multipartBody3569450153073970137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794655618,"filename":"image_08022025_16_58_34_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e6239dfd74868d73a6c90a0cbf134dcb.jpg","text":"TemporaryFile(/tmp/multipartBody2133283904855060701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794655618,"filename":"image_08022025_16_58_44_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338156089","file1":"1338156086","file0":"1338156082","file4":"1338156094","file5":"1338156096","file3":"1338156092"},"map_files_photo_id_array":[{"photo_id":"1338156096","filename":"file5"},{"photo_id":"1338156089","filename":"file2"},{"photo_id":"1338156094","filename":"file4"},{"photo_id":"1338156086","filename":"file1"},{"photo_id":"1338156082","filename":"file0"},{"photo_id":"1338156092","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338156094":["hashtag1","hashtag2"]},{"1338156082":["hashtag1","hashtag2"]},{"1338156096":["hashtag1","hashtag2"]},{"1338156092":["hashtag1","hashtag2"]},{"1338156089":["hashtag1","hashtag2"]},{"1338156086":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338156094, 1338156082, 1338156096, 1338156092, 1338156089, 1338156086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34918785095215 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:17:31.902637
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_55_10780.jpg', 0), ('/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_44_9769.jpg', 0), ('/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_34_9775.jpg', 0), ('/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_24_9777.jpg', 0), ('/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_15_10794.jpg', 0), ('/home/nano/Desktop/images/08022025/16/44/image_08022025_16_45_04_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_55_10780.jpg', '/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_44_9769.jpg', '/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_34_9775.jpg', '/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_24_9777.jpg', '/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_15_10794.jpg', '/home/nano/Desktop/images/08022025/16/44/image_08022025_16_45_04_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_55_10780.jpg
/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_44_9769.jpg
/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_34_9775.jpg
/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_24_9777.jpg
/home/nano/Desktop/images/08022025/16/45/image_08022025_16_45_15_10794.jpg
/home/nano/Desktop/images/08022025/16/44/image_08022025_16_45_04_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338156128","1338156121","1338156112","1338156126","1338156123","1338156117"],"photo_ids_order":["1338156112","1338156117","1338156121","1338156123","1338156126","1338156128"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce774ba3127b451152d516d7ce744485.jpg","text":"TemporaryFile(/tmp/multipartBody8764366079645272895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794715044,"filename":"image_08022025_16_45_04_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/11387ac271882324e4334e8878929623.jpg","text":"TemporaryFile(/tmp/multipartBody4329614222392193724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794715044,"filename":"image_08022025_16_45_34_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/974c169dc3b0ac29354bfb26d8d9199b.jpg","text":"TemporaryFile(/tmp/multipartBody7429982311058724024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794715044,"filename":"image_08022025_16_45_55_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31158000e7066546021720a411b3f727.jpg","text":"TemporaryFile(/tmp/multipartBody5609935027863745521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794715044,"filename":"image_08022025_16_45_15_10794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/859a6ae98ce7a6f09199ff1e54e32132.jpg","text":"TemporaryFile(/tmp/multipartBody2406790705873981900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794715044,"filename":"image_08022025_16_45_24_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/469ae50764df4a1db3f320388e67de05.jpg","text":"TemporaryFile(/tmp/multipartBody8486981375184675101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794715044,"filename":"image_08022025_16_45_44_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338156121","file1":"1338156117","file0":"1338156112","file4":"1338156126","file5":"1338156128","file3":"1338156123"},"map_files_photo_id_array":[{"photo_id":"1338156128","filename":"file5"},{"photo_id":"1338156121","filename":"file2"},{"photo_id":"1338156126","filename":"file4"},{"photo_id":"1338156117","filename":"file1"},{"photo_id":"1338156112","filename":"file0"},{"photo_id":"1338156123","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338156128":["hashtag1","hashtag2"]},{"1338156121":["hashtag1","hashtag2"]},{"1338156112":["hashtag1","hashtag2"]},{"1338156126":["hashtag1","hashtag2"]},{"1338156123":["hashtag1","hashtag2"]},{"1338156117":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338156128, 1338156121, 1338156112, 1338156126, 1338156123, 1338156117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.356133460998535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:18:32.064100
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_54_9770.jpg', 0), ('/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_44_9800.jpg', 0), ('/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_35_10786.jpg', 0), ('/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_24_9781.jpg', 0), ('/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_14_9778.jpg', 0), ('/home/nano/Desktop/images/08022025/15/55/image_08022025_15_56_04_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_54_9770.jpg', '/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_44_9800.jpg', '/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_35_10786.jpg', '/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_24_9781.jpg', '/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_14_9778.jpg', '/home/nano/Desktop/images/08022025/15/55/image_08022025_15_56_04_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_54_9770.jpg
/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_44_9800.jpg
/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_35_10786.jpg
/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_24_9781.jpg
/home/nano/Desktop/images/08022025/15/56/image_08022025_15_56_14_9778.jpg
/home/nano/Desktop/images/08022025/15/55/image_08022025_15_56_04_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338156326","1338156311","1338156319","1338156324","1338156306","1338156315"],"photo_ids_order":["1338156306","1338156311","1338156315","1338156319","1338156324","1338156326"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a6299e75e696d1228ae81b781153b377.jpg","text":"TemporaryFile(/tmp/multipartBody2555981948430136778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794774485,"filename":"image_08022025_15_56_04_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98b7ef7ec172765ee4a7fe6077c7b55c.jpg","text":"TemporaryFile(/tmp/multipartBody6082567795060003432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794774485,"filename":"image_08022025_15_56_44_9800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d0274fdaec8de59759a50204a9d66ec.jpg","text":"TemporaryFile(/tmp/multipartBody6131487756001931296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794774485,"filename":"image_08022025_15_56_24_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e36e3cda43dcbfc5d207b45fd3ebdee3.jpg","text":"TemporaryFile(/tmp/multipartBody9005907878495135312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794774485,"filename":"image_08022025_15_56_14_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d76e89007330d6ba8fce6a2a2408433.jpg","text":"TemporaryFile(/tmp/multipartBody1524023925607533173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794774485,"filename":"image_08022025_15_56_54_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c082d7bff4a9ea673bb27f49ccac2cc.jpg","text":"TemporaryFile(/tmp/multipartBody4502067433585666434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794774485,"filename":"image_08022025_15_56_35_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338156315","file1":"1338156311","file0":"1338156306","file4":"1338156324","file5":"1338156326","file3":"1338156319"},"map_files_photo_id_array":[{"photo_id":"1338156326","filename":"file5"},{"photo_id":"1338156315","filename":"file2"},{"photo_id":"1338156324","filename":"file4"},{"photo_id":"1338156311","filename":"file1"},{"photo_id":"1338156306","filename":"file0"},{"photo_id":"1338156319","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338156326":["hashtag1","hashtag2"]},{"1338156311":["hashtag1","hashtag2"]},{"1338156319":["hashtag1","hashtag2"]},{"1338156324":["hashtag1","hashtag2"]},{"1338156306":["hashtag1","hashtag2"]},{"1338156315":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338156326, 1338156311, 1338156319, 1338156324, 1338156306, 1338156315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40968370437622 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:19:32.234334
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_54_9781.jpg', 0), ('/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_44_9778.jpg', 0), ('/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_34_9776.jpg', 0), ('/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_25_10786.jpg', 0), ('/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_14_9797.jpg', 0), ('/home/nano/Desktop/images/08022025/15/46/image_08022025_15_47_04_9791.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_54_9781.jpg', '/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_44_9778.jpg', '/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_34_9776.jpg', '/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_25_10786.jpg', '/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_14_9797.jpg', '/home/nano/Desktop/images/08022025/15/46/image_08022025_15_47_04_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_54_9781.jpg
/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_44_9778.jpg
/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_34_9776.jpg
/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_25_10786.jpg
/home/nano/Desktop/images/08022025/15/47/image_08022025_15_47_14_9797.jpg
/home/nano/Desktop/images/08022025/15/46/image_08022025_15_47_04_9791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338156394","1338156409","1338156406","1338156411","1338156398","1338156402"],"photo_ids_order":["1338156394","1338156398","1338156402","1338156406","1338156409","1338156411"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/74f21e121764224d069ab308f16b11b3.jpg","text":"TemporaryFile(/tmp/multipartBody2824424331713110882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794834984,"filename":"image_08022025_15_47_54_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/818ad15f46bb4aeed3d58e0bbd3d338b.jpg","text":"TemporaryFile(/tmp/multipartBody5136516344631717009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794834984,"filename":"image_08022025_15_47_14_9797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/977453143e74d3395fe50f189cf3f2c5.jpg","text":"TemporaryFile(/tmp/multipartBody767195216168307619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794834984,"filename":"image_08022025_15_47_25_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b6b64061b1a3211a94f1a5574acd9d3.jpg","text":"TemporaryFile(/tmp/multipartBody1760849092183776610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794834984,"filename":"image_08022025_15_47_04_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0105acef89c2697c3642d56cbcaf4255.jpg","text":"TemporaryFile(/tmp/multipartBody1726947157127630005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794834984,"filename":"image_08022025_15_47_44_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de73c1f38e0d6595782c697ef16c8d7d.jpg","text":"TemporaryFile(/tmp/multipartBody1054455697481989580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794834984,"filename":"image_08022025_15_47_34_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338156402","file1":"1338156398","file0":"1338156394","file4":"1338156409","file5":"1338156411","file3":"1338156406"},"map_files_photo_id_array":[{"photo_id":"1338156411","filename":"file5"},{"photo_id":"1338156402","filename":"file2"},{"photo_id":"1338156409","filename":"file4"},{"photo_id":"1338156398","filename":"file1"},{"photo_id":"1338156394","filename":"file0"},{"photo_id":"1338156406","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338156394":["hashtag1","hashtag2"]},{"1338156409":["hashtag1","hashtag2"]},{"1338156406":["hashtag1","hashtag2"]},{"1338156411":["hashtag1","hashtag2"]},{"1338156398":["hashtag1","hashtag2"]},{"1338156402":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338156394, 1338156409, 1338156406, 1338156411, 1338156398, 1338156402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14069652557373 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:20:32.410436
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_54_9779.jpg', 0), ('/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_44_9775.jpg', 0), ('/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_34_9777.jpg', 0), ('/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_25_10788.jpg', 0), ('/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_14_9773.jpg', 0), ('/home/nano/Desktop/images/08022025/15/29/image_08022025_15_30_04_9789.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_54_9779.jpg', '/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_44_9775.jpg', '/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_34_9777.jpg', '/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_25_10788.jpg', '/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_14_9773.jpg', '/home/nano/Desktop/images/08022025/15/29/image_08022025_15_30_04_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_54_9779.jpg
/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_44_9775.jpg
/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_34_9777.jpg
/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_25_10788.jpg
/home/nano/Desktop/images/08022025/15/30/image_08022025_15_30_14_9773.jpg
/home/nano/Desktop/images/08022025/15/29/image_08022025_15_30_04_9789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338156451","1338156430","1338156459","1338156438","1338156455","1338156434"],"photo_ids_order":["1338156430","1338156434","1338156438","1338156451","1338156455","1338156459"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a551418e7f8a002182c0a147c36fd70.jpg","text":"TemporaryFile(/tmp/multipartBody4305114183294285903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794895075,"filename":"image_08022025_15_30_25_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b288b216c3445ccca8bfd5a543d2b7bb.jpg","text":"TemporaryFile(/tmp/multipartBody7550634746535371181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794895075,"filename":"image_08022025_15_30_54_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b9f7ad57b6f195c1ddda13559f9cb08.jpg","text":"TemporaryFile(/tmp/multipartBody8795670289567651511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794895075,"filename":"image_08022025_15_30_04_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a983c9c2bd9c816be072b10967773754.jpg","text":"TemporaryFile(/tmp/multipartBody7789893702265480035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794895075,"filename":"image_08022025_15_30_34_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cafac703df3b173632f9610e48f1c104.jpg","text":"TemporaryFile(/tmp/multipartBody890510033844969215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794895075,"filename":"image_08022025_15_30_14_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5cfacd238061b25a93aa3a768849f58f.jpg","text":"TemporaryFile(/tmp/multipartBody1558043257014466973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794895075,"filename":"image_08022025_15_30_44_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338156438","file1":"1338156434","file0":"1338156430","file4":"1338156455","file5":"1338156459","file3":"1338156451"},"map_files_photo_id_array":[{"photo_id":"1338156459","filename":"file5"},{"photo_id":"1338156438","filename":"file2"},{"photo_id":"1338156455","filename":"file4"},{"photo_id":"1338156434","filename":"file1"},{"photo_id":"1338156430","filename":"file0"},{"photo_id":"1338156451","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338156451":["hashtag1","hashtag2"]},{"1338156430":["hashtag1","hashtag2"]},{"1338156459":["hashtag1","hashtag2"]},{"1338156438":["hashtag1","hashtag2"]},{"1338156455":["hashtag1","hashtag2"]},{"1338156434":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338156451, 1338156430, 1338156459, 1338156438, 1338156455, 1338156434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.915308475494385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:21:32.573640
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_54_9777.jpg', 0), ('/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_45_10787.jpg', 0), ('/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_34_9779.jpg', 0), ('/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_24_9776.jpg', 0), ('/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_14_9781.jpg', 0), ('/home/nano/Desktop/images/08022025/15/21/image_08022025_15_22_05_10790.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_54_9777.jpg', '/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_45_10787.jpg', '/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_34_9779.jpg', '/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_24_9776.jpg', '/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_14_9781.jpg', '/home/nano/Desktop/images/08022025/15/21/image_08022025_15_22_05_10790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_54_9777.jpg
/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_45_10787.jpg
/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_34_9779.jpg
/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_24_9776.jpg
/home/nano/Desktop/images/08022025/15/22/image_08022025_15_22_14_9781.jpg
/home/nano/Desktop/images/08022025/15/21/image_08022025_15_22_05_10790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338156509","1338156506","1338156561","1338156564","1338156501","1338156545"],"photo_ids_order":["1338156501","1338156506","1338156509","1338156545","1338156561","1338156564"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/917ae35870d0291c6637932573c45269.jpg","text":"TemporaryFile(/tmp/multipartBody1733326825863164247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794954954,"filename":"image_08022025_15_22_34_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9aa4e8a551bff886f38c1f768bda8218.jpg","text":"TemporaryFile(/tmp/multipartBody734229425054950727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794954954,"filename":"image_08022025_15_22_45_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc7503c4af33044115c59047385003b8.jpg","text":"TemporaryFile(/tmp/multipartBody5735595690551097799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794954954,"filename":"image_08022025_15_22_14_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c975d44df6b33a981358b1eee4be06b2.jpg","text":"TemporaryFile(/tmp/multipartBody5588438673233407326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794954954,"filename":"image_08022025_15_22_05_10790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/23a5f4796a3b186a81e901283f7bfa58.jpg","text":"TemporaryFile(/tmp/multipartBody5474660156995734425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794954954,"filename":"image_08022025_15_22_54_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c9c664121471a772c5b80309389d911.jpg","text":"TemporaryFile(/tmp/multipartBody8807296662092856376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739794954954,"filename":"image_08022025_15_22_24_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338156509","file1":"1338156506","file0":"1338156501","file4":"1338156561","file5":"1338156564","file3":"1338156545"},"map_files_photo_id_array":[{"photo_id":"1338156564","filename":"file5"},{"photo_id":"1338156509","filename":"file2"},{"photo_id":"1338156561","filename":"file4"},{"photo_id":"1338156506","filename":"file1"},{"photo_id":"1338156501","filename":"file0"},{"photo_id":"1338156545","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338156509":["hashtag1","hashtag2"]},{"1338156506":["hashtag1","hashtag2"]},{"1338156561":["hashtag1","hashtag2"]},{"1338156564":["hashtag1","hashtag2"]},{"1338156501":["hashtag1","hashtag2"]},{"1338156545":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338156509, 1338156506, 1338156561, 1338156564, 1338156501, 1338156545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01820635795593 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:22:32.724575
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_54_9777.jpg', 0), ('/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_44_9780.jpg', 0), ('/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_34_9776.jpg', 0), ('/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_25_10808.jpg', 0), ('/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_14_9779.jpg', 0), ('/home/nano/Desktop/images/08022025/15/19/image_08022025_15_20_04_9788.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_54_9777.jpg', '/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_44_9780.jpg', '/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_34_9776.jpg', '/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_25_10808.jpg', '/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_14_9779.jpg', '/home/nano/Desktop/images/08022025/15/19/image_08022025_15_20_04_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_54_9777.jpg
/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_44_9780.jpg
/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_34_9776.jpg
/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_25_10808.jpg
/home/nano/Desktop/images/08022025/15/20/image_08022025_15_20_14_9779.jpg
/home/nano/Desktop/images/08022025/15/19/image_08022025_15_20_04_9788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338156620","1338156631","1338156628","1338156624","1338156633","1338156612"],"photo_ids_order":["1338156612","1338156620","1338156624","1338156628","1338156631","1338156633"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81cdbe2977caffdf60f7b464fa4ad289.jpg","text":"TemporaryFile(/tmp/multipartBody3160763291984538549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795015224,"filename":"image_08022025_15_20_44_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8064d430f700d553b487bef90b7719c9.jpg","text":"TemporaryFile(/tmp/multipartBody116799236930129553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795015224,"filename":"image_08022025_15_20_14_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/030e450b2d72f4665cb9afabce3f94cc.jpg","text":"TemporaryFile(/tmp/multipartBody2015407538420723904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795015224,"filename":"image_08022025_15_20_25_10808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2cc63b1cb6cec8370fc5e0abff10252f.jpg","text":"TemporaryFile(/tmp/multipartBody8717876593195096307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795015224,"filename":"image_08022025_15_20_34_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ba78b3763407fd02e69329e4cd7876b.jpg","text":"TemporaryFile(/tmp/multipartBody1849260532574666658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795015224,"filename":"image_08022025_15_20_04_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4c24bb78c1f3136bba502eb74c3f81d.jpg","text":"TemporaryFile(/tmp/multipartBody6403369186865700825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795015224,"filename":"image_08022025_15_20_54_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338156624","file1":"1338156620","file0":"1338156612","file4":"1338156631","file5":"1338156633","file3":"1338156628"},"map_files_photo_id_array":[{"photo_id":"1338156633","filename":"file5"},{"photo_id":"1338156624","filename":"file2"},{"photo_id":"1338156631","filename":"file4"},{"photo_id":"1338156620","filename":"file1"},{"photo_id":"1338156612","filename":"file0"},{"photo_id":"1338156628","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338156620":["hashtag1","hashtag2"]},{"1338156631":["hashtag1","hashtag2"]},{"1338156628":["hashtag1","hashtag2"]},{"1338156624":["hashtag1","hashtag2"]},{"1338156633":["hashtag1","hashtag2"]},{"1338156612":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338156620, 1338156631, 1338156628, 1338156624, 1338156633, 1338156612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21347951889038 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:23:31.869336
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_54_10790.jpg', 0), ('/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_44_9779.jpg', 0), ('/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_34_9777.jpg', 0), ('/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_24_9805.jpg', 0), ('/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_14_9783.jpg', 0), ('/home/nano/Desktop/images/08022025/14/57/image_08022025_14_58_05_10790.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_54_10790.jpg', '/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_44_9779.jpg', '/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_34_9777.jpg', '/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_24_9805.jpg', '/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_14_9783.jpg', '/home/nano/Desktop/images/08022025/14/57/image_08022025_14_58_05_10790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_54_10790.jpg
/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_44_9779.jpg
/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_34_9777.jpg
/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_24_9805.jpg
/home/nano/Desktop/images/08022025/14/58/image_08022025_14_58_14_9783.jpg
/home/nano/Desktop/images/08022025/14/57/image_08022025_14_58_05_10790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338156707","1338156716","1338156691","1338156704","1338156695","1338156714"],"photo_ids_order":["1338156691","1338156695","1338156704","1338156707","1338156714","1338156716"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/846e159695f2e9822a52a39365209e87.jpg","text":"TemporaryFile(/tmp/multipartBody5846396793293402105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795074512,"filename":"image_08022025_14_58_24_9805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28ded64abdecfc54a4f20d55170bfd7e.jpg","text":"TemporaryFile(/tmp/multipartBody8483546500926782406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795074512,"filename":"image_08022025_14_58_05_10790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c16a645e88ec2f382beae2a6aedf5b7.jpg","text":"TemporaryFile(/tmp/multipartBody4297911111413830511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795074512,"filename":"image_08022025_14_58_54_10790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7666006011d32ff7b751b62fa5194494.jpg","text":"TemporaryFile(/tmp/multipartBody2862003711201108602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795074512,"filename":"image_08022025_14_58_34_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8d7903ef399c1cee424d5804224a1fc.jpg","text":"TemporaryFile(/tmp/multipartBody7970639991546872575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795074512,"filename":"image_08022025_14_58_44_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d85da0001f80c5905a8f0ae63cc0bee.jpg","text":"TemporaryFile(/tmp/multipartBody749227337327642448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795074512,"filename":"image_08022025_14_58_14_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338156704","file1":"1338156695","file0":"1338156691","file4":"1338156714","file5":"1338156716","file3":"1338156707"},"map_files_photo_id_array":[{"photo_id":"1338156716","filename":"file5"},{"photo_id":"1338156704","filename":"file2"},{"photo_id":"1338156714","filename":"file4"},{"photo_id":"1338156695","filename":"file1"},{"photo_id":"1338156691","filename":"file0"},{"photo_id":"1338156707","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338156707":["hashtag1","hashtag2"]},{"1338156716":["hashtag1","hashtag2"]},{"1338156691":["hashtag1","hashtag2"]},{"1338156704":["hashtag1","hashtag2"]},{"1338156695":["hashtag1","hashtag2"]},{"1338156714":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338156707, 1338156716, 1338156691, 1338156704, 1338156695, 1338156714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37089991569519 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:24:32.036117
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_54_9778.jpg', 0), ('/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_44_9775.jpg', 0), ('/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_34_9776.jpg', 0), ('/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_25_10785.jpg', 0), ('/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_14_9785.jpg', 0), ('/home/nano/Desktop/images/08022025/14/52/image_08022025_14_53_04_9801.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_54_9778.jpg', '/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_44_9775.jpg', '/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_34_9776.jpg', '/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_25_10785.jpg', '/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_14_9785.jpg', '/home/nano/Desktop/images/08022025/14/52/image_08022025_14_53_04_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_54_9778.jpg
/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_44_9775.jpg
/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_34_9776.jpg
/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_25_10785.jpg
/home/nano/Desktop/images/08022025/14/53/image_08022025_14_53_14_9785.jpg
/home/nano/Desktop/images/08022025/14/52/image_08022025_14_53_04_9801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338156856","1338156733","1338156762","1338156741","1338156735","1338156738"],"photo_ids_order":["1338156733","1338156735","1338156738","1338156741","1338156762","1338156856"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd161c2222387243c27d935cd0f88aeb.jpg","text":"TemporaryFile(/tmp/multipartBody3907574892815102435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795134588,"filename":"image_08022025_14_53_04_9801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ed56769ecb941a00073f8b000f93837.jpg","text":"TemporaryFile(/tmp/multipartBody5182853151814622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795134588,"filename":"image_08022025_14_53_54_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/858874312611eea8fb65a755a16035cc.jpg","text":"TemporaryFile(/tmp/multipartBody9215518310217997271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795134588,"filename":"image_08022025_14_53_14_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2cfd913cac4f19d764ac0967cf52fda4.jpg","text":"TemporaryFile(/tmp/multipartBody1312050015507567041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795134588,"filename":"image_08022025_14_53_25_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dcfb231c262bc480112bf04dffa0b0a3.jpg","text":"TemporaryFile(/tmp/multipartBody2104114056085904510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795134588,"filename":"image_08022025_14_53_44_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/55eabd7b343644653c71b18f6cd1338b.jpg","text":"TemporaryFile(/tmp/multipartBody5435467971535533176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795134588,"filename":"image_08022025_14_53_34_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338156738","file1":"1338156735","file0":"1338156733","file4":"1338156762","file5":"1338156856","file3":"1338156741"},"map_files_photo_id_array":[{"photo_id":"1338156856","filename":"file5"},{"photo_id":"1338156738","filename":"file2"},{"photo_id":"1338156762","filename":"file4"},{"photo_id":"1338156735","filename":"file1"},{"photo_id":"1338156733","filename":"file0"},{"photo_id":"1338156741","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338156856":["hashtag1","hashtag2"]},{"1338156733":["hashtag1","hashtag2"]},{"1338156762":["hashtag1","hashtag2"]},{"1338156741":["hashtag1","hashtag2"]},{"1338156735":["hashtag1","hashtag2"]},{"1338156738":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338156856, 1338156733, 1338156762, 1338156741, 1338156735, 1338156738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08483576774597 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:25:32.166690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_55_10788.jpg', 0), ('/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_44_9776.jpg', 0), ('/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_34_9777.jpg', 0), ('/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_24_9779.jpg', 0), ('/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_15_10819.jpg', 0), ('/home/nano/Desktop/images/08022025/14/32/image_08022025_14_33_04_9793.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_55_10788.jpg', '/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_44_9776.jpg', '/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_34_9777.jpg', '/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_24_9779.jpg', '/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_15_10819.jpg', '/home/nano/Desktop/images/08022025/14/32/image_08022025_14_33_04_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_55_10788.jpg
/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_44_9776.jpg
/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_34_9777.jpg
/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_24_9779.jpg
/home/nano/Desktop/images/08022025/14/33/image_08022025_14_33_15_10819.jpg
/home/nano/Desktop/images/08022025/14/32/image_08022025_14_33_04_9793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338157339","1338157231","1338157240","1338157221","1338157310","1338157226"],"photo_ids_order":["1338157221","1338157226","1338157231","1338157240","1338157310","1338157339"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4cdffa36910b0422ae1c6aa2fabfe7a3.jpg","text":"TemporaryFile(/tmp/multipartBody508771265374057498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795194754,"filename":"image_08022025_14_33_04_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/082eea3a8e2d277161c3cb5760a07d2b.jpg","text":"TemporaryFile(/tmp/multipartBody77818717882209870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795194754,"filename":"image_08022025_14_33_34_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de9c1361e3f00adaf6a2f42af3f5b570.jpg","text":"TemporaryFile(/tmp/multipartBody6847986513784529756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795194754,"filename":"image_08022025_14_33_24_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4ddd901073ddc5c12a0ddcc74c5ccdd.jpg","text":"TemporaryFile(/tmp/multipartBody4278198163194266705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795194754,"filename":"image_08022025_14_33_55_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c48a89d3926ef3ec23455837935c99af.jpg","text":"TemporaryFile(/tmp/multipartBody3495843864060691796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795194754,"filename":"image_08022025_14_33_15_10819.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b717172c28981acc26f40397abe4f655.jpg","text":"TemporaryFile(/tmp/multipartBody5955277386616188662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795194754,"filename":"image_08022025_14_33_44_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338157231","file1":"1338157226","file0":"1338157221","file4":"1338157310","file5":"1338157339","file3":"1338157240"},"map_files_photo_id_array":[{"photo_id":"1338157339","filename":"file5"},{"photo_id":"1338157231","filename":"file2"},{"photo_id":"1338157310","filename":"file4"},{"photo_id":"1338157226","filename":"file1"},{"photo_id":"1338157221","filename":"file0"},{"photo_id":"1338157240","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338157339":["hashtag1","hashtag2"]},{"1338157231":["hashtag1","hashtag2"]},{"1338157240":["hashtag1","hashtag2"]},{"1338157221":["hashtag1","hashtag2"]},{"1338157310":["hashtag1","hashtag2"]},{"1338157226":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338157339, 1338157231, 1338157240, 1338157221, 1338157310, 1338157226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87310290336609 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:26:32.310646
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_55_10698.jpg', 0), ('/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_44_9688.jpg', 0), ('/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_34_9687.jpg', 0), ('/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_24_10697.jpg', 0), ('/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_14_9690.jpg', 0), ('/home/nano/Desktop/images/08022025/14/11/image_08022025_14_12_04_9701.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_55_10698.jpg', '/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_44_9688.jpg', '/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_34_9687.jpg', '/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_24_10697.jpg', '/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_14_9690.jpg', '/home/nano/Desktop/images/08022025/14/11/image_08022025_14_12_04_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_55_10698.jpg
/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_44_9688.jpg
/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_34_9687.jpg
/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_24_10697.jpg
/home/nano/Desktop/images/08022025/14/12/image_08022025_14_12_14_9690.jpg
/home/nano/Desktop/images/08022025/14/11/image_08022025_14_12_04_9701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338157406","1338157426","1338157429","1338157417","1338157422","1338157431"],"photo_ids_order":["1338157406","1338157417","1338157422","1338157426","1338157429","1338157431"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a454fc2bd1ca061914943cf570f9e89.jpg","text":"TemporaryFile(/tmp/multipartBody4466460957277350286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795254710,"filename":"image_08022025_14_12_55_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75251b269eccf6a79999966fc3584f98.jpg","text":"TemporaryFile(/tmp/multipartBody4843742334339449710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795254710,"filename":"image_08022025_14_12_24_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3dedd4097af57bce8c769a85513e6a9c.jpg","text":"TemporaryFile(/tmp/multipartBody8680841416685554673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795254710,"filename":"image_08022025_14_12_14_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d9f59264cf56c0872db21711565136db.jpg","text":"TemporaryFile(/tmp/multipartBody6477672364405380170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795254710,"filename":"image_08022025_14_12_44_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc81a5502a7c067ed14d1e58d2229024.jpg","text":"TemporaryFile(/tmp/multipartBody1607748913810909323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795254710,"filename":"image_08022025_14_12_34_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ce8ab62653dff1c08f6079d87f2747b.jpg","text":"TemporaryFile(/tmp/multipartBody6123089168914162506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795254710,"filename":"image_08022025_14_12_04_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338157422","file1":"1338157417","file0":"1338157406","file4":"1338157429","file5":"1338157431","file3":"1338157426"},"map_files_photo_id_array":[{"photo_id":"1338157431","filename":"file5"},{"photo_id":"1338157422","filename":"file2"},{"photo_id":"1338157429","filename":"file4"},{"photo_id":"1338157417","filename":"file1"},{"photo_id":"1338157406","filename":"file0"},{"photo_id":"1338157426","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338157406":["hashtag1","hashtag2"]},{"1338157426":["hashtag1","hashtag2"]},{"1338157429":["hashtag1","hashtag2"]},{"1338157417":["hashtag1","hashtag2"]},{"1338157422":["hashtag1","hashtag2"]},{"1338157431":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338157406, 1338157426, 1338157429, 1338157417, 1338157422, 1338157431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.095842599868774 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:27:32.465506
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_54_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_44_9687.jpg', 0), ('/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_35_10698.jpg', 0), ('/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_24_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_14_9691.jpg', 0), ('/home/nano/Desktop/images/08022025/13/56/image_08022025_13_57_05_10699.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_54_9682.jpg', '/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_44_9687.jpg', '/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_35_10698.jpg', '/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_24_9683.jpg', '/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_14_9691.jpg', '/home/nano/Desktop/images/08022025/13/56/image_08022025_13_57_05_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_54_9682.jpg
/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_44_9687.jpg
/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_35_10698.jpg
/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_24_9683.jpg
/home/nano/Desktop/images/08022025/13/57/image_08022025_13_57_14_9691.jpg
/home/nano/Desktop/images/08022025/13/56/image_08022025_13_57_05_10699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338157468","1338157477","1338157479","1338157470","1338157464","1338157473"],"photo_ids_order":["1338157464","1338157468","1338157470","1338157473","1338157477","1338157479"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e7f4be7f5a197a81cfb50a78367a47ab.jpg","text":"TemporaryFile(/tmp/multipartBody2455350336531912685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795315107,"filename":"image_08022025_13_57_44_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97087c4fabae4b2fc45fd8fc4d5b3641.jpg","text":"TemporaryFile(/tmp/multipartBody5765717164502123206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795315107,"filename":"image_08022025_13_57_14_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9182d6301bfa003e8879b819a84d0104.jpg","text":"TemporaryFile(/tmp/multipartBody1554864020396381831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795315107,"filename":"image_08022025_13_57_05_10699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f7a3455ef5372f6c0106a3b1e132f20.jpg","text":"TemporaryFile(/tmp/multipartBody1502963884167737060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795315107,"filename":"image_08022025_13_57_35_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/89c5035c54673fedf87af36c96936932.jpg","text":"TemporaryFile(/tmp/multipartBody2234228116910356770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795315107,"filename":"image_08022025_13_57_54_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7c2b6de0ac1f9c6020552fd80c8db2d.jpg","text":"TemporaryFile(/tmp/multipartBody863051636727128149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795315107,"filename":"image_08022025_13_57_24_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338157470","file1":"1338157468","file0":"1338157464","file4":"1338157477","file5":"1338157479","file3":"1338157473"},"map_files_photo_id_array":[{"photo_id":"1338157479","filename":"file5"},{"photo_id":"1338157470","filename":"file2"},{"photo_id":"1338157477","filename":"file4"},{"photo_id":"1338157468","filename":"file1"},{"photo_id":"1338157464","filename":"file0"},{"photo_id":"1338157473","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338157468":["hashtag1","hashtag2"]},{"1338157477":["hashtag1","hashtag2"]},{"1338157479":["hashtag1","hashtag2"]},{"1338157470":["hashtag1","hashtag2"]},{"1338157464":["hashtag1","hashtag2"]},{"1338157473":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338157468, 1338157477, 1338157479, 1338157470, 1338157464, 1338157473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21451950073242 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:28:32.642144
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_54_10697.jpg', 0), ('/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_44_9688.jpg', 0), ('/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_34_9690.jpg', 0), ('/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_24_9689.jpg', 0), ('/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_15_10697.jpg', 0), ('/home/nano/Desktop/images/08022025/13/35/image_08022025_13_36_04_9708.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_54_10697.jpg', '/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_44_9688.jpg', '/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_34_9690.jpg', '/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_24_9689.jpg', '/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_15_10697.jpg', '/home/nano/Desktop/images/08022025/13/35/image_08022025_13_36_04_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_54_10697.jpg
/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_44_9688.jpg
/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_34_9690.jpg
/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_24_9689.jpg
/home/nano/Desktop/images/08022025/13/36/image_08022025_13_36_15_10697.jpg
/home/nano/Desktop/images/08022025/13/35/image_08022025_13_36_04_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338157505","1338157500","1338157503","1338157496","1338157498","1338157492"],"photo_ids_order":["1338157492","1338157496","1338157498","1338157500","1338157503","1338157505"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/34e30887882f8339227c165cbef09ff6.jpg","text":"TemporaryFile(/tmp/multipartBody3434254605797419873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795374953,"filename":"image_08022025_13_36_04_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e2e03ead4025b0a57ef29ba33b8bfc1.jpg","text":"TemporaryFile(/tmp/multipartBody332081692430341740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795374953,"filename":"image_08022025_13_36_24_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8229c7d30806b88be46c66d04696916d.jpg","text":"TemporaryFile(/tmp/multipartBody2763743542163666308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795374953,"filename":"image_08022025_13_36_15_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4c3b1f4590eb54a3ee7fcd357e9206b.jpg","text":"TemporaryFile(/tmp/multipartBody5216711622794654935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795374953,"filename":"image_08022025_13_36_44_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0a62168269920f371054980da6e1c53.jpg","text":"TemporaryFile(/tmp/multipartBody539450717114841349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795374953,"filename":"image_08022025_13_36_34_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/578e752b92a0aa653371aa2143060049.jpg","text":"TemporaryFile(/tmp/multipartBody2140864190400590389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795374953,"filename":"image_08022025_13_36_54_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338157498","file1":"1338157496","file0":"1338157492","file4":"1338157503","file5":"1338157505","file3":"1338157500"},"map_files_photo_id_array":[{"photo_id":"1338157505","filename":"file5"},{"photo_id":"1338157498","filename":"file2"},{"photo_id":"1338157503","filename":"file4"},{"photo_id":"1338157496","filename":"file1"},{"photo_id":"1338157492","filename":"file0"},{"photo_id":"1338157500","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338157505":["hashtag1","hashtag2"]},{"1338157500":["hashtag1","hashtag2"]},{"1338157503":["hashtag1","hashtag2"]},{"1338157496":["hashtag1","hashtag2"]},{"1338157498":["hashtag1","hashtag2"]},{"1338157492":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338157505, 1338157500, 1338157503, 1338157496, 1338157498, 1338157492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72241401672363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:29:32.794670
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_49_10712.jpg', 0), ('/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_39_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_29_9688.jpg', 0), ('/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_19_9705.jpg', 0), ('/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_10_10686.jpg', 0), ('/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_59_9687.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_49_10712.jpg', '/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_39_9685.jpg', '/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_29_9688.jpg', '/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_19_9705.jpg', '/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_10_10686.jpg', '/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_59_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_49_10712.jpg
/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_39_9685.jpg
/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_29_9688.jpg
/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_19_9705.jpg
/home/nano/Desktop/images/08022025/13/11/image_08022025_13_11_10_10686.jpg
/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_59_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338157573","1338157576","1338157636","1338157630","1338157578","1338157566"],"photo_ids_order":["1338157566","1338157573","1338157576","1338157578","1338157630","1338157636"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b2b1b08f4a4d359b21f81668b157946.jpg","text":"TemporaryFile(/tmp/multipartBody8040060948054377156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795435154,"filename":"image_08022025_13_11_39_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5112cab391b0461c0758b3bcfe8b5c2f.jpg","text":"TemporaryFile(/tmp/multipartBody8549052229781648629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795435154,"filename":"image_08022025_13_11_29_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c4b3e2596078be150b5bd6baff712549.jpg","text":"TemporaryFile(/tmp/multipartBody3763807920118824213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795435154,"filename":"image_08022025_12_57_59_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/242a7b4c1cf5b7c12df6695ac940a51d.jpg","text":"TemporaryFile(/tmp/multipartBody5862803059826695630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795435154,"filename":"image_08022025_13_11_10_10686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8687445627b7cc94c444dbf0bcca181.jpg","text":"TemporaryFile(/tmp/multipartBody8080223835675351909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795435154,"filename":"image_08022025_13_11_19_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e03f4ee2fda8691a35fde1001337cff2.jpg","text":"TemporaryFile(/tmp/multipartBody5313415405090904138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795435154,"filename":"image_08022025_13_11_49_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338157576","file1":"1338157573","file0":"1338157566","file4":"1338157630","file5":"1338157636","file3":"1338157578"},"map_files_photo_id_array":[{"photo_id":"1338157636","filename":"file5"},{"photo_id":"1338157576","filename":"file2"},{"photo_id":"1338157630","filename":"file4"},{"photo_id":"1338157573","filename":"file1"},{"photo_id":"1338157566","filename":"file0"},{"photo_id":"1338157578","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338157573":["hashtag1","hashtag2"]},{"1338157576":["hashtag1","hashtag2"]},{"1338157636":["hashtag1","hashtag2"]},{"1338157630":["hashtag1","hashtag2"]},{"1338157578":["hashtag1","hashtag2"]},{"1338157566":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338157573, 1338157576, 1338157636, 1338157630, 1338157578, 1338157566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66769099235535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:30:31.953922
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_49_9688.jpg', 0), ('/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_39_10698.jpg', 0), ('/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_29_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_19_9694.jpg', 0), ('/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_09_9701.jpg', 0), ('/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_59_9689.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_49_9688.jpg', '/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_39_10698.jpg', '/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_29_9684.jpg', '/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_19_9694.jpg', '/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_09_9701.jpg', '/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_59_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_49_9688.jpg
/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_39_10698.jpg
/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_29_9684.jpg
/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_19_9694.jpg
/home/nano/Desktop/images/08022025/12/57/image_08022025_12_57_09_9701.jpg
/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_59_9689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338157681","1338157673","1338157667","1338157676","1338157679","1338157670"],"photo_ids_order":["1338157667","1338157670","1338157673","1338157676","1338157679","1338157681"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a193fdc16609134c53bc9e818e356c0b.jpg","text":"TemporaryFile(/tmp/multipartBody2712441563628476301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795494317,"filename":"image_08022025_12_53_59_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e0e627a76548147044374df9ea766b4.jpg","text":"TemporaryFile(/tmp/multipartBody8108123140435663165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795494317,"filename":"image_08022025_12_57_29_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0cfaa2f0b8c8e9e6743da1e4a5a8b06.jpg","text":"TemporaryFile(/tmp/multipartBody743608687516420882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795494317,"filename":"image_08022025_12_57_49_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a5e4287b5778f99706de4f4a04bab3b.jpg","text":"TemporaryFile(/tmp/multipartBody6005550025401324080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795494317,"filename":"image_08022025_12_57_19_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/06849a121459381c438eeb7c979c7194.jpg","text":"TemporaryFile(/tmp/multipartBody4211047566461842261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795494317,"filename":"image_08022025_12_57_09_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f007f1cc4d226450d6ba53b8272089c3.jpg","text":"TemporaryFile(/tmp/multipartBody5966424386943651273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795494317,"filename":"image_08022025_12_57_39_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338157673","file1":"1338157670","file0":"1338157667","file4":"1338157679","file5":"1338157681","file3":"1338157676"},"map_files_photo_id_array":[{"photo_id":"1338157681","filename":"file5"},{"photo_id":"1338157673","filename":"file2"},{"photo_id":"1338157679","filename":"file4"},{"photo_id":"1338157670","filename":"file1"},{"photo_id":"1338157667","filename":"file0"},{"photo_id":"1338157676","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338157681":["hashtag1","hashtag2"]},{"1338157673":["hashtag1","hashtag2"]},{"1338157667":["hashtag1","hashtag2"]},{"1338157676":["hashtag1","hashtag2"]},{"1338157679":["hashtag1","hashtag2"]},{"1338157670":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338157681, 1338157673, 1338157667, 1338157676, 1338157679, 1338157670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45418405532837 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:31:32.112745
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_49_9692.jpg', 0), ('/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_40_10694.jpg', 0), ('/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_29_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_19_9688.jpg', 0), ('/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_10_10718.jpg', 0), ('/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_59_9688.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_49_9692.jpg', '/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_40_10694.jpg', '/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_29_9685.jpg', '/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_19_9688.jpg', '/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_10_10718.jpg', '/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_59_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_49_9692.jpg
/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_40_10694.jpg
/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_29_9685.jpg
/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_19_9688.jpg
/home/nano/Desktop/images/08022025/12/53/image_08022025_12_53_10_10718.jpg
/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_59_9688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338157703","1338157708","1338157698","1338157710","1338157712","1338157706"],"photo_ids_order":["1338157698","1338157703","1338157706","1338157708","1338157710","1338157712"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9352f9e24d6daa3301f6c0728f295a8a.jpg","text":"TemporaryFile(/tmp/multipartBody5084821363182569645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795555689,"filename":"image_08022025_12_53_40_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ba8ac452b8b02c14396b6eba20bb7e3.jpg","text":"TemporaryFile(/tmp/multipartBody3721979296243842003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795555689,"filename":"image_08022025_12_53_19_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99e668a59bc571ac78fd3d1ef6708e74.jpg","text":"TemporaryFile(/tmp/multipartBody8596189278123976077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795555689,"filename":"image_08022025_12_53_49_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cefdc61ac0388f00801f59766bf9b275.jpg","text":"TemporaryFile(/tmp/multipartBody7855904608881217021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795555689,"filename":"image_08022025_12_53_10_10718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/440e4b5dd4083310ae4f15fd09de7121.jpg","text":"TemporaryFile(/tmp/multipartBody7177264543932623619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795555689,"filename":"image_08022025_12_52_59_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/630aee85d66dff7ba1b2813843ec437e.jpg","text":"TemporaryFile(/tmp/multipartBody6626565256602779956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795555689,"filename":"image_08022025_12_53_29_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338157706","file1":"1338157703","file0":"1338157698","file4":"1338157710","file5":"1338157712","file3":"1338157708"},"map_files_photo_id_array":[{"photo_id":"1338157712","filename":"file5"},{"photo_id":"1338157706","filename":"file2"},{"photo_id":"1338157710","filename":"file4"},{"photo_id":"1338157703","filename":"file1"},{"photo_id":"1338157698","filename":"file0"},{"photo_id":"1338157708","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338157703":["hashtag1","hashtag2"]},{"1338157708":["hashtag1","hashtag2"]},{"1338157698":["hashtag1","hashtag2"]},{"1338157710":["hashtag1","hashtag2"]},{"1338157712":["hashtag1","hashtag2"]},{"1338157706":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338157703, 1338157708, 1338157698, 1338157710, 1338157712, 1338157706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96635293960571 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:32:32.245275
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_49_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_39_10713.jpg', 0), ('/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_29_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_19_9687.jpg', 0), ('/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_09_10697.jpg', 0), ('/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_59_9686.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_49_9686.jpg', '/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_39_10713.jpg', '/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_29_9686.jpg', '/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_19_9687.jpg', '/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_09_10697.jpg', '/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_59_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_49_9686.jpg
/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_39_10713.jpg
/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_29_9686.jpg
/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_19_9687.jpg
/home/nano/Desktop/images/08022025/12/52/image_08022025_12_52_09_10697.jpg
/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_59_9686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338157747","1338157740","1338157760","1338157754","1338157757","1338157751"],"photo_ids_order":["1338157740","1338157747","1338157751","1338157754","1338157757","1338157760"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/73a8f1973f518cf229c12a2f0ac5fef9.jpg","text":"TemporaryFile(/tmp/multipartBody883018566426769379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795614538,"filename":"image_08022025_12_52_39_10713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f8c5e4c2e36c4eb9253af53aa8d113a.jpg","text":"TemporaryFile(/tmp/multipartBody9069345481221295160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795614538,"filename":"image_08022025_12_52_49_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e45833ff7afd749b3c39583995c17782.jpg","text":"TemporaryFile(/tmp/multipartBody2818834398738591255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795614538,"filename":"image_08022025_12_51_59_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75ffffc1f608978d30eef1ef1fa10dfe.jpg","text":"TemporaryFile(/tmp/multipartBody6073845256102790664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795614538,"filename":"image_08022025_12_52_19_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/859120140b7000f037c5899c22112e21.jpg","text":"TemporaryFile(/tmp/multipartBody2194787267994209987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795614538,"filename":"image_08022025_12_52_09_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb8be2c91c983ed1cf8393a26b9e91b5.jpg","text":"TemporaryFile(/tmp/multipartBody3972964078602377827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795614538,"filename":"image_08022025_12_52_29_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338157751","file1":"1338157747","file0":"1338157740","file4":"1338157757","file5":"1338157760","file3":"1338157754"},"map_files_photo_id_array":[{"photo_id":"1338157760","filename":"file5"},{"photo_id":"1338157751","filename":"file2"},{"photo_id":"1338157757","filename":"file4"},{"photo_id":"1338157747","filename":"file1"},{"photo_id":"1338157740","filename":"file0"},{"photo_id":"1338157754","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338157747":["hashtag1","hashtag2"]},{"1338157740":["hashtag1","hashtag2"]},{"1338157760":["hashtag1","hashtag2"]},{"1338157754":["hashtag1","hashtag2"]},{"1338157757":["hashtag1","hashtag2"]},{"1338157751":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338157747, 1338157740, 1338157760, 1338157754, 1338157757, 1338157751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.511048793792725 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:33:32.414174
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_49_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_39_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_30_10696.jpg', 0), ('/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_19_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_09_9720.jpg', 0), ('/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_59_9682.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_49_9686.jpg', '/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_39_9686.jpg', '/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_30_10696.jpg', '/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_19_9685.jpg', '/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_09_9720.jpg', '/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_59_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_49_9686.jpg
/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_39_9686.jpg
/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_30_10696.jpg
/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_19_9685.jpg
/home/nano/Desktop/images/08022025/12/51/image_08022025_12_51_09_9720.jpg
/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_59_9682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338157828","1338157822","1338157825","1338157815","1338157818","1338157811"],"photo_ids_order":["1338157811","1338157815","1338157818","1338157822","1338157825","1338157828"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/32d59fe49b844c55e26d3c816e3d2653.jpg","text":"TemporaryFile(/tmp/multipartBody5684973675134218515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795674846,"filename":"image_08022025_12_34_59_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5152be25f7bbc7b60be3a7e13bdcfcb1.jpg","text":"TemporaryFile(/tmp/multipartBody528568015443299769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795674846,"filename":"image_08022025_12_51_19_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b7742c3fe7343b74c70c310f1babca9.jpg","text":"TemporaryFile(/tmp/multipartBody2261316376877371845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795674846,"filename":"image_08022025_12_51_09_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f77de36e3610875531f9f2f29ccc336.jpg","text":"TemporaryFile(/tmp/multipartBody5612148883253368121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795674846,"filename":"image_08022025_12_51_39_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2374590b5ea45e29291b61528e0aea25.jpg","text":"TemporaryFile(/tmp/multipartBody1503033698368507456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795674846,"filename":"image_08022025_12_51_30_10696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40bba4f7f364613d9de03b24be07fc90.jpg","text":"TemporaryFile(/tmp/multipartBody8304691395840931472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795674846,"filename":"image_08022025_12_51_49_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338157818","file1":"1338157815","file0":"1338157811","file4":"1338157825","file5":"1338157828","file3":"1338157822"},"map_files_photo_id_array":[{"photo_id":"1338157828","filename":"file5"},{"photo_id":"1338157818","filename":"file2"},{"photo_id":"1338157825","filename":"file4"},{"photo_id":"1338157815","filename":"file1"},{"photo_id":"1338157811","filename":"file0"},{"photo_id":"1338157822","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338157828":["hashtag1","hashtag2"]},{"1338157822":["hashtag1","hashtag2"]},{"1338157825":["hashtag1","hashtag2"]},{"1338157815":["hashtag1","hashtag2"]},{"1338157818":["hashtag1","hashtag2"]},{"1338157811":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338157828, 1338157822, 1338157825, 1338157815, 1338157818, 1338157811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.359883069992065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:34:32.583218
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_49_10691.jpg', 0), ('/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_39_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_29_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_19_10695.jpg', 0), ('/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_09_9703.jpg', 0), ('/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_59_9688.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_49_10691.jpg', '/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_39_9684.jpg', '/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_29_9685.jpg', '/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_19_10695.jpg', '/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_09_9703.jpg', '/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_59_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_49_10691.jpg
/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_39_9684.jpg
/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_29_9685.jpg
/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_19_10695.jpg
/home/nano/Desktop/images/08022025/12/34/image_08022025_12_34_09_9703.jpg
/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_59_9688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338157852","1338157875","1338157878","1338157848","1338157865","1338157844"],"photo_ids_order":["1338157844","1338157848","1338157852","1338157865","1338157875","1338157878"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0bf0ff7a05214d7603863fb63f5527f.jpg","text":"TemporaryFile(/tmp/multipartBody8263315056073654229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795735962,"filename":"image_08022025_12_34_29_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e84cf6657ae3cbf78c7b6e6dce32b0b7.jpg","text":"TemporaryFile(/tmp/multipartBody4928561228069169095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795735962,"filename":"image_08022025_12_34_09_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/72794e168ca5ee4acc09b71428224fa4.jpg","text":"TemporaryFile(/tmp/multipartBody3708486583061000183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795735962,"filename":"image_08022025_11_41_59_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67bf58c54dd66af4f565c9a9382e617b.jpg","text":"TemporaryFile(/tmp/multipartBody1143189608845836344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795735962,"filename":"image_08022025_12_34_39_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/406d7d07e0de128403d6d9bb007af716.jpg","text":"TemporaryFile(/tmp/multipartBody2370889601474977325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795735962,"filename":"image_08022025_12_34_19_10695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/737b4b05c541948072f62885c12dc243.jpg","text":"TemporaryFile(/tmp/multipartBody1533515068852877443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795735962,"filename":"image_08022025_12_34_49_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338157852","file1":"1338157848","file0":"1338157844","file4":"1338157875","file5":"1338157878","file3":"1338157865"},"map_files_photo_id_array":[{"photo_id":"1338157878","filename":"file5"},{"photo_id":"1338157852","filename":"file2"},{"photo_id":"1338157875","filename":"file4"},{"photo_id":"1338157848","filename":"file1"},{"photo_id":"1338157844","filename":"file0"},{"photo_id":"1338157865","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338157852":["hashtag1","hashtag2"]},{"1338157875":["hashtag1","hashtag2"]},{"1338157878":["hashtag1","hashtag2"]},{"1338157848":["hashtag1","hashtag2"]},{"1338157865":["hashtag1","hashtag2"]},{"1338157844":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338157852, 1338157875, 1338157878, 1338157848, 1338157865, 1338157844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86121439933777 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:35:32.733284
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_49_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_39_10697.jpg', 0), ('/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_29_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_19_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_09_10693.jpg', 0), ('/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_59_9685.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_49_9683.jpg', '/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_39_10697.jpg', '/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_29_9686.jpg', '/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_19_9685.jpg', '/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_09_10693.jpg', '/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_59_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_49_9683.jpg
/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_39_10697.jpg
/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_29_9686.jpg
/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_19_9685.jpg
/home/nano/Desktop/images/08022025/11/41/image_08022025_11_41_09_10693.jpg
/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_59_9685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338157921","1338157915","1338157909","1338157918","1338157911","1338157905"],"photo_ids_order":["1338157905","1338157909","1338157911","1338157915","1338157918","1338157921"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8540a20149fae0a8f5115f32f014e887.jpg","text":"TemporaryFile(/tmp/multipartBody6536678752636850573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795795186,"filename":"image_08022025_11_30_59_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/087339de97599ad476914e0bc8e23645.jpg","text":"TemporaryFile(/tmp/multipartBody5759239922732321676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795795186,"filename":"image_08022025_11_41_19_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8f9e9905e71e9df19b051b2cf0a30ef.jpg","text":"TemporaryFile(/tmp/multipartBody4521650700771614520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795795186,"filename":"image_08022025_11_41_39_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b2b5f0c4c9a3c8943396b6689ca28b3.jpg","text":"TemporaryFile(/tmp/multipartBody1427548001675622937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795795186,"filename":"image_08022025_11_41_09_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb64d941f0e1010d0ce788d1a7185a33.jpg","text":"TemporaryFile(/tmp/multipartBody1230981275265953725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795795186,"filename":"image_08022025_11_41_29_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64bb3250398e8d71261a4b5ef7bd5cba.jpg","text":"TemporaryFile(/tmp/multipartBody4808313407270632454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795795186,"filename":"image_08022025_11_41_49_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338157911","file1":"1338157909","file0":"1338157905","file4":"1338157918","file5":"1338157921","file3":"1338157915"},"map_files_photo_id_array":[{"photo_id":"1338157921","filename":"file5"},{"photo_id":"1338157911","filename":"file2"},{"photo_id":"1338157918","filename":"file4"},{"photo_id":"1338157909","filename":"file1"},{"photo_id":"1338157905","filename":"file0"},{"photo_id":"1338157915","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338157921":["hashtag1","hashtag2"]},{"1338157915":["hashtag1","hashtag2"]},{"1338157909":["hashtag1","hashtag2"]},{"1338157918":["hashtag1","hashtag2"]},{"1338157911":["hashtag1","hashtag2"]},{"1338157905":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338157921, 1338157915, 1338157909, 1338157918, 1338157911, 1338157905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.843499422073364 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:36:31.891649
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_49_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_40_10695.jpg', 0), ('/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_29_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_19_9691.jpg', 0), ('/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_09_10711.jpg', 0), ('/home/nano/Desktop/images/08022025/10/58/image_08022025_10_59_00_10713.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_49_9684.jpg', '/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_40_10695.jpg', '/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_29_9685.jpg', '/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_19_9691.jpg', '/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_09_10711.jpg', '/home/nano/Desktop/images/08022025/10/58/image_08022025_10_59_00_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_49_9684.jpg
/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_40_10695.jpg
/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_29_9685.jpg
/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_19_9691.jpg
/home/nano/Desktop/images/08022025/11/30/image_08022025_11_30_09_10711.jpg
/home/nano/Desktop/images/08022025/10/58/image_08022025_10_59_00_10713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338158524","1338158562","1338158559","1338158570","1338158522","1338158527"],"photo_ids_order":["1338158522","1338158524","1338158527","1338158559","1338158562","1338158570"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53fbc885fbbed3374d8c73f2f7bb6b64.jpg","text":"TemporaryFile(/tmp/multipartBody2304587043733385097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795854289,"filename":"image_08022025_11_30_40_10695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5363a3bb72390c5c5b3efaabbe8e2a02.jpg","text":"TemporaryFile(/tmp/multipartBody5258257511655385198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795854289,"filename":"image_08022025_11_30_09_10711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/61b8cc87dec72977a702a10292f32eae.jpg","text":"TemporaryFile(/tmp/multipartBody8404341390829543204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795854289,"filename":"image_08022025_11_30_19_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ad1d12fe224474e93ca3709c332be5d.jpg","text":"TemporaryFile(/tmp/multipartBody1164774951697075745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795854289,"filename":"image_08022025_10_59_00_10713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/552ab4f196a1b8244b2042c2fd988e2f.jpg","text":"TemporaryFile(/tmp/multipartBody2957801922580735540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795854289,"filename":"image_08022025_11_30_49_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f533e8b30d2ef8b0da82e38f60dd597.jpg","text":"TemporaryFile(/tmp/multipartBody6949996757496767574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795854289,"filename":"image_08022025_11_30_29_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338158527","file1":"1338158524","file0":"1338158522","file4":"1338158562","file5":"1338158570","file3":"1338158559"},"map_files_photo_id_array":[{"photo_id":"1338158570","filename":"file5"},{"photo_id":"1338158527","filename":"file2"},{"photo_id":"1338158562","filename":"file4"},{"photo_id":"1338158524","filename":"file1"},{"photo_id":"1338158522","filename":"file0"},{"photo_id":"1338158559","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338158524":["hashtag1","hashtag2"]},{"1338158562":["hashtag1","hashtag2"]},{"1338158559":["hashtag1","hashtag2"]},{"1338158570":["hashtag1","hashtag2"]},{"1338158522":["hashtag1","hashtag2"]},{"1338158527":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338158524, 1338158562, 1338158559, 1338158570, 1338158522, 1338158527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.564329385757446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:37:32.041719
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_49_9705.jpg', 0), ('/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_39_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_29_10695.jpg', 0), ('/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_19_9696.jpg', 0), ('/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_09_9717.jpg', 0), ('/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_59_10715.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_49_9705.jpg', '/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_39_9686.jpg', '/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_29_10695.jpg', '/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_19_9696.jpg', '/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_09_9717.jpg', '/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_59_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_49_9705.jpg
/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_39_9686.jpg
/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_29_10695.jpg
/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_19_9696.jpg
/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_09_9717.jpg
/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_59_10715.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.760673999786377 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:38:02.769564
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_49_9705.jpg', 0), ('/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_39_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_29_10695.jpg', 0), ('/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_19_9696.jpg', 0), ('/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_09_9717.jpg', 0), ('/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_59_10715.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_49_9705.jpg', '/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_39_9686.jpg', '/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_29_10695.jpg', '/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_19_9696.jpg', '/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_09_9717.jpg', '/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_59_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_49_9705.jpg
/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_39_9686.jpg
/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_29_10695.jpg
/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_19_9696.jpg
/home/nano/Desktop/images/08022025/10/58/image_08022025_10_58_09_9717.jpg
/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_59_10715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338158929","1338158931","1338158925","1338158927","1338158936","1338158923"],"photo_ids_order":["1338158923","1338158925","1338158927","1338158929","1338158931","1338158936"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca87c8c86d93b37b157777a81a8869c2.jpg","text":"TemporaryFile(/tmp/multipartBody7094944221344032053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795944794,"filename":"image_08022025_10_58_19_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e69c697187dc76f9732043534ffd2c23.jpg","text":"TemporaryFile(/tmp/multipartBody4384496625320342786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795944794,"filename":"image_08022025_10_58_09_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d63b49998e5bd1dbde73065f09feef36.jpg","text":"TemporaryFile(/tmp/multipartBody8181476403196370451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795944794,"filename":"image_08022025_10_58_39_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7629ef3aec2a07500011298a699a38a0.jpg","text":"TemporaryFile(/tmp/multipartBody8663176223887153371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795944794,"filename":"image_08022025_10_58_29_10695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82cb68f2b30d157f806e94805e75a1ab.jpg","text":"TemporaryFile(/tmp/multipartBody5121439916225151358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795944794,"filename":"image_08022025_10_57_59_10715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87894b10c55b40d126cbaf0d59bf1003.jpg","text":"TemporaryFile(/tmp/multipartBody1505745966436272554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739795944794,"filename":"image_08022025_10_58_49_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338158927","file1":"1338158925","file0":"1338158923","file4":"1338158931","file5":"1338158936","file3":"1338158929"},"map_files_photo_id_array":[{"photo_id":"1338158936","filename":"file5"},{"photo_id":"1338158927","filename":"file2"},{"photo_id":"1338158931","filename":"file4"},{"photo_id":"1338158925","filename":"file1"},{"photo_id":"1338158923","filename":"file0"},{"photo_id":"1338158929","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338158929":["hashtag1","hashtag2"]},{"1338158931":["hashtag1","hashtag2"]},{"1338158925":["hashtag1","hashtag2"]},{"1338158927":["hashtag1","hashtag2"]},{"1338158936":["hashtag1","hashtag2"]},{"1338158923":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338158929, 1338158931, 1338158925, 1338158927, 1338158936, 1338158923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.149959325790405 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:39:03.281568
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_49_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_39_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_29_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_20_10697.jpg', 0), ('/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_09_9695.jpg', 0), ('/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_59_9684.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_49_9684.jpg', '/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_39_9685.jpg', '/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_29_9685.jpg', '/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_20_10697.jpg', '/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_09_9695.jpg', '/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_59_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_49_9684.jpg
/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_39_9685.jpg
/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_29_9685.jpg
/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_20_10697.jpg
/home/nano/Desktop/images/08022025/10/57/image_08022025_10_57_09_9695.jpg
/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_59_9684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338158985","1338158979","1338158996","1338158975","1338158992","1338158977"],"photo_ids_order":["1338158975","1338158977","1338158979","1338158985","1338158992","1338158996"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a500ae1cab2be8c82376203ea14de7d4.jpg","text":"TemporaryFile(/tmp/multipartBody7915080252929737968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796005509,"filename":"image_08022025_10_57_20_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cebab06e36430ed656888e57a6030cd2.jpg","text":"TemporaryFile(/tmp/multipartBody7295756565374532798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796005509,"filename":"image_08022025_10_57_29_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/52e6af92495fcf22ae5c149a995e5db9.jpg","text":"TemporaryFile(/tmp/multipartBody4868661255141343271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796005509,"filename":"image_08022025_10_50_59_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dee59fb0f66d1685f2711cecf75d39c5.jpg","text":"TemporaryFile(/tmp/multipartBody1851977845695554277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796005509,"filename":"image_08022025_10_57_49_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f115d8310933655c42439953442bd708.jpg","text":"TemporaryFile(/tmp/multipartBody2711529271652099987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796005509,"filename":"image_08022025_10_57_09_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/746e7c4a861dbc0900f3b3469facbf50.jpg","text":"TemporaryFile(/tmp/multipartBody6227083383132649159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796005509,"filename":"image_08022025_10_57_39_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338158979","file1":"1338158977","file0":"1338158975","file4":"1338158992","file5":"1338158996","file3":"1338158985"},"map_files_photo_id_array":[{"photo_id":"1338158996","filename":"file5"},{"photo_id":"1338158979","filename":"file2"},{"photo_id":"1338158992","filename":"file4"},{"photo_id":"1338158977","filename":"file1"},{"photo_id":"1338158975","filename":"file0"},{"photo_id":"1338158985","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338158985":["hashtag1","hashtag2"]},{"1338158979":["hashtag1","hashtag2"]},{"1338158996":["hashtag1","hashtag2"]},{"1338158975":["hashtag1","hashtag2"]},{"1338158992":["hashtag1","hashtag2"]},{"1338158977":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338158985, 1338158979, 1338158996, 1338158975, 1338158992, 1338158977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.84154176712036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:40:03.136492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_50_10698.jpg', 0), ('/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_39_9687.jpg', 0), ('/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_29_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_19_10694.jpg', 0), ('/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_09_9736.jpg', 0), ('/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_59_9686.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_50_10698.jpg', '/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_39_9687.jpg', '/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_29_9684.jpg', '/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_19_10694.jpg', '/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_09_9736.jpg', '/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_59_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_50_10698.jpg
/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_39_9687.jpg
/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_29_9684.jpg
/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_19_10694.jpg
/home/nano/Desktop/images/08022025/10/50/image_08022025_10_50_09_9736.jpg
/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_59_9686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338159036","1338159038","1338159029","1338159040","1338159034","1338159043"],"photo_ids_order":["1338159029","1338159034","1338159036","1338159038","1338159040","1338159043"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c10d0a277cb3b1d01dc1ddd413235c4.jpg","text":"TemporaryFile(/tmp/multipartBody83822031661938670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796065333,"filename":"image_08022025_10_50_29_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/731944149b0cfd7374f1b007d71f8eec.jpg","text":"TemporaryFile(/tmp/multipartBody6850654573476845469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796065333,"filename":"image_08022025_10_50_19_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0ae13c85a982d1beeaf8b383cbeff69.jpg","text":"TemporaryFile(/tmp/multipartBody8553743584264314698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796065333,"filename":"image_08022025_10_50_50_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ceb5dfa9dac275eea61e2929fd1d878a.jpg","text":"TemporaryFile(/tmp/multipartBody1057086025776987879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796065333,"filename":"image_08022025_10_50_09_9736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5774680f0a3dc1e9647192f984514e64.jpg","text":"TemporaryFile(/tmp/multipartBody6320247381073212682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796065333,"filename":"image_08022025_10_50_39_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c00ca5a91f1caec20c56813d89f73d11.jpg","text":"TemporaryFile(/tmp/multipartBody3678067791998448577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796065333,"filename":"image_08022025_10_40_59_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338159036","file1":"1338159034","file0":"1338159029","file4":"1338159040","file5":"1338159043","file3":"1338159038"},"map_files_photo_id_array":[{"photo_id":"1338159043","filename":"file5"},{"photo_id":"1338159036","filename":"file2"},{"photo_id":"1338159040","filename":"file4"},{"photo_id":"1338159034","filename":"file1"},{"photo_id":"1338159029","filename":"file0"},{"photo_id":"1338159038","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338159036":["hashtag1","hashtag2"]},{"1338159038":["hashtag1","hashtag2"]},{"1338159029":["hashtag1","hashtag2"]},{"1338159040":["hashtag1","hashtag2"]},{"1338159034":["hashtag1","hashtag2"]},{"1338159043":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338159036, 1338159038, 1338159029, 1338159040, 1338159034, 1338159043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63925337791443 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:41:03.277703
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_49_9688.jpg', 0), ('/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_39_10696.jpg', 0), ('/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_29_9689.jpg', 0), ('/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_19_9688.jpg', 0), ('/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_09_9705.jpg', 0), ('/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_59_9684.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_49_9688.jpg', '/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_39_10696.jpg', '/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_29_9689.jpg', '/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_19_9688.jpg', '/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_09_9705.jpg', '/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_59_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_49_9688.jpg
/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_39_10696.jpg
/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_29_9689.jpg
/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_19_9688.jpg
/home/nano/Desktop/images/08022025/10/40/image_08022025_10_40_09_9705.jpg
/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_59_9684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338159063","1338159066","1338159074","1338159068","1338159065","1338159070"],"photo_ids_order":["1338159063","1338159065","1338159066","1338159068","1338159070","1338159074"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea89e005f9d89c4bd1f2e6451cd564b0.jpg","text":"TemporaryFile(/tmp/multipartBody2454036914636276574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796125667,"filename":"image_08022025_10_40_49_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80403c0c27c288b75c2559ac3db5e880.jpg","text":"TemporaryFile(/tmp/multipartBody3844062711899117850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796125667,"filename":"image_08022025_10_40_29_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f66aa872d721c52eaacb14df3e16d2c.jpg","text":"TemporaryFile(/tmp/multipartBody17528099018294661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796125667,"filename":"image_08022025_09_49_59_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c796ca912990db0584b917158eb071fb.jpg","text":"TemporaryFile(/tmp/multipartBody3544662413455334615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796125667,"filename":"image_08022025_10_40_19_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e111517a3e28aabb0728f0739dee5474.jpg","text":"TemporaryFile(/tmp/multipartBody4537882079115965167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796125667,"filename":"image_08022025_10_40_39_10696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26b5eb86395748a13a786ac62660d87c.jpg","text":"TemporaryFile(/tmp/multipartBody6593430167404116128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796125667,"filename":"image_08022025_10_40_09_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338159066","file1":"1338159065","file0":"1338159063","file4":"1338159070","file5":"1338159074","file3":"1338159068"},"map_files_photo_id_array":[{"photo_id":"1338159074","filename":"file5"},{"photo_id":"1338159066","filename":"file2"},{"photo_id":"1338159070","filename":"file4"},{"photo_id":"1338159065","filename":"file1"},{"photo_id":"1338159063","filename":"file0"},{"photo_id":"1338159068","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338159063":["hashtag1","hashtag2"]},{"1338159066":["hashtag1","hashtag2"]},{"1338159074":["hashtag1","hashtag2"]},{"1338159068":["hashtag1","hashtag2"]},{"1338159065":["hashtag1","hashtag2"]},{"1338159070":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338159063, 1338159066, 1338159074, 1338159068, 1338159065, 1338159070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63077235221863 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:42:02.381030
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_49_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_39_10699.jpg', 0), ('/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_29_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_19_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_09_10697.jpg', 0), ('/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_59_9687.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_49_9686.jpg', '/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_39_10699.jpg', '/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_29_9684.jpg', '/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_19_9684.jpg', '/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_09_10697.jpg', '/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_59_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_49_9686.jpg
/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_39_10699.jpg
/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_29_9684.jpg
/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_19_9684.jpg
/home/nano/Desktop/images/08022025/09/49/image_08022025_09_49_09_10697.jpg
/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_59_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338159114","1338159117","1338159131","1338159119","1338159121","1338159115"],"photo_ids_order":["1338159114","1338159115","1338159117","1338159119","1338159121","1338159131"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc6001f5eff162de59ec14e85fcd73dc.jpg","text":"TemporaryFile(/tmp/multipartBody5142720408244258400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796184920,"filename":"image_08022025_09_49_49_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f33a8c5b3f78fa2ab876b1939691cc45.jpg","text":"TemporaryFile(/tmp/multipartBody7151548334601657729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796184920,"filename":"image_08022025_09_49_29_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d12a1b348f65f1f770aae0a5d8e2527.jpg","text":"TemporaryFile(/tmp/multipartBody1654913202681122491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796184920,"filename":"image_08022025_09_37_59_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b399c1d34cd55e3f46c28f058e3bb083.jpg","text":"TemporaryFile(/tmp/multipartBody6959767133409900885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796184920,"filename":"image_08022025_09_49_19_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c777eb28aa3b27bc57866ea5bf435eae.jpg","text":"TemporaryFile(/tmp/multipartBody8123489834599064255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796184920,"filename":"image_08022025_09_49_09_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6bab8687440d398d3b3338efec41c5a7.jpg","text":"TemporaryFile(/tmp/multipartBody1715718985280619929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796184920,"filename":"image_08022025_09_49_39_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338159117","file1":"1338159115","file0":"1338159114","file4":"1338159121","file5":"1338159131","file3":"1338159119"},"map_files_photo_id_array":[{"photo_id":"1338159131","filename":"file5"},{"photo_id":"1338159117","filename":"file2"},{"photo_id":"1338159121","filename":"file4"},{"photo_id":"1338159115","filename":"file1"},{"photo_id":"1338159114","filename":"file0"},{"photo_id":"1338159119","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338159114":["hashtag1","hashtag2"]},{"1338159117":["hashtag1","hashtag2"]},{"1338159131":["hashtag1","hashtag2"]},{"1338159119":["hashtag1","hashtag2"]},{"1338159121":["hashtag1","hashtag2"]},{"1338159115":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338159114, 1338159117, 1338159131, 1338159119, 1338159121, 1338159115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23106622695923 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:43:02.633047
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_49_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_40_10696.jpg', 0), ('/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_29_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_19_9706.jpg', 0), ('/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_10_10697.jpg', 0), ('/home/nano/Desktop/images/08022025/09/28/image_08022025_09_29_00_10697.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_49_9685.jpg', '/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_40_10696.jpg', '/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_29_9686.jpg', '/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_19_9706.jpg', '/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_10_10697.jpg', '/home/nano/Desktop/images/08022025/09/28/image_08022025_09_29_00_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_49_9685.jpg
/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_40_10696.jpg
/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_29_9686.jpg
/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_19_9706.jpg
/home/nano/Desktop/images/08022025/09/37/image_08022025_09_37_10_10697.jpg
/home/nano/Desktop/images/08022025/09/28/image_08022025_09_29_00_10697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338159159","1338159312","1338159321","1338159161","1338159314","1338159157"],"photo_ids_order":["1338159157","1338159159","1338159161","1338159312","1338159314","1338159321"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/33b63d58e715295fc240818b289c8202.jpg","text":"TemporaryFile(/tmp/multipartBody7128191553963915188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796245056,"filename":"image_08022025_09_37_40_10696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a01e0b32cbf01d5105f8c0670ca9419.jpg","text":"TemporaryFile(/tmp/multipartBody3496728251019581061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796245056,"filename":"image_08022025_09_37_19_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d99eb29e930ddb6a87e118eb6297ea21.jpg","text":"TemporaryFile(/tmp/multipartBody4428125198691390021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796245056,"filename":"image_08022025_09_29_00_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6bd641f69c6e8b5ed5b9fcfb36af44ac.jpg","text":"TemporaryFile(/tmp/multipartBody6693292512545892525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796245056,"filename":"image_08022025_09_37_29_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e47f8bbaea4ed4a6738aaa16c5ccb191.jpg","text":"TemporaryFile(/tmp/multipartBody5307889843777421804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796245056,"filename":"image_08022025_09_37_10_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e950488ccd912d48b4575ca148d64c3b.jpg","text":"TemporaryFile(/tmp/multipartBody6866407803327992067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796245056,"filename":"image_08022025_09_37_49_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338159161","file1":"1338159159","file0":"1338159157","file4":"1338159314","file5":"1338159321","file3":"1338159312"},"map_files_photo_id_array":[{"photo_id":"1338159321","filename":"file5"},{"photo_id":"1338159161","filename":"file2"},{"photo_id":"1338159314","filename":"file4"},{"photo_id":"1338159159","filename":"file1"},{"photo_id":"1338159157","filename":"file0"},{"photo_id":"1338159312","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338159159":["hashtag1","hashtag2"]},{"1338159312":["hashtag1","hashtag2"]},{"1338159321":["hashtag1","hashtag2"]},{"1338159161":["hashtag1","hashtag2"]},{"1338159314":["hashtag1","hashtag2"]},{"1338159157":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338159159, 1338159312, 1338159321, 1338159161, 1338159314, 1338159157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33269643783569 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:44:02.828583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_49_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_39_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_29_10698.jpg', 0), ('/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_19_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_09_9729.jpg', 0), ('/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_59_9685.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_49_9686.jpg', '/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_39_9685.jpg', '/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_29_10698.jpg', '/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_19_9683.jpg', '/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_09_9729.jpg', '/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_59_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_49_9686.jpg
/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_39_9685.jpg
/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_29_10698.jpg
/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_19_9683.jpg
/home/nano/Desktop/images/08022025/09/28/image_08022025_09_28_09_9729.jpg
/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_59_9685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338159383","1338159386","1338159397","1338159390","1338159393","1338159387"],"photo_ids_order":["1338159383","1338159386","1338159387","1338159390","1338159393","1338159397"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e327be80f3197a3eb7c9eb470bb901cb.jpg","text":"TemporaryFile(/tmp/multipartBody3365090596265093968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796305431,"filename":"image_08022025_09_28_49_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7de357ddb75954f5a1daef251938337c.jpg","text":"TemporaryFile(/tmp/multipartBody9001555182500122369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796305431,"filename":"image_08022025_09_28_39_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd3e6453aa0801e8f93c8e40518c50ef.jpg","text":"TemporaryFile(/tmp/multipartBody2431352356007747356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796305431,"filename":"image_08022025_09_18_59_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0f11a6ce1092a35329bac0dd4bdb701.jpg","text":"TemporaryFile(/tmp/multipartBody7923198608054860761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796305431,"filename":"image_08022025_09_28_19_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aeb2b904050dc21b81147eb1c19e3fa0.jpg","text":"TemporaryFile(/tmp/multipartBody3072712435588894922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796305431,"filename":"image_08022025_09_28_09_9729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0cc641e76eccdd72a841be19e8bebd7.jpg","text":"TemporaryFile(/tmp/multipartBody4497852589126007074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796305431,"filename":"image_08022025_09_28_29_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338159387","file1":"1338159386","file0":"1338159383","file4":"1338159393","file5":"1338159397","file3":"1338159390"},"map_files_photo_id_array":[{"photo_id":"1338159397","filename":"file5"},{"photo_id":"1338159387","filename":"file2"},{"photo_id":"1338159393","filename":"file4"},{"photo_id":"1338159386","filename":"file1"},{"photo_id":"1338159383","filename":"file0"},{"photo_id":"1338159390","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338159383":["hashtag1","hashtag2"]},{"1338159386":["hashtag1","hashtag2"]},{"1338159397":["hashtag1","hashtag2"]},{"1338159390":["hashtag1","hashtag2"]},{"1338159393":["hashtag1","hashtag2"]},{"1338159387":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338159383, 1338159386, 1338159397, 1338159390, 1338159393, 1338159387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.915891885757446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:45:02.946043
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_49_10694.jpg', 0), ('/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_39_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_29_9687.jpg', 0), ('/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_19_9692.jpg', 0), ('/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_10_10686.jpg', 0), ('/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_59_9687.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_49_10694.jpg', '/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_39_9685.jpg', '/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_29_9687.jpg', '/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_19_9692.jpg', '/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_10_10686.jpg', '/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_59_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_49_10694.jpg
/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_39_9685.jpg
/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_29_9687.jpg
/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_19_9692.jpg
/home/nano/Desktop/images/08022025/09/18/image_08022025_09_18_10_10686.jpg
/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_59_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338159462","1338159456","1338159465","1338159461","1338159458","1338159460"],"photo_ids_order":["1338159456","1338159458","1338159460","1338159461","1338159462","1338159465"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f77a9063b6679df51bf7846d660d64d.jpg","text":"TemporaryFile(/tmp/multipartBody6690745040783573405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796365450,"filename":"image_08022025_09_18_10_10686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7010e15456c095368e035ff977ac28e0.jpg","text":"TemporaryFile(/tmp/multipartBody7828739945448196233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796365450,"filename":"image_08022025_09_18_49_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/272c1c3a392638bb24e7130606a560f6.jpg","text":"TemporaryFile(/tmp/multipartBody1496462350422136741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796365450,"filename":"image_08022025_08_43_59_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24da5da3a7695d1e0c5b7edf393c58a7.jpg","text":"TemporaryFile(/tmp/multipartBody1401311357611175879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796365450,"filename":"image_08022025_09_18_19_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70a5c8f3476fef795fc6db252b357358.jpg","text":"TemporaryFile(/tmp/multipartBody7210792007180790373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796365450,"filename":"image_08022025_09_18_39_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cdae537a460d62660078e24facdc2ab0.jpg","text":"TemporaryFile(/tmp/multipartBody2141136353349488160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796365450,"filename":"image_08022025_09_18_29_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338159460","file1":"1338159458","file0":"1338159456","file4":"1338159462","file5":"1338159465","file3":"1338159461"},"map_files_photo_id_array":[{"photo_id":"1338159465","filename":"file5"},{"photo_id":"1338159460","filename":"file2"},{"photo_id":"1338159462","filename":"file4"},{"photo_id":"1338159458","filename":"file1"},{"photo_id":"1338159456","filename":"file0"},{"photo_id":"1338159461","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338159462":["hashtag1","hashtag2"]},{"1338159456":["hashtag1","hashtag2"]},{"1338159465":["hashtag1","hashtag2"]},{"1338159461":["hashtag1","hashtag2"]},{"1338159458":["hashtag1","hashtag2"]},{"1338159460":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338159462, 1338159456, 1338159465, 1338159461, 1338159458, 1338159460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93525457382202 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:46:02.939295
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_49_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_40_10696.jpg', 0), ('/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_29_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_19_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_10_10701.jpg', 0), ('/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_59_9683.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_49_9684.jpg', '/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_40_10696.jpg', '/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_29_9685.jpg', '/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_19_9684.jpg', '/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_10_10701.jpg', '/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_59_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_49_9684.jpg
/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_40_10696.jpg
/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_29_9685.jpg
/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_19_9684.jpg
/home/nano/Desktop/images/08022025/08/43/image_08022025_08_43_10_10701.jpg
/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_59_9683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338159510","1338159504","1338159501","1338159506","1338159508","1338159498"],"photo_ids_order":["1338159498","1338159501","1338159504","1338159506","1338159508","1338159510"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/986672bcbac672fec63e0b85d0be8004.jpg","text":"TemporaryFile(/tmp/multipartBody3178034868823595903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796426078,"filename":"image_08022025_08_38_59_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e5eb83630a5e40864936462764a33a6d.jpg","text":"TemporaryFile(/tmp/multipartBody7008426398559069739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796426078,"filename":"image_08022025_08_43_29_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4c7ee62b119425cf8245c6597bcc974.jpg","text":"TemporaryFile(/tmp/multipartBody7711211865192666601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796426078,"filename":"image_08022025_08_43_40_10696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8212a0979a27d65778a5b95f7b3894da.jpg","text":"TemporaryFile(/tmp/multipartBody1267573987852297746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796426078,"filename":"image_08022025_08_43_19_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88e0fdc9ccfa74ea670913b5559a6178.jpg","text":"TemporaryFile(/tmp/multipartBody1747282434939475738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796426078,"filename":"image_08022025_08_43_10_10701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/772710a03891604ef02edaef3bd80918.jpg","text":"TemporaryFile(/tmp/multipartBody811281646221234336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796426078,"filename":"image_08022025_08_43_49_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338159504","file1":"1338159501","file0":"1338159498","file4":"1338159508","file5":"1338159510","file3":"1338159506"},"map_files_photo_id_array":[{"photo_id":"1338159510","filename":"file5"},{"photo_id":"1338159504","filename":"file2"},{"photo_id":"1338159508","filename":"file4"},{"photo_id":"1338159501","filename":"file1"},{"photo_id":"1338159498","filename":"file0"},{"photo_id":"1338159506","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338159510":["hashtag1","hashtag2"]},{"1338159504":["hashtag1","hashtag2"]},{"1338159501":["hashtag1","hashtag2"]},{"1338159506":["hashtag1","hashtag2"]},{"1338159508":["hashtag1","hashtag2"]},{"1338159498":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338159510, 1338159504, 1338159501, 1338159506, 1338159508, 1338159498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.866621017456055 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:47:03.452839
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_50_10696.jpg', 0), ('/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_39_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_29_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_19_10689.jpg', 0), ('/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_09_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_59_9679.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_50_10696.jpg', '/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_39_9684.jpg', '/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_29_9682.jpg', '/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_19_10689.jpg', '/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_09_9683.jpg', '/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_59_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_50_10696.jpg
/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_39_9684.jpg
/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_29_9682.jpg
/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_19_10689.jpg
/home/nano/Desktop/images/08022025/08/38/image_08022025_08_38_09_9683.jpg
/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_59_9679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338159540","1338159537","1338159531","1338159528","1338159542","1338159535"],"photo_ids_order":["1338159528","1338159531","1338159535","1338159537","1338159540","1338159542"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7eb229afa34dd7093f8f6742ae1498ad.jpg","text":"TemporaryFile(/tmp/multipartBody958927064926952984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796486979,"filename":"image_08022025_08_38_09_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71f8fb03303e443e8325274b4f35d07c.jpg","text":"TemporaryFile(/tmp/multipartBody4159228746373589926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796486979,"filename":"image_08022025_08_38_19_10689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/545dfa32ffc3f7216507c0e1eb945c4f.jpg","text":"TemporaryFile(/tmp/multipartBody4866505547614431425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796486979,"filename":"image_08022025_08_38_39_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fea7b035122ac4b4c8f23768e594538e.jpg","text":"TemporaryFile(/tmp/multipartBody2616638033062830072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796486979,"filename":"image_08022025_08_38_50_10696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4147133cb5a134c6894bcd3994690e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2934247627393767916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796486979,"filename":"image_08022025_08_22_59_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3af27c49696c5a9de9893ce415e31c78.jpg","text":"TemporaryFile(/tmp/multipartBody4426002162041496825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796486979,"filename":"image_08022025_08_38_29_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338159535","file1":"1338159531","file0":"1338159528","file4":"1338159540","file5":"1338159542","file3":"1338159537"},"map_files_photo_id_array":[{"photo_id":"1338159542","filename":"file5"},{"photo_id":"1338159535","filename":"file2"},{"photo_id":"1338159540","filename":"file4"},{"photo_id":"1338159531","filename":"file1"},{"photo_id":"1338159528","filename":"file0"},{"photo_id":"1338159537","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338159540":["hashtag1","hashtag2"]},{"1338159537":["hashtag1","hashtag2"]},{"1338159531":["hashtag1","hashtag2"]},{"1338159528":["hashtag1","hashtag2"]},{"1338159542":["hashtag1","hashtag2"]},{"1338159535":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338159540, 1338159537, 1338159531, 1338159528, 1338159542, 1338159535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32820153236389 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:48:03.338983
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_49_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_40_10689.jpg', 0), ('/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_29_9701.jpg', 0), ('/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_19_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_09_10694.jpg', 0), ('/home/nano/Desktop/images/08022025/07/57/image_08022025_07_58_00_10690.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_49_9684.jpg', '/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_40_10689.jpg', '/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_29_9701.jpg', '/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_19_9681.jpg', '/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_09_10694.jpg', '/home/nano/Desktop/images/08022025/07/57/image_08022025_07_58_00_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_49_9684.jpg
/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_40_10689.jpg
/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_29_9701.jpg
/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_19_9681.jpg
/home/nano/Desktop/images/08022025/08/22/image_08022025_08_22_09_10694.jpg
/home/nano/Desktop/images/08022025/07/57/image_08022025_07_58_00_10690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338159738","1338159825","1338159743","1338159740","1338160007","1338159916"],"photo_ids_order":["1338159738","1338159740","1338159743","1338159825","1338159916","1338160007"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a27f8def1e8f7eecfb541fe0ab67bca9.jpg","text":"TemporaryFile(/tmp/multipartBody5906598218315916392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796546025,"filename":"image_08022025_08_22_49_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d5f5887554f3ced417dc216c2ac255a.jpg","text":"TemporaryFile(/tmp/multipartBody2521899053373256780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796546025,"filename":"image_08022025_08_22_19_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/390533b42619b6488cfeaa8b7a060767.jpg","text":"TemporaryFile(/tmp/multipartBody6073347238525149295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796546025,"filename":"image_08022025_08_22_29_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0118f4193f338e1c21df1d0e7adec840.jpg","text":"TemporaryFile(/tmp/multipartBody7143276603069445131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796546025,"filename":"image_08022025_08_22_40_10689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b98e8177bafb43dc173d8679d2aa2d43.jpg","text":"TemporaryFile(/tmp/multipartBody1912129018217711756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796546025,"filename":"image_08022025_07_58_00_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e170580825a072501e5ee703c050dba8.jpg","text":"TemporaryFile(/tmp/multipartBody136564134554643473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796546025,"filename":"image_08022025_08_22_09_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338159743","file1":"1338159740","file0":"1338159738","file4":"1338159916","file5":"1338160007","file3":"1338159825"},"map_files_photo_id_array":[{"photo_id":"1338160007","filename":"file5"},{"photo_id":"1338159743","filename":"file2"},{"photo_id":"1338159916","filename":"file4"},{"photo_id":"1338159740","filename":"file1"},{"photo_id":"1338159738","filename":"file0"},{"photo_id":"1338159825","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338159738":["hashtag1","hashtag2"]},{"1338159825":["hashtag1","hashtag2"]},{"1338159743":["hashtag1","hashtag2"]},{"1338159740":["hashtag1","hashtag2"]},{"1338160007":["hashtag1","hashtag2"]},{"1338159916":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338159738, 1338159825, 1338159743, 1338159740, 1338160007, 1338159916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.600322246551514 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:49:02.811112
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_49_9679.jpg', 0), ('/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_39_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_30_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_19_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_09_9698.jpg', 0), ('/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_59_9698.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_49_9679.jpg', '/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_39_9684.jpg', '/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_30_10692.jpg', '/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_19_9683.jpg', '/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_09_9698.jpg', '/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_59_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_49_9679.jpg
/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_39_9684.jpg
/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_30_10692.jpg
/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_19_9683.jpg
/home/nano/Desktop/images/08022025/07/57/image_08022025_07_57_09_9698.jpg
/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_59_9698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338160414","1338160416","1338160568","1338160421","1338160418","1338160423"],"photo_ids_order":["1338160414","1338160416","1338160418","1338160421","1338160423","1338160568"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/01d2c6fb15cd067a54ec1e5174c3d79e.jpg","text":"TemporaryFile(/tmp/multipartBody7606847446139417747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796604903,"filename":"image_08022025_07_57_49_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/411e9f277b01de968d98b2b377b652c3.jpg","text":"TemporaryFile(/tmp/multipartBody3527614050940081402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796604903,"filename":"image_08022025_07_57_39_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5af423e8a3172c9194ae4766830e53d5.jpg","text":"TemporaryFile(/tmp/multipartBody726955434810007332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796604903,"filename":"image_08022025_07_47_59_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f7520554dac1256dbd749c2a05d498a.jpg","text":"TemporaryFile(/tmp/multipartBody4639937789913258490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796604903,"filename":"image_08022025_07_57_19_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3bb73b13051713cbb3b6663d796c6ef.jpg","text":"TemporaryFile(/tmp/multipartBody5994908338117376873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796604903,"filename":"image_08022025_07_57_30_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9e7a8febdbd958096c3ad317bc0e8d7.jpg","text":"TemporaryFile(/tmp/multipartBody5155959501631153379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796604903,"filename":"image_08022025_07_57_09_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338160418","file1":"1338160416","file0":"1338160414","file4":"1338160423","file5":"1338160568","file3":"1338160421"},"map_files_photo_id_array":[{"photo_id":"1338160568","filename":"file5"},{"photo_id":"1338160418","filename":"file2"},{"photo_id":"1338160423","filename":"file4"},{"photo_id":"1338160416","filename":"file1"},{"photo_id":"1338160414","filename":"file0"},{"photo_id":"1338160421","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338160414":["hashtag1","hashtag2"]},{"1338160416":["hashtag1","hashtag2"]},{"1338160568":["hashtag1","hashtag2"]},{"1338160421":["hashtag1","hashtag2"]},{"1338160418":["hashtag1","hashtag2"]},{"1338160423":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338160414, 1338160416, 1338160568, 1338160421, 1338160418, 1338160423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42581248283386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:50:02.572878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_49_10691.jpg', 0), ('/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_39_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_29_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_19_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_09_9703.jpg', 0), ('/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_59_9683.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_49_10691.jpg', '/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_39_9681.jpg', '/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_29_9682.jpg', '/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_19_10692.jpg', '/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_09_9703.jpg', '/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_59_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_49_10691.jpg
/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_39_9681.jpg
/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_29_9682.jpg
/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_19_10692.jpg
/home/nano/Desktop/images/08022025/07/47/image_08022025_07_47_09_9703.jpg
/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_59_9683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338160659","1338160653","1338160656","1338160601","1338160604","1338160642"],"photo_ids_order":["1338160601","1338160604","1338160642","1338160653","1338160656","1338160659"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7dfaa86729a6615be1f5e1489d693c0f.jpg","text":"TemporaryFile(/tmp/multipartBody3569855082938205572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796663974,"filename":"image_08022025_07_34_59_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82049afc6fe74ab1b99fb35a398a73dc.jpg","text":"TemporaryFile(/tmp/multipartBody1193728008020668198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796663974,"filename":"image_08022025_07_47_19_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a7deb8a83f3c023748507cd79f98e630.jpg","text":"TemporaryFile(/tmp/multipartBody8074977413808096193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796663974,"filename":"image_08022025_07_47_09_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ad0654859849bb1ec11b3f98f33c3cf.jpg","text":"TemporaryFile(/tmp/multipartBody666497827906131447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796663974,"filename":"image_08022025_07_47_49_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd4e8749c9044eb9066affd2d153b5b1.jpg","text":"TemporaryFile(/tmp/multipartBody7818255808314574448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796663974,"filename":"image_08022025_07_47_39_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aeed7f8c403fabb7ba1ee232161c0c95.jpg","text":"TemporaryFile(/tmp/multipartBody4741796729340508172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796663974,"filename":"image_08022025_07_47_29_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338160642","file1":"1338160604","file0":"1338160601","file4":"1338160656","file5":"1338160659","file3":"1338160653"},"map_files_photo_id_array":[{"photo_id":"1338160659","filename":"file5"},{"photo_id":"1338160642","filename":"file2"},{"photo_id":"1338160656","filename":"file4"},{"photo_id":"1338160604","filename":"file1"},{"photo_id":"1338160601","filename":"file0"},{"photo_id":"1338160653","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338160659":["hashtag1","hashtag2"]},{"1338160653":["hashtag1","hashtag2"]},{"1338160656":["hashtag1","hashtag2"]},{"1338160601":["hashtag1","hashtag2"]},{"1338160604":["hashtag1","hashtag2"]},{"1338160642":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338160659, 1338160653, 1338160656, 1338160601, 1338160604, 1338160642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54788112640381 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:51:02.875762
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_50_10693.jpg', 0), ('/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_39_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_29_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_19_10693.jpg', 0), ('/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_09_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_59_10690.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_50_10693.jpg', '/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_39_9683.jpg', '/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_29_9681.jpg', '/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_19_10693.jpg', '/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_09_9682.jpg', '/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_59_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_50_10693.jpg
/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_39_9683.jpg
/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_29_9681.jpg
/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_19_10693.jpg
/home/nano/Desktop/images/08022025/07/34/image_08022025_07_34_09_9682.jpg
/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_59_10690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338160717","1338160725","1338160722","1338160727","1338160720","1338160714"],"photo_ids_order":["1338160714","1338160717","1338160720","1338160722","1338160725","1338160727"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03cbf6ba9bcf402ab6a66820d46b11ba.jpg","text":"TemporaryFile(/tmp/multipartBody1851934464694278503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796725348,"filename":"image_08022025_07_34_39_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e66ca76ef6106dac0b05a44a9fe22fe6.jpg","text":"TemporaryFile(/tmp/multipartBody6561035783538597341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796725348,"filename":"image_08022025_07_34_09_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ac5a2b131e55b3589f41f4955471392.jpg","text":"TemporaryFile(/tmp/multipartBody5043755460766304060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796725348,"filename":"image_08022025_07_34_19_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/929764f51c09ed39ca2d2f3b7c7a5630.jpg","text":"TemporaryFile(/tmp/multipartBody7869132532359241247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796725348,"filename":"image_08022025_07_13_59_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5acc22217b2b28958c87a2af79197782.jpg","text":"TemporaryFile(/tmp/multipartBody4777577165066858482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796725348,"filename":"image_08022025_07_34_29_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0608952e010eeaafa4508c0d0869ffe.jpg","text":"TemporaryFile(/tmp/multipartBody4273537581781906165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796725348,"filename":"image_08022025_07_34_50_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338160720","file1":"1338160717","file0":"1338160714","file4":"1338160725","file5":"1338160727","file3":"1338160722"},"map_files_photo_id_array":[{"photo_id":"1338160727","filename":"file5"},{"photo_id":"1338160720","filename":"file2"},{"photo_id":"1338160725","filename":"file4"},{"photo_id":"1338160717","filename":"file1"},{"photo_id":"1338160714","filename":"file0"},{"photo_id":"1338160722","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338160717":["hashtag1","hashtag2"]},{"1338160725":["hashtag1","hashtag2"]},{"1338160722":["hashtag1","hashtag2"]},{"1338160727":["hashtag1","hashtag2"]},{"1338160720":["hashtag1","hashtag2"]},{"1338160714":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338160717, 1338160725, 1338160722, 1338160727, 1338160720, 1338160714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44303846359253 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:52:02.927698
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_49_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_39_9680.jpg', 0), ('/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_29_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_20_10724.jpg', 0), ('/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_09_9680.jpg', 0), ('/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_59_9680.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_49_9681.jpg', '/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_39_9680.jpg', '/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_29_9682.jpg', '/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_20_10724.jpg', '/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_09_9680.jpg', '/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_59_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_49_9681.jpg
/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_39_9680.jpg
/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_29_9682.jpg
/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_20_10724.jpg
/home/nano/Desktop/images/08022025/07/13/image_08022025_07_13_09_9680.jpg
/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_59_9680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338160761","1338160755","1338160763","1338160751","1338160759","1338160747"],"photo_ids_order":["1338160747","1338160751","1338160755","1338160759","1338160761","1338160763"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21df371a9d9240ce734c546e0fa442d8.jpg","text":"TemporaryFile(/tmp/multipartBody3393042974451245489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796785379,"filename":"image_08022025_07_13_09_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3258338e1db7d7576e66ff5f462286e.jpg","text":"TemporaryFile(/tmp/multipartBody8367161439159412352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796785379,"filename":"image_08022025_07_13_29_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/552c357069b234b33f68f97bbc9e66bb.jpg","text":"TemporaryFile(/tmp/multipartBody4039892593980851154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796785379,"filename":"image_08022025_07_12_59_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/feb985cae15ec60c637a0c3b31c6d9f3.jpg","text":"TemporaryFile(/tmp/multipartBody6050568435071403351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796785379,"filename":"image_08022025_07_13_39_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/612052a89bef3ef094ffdc2e5893f232.jpg","text":"TemporaryFile(/tmp/multipartBody8557156435170270257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796785379,"filename":"image_08022025_07_13_20_10724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d2fe3758fe405979019b44a8c596f828.jpg","text":"TemporaryFile(/tmp/multipartBody2179705854843657597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796785379,"filename":"image_08022025_07_13_49_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338160755","file1":"1338160751","file0":"1338160747","file4":"1338160761","file5":"1338160763","file3":"1338160759"},"map_files_photo_id_array":[{"photo_id":"1338160763","filename":"file5"},{"photo_id":"1338160755","filename":"file2"},{"photo_id":"1338160761","filename":"file4"},{"photo_id":"1338160751","filename":"file1"},{"photo_id":"1338160747","filename":"file0"},{"photo_id":"1338160759","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338160761":["hashtag1","hashtag2"]},{"1338160755":["hashtag1","hashtag2"]},{"1338160763":["hashtag1","hashtag2"]},{"1338160751":["hashtag1","hashtag2"]},{"1338160759":["hashtag1","hashtag2"]},{"1338160747":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338160761, 1338160755, 1338160763, 1338160751, 1338160759, 1338160747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89753437042236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:53:03.262513
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_49_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_39_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_29_9679.jpg', 0), ('/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_19_10697.jpg', 0), ('/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_09_9688.jpg', 0), ('/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_59_9697.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_49_10692.jpg', '/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_39_9682.jpg', '/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_29_9679.jpg', '/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_19_10697.jpg', '/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_09_9688.jpg', '/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_59_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_49_10692.jpg
/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_39_9682.jpg
/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_29_9679.jpg
/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_19_10697.jpg
/home/nano/Desktop/images/08022025/07/12/image_08022025_07_12_09_9688.jpg
/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_59_9697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338160794","1338160790","1338160784","1338160803","1338160787","1338160798"],"photo_ids_order":["1338160784","1338160787","1338160790","1338160794","1338160798","1338160803"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/002076a97e69fac8cb9f47e292a28354.jpg","text":"TemporaryFile(/tmp/multipartBody1105426952356362818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796845446,"filename":"image_08022025_07_12_19_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/686e2d729087b1ce57c7c27f81d1246b.jpg","text":"TemporaryFile(/tmp/multipartBody1827699154742367286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796845446,"filename":"image_08022025_07_12_29_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/35d254563686742521180957faffcd22.jpg","text":"TemporaryFile(/tmp/multipartBody6540600906444547636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796845446,"filename":"image_08022025_07_12_49_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15627c4c4aa03ab433bca006ec36bc07.jpg","text":"TemporaryFile(/tmp/multipartBody4709214737207986424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796845446,"filename":"image_08022025_07_11_59_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/11fec29ab19a247e41e3ccd70614348c.jpg","text":"TemporaryFile(/tmp/multipartBody1860525276698815096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796845446,"filename":"image_08022025_07_12_39_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7da293560a8ece26ca9cda99fa22193d.jpg","text":"TemporaryFile(/tmp/multipartBody6946835700352805682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796845446,"filename":"image_08022025_07_12_09_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338160790","file1":"1338160787","file0":"1338160784","file4":"1338160798","file5":"1338160803","file3":"1338160794"},"map_files_photo_id_array":[{"photo_id":"1338160803","filename":"file5"},{"photo_id":"1338160790","filename":"file2"},{"photo_id":"1338160798","filename":"file4"},{"photo_id":"1338160787","filename":"file1"},{"photo_id":"1338160784","filename":"file0"},{"photo_id":"1338160794","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338160794":["hashtag1","hashtag2"]},{"1338160790":["hashtag1","hashtag2"]},{"1338160784":["hashtag1","hashtag2"]},{"1338160803":["hashtag1","hashtag2"]},{"1338160787":["hashtag1","hashtag2"]},{"1338160798":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338160794, 1338160790, 1338160784, 1338160803, 1338160787, 1338160798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04217982292175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:54:03.674238
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_49_10709.jpg', 0), ('/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_39_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_29_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_19_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_10_10690.jpg', 0), ('/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_59_9681.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_49_10709.jpg', '/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_39_9681.jpg', '/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_29_9681.jpg', '/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_19_9681.jpg', '/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_10_10690.jpg', '/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_59_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_49_10709.jpg
/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_39_9681.jpg
/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_29_9681.jpg
/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_19_9681.jpg
/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_10_10690.jpg
/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_59_9681.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.598292827606201 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:54:32.771334
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_49_10709.jpg', 0), ('/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_39_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_29_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_19_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_10_10690.jpg', 0), ('/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_59_9681.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_49_10709.jpg', '/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_39_9681.jpg', '/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_29_9681.jpg', '/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_19_9681.jpg', '/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_10_10690.jpg', '/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_59_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_49_10709.jpg
/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_39_9681.jpg
/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_29_9681.jpg
/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_19_9681.jpg
/home/nano/Desktop/images/08022025/07/11/image_08022025_07_11_10_10690.jpg
/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_59_9681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338160851","1338160848","1338160853","1338160841","1338160838","1338160846"],"photo_ids_order":["1338160838","1338160841","1338160846","1338160848","1338160851","1338160853"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/501be842b8beac4b61f28a9e06142d82.jpg","text":"TemporaryFile(/tmp/multipartBody2998877751552237618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796934580,"filename":"image_08022025_07_11_10_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2bb1e98dfc92dbad52c270d20f28d016.jpg","text":"TemporaryFile(/tmp/multipartBody7602284897783345254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796934580,"filename":"image_08022025_07_11_19_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1da3708de2dbf76ad13813bc69bc3596.jpg","text":"TemporaryFile(/tmp/multipartBody5433494347765586609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796934580,"filename":"image_08022025_07_10_59_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d28e7b96a97e23a7e535d7f7ff38e086.jpg","text":"TemporaryFile(/tmp/multipartBody2079126628264724842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796934580,"filename":"image_08022025_07_11_39_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79e35adc462fb2f960fc50c8df1a24d4.jpg","text":"TemporaryFile(/tmp/multipartBody3513643045178372199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796934580,"filename":"image_08022025_07_11_49_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d16b7898d9effdbb0f9c96ad79afa5f.jpg","text":"TemporaryFile(/tmp/multipartBody2791560661526849926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796934580,"filename":"image_08022025_07_11_29_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338160846","file1":"1338160841","file0":"1338160838","file4":"1338160851","file5":"1338160853","file3":"1338160848"},"map_files_photo_id_array":[{"photo_id":"1338160853","filename":"file5"},{"photo_id":"1338160846","filename":"file2"},{"photo_id":"1338160851","filename":"file4"},{"photo_id":"1338160841","filename":"file1"},{"photo_id":"1338160838","filename":"file0"},{"photo_id":"1338160848","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338160851":["hashtag1","hashtag2"]},{"1338160848":["hashtag1","hashtag2"]},{"1338160853":["hashtag1","hashtag2"]},{"1338160841":["hashtag1","hashtag2"]},{"1338160838":["hashtag1","hashtag2"]},{"1338160846":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338160851, 1338160848, 1338160853, 1338160841, 1338160838, 1338160846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72269797325134 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:55:31.910738
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_49_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_40_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_29_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_19_9688.jpg', 0), ('/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_09_10711.jpg', 0), ('/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_59_9680.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_49_9681.jpg', '/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_40_10692.jpg', '/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_29_9682.jpg', '/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_19_9688.jpg', '/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_09_10711.jpg', '/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_59_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_49_9681.jpg
/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_40_10692.jpg
/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_29_9682.jpg
/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_19_9688.jpg
/home/nano/Desktop/images/08022025/07/10/image_08022025_07_10_09_10711.jpg
/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_59_9680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338160899","1338160903","1338160893","1338160906","1338160926","1338160897"],"photo_ids_order":["1338160893","1338160897","1338160899","1338160903","1338160906","1338160926"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e96559424e03991f7e33c884b14be00.jpg","text":"TemporaryFile(/tmp/multipartBody7828240792916032782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796994959,"filename":"image_08022025_07_10_29_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/43462d6e38608c9773cc0bfb602c0942.jpg","text":"TemporaryFile(/tmp/multipartBody7950990465822054415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796994959,"filename":"image_08022025_07_10_19_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fce615430d9fcd46dd83bdeac5f21a77.jpg","text":"TemporaryFile(/tmp/multipartBody1231394528782176224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796994959,"filename":"image_08022025_07_10_49_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88ac69ab36184b891517ef5f65d79df8.jpg","text":"TemporaryFile(/tmp/multipartBody8214965149673425427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796994959,"filename":"image_08022025_07_10_09_10711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6726d7c543d3bef8d01e46bad51a940.jpg","text":"TemporaryFile(/tmp/multipartBody7629636693811589256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796994959,"filename":"image_08022025_07_09_59_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/157bd2cad8a8d0cebd866429002dc18c.jpg","text":"TemporaryFile(/tmp/multipartBody7577768908622547135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739796994959,"filename":"image_08022025_07_10_40_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338160899","file1":"1338160897","file0":"1338160893","file4":"1338160906","file5":"1338160926","file3":"1338160903"},"map_files_photo_id_array":[{"photo_id":"1338160926","filename":"file5"},{"photo_id":"1338160899","filename":"file2"},{"photo_id":"1338160906","filename":"file4"},{"photo_id":"1338160897","filename":"file1"},{"photo_id":"1338160893","filename":"file0"},{"photo_id":"1338160903","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338160899":["hashtag1","hashtag2"]},{"1338160903":["hashtag1","hashtag2"]},{"1338160893":["hashtag1","hashtag2"]},{"1338160906":["hashtag1","hashtag2"]},{"1338160926":["hashtag1","hashtag2"]},{"1338160897":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338160899, 1338160903, 1338160893, 1338160906, 1338160926, 1338160897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54017949104309 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:56:32.083889
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_49_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_39_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_29_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_19_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_09_10697.jpg', 0), ('/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_59_9699.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_49_9684.jpg', '/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_39_10692.jpg', '/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_29_9683.jpg', '/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_19_9686.jpg', '/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_09_10697.jpg', '/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_59_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_49_9684.jpg
/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_39_10692.jpg
/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_29_9683.jpg
/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_19_9686.jpg
/home/nano/Desktop/images/08022025/07/09/image_08022025_07_09_09_10697.jpg
/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_59_9699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338161103","1338160997","1338161114","1338160993","1338160996","1338161047"],"photo_ids_order":["1338160993","1338160996","1338160997","1338161047","1338161103","1338161114"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a00acb74bc9003051d746dc68d296327.jpg","text":"TemporaryFile(/tmp/multipartBody3966745614689946761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797054590,"filename":"image_08022025_07_09_09_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cfbfc913f3ea9439fd30ea93673524ae.jpg","text":"TemporaryFile(/tmp/multipartBody1126538858011772442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797054590,"filename":"image_08022025_07_09_29_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60d059aa1edc6a9f2b3cca8895e7d312.jpg","text":"TemporaryFile(/tmp/multipartBody8297256479867499676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797054590,"filename":"image_08022025_06_58_59_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bfd1e9f2b7e3c3c894912aee971f2250.jpg","text":"TemporaryFile(/tmp/multipartBody6255983178128078331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797054590,"filename":"image_08022025_07_09_49_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e385f4fa6d3f857abdb68b8d75be988.jpg","text":"TemporaryFile(/tmp/multipartBody318616159290043593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797054590,"filename":"image_08022025_07_09_39_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5931264ebed5f40ba22e790e02e975dd.jpg","text":"TemporaryFile(/tmp/multipartBody3015477544147181630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797054590,"filename":"image_08022025_07_09_19_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338160997","file1":"1338160996","file0":"1338160993","file4":"1338161103","file5":"1338161114","file3":"1338161047"},"map_files_photo_id_array":[{"photo_id":"1338161114","filename":"file5"},{"photo_id":"1338160997","filename":"file2"},{"photo_id":"1338161103","filename":"file4"},{"photo_id":"1338160996","filename":"file1"},{"photo_id":"1338160993","filename":"file0"},{"photo_id":"1338161047","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338161103":["hashtag1","hashtag2"]},{"1338160997":["hashtag1","hashtag2"]},{"1338161114":["hashtag1","hashtag2"]},{"1338160993":["hashtag1","hashtag2"]},{"1338160996":["hashtag1","hashtag2"]},{"1338161047":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338161103, 1338160997, 1338161114, 1338160993, 1338160996, 1338161047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.4285147190094 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:57:32.231307
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_49_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_39_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_29_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_19_10691.jpg', 0), ('/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_09_9719.jpg', 0), ('/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_59_9681.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_49_10692.jpg', '/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_39_9682.jpg', '/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_29_9681.jpg', '/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_19_10691.jpg', '/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_09_9719.jpg', '/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_59_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_49_10692.jpg
/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_39_9682.jpg
/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_29_9681.jpg
/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_19_10691.jpg
/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_09_9719.jpg
/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_59_9681.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:58:02.803777
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_49_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_39_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_29_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_19_10691.jpg', 0), ('/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_09_9719.jpg', 0), ('/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_59_9681.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_49_10692.jpg', '/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_39_9682.jpg', '/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_29_9681.jpg', '/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_19_10691.jpg', '/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_09_9719.jpg', '/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_59_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_49_10692.jpg
/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_39_9682.jpg
/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_29_9681.jpg
/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_19_10691.jpg
/home/nano/Desktop/images/08022025/06/58/image_08022025_06_58_09_9719.jpg
/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_59_9681.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338161214","1338161205","1338161213","1338161207","1338161212","1338161209"],"photo_ids_order":["1338161205","1338161207","1338161209","1338161212","1338161213","1338161214"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/85bf8de103e202aa0ca6970867b417a0.jpg","text":"TemporaryFile(/tmp/multipartBody6408451682263467734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797145013,"filename":"image_08022025_06_57_59_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b482216612849702cdee6becb87a977.jpg","text":"TemporaryFile(/tmp/multipartBody861949987156013778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797145013,"filename":"image_08022025_06_58_49_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/01434ac06a566a9f4d4d32fd221b30e2.jpg","text":"TemporaryFile(/tmp/multipartBody7216271013182123267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797145013,"filename":"image_08022025_06_58_09_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7ece8368e4504815af1a707adde8255.jpg","text":"TemporaryFile(/tmp/multipartBody1675352988220354231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797145013,"filename":"image_08022025_06_58_39_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2194fabd4de9a32cf1b4eb51520f5b9d.jpg","text":"TemporaryFile(/tmp/multipartBody4582435752144258759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797145013,"filename":"image_08022025_06_58_19_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60a707df2e1c2e7a29d2746d88c1c59c.jpg","text":"TemporaryFile(/tmp/multipartBody8789813224519239220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797145013,"filename":"image_08022025_06_58_29_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338161209","file1":"1338161207","file0":"1338161205","file4":"1338161213","file5":"1338161214","file3":"1338161212"},"map_files_photo_id_array":[{"photo_id":"1338161214","filename":"file5"},{"photo_id":"1338161209","filename":"file2"},{"photo_id":"1338161213","filename":"file4"},{"photo_id":"1338161207","filename":"file1"},{"photo_id":"1338161205","filename":"file0"},{"photo_id":"1338161212","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338161214":["hashtag1","hashtag2"]},{"1338161205":["hashtag1","hashtag2"]},{"1338161213":["hashtag1","hashtag2"]},{"1338161207":["hashtag1","hashtag2"]},{"1338161212":["hashtag1","hashtag2"]},{"1338161209":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338161214, 1338161205, 1338161213, 1338161207, 1338161212, 1338161209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.69913363456726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 13:59:03.524645
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_49_9680.jpg', 0), ('/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_40_10696.jpg', 0), ('/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_29_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_19_9700.jpg', 0), ('/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_09_10691.jpg', 0), ('/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_59_9679.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_49_9680.jpg', '/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_40_10696.jpg', '/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_29_9684.jpg', '/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_19_9700.jpg', '/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_09_10691.jpg', '/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_59_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_49_9680.jpg
/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_40_10696.jpg
/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_29_9684.jpg
/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_19_9700.jpg
/home/nano/Desktop/images/08022025/06/57/image_08022025_06_57_09_10691.jpg
/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_59_9679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338161243","1338161237","1338161222","1338161230","1338161224","1338161227"],"photo_ids_order":["1338161222","1338161224","1338161227","1338161230","1338161237","1338161243"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e1f09cc41a06280277810a491caddf44.jpg","text":"TemporaryFile(/tmp/multipartBody5175123400916636175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797207126,"filename":"image_08022025_06_50_59_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af87e402696cff96dcc9bcd673158d01.jpg","text":"TemporaryFile(/tmp/multipartBody5508129536978574566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797207126,"filename":"image_08022025_06_57_09_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c3f684d8f2854afa334bd2decf8092c.jpg","text":"TemporaryFile(/tmp/multipartBody5954467847905832921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797207126,"filename":"image_08022025_06_57_49_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54066e3558367f08c4a95c266cfe0b4a.jpg","text":"TemporaryFile(/tmp/multipartBody7022887160507922654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797207126,"filename":"image_08022025_06_57_19_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1bb8981f51e370f3636c7dd7f09f48c3.jpg","text":"TemporaryFile(/tmp/multipartBody2487049187291088078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797207126,"filename":"image_08022025_06_57_40_10696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d56c7283ca52b774f3c5a2477cbfb83.jpg","text":"TemporaryFile(/tmp/multipartBody5480913240851156501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797207126,"filename":"image_08022025_06_57_29_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338161227","file1":"1338161224","file0":"1338161222","file4":"1338161237","file5":"1338161243","file3":"1338161230"},"map_files_photo_id_array":[{"photo_id":"1338161243","filename":"file5"},{"photo_id":"1338161227","filename":"file2"},{"photo_id":"1338161237","filename":"file4"},{"photo_id":"1338161224","filename":"file1"},{"photo_id":"1338161222","filename":"file0"},{"photo_id":"1338161230","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338161243":["hashtag1","hashtag2"]},{"1338161237":["hashtag1","hashtag2"]},{"1338161222":["hashtag1","hashtag2"]},{"1338161230":["hashtag1","hashtag2"]},{"1338161224":["hashtag1","hashtag2"]},{"1338161227":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338161243, 1338161237, 1338161222, 1338161230, 1338161224, 1338161227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58600735664368 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:00:03.268184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_49_9697.jpg', 0), ('/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_40_10690.jpg', 0), ('/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_29_9693.jpg', 0), ('/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_19_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_09_10687.jpg', 0), ('/home/nano/Desktop/images/08022025/06/39/image_08022025_06_40_00_10689.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_49_9697.jpg', '/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_40_10690.jpg', '/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_29_9693.jpg', '/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_19_9681.jpg', '/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_09_10687.jpg', '/home/nano/Desktop/images/08022025/06/39/image_08022025_06_40_00_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_49_9697.jpg
/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_40_10690.jpg
/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_29_9693.jpg
/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_19_9681.jpg
/home/nano/Desktop/images/08022025/06/50/image_08022025_06_50_09_10687.jpg
/home/nano/Desktop/images/08022025/06/39/image_08022025_06_40_00_10689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338161286","1338161288","1338161453","1338161293","1338161461","1338161382"],"photo_ids_order":["1338161286","1338161288","1338161293","1338161382","1338161453","1338161461"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d9eac11ebb4f222aac850a0c9d8af1a9.jpg","text":"TemporaryFile(/tmp/multipartBody8233057094984095436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797266912,"filename":"image_08022025_06_50_49_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/606daa2e5d3ef0a51e7ac7a4ed986d17.jpg","text":"TemporaryFile(/tmp/multipartBody1614650446163213365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797266912,"filename":"image_08022025_06_50_40_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28005ed70e3a7901c7fb206ddaf483ab.jpg","text":"TemporaryFile(/tmp/multipartBody6139857713029257770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797266912,"filename":"image_08022025_06_50_09_10687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6053d16b219f8a0984270c36c9e79d86.jpg","text":"TemporaryFile(/tmp/multipartBody20065153219205339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797266912,"filename":"image_08022025_06_50_29_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/43442b641268d1808bfbc5863b255044.jpg","text":"TemporaryFile(/tmp/multipartBody4997763669267512238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797266912,"filename":"image_08022025_06_40_00_10689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c63192731aefc42589cf259787d2150a.jpg","text":"TemporaryFile(/tmp/multipartBody2155462846752891426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797266912,"filename":"image_08022025_06_50_19_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338161293","file1":"1338161288","file0":"1338161286","file4":"1338161453","file5":"1338161461","file3":"1338161382"},"map_files_photo_id_array":[{"photo_id":"1338161461","filename":"file5"},{"photo_id":"1338161293","filename":"file2"},{"photo_id":"1338161453","filename":"file4"},{"photo_id":"1338161288","filename":"file1"},{"photo_id":"1338161286","filename":"file0"},{"photo_id":"1338161382","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338161286":["hashtag1","hashtag2"]},{"1338161288":["hashtag1","hashtag2"]},{"1338161453":["hashtag1","hashtag2"]},{"1338161293":["hashtag1","hashtag2"]},{"1338161461":["hashtag1","hashtag2"]},{"1338161382":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338161286, 1338161288, 1338161453, 1338161293, 1338161461, 1338161382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17943716049194 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:01:02.689430
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_49_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_39_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_29_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_19_9680.jpg', 0), ('/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_09_9711.jpg', 0), ('/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_59_10693.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_49_9681.jpg', '/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_39_9682.jpg', '/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_29_10692.jpg', '/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_19_9680.jpg', '/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_09_9711.jpg', '/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_59_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_49_9681.jpg
/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_39_9682.jpg
/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_29_10692.jpg
/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_19_9680.jpg
/home/nano/Desktop/images/08022025/06/39/image_08022025_06_39_09_9711.jpg
/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_59_10693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338161520","1338161514","1338161523","1338161517","1338161528","1338161533"],"photo_ids_order":["1338161514","1338161517","1338161520","1338161523","1338161528","1338161533"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca876568f3b2d4fa00b86fe42c71de8a.jpg","text":"TemporaryFile(/tmp/multipartBody987898420199876481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797324899,"filename":"image_08022025_06_39_29_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca3a23f9a61d814c41a2f94650ca9500.jpg","text":"TemporaryFile(/tmp/multipartBody8729909587300015356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797324899,"filename":"image_08022025_06_39_49_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/359eb824fbd87f08e0000cb87cb0bb68.jpg","text":"TemporaryFile(/tmp/multipartBody2995098168734473849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797324899,"filename":"image_08022025_06_39_19_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f24aa4458da58fca7b16075f934cec5.jpg","text":"TemporaryFile(/tmp/multipartBody6372914063286805328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797324899,"filename":"image_08022025_06_39_39_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/566fbbc87fc9946efb8aef15913b03bd.jpg","text":"TemporaryFile(/tmp/multipartBody3912397705140872964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797324899,"filename":"image_08022025_06_39_09_9711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b42a43c7f98c3dc46f2333a666a88987.jpg","text":"TemporaryFile(/tmp/multipartBody9001442317175774948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797324899,"filename":"image_08022025_06_38_59_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338161520","file1":"1338161517","file0":"1338161514","file4":"1338161528","file5":"1338161533","file3":"1338161523"},"map_files_photo_id_array":[{"photo_id":"1338161533","filename":"file5"},{"photo_id":"1338161520","filename":"file2"},{"photo_id":"1338161528","filename":"file4"},{"photo_id":"1338161517","filename":"file1"},{"photo_id":"1338161514","filename":"file0"},{"photo_id":"1338161523","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338161520":["hashtag1","hashtag2"]},{"1338161514":["hashtag1","hashtag2"]},{"1338161523":["hashtag1","hashtag2"]},{"1338161517":["hashtag1","hashtag2"]},{"1338161528":["hashtag1","hashtag2"]},{"1338161533":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338161520, 1338161514, 1338161523, 1338161517, 1338161528, 1338161533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.451899766922 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:02:02.663124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_49_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_39_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_29_10691.jpg', 0), ('/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_19_9702.jpg', 0), ('/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_09_9722.jpg', 0), ('/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_59_9683.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_49_9685.jpg', '/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_39_9681.jpg', '/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_29_10691.jpg', '/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_19_9702.jpg', '/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_09_9722.jpg', '/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_59_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_49_9685.jpg
/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_39_9681.jpg
/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_29_10691.jpg
/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_19_9702.jpg
/home/nano/Desktop/images/08022025/06/38/image_08022025_06_38_09_9722.jpg
/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_59_9683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338161781","1338161765","1338161759","1338161756","1338161776","1338161772"],"photo_ids_order":["1338161756","1338161759","1338161765","1338161772","1338161776","1338161781"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b8e9cde335fe72c553cd8537748ba9c.jpg","text":"TemporaryFile(/tmp/multipartBody6748588367712246871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797385305,"filename":"image_08022025_06_27_59_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc501fbca5ca70f24fc4a964bd1f313a.jpg","text":"TemporaryFile(/tmp/multipartBody5423080666049542172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797385305,"filename":"image_08022025_06_38_29_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c5655c7cfd974a952ca1ea560b0886ef.jpg","text":"TemporaryFile(/tmp/multipartBody5579413886933073953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797385305,"filename":"image_08022025_06_38_39_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ccd53a2166512ec09c7cf3c73747842c.jpg","text":"TemporaryFile(/tmp/multipartBody7266839839796858886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797385305,"filename":"image_08022025_06_38_49_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6947759268c8c7013793a2cccc4b9730.jpg","text":"TemporaryFile(/tmp/multipartBody6629314536945072576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797385305,"filename":"image_08022025_06_38_09_9722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9720313835b31c1986c1b6c0f7c7480b.jpg","text":"TemporaryFile(/tmp/multipartBody793098130543549193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797385305,"filename":"image_08022025_06_38_19_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338161765","file1":"1338161759","file0":"1338161756","file4":"1338161776","file5":"1338161781","file3":"1338161772"},"map_files_photo_id_array":[{"photo_id":"1338161781","filename":"file5"},{"photo_id":"1338161765","filename":"file2"},{"photo_id":"1338161776","filename":"file4"},{"photo_id":"1338161759","filename":"file1"},{"photo_id":"1338161756","filename":"file0"},{"photo_id":"1338161772","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338161781":["hashtag1","hashtag2"]},{"1338161765":["hashtag1","hashtag2"]},{"1338161759":["hashtag1","hashtag2"]},{"1338161756":["hashtag1","hashtag2"]},{"1338161776":["hashtag1","hashtag2"]},{"1338161772":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338161781, 1338161765, 1338161759, 1338161756, 1338161776, 1338161772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36311197280884 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:03:02.953590
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_49_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_39_10693.jpg', 0), ('/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_29_9701.jpg', 0), ('/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_19_9679.jpg', 0), ('/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_09_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_59_9680.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_49_9686.jpg', '/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_39_10693.jpg', '/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_29_9701.jpg', '/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_19_9679.jpg', '/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_09_10692.jpg', '/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_59_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_49_9686.jpg
/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_39_10693.jpg
/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_29_9701.jpg
/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_19_9679.jpg
/home/nano/Desktop/images/08022025/06/27/image_08022025_06_27_09_10692.jpg
/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_59_9680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338162120","1338161900","1338161801","1338161797","1338161809","1338161799"],"photo_ids_order":["1338161797","1338161799","1338161801","1338161809","1338161900","1338162120"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1847b287085daeacf87df7d9ec9b753.jpg","text":"TemporaryFile(/tmp/multipartBody547835780337811252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797445215,"filename":"image_08022025_05_46_59_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a7c48cb018adaa7aa8f6d7dfbf9ce2a5.jpg","text":"TemporaryFile(/tmp/multipartBody9067737888627515539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797445215,"filename":"image_08022025_06_27_09_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05bb56479449c611d83c63754abde52a.jpg","text":"TemporaryFile(/tmp/multipartBody7512381879305156469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797445215,"filename":"image_08022025_06_27_29_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efffd9644388b8cd9ce52495a286162b.jpg","text":"TemporaryFile(/tmp/multipartBody3783681255438777603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797445215,"filename":"image_08022025_06_27_49_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/68e6f8b8528f8e2df83c602a56bffb8a.jpg","text":"TemporaryFile(/tmp/multipartBody1796893029754359043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797445215,"filename":"image_08022025_06_27_19_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8352de4c6d738e52e1aa2c3b7bf89cbc.jpg","text":"TemporaryFile(/tmp/multipartBody4746867168354288036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797445215,"filename":"image_08022025_06_27_39_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338161801","file1":"1338161799","file0":"1338161797","file4":"1338161900","file5":"1338162120","file3":"1338161809"},"map_files_photo_id_array":[{"photo_id":"1338162120","filename":"file5"},{"photo_id":"1338161801","filename":"file2"},{"photo_id":"1338161900","filename":"file4"},{"photo_id":"1338161799","filename":"file1"},{"photo_id":"1338161797","filename":"file0"},{"photo_id":"1338161809","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338162120":["hashtag1","hashtag2"]},{"1338161900":["hashtag1","hashtag2"]},{"1338161801":["hashtag1","hashtag2"]},{"1338161797":["hashtag1","hashtag2"]},{"1338161809":["hashtag1","hashtag2"]},{"1338161799":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338162120, 1338161900, 1338161801, 1338161797, 1338161809, 1338161799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10843539237976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:04:03.410346
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_50_10691.jpg', 0), ('/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_39_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_29_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_19_10698.jpg', 0), ('/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_09_9692.jpg', 0), ('/home/nano/Desktop/images/08022025/05/33/image_08022025_05_34_00_10691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_50_10691.jpg', '/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_39_9682.jpg', '/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_29_9684.jpg', '/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_19_10698.jpg', '/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_09_9692.jpg', '/home/nano/Desktop/images/08022025/05/33/image_08022025_05_34_00_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_50_10691.jpg
/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_39_9682.jpg
/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_29_9684.jpg
/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_19_10698.jpg
/home/nano/Desktop/images/08022025/05/46/image_08022025_05_46_09_9692.jpg
/home/nano/Desktop/images/08022025/05/33/image_08022025_05_34_00_10691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338162596","1338162554","1338162592","1338162556","1338162588","1338162505"],"photo_ids_order":["1338162505","1338162554","1338162556","1338162588","1338162592","1338162596"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c5506b1264be844a628bafbbb825a426.jpg","text":"TemporaryFile(/tmp/multipartBody6209301235330670693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797506162,"filename":"image_08022025_05_34_00_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c924ef18e52534bf69b745b3c2be208a.jpg","text":"TemporaryFile(/tmp/multipartBody1535696314444685190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797506162,"filename":"image_08022025_05_46_39_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1059c2742e2b4f342bffaf989b9fe7e.jpg","text":"TemporaryFile(/tmp/multipartBody1036979519811327196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797506162,"filename":"image_08022025_05_46_09_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54cd7e0574ec757c9fba605ab51bb250.jpg","text":"TemporaryFile(/tmp/multipartBody6240201422146458281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797506162,"filename":"image_08022025_05_46_29_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d88efaa8a1262ef89d685188b108459c.jpg","text":"TemporaryFile(/tmp/multipartBody7846196559668562867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797506162,"filename":"image_08022025_05_46_19_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ec3fe4b37ad5f96fee02518d4413488.jpg","text":"TemporaryFile(/tmp/multipartBody770745556633214431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797506162,"filename":"image_08022025_05_46_50_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338162556","file1":"1338162554","file0":"1338162505","file4":"1338162592","file5":"1338162596","file3":"1338162588"},"map_files_photo_id_array":[{"photo_id":"1338162596","filename":"file5"},{"photo_id":"1338162556","filename":"file2"},{"photo_id":"1338162592","filename":"file4"},{"photo_id":"1338162554","filename":"file1"},{"photo_id":"1338162505","filename":"file0"},{"photo_id":"1338162588","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338162596":["hashtag1","hashtag2"]},{"1338162554":["hashtag1","hashtag2"]},{"1338162592":["hashtag1","hashtag2"]},{"1338162556":["hashtag1","hashtag2"]},{"1338162588":["hashtag1","hashtag2"]},{"1338162505":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338162596, 1338162554, 1338162592, 1338162556, 1338162588, 1338162505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96681213378906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:05:03.246055
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_49_9687.jpg', 0), ('/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_39_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_29_10694.jpg', 0), ('/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_19_9680.jpg', 0), ('/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_09_9690.jpg', 0), ('/home/nano/Desktop/images/08022025/05/26/image_08022025_05_27_00_10691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_49_9687.jpg', '/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_39_9683.jpg', '/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_29_10694.jpg', '/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_19_9680.jpg', '/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_09_9690.jpg', '/home/nano/Desktop/images/08022025/05/26/image_08022025_05_27_00_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_49_9687.jpg
/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_39_9683.jpg
/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_29_10694.jpg
/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_19_9680.jpg
/home/nano/Desktop/images/08022025/05/33/image_08022025_05_33_09_9690.jpg
/home/nano/Desktop/images/08022025/05/26/image_08022025_05_27_00_10691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338162791","1338162645","1338162836","1338162647","1338162803","1338162793"],"photo_ids_order":["1338162645","1338162647","1338162791","1338162793","1338162803","1338162836"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb5fa5a9169ddc5c1af48df9d53f1152.jpg","text":"TemporaryFile(/tmp/multipartBody1439212249880501866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797565839,"filename":"image_08022025_05_33_29_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80c2e87d1b379f48d0aea2c5cf79c4a6.jpg","text":"TemporaryFile(/tmp/multipartBody567979890700198785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797565839,"filename":"image_08022025_05_33_49_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4442423e98bc8556e307aaa2fa59e573.jpg","text":"TemporaryFile(/tmp/multipartBody9060657994521034473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797565839,"filename":"image_08022025_05_27_00_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f14eed300dbefc9a623c0ad14b3e46f5.jpg","text":"TemporaryFile(/tmp/multipartBody3535833827556601369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797565839,"filename":"image_08022025_05_33_39_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf013b95ebb8f27876c4b6a1d074f026.jpg","text":"TemporaryFile(/tmp/multipartBody4167784233749495802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797565839,"filename":"image_08022025_05_33_09_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/812f00c0aea05d0ad4a8d2414a2178f6.jpg","text":"TemporaryFile(/tmp/multipartBody8030313368614241710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797565839,"filename":"image_08022025_05_33_19_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338162791","file1":"1338162647","file0":"1338162645","file4":"1338162803","file5":"1338162836","file3":"1338162793"},"map_files_photo_id_array":[{"photo_id":"1338162836","filename":"file5"},{"photo_id":"1338162791","filename":"file2"},{"photo_id":"1338162803","filename":"file4"},{"photo_id":"1338162647","filename":"file1"},{"photo_id":"1338162645","filename":"file0"},{"photo_id":"1338162793","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338162791":["hashtag1","hashtag2"]},{"1338162645":["hashtag1","hashtag2"]},{"1338162836":["hashtag1","hashtag2"]},{"1338162647":["hashtag1","hashtag2"]},{"1338162803":["hashtag1","hashtag2"]},{"1338162793":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338162791, 1338162645, 1338162836, 1338162647, 1338162803, 1338162793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.799198627471924 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:06:03.325299
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_49_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_39_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_29_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_19_9698.jpg', 0), ('/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_09_9696.jpg', 0), ('/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_59_9700.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_49_9685.jpg', '/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_39_9683.jpg', '/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_29_10692.jpg', '/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_19_9698.jpg', '/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_09_9696.jpg', '/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_59_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_49_9685.jpg
/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_39_9683.jpg
/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_29_10692.jpg
/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_19_9698.jpg
/home/nano/Desktop/images/08022025/05/26/image_08022025_05_26_09_9696.jpg
/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_59_9700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338162923","1338162911","1338162914","1338162928","1338162916","1338162913"],"photo_ids_order":["1338162911","1338162913","1338162914","1338162916","1338162923","1338162928"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03e8b674e1c3543680ca5e7de3866a4e.jpg","text":"TemporaryFile(/tmp/multipartBody8276937255746950360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797626622,"filename":"image_08022025_05_26_09_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97482e9e6a7cdc1223c33f8744a2200c.jpg","text":"TemporaryFile(/tmp/multipartBody1092996347029243351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797626622,"filename":"image_08022025_05_26_49_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1a91856b448de1ce82f7e10392c0315f.jpg","text":"TemporaryFile(/tmp/multipartBody2112813336273611884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797626622,"filename":"image_08022025_05_26_29_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc6145d06798d6f11327a5d2575ecf2b.jpg","text":"TemporaryFile(/tmp/multipartBody4304093189899466040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797626622,"filename":"image_08022025_04_58_59_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92a64831e593bf5bc4f8f3212aacef19.jpg","text":"TemporaryFile(/tmp/multipartBody6890020526000719357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797626622,"filename":"image_08022025_05_26_19_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/616cf1c045af272daabe89d250808418.jpg","text":"TemporaryFile(/tmp/multipartBody870348752892399203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797626622,"filename":"image_08022025_05_26_39_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338162914","file1":"1338162913","file0":"1338162911","file4":"1338162923","file5":"1338162928","file3":"1338162916"},"map_files_photo_id_array":[{"photo_id":"1338162928","filename":"file5"},{"photo_id":"1338162914","filename":"file2"},{"photo_id":"1338162923","filename":"file4"},{"photo_id":"1338162913","filename":"file1"},{"photo_id":"1338162911","filename":"file0"},{"photo_id":"1338162916","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338162923":["hashtag1","hashtag2"]},{"1338162911":["hashtag1","hashtag2"]},{"1338162914":["hashtag1","hashtag2"]},{"1338162928":["hashtag1","hashtag2"]},{"1338162916":["hashtag1","hashtag2"]},{"1338162913":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338162923, 1338162911, 1338162914, 1338162928, 1338162916, 1338162913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02292585372925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:07:02.634357
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_49_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_39_10690.jpg', 0), ('/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_29_9680.jpg', 0), ('/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_19_9691.jpg', 0), ('/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_09_10714.jpg', 0), ('/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_59_9702.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_49_9682.jpg', '/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_39_10690.jpg', '/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_29_9680.jpg', '/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_19_9691.jpg', '/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_09_10714.jpg', '/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_59_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_49_9682.jpg
/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_39_10690.jpg
/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_29_9680.jpg
/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_19_9691.jpg
/home/nano/Desktop/images/08022025/04/58/image_08022025_04_58_09_10714.jpg
/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_59_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338162962","1338162970","1338162964","1338162961","1338162966","1338162960"],"photo_ids_order":["1338162960","1338162961","1338162962","1338162964","1338162966","1338162970"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b236a6f11e362bdc4dd5e31c326c07a.jpg","text":"TemporaryFile(/tmp/multipartBody632200028793217599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797685490,"filename":"image_08022025_04_58_29_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d06ee4a9f0d751fef46eab3dabccf193.jpg","text":"TemporaryFile(/tmp/multipartBody6420067952243028624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797685490,"filename":"image_08022025_04_45_59_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd6abf8d0747946d0c8a94007fd59e46.jpg","text":"TemporaryFile(/tmp/multipartBody74485846545426951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797685490,"filename":"image_08022025_04_58_19_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e2054092a0a783c2472e5a14507c9b4.jpg","text":"TemporaryFile(/tmp/multipartBody5629050620043103069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797685490,"filename":"image_08022025_04_58_39_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/51dcab8faf329b660a6f0c213d0d0f70.jpg","text":"TemporaryFile(/tmp/multipartBody61772676715419642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797685490,"filename":"image_08022025_04_58_09_10714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c55e17d42d7e475df0ee41ae097aac99.jpg","text":"TemporaryFile(/tmp/multipartBody1211318092362399365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797685490,"filename":"image_08022025_04_58_49_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338162962","file1":"1338162961","file0":"1338162960","file4":"1338162966","file5":"1338162970","file3":"1338162964"},"map_files_photo_id_array":[{"photo_id":"1338162970","filename":"file5"},{"photo_id":"1338162962","filename":"file2"},{"photo_id":"1338162966","filename":"file4"},{"photo_id":"1338162961","filename":"file1"},{"photo_id":"1338162960","filename":"file0"},{"photo_id":"1338162964","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338162962":["hashtag1","hashtag2"]},{"1338162970":["hashtag1","hashtag2"]},{"1338162964":["hashtag1","hashtag2"]},{"1338162961":["hashtag1","hashtag2"]},{"1338162966":["hashtag1","hashtag2"]},{"1338162960":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338162962, 1338162970, 1338162964, 1338162961, 1338162966, 1338162960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31965947151184 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:08:02.518779
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_49_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_40_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_29_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_19_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_09_10697.jpg', 0), ('/home/nano/Desktop/images/08022025/04/42/image_08022025_04_43_00_10694.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_49_9684.jpg', '/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_40_10692.jpg', '/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_29_9681.jpg', '/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_19_9685.jpg', '/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_09_10697.jpg', '/home/nano/Desktop/images/08022025/04/42/image_08022025_04_43_00_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_49_9684.jpg
/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_40_10692.jpg
/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_29_9681.jpg
/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_19_9685.jpg
/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_09_10697.jpg
/home/nano/Desktop/images/08022025/04/42/image_08022025_04_43_00_10694.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6517534255981445 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:08:32.038185
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_49_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_40_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_29_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_19_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_09_10697.jpg', 0), ('/home/nano/Desktop/images/08022025/04/42/image_08022025_04_43_00_10694.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_49_9684.jpg', '/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_40_10692.jpg', '/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_29_9681.jpg', '/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_19_9685.jpg', '/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_09_10697.jpg', '/home/nano/Desktop/images/08022025/04/42/image_08022025_04_43_00_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_49_9684.jpg
/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_40_10692.jpg
/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_29_9681.jpg
/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_19_9685.jpg
/home/nano/Desktop/images/08022025/04/45/image_08022025_04_45_09_10697.jpg
/home/nano/Desktop/images/08022025/04/42/image_08022025_04_43_00_10694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338163331","1338163471","1338163396","1338163534","1338163537","1338163536"],"photo_ids_order":["1338163331","1338163396","1338163471","1338163534","1338163536","1338163537"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5fc89f2bf1062a937ee2ba81ef8e6f92.jpg","text":"TemporaryFile(/tmp/multipartBody8901811686901777879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797774454,"filename":"image_08022025_04_45_49_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/584d7fb98eeb286fc9c1605d726e020b.jpg","text":"TemporaryFile(/tmp/multipartBody1605429636750611995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797774454,"filename":"image_08022025_04_45_29_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c98eb8b12ba75374721d43502b3efedd.jpg","text":"TemporaryFile(/tmp/multipartBody2537630191136675696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797774454,"filename":"image_08022025_04_45_40_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc193fae9a9e1e219fa65418841b0c42.jpg","text":"TemporaryFile(/tmp/multipartBody1332366246143789294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797774454,"filename":"image_08022025_04_45_19_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/183631ec31651c1231d86701d3fbb3d4.jpg","text":"TemporaryFile(/tmp/multipartBody3817986662163448137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797774454,"filename":"image_08022025_04_43_00_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98385dc23c59908f43475045858bf862.jpg","text":"TemporaryFile(/tmp/multipartBody6029538192130631755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797774454,"filename":"image_08022025_04_45_09_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338163471","file1":"1338163396","file0":"1338163331","file4":"1338163536","file5":"1338163537","file3":"1338163534"},"map_files_photo_id_array":[{"photo_id":"1338163537","filename":"file5"},{"photo_id":"1338163471","filename":"file2"},{"photo_id":"1338163536","filename":"file4"},{"photo_id":"1338163396","filename":"file1"},{"photo_id":"1338163331","filename":"file0"},{"photo_id":"1338163534","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338163331":["hashtag1","hashtag2"]},{"1338163471":["hashtag1","hashtag2"]},{"1338163396":["hashtag1","hashtag2"]},{"1338163534":["hashtag1","hashtag2"]},{"1338163537":["hashtag1","hashtag2"]},{"1338163536":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338163331, 1338163471, 1338163396, 1338163534, 1338163537, 1338163536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86733412742615 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:09:32.196649
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_49_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_39_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_29_10694.jpg', 0), ('/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_19_9698.jpg', 0), ('/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_09_9699.jpg', 0), ('/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_59_10693.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_49_9685.jpg', '/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_39_9683.jpg', '/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_29_10694.jpg', '/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_19_9698.jpg', '/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_09_9699.jpg', '/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_59_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_49_9685.jpg
/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_39_9683.jpg
/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_29_10694.jpg
/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_19_9698.jpg
/home/nano/Desktop/images/08022025/04/42/image_08022025_04_42_09_9699.jpg
/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_59_10693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338163675","1338163741","1338163773","1338163689","1338163746","1338163668"],"photo_ids_order":["1338163668","1338163675","1338163689","1338163741","1338163746","1338163773"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae1e743a9de04dc80ab7d823f10d49a3.jpg","text":"TemporaryFile(/tmp/multipartBody4391380234895383392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797833701,"filename":"image_08022025_04_42_39_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a1e0e86b3364514e663704d8c44a93f9.jpg","text":"TemporaryFile(/tmp/multipartBody6463466688180478446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797833701,"filename":"image_08022025_04_42_19_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca05750acf6e6de2ccfdf1eb368a9391.jpg","text":"TemporaryFile(/tmp/multipartBody5393831968708044796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797833701,"filename":"image_08022025_04_41_59_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e675b74f6dd557bd6a38bb4350cb1024.jpg","text":"TemporaryFile(/tmp/multipartBody8134313120438979554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797833701,"filename":"image_08022025_04_42_29_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a55d130b98ef40e029e6366c6d79143.jpg","text":"TemporaryFile(/tmp/multipartBody2971517396437332844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797833701,"filename":"image_08022025_04_42_09_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bd56f38e7282073f54ccd5308c7cfa7d.jpg","text":"TemporaryFile(/tmp/multipartBody3349709304081961469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797833701,"filename":"image_08022025_04_42_49_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338163689","file1":"1338163675","file0":"1338163668","file4":"1338163746","file5":"1338163773","file3":"1338163741"},"map_files_photo_id_array":[{"photo_id":"1338163773","filename":"file5"},{"photo_id":"1338163689","filename":"file2"},{"photo_id":"1338163746","filename":"file4"},{"photo_id":"1338163675","filename":"file1"},{"photo_id":"1338163668","filename":"file0"},{"photo_id":"1338163741","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338163675":["hashtag1","hashtag2"]},{"1338163741":["hashtag1","hashtag2"]},{"1338163773":["hashtag1","hashtag2"]},{"1338163689":["hashtag1","hashtag2"]},{"1338163746":["hashtag1","hashtag2"]},{"1338163668":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338163675, 1338163741, 1338163773, 1338163689, 1338163746, 1338163668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31306719779968 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:10:32.342536
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_49_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_39_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_29_10694.jpg', 0), ('/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_19_9687.jpg', 0), ('/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_09_9699.jpg', 0), ('/home/nano/Desktop/images/08022025/03/53/image_08022025_03_54_00_10692.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_49_9683.jpg', '/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_39_9686.jpg', '/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_29_10694.jpg', '/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_19_9687.jpg', '/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_09_9699.jpg', '/home/nano/Desktop/images/08022025/03/53/image_08022025_03_54_00_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_49_9683.jpg
/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_39_9686.jpg
/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_29_10694.jpg
/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_19_9687.jpg
/home/nano/Desktop/images/08022025/04/41/image_08022025_04_41_09_9699.jpg
/home/nano/Desktop/images/08022025/03/53/image_08022025_03_54_00_10692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338163829","1338163820","1338163814","1338163831","1338163824","1338163806"],"photo_ids_order":["1338163806","1338163814","1338163820","1338163824","1338163829","1338163831"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d2216a2c758bd1648f56ec9da834240.jpg","text":"TemporaryFile(/tmp/multipartBody6548670657809651021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797894815,"filename":"image_08022025_04_41_09_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/565c7094e8fb0dd9a48c640961891469.jpg","text":"TemporaryFile(/tmp/multipartBody4270146908915032980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797894815,"filename":"image_08022025_04_41_29_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fabb9dec306874b228c81bb35678dc4e.jpg","text":"TemporaryFile(/tmp/multipartBody405918689606027556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797894815,"filename":"image_08022025_04_41_39_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e0a2e4498df400da7f2a95001b0d1f5.jpg","text":"TemporaryFile(/tmp/multipartBody3630177165839285731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797894815,"filename":"image_08022025_03_54_00_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2080641cd7b708941a121b7ae2fa7651.jpg","text":"TemporaryFile(/tmp/multipartBody8473347708915759650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797894815,"filename":"image_08022025_04_41_19_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9dcc33732f98a43fdd3366c1a57cca3f.jpg","text":"TemporaryFile(/tmp/multipartBody3192798040042845353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797894815,"filename":"image_08022025_04_41_49_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338163820","file1":"1338163814","file0":"1338163806","file4":"1338163829","file5":"1338163831","file3":"1338163824"},"map_files_photo_id_array":[{"photo_id":"1338163831","filename":"file5"},{"photo_id":"1338163820","filename":"file2"},{"photo_id":"1338163829","filename":"file4"},{"photo_id":"1338163814","filename":"file1"},{"photo_id":"1338163806","filename":"file0"},{"photo_id":"1338163824","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338163829":["hashtag1","hashtag2"]},{"1338163820":["hashtag1","hashtag2"]},{"1338163814":["hashtag1","hashtag2"]},{"1338163831":["hashtag1","hashtag2"]},{"1338163824":["hashtag1","hashtag2"]},{"1338163806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338163829, 1338163820, 1338163814, 1338163831, 1338163824, 1338163806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.539570569992065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:11:32.486573
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_49_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_39_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_30_10691.jpg', 0), ('/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_19_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_09_9703.jpg', 0), ('/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_59_9682.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_49_9683.jpg', '/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_39_9681.jpg', '/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_30_10691.jpg', '/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_19_9683.jpg', '/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_09_9703.jpg', '/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_59_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_49_9683.jpg
/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_39_9681.jpg
/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_30_10691.jpg
/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_19_9683.jpg
/home/nano/Desktop/images/08022025/03/53/image_08022025_03_53_09_9703.jpg
/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_59_9682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338163856","1338163859","1338163861","1338163852","1338163845","1338163848"],"photo_ids_order":["1338163845","1338163848","1338163852","1338163856","1338163859","1338163861"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/35223b211e42be3db53ec4cb109540c6.jpg","text":"TemporaryFile(/tmp/multipartBody1276216302151902822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797956232,"filename":"image_08022025_03_53_19_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1284f3048ab4f489de07d0716e34d06.jpg","text":"TemporaryFile(/tmp/multipartBody8664641735771202775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797956232,"filename":"image_08022025_03_53_09_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ff637da23ddde8da855725a4967281f.jpg","text":"TemporaryFile(/tmp/multipartBody4606925981877607612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797956232,"filename":"image_08022025_03_20_59_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ed80d096e25c9a89fc8b7aa9d967241.jpg","text":"TemporaryFile(/tmp/multipartBody4248540218725384330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797956232,"filename":"image_08022025_03_53_30_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88a4947283c85ea020242590a94c0fc8.jpg","text":"TemporaryFile(/tmp/multipartBody7723743317691574560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797956232,"filename":"image_08022025_03_53_49_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc52af7d1f8a809f6e76813e2b781b10.jpg","text":"TemporaryFile(/tmp/multipartBody6151773103127098306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739797956232,"filename":"image_08022025_03_53_39_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338163852","file1":"1338163848","file0":"1338163845","file4":"1338163859","file5":"1338163861","file3":"1338163856"},"map_files_photo_id_array":[{"photo_id":"1338163861","filename":"file5"},{"photo_id":"1338163852","filename":"file2"},{"photo_id":"1338163859","filename":"file4"},{"photo_id":"1338163848","filename":"file1"},{"photo_id":"1338163845","filename":"file0"},{"photo_id":"1338163856","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338163856":["hashtag1","hashtag2"]},{"1338163859":["hashtag1","hashtag2"]},{"1338163861":["hashtag1","hashtag2"]},{"1338163852":["hashtag1","hashtag2"]},{"1338163845":["hashtag1","hashtag2"]},{"1338163848":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338163856, 1338163859, 1338163861, 1338163852, 1338163845, 1338163848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82607674598694 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:12:32.639446
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_49_10693.jpg', 0), ('/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_39_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_29_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_19_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_10_10693.jpg', 0), ('/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_59_9679.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_49_10693.jpg', '/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_39_9683.jpg', '/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_29_9682.jpg', '/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_19_9683.jpg', '/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_10_10693.jpg', '/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_59_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_49_10693.jpg
/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_39_9683.jpg
/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_29_9682.jpg
/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_19_9683.jpg
/home/nano/Desktop/images/08022025/03/20/image_08022025_03_20_10_10693.jpg
/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_59_9679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338163895","1338163888","1338163899","1338163903","1338163884","1338163892"],"photo_ids_order":["1338163884","1338163888","1338163892","1338163895","1338163899","1338163903"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19f514cd9c3442cb247f54c8263eb21a.jpg","text":"TemporaryFile(/tmp/multipartBody4631148422577138762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798014401,"filename":"image_08022025_03_20_19_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60063692502a235d8b6e2a0d9fb44510.jpg","text":"TemporaryFile(/tmp/multipartBody51321721404635641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798014401,"filename":"image_08022025_03_20_39_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/457b582051f45dcbb16b92da62e95fec.jpg","text":"TemporaryFile(/tmp/multipartBody1123351792946687650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798014401,"filename":"image_08022025_03_20_10_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c5a27039830e6d9862258d82f6a40073.jpg","text":"TemporaryFile(/tmp/multipartBody4002756608074604395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798014401,"filename":"image_08022025_03_13_59_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed981be0c6878ad2ab9bec7a0f481246.jpg","text":"TemporaryFile(/tmp/multipartBody5179090779047483919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798014401,"filename":"image_08022025_03_20_49_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28ff0c7060d20a706f9c02626a79e8f5.jpg","text":"TemporaryFile(/tmp/multipartBody3343008758111781221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798014401,"filename":"image_08022025_03_20_29_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338163892","file1":"1338163888","file0":"1338163884","file4":"1338163899","file5":"1338163903","file3":"1338163895"},"map_files_photo_id_array":[{"photo_id":"1338163903","filename":"file5"},{"photo_id":"1338163892","filename":"file2"},{"photo_id":"1338163899","filename":"file4"},{"photo_id":"1338163888","filename":"file1"},{"photo_id":"1338163884","filename":"file0"},{"photo_id":"1338163895","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338163895":["hashtag1","hashtag2"]},{"1338163888":["hashtag1","hashtag2"]},{"1338163899":["hashtag1","hashtag2"]},{"1338163903":["hashtag1","hashtag2"]},{"1338163884":["hashtag1","hashtag2"]},{"1338163892":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338163895, 1338163888, 1338163899, 1338163903, 1338163884, 1338163892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.443602085113525 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:13:32.770017
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_49_10688.jpg', 0), ('/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_39_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_29_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_19_10690.jpg', 0), ('/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_09_9694.jpg', 0), ('/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_59_9682.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_49_10688.jpg', '/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_39_9681.jpg', '/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_29_9683.jpg', '/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_19_10690.jpg', '/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_09_9694.jpg', '/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_59_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_49_10688.jpg
/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_39_9681.jpg
/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_29_9683.jpg
/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_19_10690.jpg
/home/nano/Desktop/images/08022025/03/13/image_08022025_03_13_09_9694.jpg
/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_59_9682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338163934","1338163922","1338163927","1338163941","1338163944","1338163938"],"photo_ids_order":["1338163922","1338163927","1338163934","1338163938","1338163941","1338163944"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/baa5cdf607cdf5dad55783ccf83589c1.jpg","text":"TemporaryFile(/tmp/multipartBody7186936170546597414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798075462,"filename":"image_08022025_03_13_29_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78a6ef8f1f087c0dbc580dd81ad2016a.jpg","text":"TemporaryFile(/tmp/multipartBody8832035824952692176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798075462,"filename":"image_08022025_03_13_49_10688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31ccd87c4da6a9ce19ed8b000903242e.jpg","text":"TemporaryFile(/tmp/multipartBody8132869639316554449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798075462,"filename":"image_08022025_03_13_39_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc9f742e9796fa652f1bffac570dd5af.jpg","text":"TemporaryFile(/tmp/multipartBody863704614678604315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798075462,"filename":"image_08022025_03_13_09_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a333d4a9505fc9d4e2d4932b7313159.jpg","text":"TemporaryFile(/tmp/multipartBody1770407974711882421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798075462,"filename":"image_08022025_02_58_59_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a2fd5a4b07bb7f26da9d9303155f16b.jpg","text":"TemporaryFile(/tmp/multipartBody8187448704163945360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798075462,"filename":"image_08022025_03_13_19_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338163934","file1":"1338163927","file0":"1338163922","file4":"1338163941","file5":"1338163944","file3":"1338163938"},"map_files_photo_id_array":[{"photo_id":"1338163944","filename":"file5"},{"photo_id":"1338163934","filename":"file2"},{"photo_id":"1338163941","filename":"file4"},{"photo_id":"1338163927","filename":"file1"},{"photo_id":"1338163922","filename":"file0"},{"photo_id":"1338163938","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338163934":["hashtag1","hashtag2"]},{"1338163922":["hashtag1","hashtag2"]},{"1338163927":["hashtag1","hashtag2"]},{"1338163941":["hashtag1","hashtag2"]},{"1338163944":["hashtag1","hashtag2"]},{"1338163938":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338163934, 1338163922, 1338163927, 1338163941, 1338163944, 1338163938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76998734474182 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:14:31.927137
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_49_10690.jpg', 0), ('/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_39_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_29_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_19_10693.jpg', 0), ('/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_09_9695.jpg', 0), ('/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_59_9682.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_49_10690.jpg', '/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_39_9683.jpg', '/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_29_9683.jpg', '/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_19_10693.jpg', '/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_09_9695.jpg', '/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_59_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_49_10690.jpg
/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_39_9683.jpg
/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_29_9683.jpg
/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_19_10693.jpg
/home/nano/Desktop/images/08022025/02/58/image_08022025_02_58_09_9695.jpg
/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_59_9682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338163981","1338163978","1338163963","1338163971","1338163974","1338163968"],"photo_ids_order":["1338163963","1338163968","1338163971","1338163974","1338163978","1338163981"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d963ba1bd524dd7fa22d5b3b9164250e.jpg","text":"TemporaryFile(/tmp/multipartBody1270325984036578247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798134285,"filename":"image_08022025_02_57_59_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58eb1be4fbd44bab5d6c2a7750b4e6be.jpg","text":"TemporaryFile(/tmp/multipartBody7283986001383343646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798134285,"filename":"image_08022025_02_58_09_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ad3178ef35743dbf81a3fbc2f295555.jpg","text":"TemporaryFile(/tmp/multipartBody9206164575216057237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798134285,"filename":"image_08022025_02_58_49_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e6e30d2d64deb2c76ae7643972ddd182.jpg","text":"TemporaryFile(/tmp/multipartBody730849061409445171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798134285,"filename":"image_08022025_02_58_29_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40a069c6c051fea2c83c1ce6d2eee884.jpg","text":"TemporaryFile(/tmp/multipartBody3603937626356145086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798134285,"filename":"image_08022025_02_58_19_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a8a235aa8d3c68128539f37b1daf0e74.jpg","text":"TemporaryFile(/tmp/multipartBody2171811221488544675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798134285,"filename":"image_08022025_02_58_39_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338163971","file1":"1338163968","file0":"1338163963","file4":"1338163978","file5":"1338163981","file3":"1338163974"},"map_files_photo_id_array":[{"photo_id":"1338163981","filename":"file5"},{"photo_id":"1338163971","filename":"file2"},{"photo_id":"1338163978","filename":"file4"},{"photo_id":"1338163968","filename":"file1"},{"photo_id":"1338163963","filename":"file0"},{"photo_id":"1338163974","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338163981":["hashtag1","hashtag2"]},{"1338163978":["hashtag1","hashtag2"]},{"1338163963":["hashtag1","hashtag2"]},{"1338163971":["hashtag1","hashtag2"]},{"1338163974":["hashtag1","hashtag2"]},{"1338163968":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338163981, 1338163978, 1338163963, 1338163971, 1338163974, 1338163968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96056032180786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:15:32.075685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_49_9699.jpg', 0), ('/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_40_10691.jpg', 0), ('/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_29_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_19_9685.jpg', 0), ('/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_10_10689.jpg', 0), ('/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_59_9685.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_49_9699.jpg', '/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_40_10691.jpg', '/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_29_9682.jpg', '/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_19_9685.jpg', '/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_10_10689.jpg', '/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_59_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_49_9699.jpg
/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_40_10691.jpg
/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_29_9682.jpg
/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_19_9685.jpg
/home/nano/Desktop/images/08022025/02/57/image_08022025_02_57_10_10689.jpg
/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_59_9685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338164030","1338164040","1338164043","1338164037","1338164025","1338164033"],"photo_ids_order":["1338164025","1338164030","1338164033","1338164037","1338164040","1338164043"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af4bc67bcc664ab03c1ea3fa92dc5f5c.jpg","text":"TemporaryFile(/tmp/multipartBody3517167842170964260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798195044,"filename":"image_08022025_02_57_40_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd72618481f68acb3e84b35ea07acff6.jpg","text":"TemporaryFile(/tmp/multipartBody3342588267047876254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798195044,"filename":"image_08022025_02_57_10_10689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90c2b6f07af19a745e781c1d3c42282a.jpg","text":"TemporaryFile(/tmp/multipartBody5239960304959066388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798195044,"filename":"image_08022025_02_40_59_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50e2c733c7c8ef6f5eac13fd12fef737.jpg","text":"TemporaryFile(/tmp/multipartBody7152233184167448485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798195044,"filename":"image_08022025_02_57_19_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac833cfe2c547d0dc7bca7f01a7b0c80.jpg","text":"TemporaryFile(/tmp/multipartBody6487188027193965716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798195044,"filename":"image_08022025_02_57_49_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/428e2d99ae8f94925b82a1ac0013fe6a.jpg","text":"TemporaryFile(/tmp/multipartBody6120321420765298805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739798195044,"filename":"image_08022025_02_57_29_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338164033","file1":"1338164030","file0":"1338164025","file4":"1338164040","file5":"1338164043","file3":"1338164037"},"map_files_photo_id_array":[{"photo_id":"1338164043","filename":"file5"},{"photo_id":"1338164033","filename":"file2"},{"photo_id":"1338164040","filename":"file4"},{"photo_id":"1338164030","filename":"file1"},{"photo_id":"1338164025","filename":"file0"},{"photo_id":"1338164037","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338164030":["hashtag1","hashtag2"]},{"1338164040":["hashtag1","hashtag2"]},{"1338164043":["hashtag1","hashtag2"]},{"1338164037":["hashtag1","hashtag2"]},{"1338164025":["hashtag1","hashtag2"]},{"1338164033":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338164030, 1338164040, 1338164043, 1338164037, 1338164025, 1338164033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.142743825912476 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:16:32.229677
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_49_9687.jpg', 0), ('/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_39_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_29_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_19_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_09_9717.jpg', 0), ('/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_59_10697.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_49_9687.jpg', '/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_39_10692.jpg', '/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_29_9686.jpg', '/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_19_9682.jpg', '/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_09_9717.jpg', '/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_59_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_49_9687.jpg
/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_39_10692.jpg
/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_29_9686.jpg
/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_19_9682.jpg
/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_09_9717.jpg
/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_59_10697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 14:59:02.592544
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_49_9687.jpg', 0), ('/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_39_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_29_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_19_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_09_9717.jpg', 0), ('/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_59_10697.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_49_9687.jpg', '/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_39_10692.jpg', '/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_29_9686.jpg', '/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_19_9682.jpg', '/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_09_9717.jpg', '/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_59_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_49_9687.jpg
/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_39_10692.jpg
/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_29_9686.jpg
/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_19_9682.jpg
/home/nano/Desktop/images/08022025/02/40/image_08022025_02_40_09_9717.jpg
/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_59_10697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338169195","1338169198","1338169204","1338169201","1338169191","1338169188"],"photo_ids_order":["1338169188","1338169191","1338169195","1338169198","1338169201","1338169204"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bcd9f9b3ac638dd73b9a79c429342f12.jpg","text":"TemporaryFile(/tmp/multipartBody3147122261767761233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800804417,"filename":"image_08022025_02_40_29_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2c41dc1dec62ee7f59e5f9961d9ebd1.jpg","text":"TemporaryFile(/tmp/multipartBody8438401162845310150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800804417,"filename":"image_08022025_02_40_19_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e1aa9bf661ad45f9ba84db2ec5b44cdf.jpg","text":"TemporaryFile(/tmp/multipartBody3038177993462942057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800804417,"filename":"image_08022025_01_57_59_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6dbd1cb9a38be2ede3a8228037d0aa6.jpg","text":"TemporaryFile(/tmp/multipartBody1247356470641470636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800804417,"filename":"image_08022025_02_40_09_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6da1708a62bc62678b055651fd574145.jpg","text":"TemporaryFile(/tmp/multipartBody4570445461170990370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800804417,"filename":"image_08022025_02_40_39_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76ceb2f178eef48cda55895694088539.jpg","text":"TemporaryFile(/tmp/multipartBody7904104535603851568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800804417,"filename":"image_08022025_02_40_49_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338169195","file1":"1338169191","file0":"1338169188","file4":"1338169201","file5":"1338169204","file3":"1338169198"},"map_files_photo_id_array":[{"photo_id":"1338169204","filename":"file5"},{"photo_id":"1338169195","filename":"file2"},{"photo_id":"1338169201","filename":"file4"},{"photo_id":"1338169191","filename":"file1"},{"photo_id":"1338169188","filename":"file0"},{"photo_id":"1338169198","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338169195":["hashtag1","hashtag2"]},{"1338169198":["hashtag1","hashtag2"]},{"1338169204":["hashtag1","hashtag2"]},{"1338169201":["hashtag1","hashtag2"]},{"1338169191":["hashtag1","hashtag2"]},{"1338169188":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338169195, 1338169198, 1338169204, 1338169201, 1338169191, 1338169188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.054375648498535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:00:02.287438
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_49_9700.jpg', 0), ('/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_39_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_29_10691.jpg', 0), ('/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_19_9683.jpg', 0), ('/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_09_9710.jpg', 0), ('/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_59_9684.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_49_9700.jpg', '/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_39_9681.jpg', '/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_29_10691.jpg', '/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_19_9683.jpg', '/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_09_9710.jpg', '/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_59_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_49_9700.jpg
/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_39_9681.jpg
/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_29_10691.jpg
/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_19_9683.jpg
/home/nano/Desktop/images/08022025/01/57/image_08022025_01_57_09_9710.jpg
/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_59_9684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338169235","1338169237","1338169233","1338169236","1338169239","1338169230"],"photo_ids_order":["1338169230","1338169233","1338169235","1338169236","1338169237","1338169239"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/914af917ffa7cd6110039fb00f46f90d.jpg","text":"TemporaryFile(/tmp/multipartBody2337008396030995697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800864294,"filename":"image_08022025_01_57_29_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be39956a6892c4c32c16ee49f5b1d45a.jpg","text":"TemporaryFile(/tmp/multipartBody5589421923072816108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800864294,"filename":"image_08022025_01_57_09_9710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e85a4e9b1866c61a4e3ab455cfb82576.jpg","text":"TemporaryFile(/tmp/multipartBody561707044399627126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800864294,"filename":"image_08022025_01_57_39_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3415bd90ff42f73dc6f6aca74d22d0f.jpg","text":"TemporaryFile(/tmp/multipartBody5296951317724637033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800864294,"filename":"image_08022025_01_57_19_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac46a3c1785370dd565640c3174543d5.jpg","text":"TemporaryFile(/tmp/multipartBody5743298012130206718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800864294,"filename":"image_08022025_01_49_59_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f33dd1702dd2bbf2fbab1c2266c04dc6.jpg","text":"TemporaryFile(/tmp/multipartBody5657958131483128812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800864294,"filename":"image_08022025_01_57_49_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338169235","file1":"1338169233","file0":"1338169230","file4":"1338169237","file5":"1338169239","file3":"1338169236"},"map_files_photo_id_array":[{"photo_id":"1338169239","filename":"file5"},{"photo_id":"1338169235","filename":"file2"},{"photo_id":"1338169237","filename":"file4"},{"photo_id":"1338169233","filename":"file1"},{"photo_id":"1338169230","filename":"file0"},{"photo_id":"1338169236","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338169235":["hashtag1","hashtag2"]},{"1338169237":["hashtag1","hashtag2"]},{"1338169233":["hashtag1","hashtag2"]},{"1338169236":["hashtag1","hashtag2"]},{"1338169239":["hashtag1","hashtag2"]},{"1338169230":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338169235, 1338169237, 1338169233, 1338169236, 1338169239, 1338169230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.626463413238525 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:01:02.743916
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_49_10696.jpg', 0), ('/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_39_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_29_9689.jpg', 0), ('/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_19_10695.jpg', 0), ('/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_09_9693.jpg', 0), ('/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_59_9679.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_49_10696.jpg', '/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_39_9686.jpg', '/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_29_9689.jpg', '/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_19_10695.jpg', '/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_09_9693.jpg', '/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_59_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_49_10696.jpg
/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_39_9686.jpg
/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_29_9689.jpg
/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_19_10695.jpg
/home/nano/Desktop/images/08022025/01/49/image_08022025_01_49_09_9693.jpg
/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_59_9679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338169271","1338169276","1338169264","1338169278","1338169281","1338169274"],"photo_ids_order":["1338169264","1338169271","1338169274","1338169276","1338169278","1338169281"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a3fb8bf6b8b8408cd1542c0c0b3516a.jpg","text":"TemporaryFile(/tmp/multipartBody7111781540936511551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800924705,"filename":"image_08022025_01_49_39_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a79915ef42b6bb71272e9445c677d09b.jpg","text":"TemporaryFile(/tmp/multipartBody4678692977955328428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800924705,"filename":"image_08022025_01_49_19_10695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ffbc4af7d866ec420f7bf4967a68658.jpg","text":"TemporaryFile(/tmp/multipartBody7699971905973162998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800924705,"filename":"image_08022025_01_49_49_10696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f27aae0264fa94b03318190e69f6ebb.jpg","text":"TemporaryFile(/tmp/multipartBody624588786585052478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800924705,"filename":"image_08022025_01_49_09_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/959f7ff4784c2b5d1d4b4e4f284cf2b9.jpg","text":"TemporaryFile(/tmp/multipartBody627765410310862036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800924705,"filename":"image_08022025_01_07_59_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4933496ed7fbaff79c32613c4bd9e948.jpg","text":"TemporaryFile(/tmp/multipartBody4007379308008129654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800924705,"filename":"image_08022025_01_49_29_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338169274","file1":"1338169271","file0":"1338169264","file4":"1338169278","file5":"1338169281","file3":"1338169276"},"map_files_photo_id_array":[{"photo_id":"1338169281","filename":"file5"},{"photo_id":"1338169274","filename":"file2"},{"photo_id":"1338169278","filename":"file4"},{"photo_id":"1338169271","filename":"file1"},{"photo_id":"1338169264","filename":"file0"},{"photo_id":"1338169276","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338169271":["hashtag1","hashtag2"]},{"1338169276":["hashtag1","hashtag2"]},{"1338169264":["hashtag1","hashtag2"]},{"1338169278":["hashtag1","hashtag2"]},{"1338169281":["hashtag1","hashtag2"]},{"1338169274":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338169271, 1338169276, 1338169264, 1338169278, 1338169281, 1338169274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.337889671325684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:02:02.682258
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_49_9681.jpg', 0), ('/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_39_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_29_9680.jpg', 0), ('/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_19_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_09_9707.jpg', 0), ('/home/nano/Desktop/images/08022025/00/58/image_08022025_00_59_00_10710.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_49_9681.jpg', '/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_39_10692.jpg', '/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_29_9680.jpg', '/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_19_9682.jpg', '/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_09_9707.jpg', '/home/nano/Desktop/images/08022025/00/58/image_08022025_00_59_00_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_49_9681.jpg
/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_39_10692.jpg
/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_29_9680.jpg
/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_19_9682.jpg
/home/nano/Desktop/images/08022025/01/07/image_08022025_01_07_09_9707.jpg
/home/nano/Desktop/images/08022025/00/58/image_08022025_00_59_00_10710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338169367","1338169316","1338169558","1338169482","1338169743","1338169425"],"photo_ids_order":["1338169316","1338169367","1338169425","1338169482","1338169558","1338169743"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d78308f296b4296867fb8fa704bedb9b.jpg","text":"TemporaryFile(/tmp/multipartBody5851778105833742307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800985239,"filename":"image_08022025_01_07_39_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f0e250bea2578ee37d788531bd34feb6.jpg","text":"TemporaryFile(/tmp/multipartBody314850108525003999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800985239,"filename":"image_08022025_01_07_49_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b64f627607f4b525227a1ac1d5be0cd.jpg","text":"TemporaryFile(/tmp/multipartBody1871200733129206046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800985239,"filename":"image_08022025_01_07_09_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f58d0d5a216d78e8f9c5c7dedf71de10.jpg","text":"TemporaryFile(/tmp/multipartBody9081009768802609639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800985239,"filename":"image_08022025_01_07_19_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3603b20398a67b25e53885cb4fcb1fbc.jpg","text":"TemporaryFile(/tmp/multipartBody3882441898968249705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800985239,"filename":"image_08022025_00_59_00_10710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/29dc89e258bc9227ffe01b63befe7bb9.jpg","text":"TemporaryFile(/tmp/multipartBody574683748820913403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739800985239,"filename":"image_08022025_01_07_29_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338169425","file1":"1338169367","file0":"1338169316","file4":"1338169558","file5":"1338169743","file3":"1338169482"},"map_files_photo_id_array":[{"photo_id":"1338169743","filename":"file5"},{"photo_id":"1338169425","filename":"file2"},{"photo_id":"1338169558","filename":"file4"},{"photo_id":"1338169367","filename":"file1"},{"photo_id":"1338169316","filename":"file0"},{"photo_id":"1338169482","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338169367":["hashtag1","hashtag2"]},{"1338169316":["hashtag1","hashtag2"]},{"1338169558":["hashtag1","hashtag2"]},{"1338169482":["hashtag1","hashtag2"]},{"1338169743":["hashtag1","hashtag2"]},{"1338169425":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338169367, 1338169316, 1338169558, 1338169482, 1338169743, 1338169425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.61415433883667 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:03:03.046166
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_49_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_39_9701.jpg', 0), ('/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_29_10692.jpg', 0), ('/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_19_9695.jpg', 0), ('/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_09_9686.jpg', 0), ('/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_59_10693.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_49_9682.jpg', '/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_39_9701.jpg', '/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_29_10692.jpg', '/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_19_9695.jpg', '/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_09_9686.jpg', '/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_59_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_49_9682.jpg
/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_39_9701.jpg
/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_29_10692.jpg
/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_19_9695.jpg
/home/nano/Desktop/images/08022025/00/58/image_08022025_00_58_09_9686.jpg
/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_59_10693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338170555","1338170551","1338170467","1338170554","1338170620","1338170553"],"photo_ids_order":["1338170467","1338170551","1338170553","1338170554","1338170555","1338170620"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db5bf3e40105daec2129f0be8c3b4067.jpg","text":"TemporaryFile(/tmp/multipartBody1552637959597219051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801044943,"filename":"image_08022025_00_58_09_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b863a6654d99121739e617b373b0ed4.jpg","text":"TemporaryFile(/tmp/multipartBody7783853027801549444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801044943,"filename":"image_08022025_00_58_39_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e45c0a6fe40aa79986dc3856e203df1.jpg","text":"TemporaryFile(/tmp/multipartBody6958777689133014245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801044943,"filename":"image_08022025_00_58_49_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d06e09a7a2969f02bb191ce3ff785e5a.jpg","text":"TemporaryFile(/tmp/multipartBody694811367371072228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801044943,"filename":"image_08022025_00_58_19_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/47d7bdee2b9312521291fad00d5066e3.jpg","text":"TemporaryFile(/tmp/multipartBody3170741445175166953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801044943,"filename":"image_08022025_00_57_59_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/609c7d177592aa5adbc98343fb97f195.jpg","text":"TemporaryFile(/tmp/multipartBody3743183303773380806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801044943,"filename":"image_08022025_00_58_29_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338170553","file1":"1338170551","file0":"1338170467","file4":"1338170555","file5":"1338170620","file3":"1338170554"},"map_files_photo_id_array":[{"photo_id":"1338170620","filename":"file5"},{"photo_id":"1338170553","filename":"file2"},{"photo_id":"1338170555","filename":"file4"},{"photo_id":"1338170551","filename":"file1"},{"photo_id":"1338170467","filename":"file0"},{"photo_id":"1338170554","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338170555":["hashtag1","hashtag2"]},{"1338170551":["hashtag1","hashtag2"]},{"1338170467":["hashtag1","hashtag2"]},{"1338170554":["hashtag1","hashtag2"]},{"1338170620":["hashtag1","hashtag2"]},{"1338170553":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338170555, 1338170551, 1338170467, 1338170554, 1338170620, 1338170553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2578547000885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:04:03.355948
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_49_9680.jpg', 0), ('/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_39_9684.jpg', 0), ('/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_29_9682.jpg', 0), ('/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_20_10695.jpg', 0), ('/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_09_9695.jpg', 0), ('/home/nano/Desktop/images/08022025/00/30/image_08022025_00_31_00_10692.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_49_9680.jpg', '/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_39_9684.jpg', '/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_29_9682.jpg', '/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_20_10695.jpg', '/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_09_9695.jpg', '/home/nano/Desktop/images/08022025/00/30/image_08022025_00_31_00_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_49_9680.jpg
/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_39_9684.jpg
/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_29_9682.jpg
/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_20_10695.jpg
/home/nano/Desktop/images/08022025/00/57/image_08022025_00_57_09_9695.jpg
/home/nano/Desktop/images/08022025/00/30/image_08022025_00_31_00_10692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338170678","1338170672","1338170674","1338170671","1338170670","1338170673"],"photo_ids_order":["1338170670","1338170671","1338170672","1338170673","1338170674","1338170678"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49c783d8b7362dd74d10513882e9df52.jpg","text":"TemporaryFile(/tmp/multipartBody842423598079170777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801105576,"filename":"image_08022025_00_31_00_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8361e6f334b2ed8b959e3e29f64afd72.jpg","text":"TemporaryFile(/tmp/multipartBody2913360067166538787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801105576,"filename":"image_08022025_00_57_29_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e1bfd09b08d178926629f0993882d31.jpg","text":"TemporaryFile(/tmp/multipartBody2540697816282125529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801105576,"filename":"image_08022025_00_57_09_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d1e65157d4ee863cef9b8fced1505ac.jpg","text":"TemporaryFile(/tmp/multipartBody3896338357432047911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801105576,"filename":"image_08022025_00_57_39_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ddb393b104f8299ad1a381dc8d41675c.jpg","text":"TemporaryFile(/tmp/multipartBody7868005116493069720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801105576,"filename":"image_08022025_00_57_49_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/45d08fd322b133f4a471467318dab1d8.jpg","text":"TemporaryFile(/tmp/multipartBody605880850260910990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801105576,"filename":"image_08022025_00_57_20_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338170672","file1":"1338170671","file0":"1338170670","file4":"1338170674","file5":"1338170678","file3":"1338170673"},"map_files_photo_id_array":[{"photo_id":"1338170678","filename":"file5"},{"photo_id":"1338170672","filename":"file2"},{"photo_id":"1338170674","filename":"file4"},{"photo_id":"1338170671","filename":"file1"},{"photo_id":"1338170670","filename":"file0"},{"photo_id":"1338170673","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338170678":["hashtag1","hashtag2"]},{"1338170672":["hashtag1","hashtag2"]},{"1338170674":["hashtag1","hashtag2"]},{"1338170671":["hashtag1","hashtag2"]},{"1338170670":["hashtag1","hashtag2"]},{"1338170673":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338170678, 1338170672, 1338170674, 1338170671, 1338170670, 1338170673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20344591140747 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:05:02.247335
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
  port_id : 20353323
  datou_current_id : 2567830
in upload_from_sqlite, uploading in 20353323
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_49_9679.jpg', 0), ('/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_39_9678.jpg', 0), ('/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_29_10688.jpg', 0), ('/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_19_9680.jpg', 0), ('/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_09_9683.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_49_9679.jpg', '/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_39_9678.jpg', '/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_29_10688.jpg', '/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_19_9680.jpg', '/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_09_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2567830&datou=0
/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_49_9679.jpg
/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_39_9678.jpg
/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_29_10688.jpg
/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_19_9680.jpg
/home/nano/Desktop/images/08022025/00/30/image_08022025_00_30_09_9683.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338170700","1338170699","1338170702","1338170701","1338170703"],"photo_ids_order":["1338170699","1338170700","1338170701","1338170702","1338170703"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31e4da0f32fbfe0e454acbd2d8e2ef7c.jpg","text":"TemporaryFile(/tmp/multipartBody4663604708792348514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801164270,"filename":"image_08022025_00_30_39_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17637109cfb4967669d902f8c03e420f.jpg","text":"TemporaryFile(/tmp/multipartBody8358491292986314578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801164270,"filename":"image_08022025_00_30_49_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21ce4dc3a26485915008eff7d267a74e.jpg","text":"TemporaryFile(/tmp/multipartBody7748296676537840525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801164270,"filename":"image_08022025_00_30_19_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8cd03dcbe4c1a17c727acd406e67c1e5.jpg","text":"TemporaryFile(/tmp/multipartBody1537229778883741606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801164270,"filename":"image_08022025_00_30_29_10688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0dd282faa31f2d932afaf8bcb24b9236.jpg","text":"TemporaryFile(/tmp/multipartBody7290556926085432157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801164270,"filename":"image_08022025_00_30_09_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338170701","file1":"1338170700","file0":"1338170699","file4":"1338170703","file3":"1338170702"},"map_files_photo_id_array":[{"photo_id":"1338170701","filename":"file2"},{"photo_id":"1338170703","filename":"file4"},{"photo_id":"1338170700","filename":"file1"},{"photo_id":"1338170699","filename":"file0"},{"photo_id":"1338170702","filename":"file3"}],"portfolio_id":20353323,"hashtag_by_photo_ids":[{"1338170700":["hashtag1","hashtag2"]},{"1338170699":["hashtag1","hashtag2"]},{"1338170702":["hashtag1","hashtag2"]},{"1338170701":["hashtag1","hashtag2"]},{"1338170703":["hashtag1","hashtag2"]}],"comms":"Portfolio 20353323 used, photo_id : ArrayBuffer(1338170700, 1338170699, 1338170702, 1338170701, 1338170703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.74061107635498 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:05:31.924547
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_55_10762.jpg', 0), ('/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_44_9749.jpg', 0), ('/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_34_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_24_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_15_10790.jpg', 0), ('/home/nano/Desktop/images/09022025/23/58/image_09022025_23_59_04_9759.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_55_10762.jpg', '/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_44_9749.jpg', '/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_34_9752.jpg', '/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_24_9759.jpg', '/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_15_10790.jpg', '/home/nano/Desktop/images/09022025/23/58/image_09022025_23_59_04_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_55_10762.jpg
/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_44_9749.jpg
/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_34_9752.jpg
/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_24_9759.jpg
/home/nano/Desktop/images/09022025/23/59/image_09022025_23_59_15_10790.jpg
/home/nano/Desktop/images/09022025/23/58/image_09022025_23_59_04_9759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338170735","1338170737","1338170725","1338170739","1338170730","1338170718"],"photo_ids_order":["1338170718","1338170725","1338170730","1338170735","1338170737","1338170739"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/84c59ab05a315270848834ce214b9d29.jpg","text":"TemporaryFile(/tmp/multipartBody3558339422711048818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801194271,"filename":"image_09022025_23_59_24_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cbb39bbac785f5665409602ef77a421.jpg","text":"TemporaryFile(/tmp/multipartBody3924240202702745255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801194271,"filename":"image_09022025_23_59_15_10790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/34281dbf3047ad658a74bbed3f49e86f.jpg","text":"TemporaryFile(/tmp/multipartBody133755997363787423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801194271,"filename":"image_09022025_23_59_44_9749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80604eb7e3db98af4c957d61f37e2e83.jpg","text":"TemporaryFile(/tmp/multipartBody8105069702530558945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801194271,"filename":"image_09022025_23_59_04_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac823a059f1fc11e2b27b876e7e01243.jpg","text":"TemporaryFile(/tmp/multipartBody9018077758005130271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801194271,"filename":"image_09022025_23_59_34_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f0c579d1849f76a7b84518ba836c1a1.jpg","text":"TemporaryFile(/tmp/multipartBody5355111349737337031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801194271,"filename":"image_09022025_23_59_55_10762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338170730","file1":"1338170725","file0":"1338170718","file4":"1338170737","file5":"1338170739","file3":"1338170735"},"map_files_photo_id_array":[{"photo_id":"1338170739","filename":"file5"},{"photo_id":"1338170730","filename":"file2"},{"photo_id":"1338170737","filename":"file4"},{"photo_id":"1338170725","filename":"file1"},{"photo_id":"1338170718","filename":"file0"},{"photo_id":"1338170735","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338170735":["hashtag1","hashtag2"]},{"1338170737":["hashtag1","hashtag2"]},{"1338170725":["hashtag1","hashtag2"]},{"1338170739":["hashtag1","hashtag2"]},{"1338170730":["hashtag1","hashtag2"]},{"1338170718":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338170735, 1338170737, 1338170725, 1338170739, 1338170730, 1338170718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00555682182312 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:06:32.067869
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_54_9748.jpg', 0), ('/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_44_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_35_10783.jpg', 0), ('/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_24_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_14_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/23/57/image_09022025_23_58_04_9764.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_54_9748.jpg', '/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_44_9757.jpg', '/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_35_10783.jpg', '/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_24_9754.jpg', '/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_14_9757.jpg', '/home/nano/Desktop/images/09022025/23/57/image_09022025_23_58_04_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_54_9748.jpg
/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_44_9757.jpg
/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_35_10783.jpg
/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_24_9754.jpg
/home/nano/Desktop/images/09022025/23/58/image_09022025_23_58_14_9757.jpg
/home/nano/Desktop/images/09022025/23/57/image_09022025_23_58_04_9764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338170987","1338170972","1338170948","1338170976","1338170985","1338170952"],"photo_ids_order":["1338170948","1338170952","1338170972","1338170976","1338170985","1338170987"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb897a275ed48b1f4765ec01114c3e17.jpg","text":"TemporaryFile(/tmp/multipartBody2347370112043646210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801254758,"filename":"image_09022025_23_58_04_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9fb093757547d46a4341a587fa5ca7ee.jpg","text":"TemporaryFile(/tmp/multipartBody1215010525138105556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801254758,"filename":"image_09022025_23_58_35_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b103f19ed821b24529ed40c8fbf2e7e3.jpg","text":"TemporaryFile(/tmp/multipartBody5572185711121550218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801254758,"filename":"image_09022025_23_58_54_9748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/119de67c7e6cf7ca1ddc4b8957d6df5a.jpg","text":"TemporaryFile(/tmp/multipartBody603686742399867487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801254758,"filename":"image_09022025_23_58_24_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ecd3a9544720411d1f59c7abe054846b.jpg","text":"TemporaryFile(/tmp/multipartBody4386476136437543778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801254758,"filename":"image_09022025_23_58_14_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a4979f08bf9ff3bf349b51c6ffe23a0.jpg","text":"TemporaryFile(/tmp/multipartBody174719131454248668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801254758,"filename":"image_09022025_23_58_44_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338170972","file1":"1338170952","file0":"1338170948","file4":"1338170985","file5":"1338170987","file3":"1338170976"},"map_files_photo_id_array":[{"photo_id":"1338170987","filename":"file5"},{"photo_id":"1338170972","filename":"file2"},{"photo_id":"1338170985","filename":"file4"},{"photo_id":"1338170952","filename":"file1"},{"photo_id":"1338170948","filename":"file0"},{"photo_id":"1338170976","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338170987":["hashtag1","hashtag2"]},{"1338170972":["hashtag1","hashtag2"]},{"1338170948":["hashtag1","hashtag2"]},{"1338170976":["hashtag1","hashtag2"]},{"1338170985":["hashtag1","hashtag2"]},{"1338170952":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338170987, 1338170972, 1338170948, 1338170976, 1338170985, 1338170952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14408326148987 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:07:32.196574
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_54_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_45_10765.jpg', 0), ('/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_34_9750.jpg', 0), ('/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_24_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_14_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/23/45/image_09022025_23_46_05_10797.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_54_9754.jpg', '/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_45_10765.jpg', '/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_34_9750.jpg', '/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_24_9753.jpg', '/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_14_9758.jpg', '/home/nano/Desktop/images/09022025/23/45/image_09022025_23_46_05_10797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_54_9754.jpg
/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_45_10765.jpg
/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_34_9750.jpg
/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_24_9753.jpg
/home/nano/Desktop/images/09022025/23/46/image_09022025_23_46_14_9758.jpg
/home/nano/Desktop/images/09022025/23/45/image_09022025_23_46_05_10797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338171017","1338171011","1338171004","1338171015","1338171009","1338170999"],"photo_ids_order":["1338170999","1338171004","1338171009","1338171011","1338171015","1338171017"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/826a36724767b4faaf657ec824ad3164.jpg","text":"TemporaryFile(/tmp/multipartBody5678097403842883088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801314504,"filename":"image_09022025_23_46_05_10797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a47cb49546c962e82dcd25d6a315b541.jpg","text":"TemporaryFile(/tmp/multipartBody6336683050609427246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801314504,"filename":"image_09022025_23_46_24_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/691e99b4de4f6460422cc75f5f05366e.jpg","text":"TemporaryFile(/tmp/multipartBody3117060937531102790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801314504,"filename":"image_09022025_23_46_45_10765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5bd14efe786c11e34c7e4deeb7da1a41.jpg","text":"TemporaryFile(/tmp/multipartBody4722125186827003871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801314504,"filename":"image_09022025_23_46_14_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99bfe988f09df742d8950a22606c6950.jpg","text":"TemporaryFile(/tmp/multipartBody8391844169265601874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801314504,"filename":"image_09022025_23_46_34_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d739f5c4b7acced5e3316e51a537422.jpg","text":"TemporaryFile(/tmp/multipartBody7054697993590954260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801314504,"filename":"image_09022025_23_46_54_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338171009","file1":"1338171004","file0":"1338170999","file4":"1338171015","file5":"1338171017","file3":"1338171011"},"map_files_photo_id_array":[{"photo_id":"1338171017","filename":"file5"},{"photo_id":"1338171009","filename":"file2"},{"photo_id":"1338171015","filename":"file4"},{"photo_id":"1338171004","filename":"file1"},{"photo_id":"1338170999","filename":"file0"},{"photo_id":"1338171011","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338171017":["hashtag1","hashtag2"]},{"1338171011":["hashtag1","hashtag2"]},{"1338171004":["hashtag1","hashtag2"]},{"1338171015":["hashtag1","hashtag2"]},{"1338171009":["hashtag1","hashtag2"]},{"1338170999":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338171017, 1338171011, 1338171004, 1338171015, 1338171009, 1338170999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01449370384216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:08:32.364708
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_54_9750.jpg', 0), ('/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_44_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_35_10762.jpg', 0), ('/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_24_9775.jpg', 0), ('/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_14_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/23/16/image_09022025_23_17_04_9760.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_54_9750.jpg', '/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_44_9752.jpg', '/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_35_10762.jpg', '/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_24_9775.jpg', '/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_14_9763.jpg', '/home/nano/Desktop/images/09022025/23/16/image_09022025_23_17_04_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_54_9750.jpg
/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_44_9752.jpg
/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_35_10762.jpg
/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_24_9775.jpg
/home/nano/Desktop/images/09022025/23/17/image_09022025_23_17_14_9763.jpg
/home/nano/Desktop/images/09022025/23/16/image_09022025_23_17_04_9760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338171047","1338171034","1338171045","1338171039","1338171030","1338171042"],"photo_ids_order":["1338171030","1338171034","1338171039","1338171042","1338171045","1338171047"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf6692c20b59d745eb804bcff3459569.jpg","text":"TemporaryFile(/tmp/multipartBody458827659525190992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801374401,"filename":"image_09022025_23_17_04_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d807ebc4558285f38d61cca97404859.jpg","text":"TemporaryFile(/tmp/multipartBody7846958224566698392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801374401,"filename":"image_09022025_23_17_44_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b34fb26fbb56c29ffeb48f57ae39988.jpg","text":"TemporaryFile(/tmp/multipartBody67236460449840367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801374401,"filename":"image_09022025_23_17_14_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e61c040174a7e8d407283e0235d0e5f.jpg","text":"TemporaryFile(/tmp/multipartBody293767923116388758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801374401,"filename":"image_09022025_23_17_35_10762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90ab164e7436cf2c74b3817176c25d0f.jpg","text":"TemporaryFile(/tmp/multipartBody6508291096541813812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801374401,"filename":"image_09022025_23_17_54_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16df94dfa538d6da62a0b0b848ff5371.jpg","text":"TemporaryFile(/tmp/multipartBody6807762001834992208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801374401,"filename":"image_09022025_23_17_24_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338171039","file1":"1338171034","file0":"1338171030","file4":"1338171045","file5":"1338171047","file3":"1338171042"},"map_files_photo_id_array":[{"photo_id":"1338171047","filename":"file5"},{"photo_id":"1338171039","filename":"file2"},{"photo_id":"1338171045","filename":"file4"},{"photo_id":"1338171034","filename":"file1"},{"photo_id":"1338171030","filename":"file0"},{"photo_id":"1338171042","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338171047":["hashtag1","hashtag2"]},{"1338171034":["hashtag1","hashtag2"]},{"1338171045":["hashtag1","hashtag2"]},{"1338171039":["hashtag1","hashtag2"]},{"1338171030":["hashtag1","hashtag2"]},{"1338171042":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338171047, 1338171034, 1338171045, 1338171039, 1338171030, 1338171042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.714865922927856 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:09:32.531952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_54_9774.jpg', 0), ('/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_44_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_34_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_25_10764.jpg', 0), ('/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_14_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/22/20/image_09022025_22_21_04_9768.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_54_9774.jpg', '/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_44_9757.jpg', '/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_34_9753.jpg', '/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_25_10764.jpg', '/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_14_9755.jpg', '/home/nano/Desktop/images/09022025/22/20/image_09022025_22_21_04_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_54_9774.jpg
/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_44_9757.jpg
/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_34_9753.jpg
/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_25_10764.jpg
/home/nano/Desktop/images/09022025/22/21/image_09022025_22_21_14_9755.jpg
/home/nano/Desktop/images/09022025/22/20/image_09022025_22_21_04_9768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338171077","1338171073","1338171055","1338171063","1338171060","1338171068"],"photo_ids_order":["1338171055","1338171060","1338171063","1338171068","1338171073","1338171077"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4e2a48b614df84bb9de49eac5135a40.jpg","text":"TemporaryFile(/tmp/multipartBody5700048680492475458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801435448,"filename":"image_09022025_22_21_04_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae0fe46b525a68e545068a028a0a9de4.jpg","text":"TemporaryFile(/tmp/multipartBody6278983938282508788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801435448,"filename":"image_09022025_22_21_14_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6d3294eccbb24d9b8436751b04e07c4.jpg","text":"TemporaryFile(/tmp/multipartBody3751316334517637242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801435448,"filename":"image_09022025_22_21_54_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa8be570c74a05f0221b0cc03fd00b4c.jpg","text":"TemporaryFile(/tmp/multipartBody5627775204829919381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801435448,"filename":"image_09022025_22_21_34_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/958fc2f440bfe973fced0dca4a58c43c.jpg","text":"TemporaryFile(/tmp/multipartBody1460784392298673332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801435448,"filename":"image_09022025_22_21_44_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a32d6fdf3d9fbc891252e520be4de48b.jpg","text":"TemporaryFile(/tmp/multipartBody4841998693379743012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801435448,"filename":"image_09022025_22_21_25_10764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338171063","file1":"1338171060","file0":"1338171055","file4":"1338171073","file5":"1338171077","file3":"1338171068"},"map_files_photo_id_array":[{"photo_id":"1338171077","filename":"file5"},{"photo_id":"1338171063","filename":"file2"},{"photo_id":"1338171073","filename":"file4"},{"photo_id":"1338171060","filename":"file1"},{"photo_id":"1338171055","filename":"file0"},{"photo_id":"1338171068","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338171077":["hashtag1","hashtag2"]},{"1338171073":["hashtag1","hashtag2"]},{"1338171055":["hashtag1","hashtag2"]},{"1338171063":["hashtag1","hashtag2"]},{"1338171060":["hashtag1","hashtag2"]},{"1338171068":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338171077, 1338171073, 1338171055, 1338171063, 1338171060, 1338171068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99124836921692 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:10:32.676265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_54_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_45_10763.jpg', 0), ('/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_34_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_24_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_14_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/22/02/image_09022025_22_03_05_10784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_54_9753.jpg', '/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_45_10763.jpg', '/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_34_9753.jpg', '/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_24_9752.jpg', '/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_14_9755.jpg', '/home/nano/Desktop/images/09022025/22/02/image_09022025_22_03_05_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_54_9753.jpg
/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_45_10763.jpg
/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_34_9753.jpg
/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_24_9752.jpg
/home/nano/Desktop/images/09022025/22/03/image_09022025_22_03_14_9755.jpg
/home/nano/Desktop/images/09022025/22/02/image_09022025_22_03_05_10784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338171110","1338171107","1338171097","1338171102","1338171092","1338171089"],"photo_ids_order":["1338171089","1338171092","1338171097","1338171102","1338171107","1338171110"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b15c9795002cf807274ce3a98eb15d22.jpg","text":"TemporaryFile(/tmp/multipartBody840164631901267620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801495289,"filename":"image_09022025_22_03_05_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/45a4a800ff3c1e18f25943daf039c165.jpg","text":"TemporaryFile(/tmp/multipartBody518945610069384451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801495289,"filename":"image_09022025_22_03_14_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3027e969bc93bef76db7eaa2530b213e.jpg","text":"TemporaryFile(/tmp/multipartBody5063964490162009565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801495289,"filename":"image_09022025_22_03_34_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e61eac33855174342e5fc2c304ed1ef.jpg","text":"TemporaryFile(/tmp/multipartBody2952389897507475771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801495289,"filename":"image_09022025_22_03_24_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca73061472c2737b21746cfe5c4dd1ce.jpg","text":"TemporaryFile(/tmp/multipartBody3926039807263905544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801495289,"filename":"image_09022025_22_03_45_10763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4c72fdb49274ff5eaccc6ab67bdeaf4.jpg","text":"TemporaryFile(/tmp/multipartBody5781872489593165450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801495289,"filename":"image_09022025_22_03_54_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338171097","file1":"1338171092","file0":"1338171089","file4":"1338171107","file5":"1338171110","file3":"1338171102"},"map_files_photo_id_array":[{"photo_id":"1338171110","filename":"file5"},{"photo_id":"1338171097","filename":"file2"},{"photo_id":"1338171107","filename":"file4"},{"photo_id":"1338171092","filename":"file1"},{"photo_id":"1338171089","filename":"file0"},{"photo_id":"1338171102","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338171110":["hashtag1","hashtag2"]},{"1338171107":["hashtag1","hashtag2"]},{"1338171097":["hashtag1","hashtag2"]},{"1338171102":["hashtag1","hashtag2"]},{"1338171092":["hashtag1","hashtag2"]},{"1338171089":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338171110, 1338171107, 1338171097, 1338171102, 1338171092, 1338171089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.905314683914185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:11:31.809124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_55_10766.jpg', 0), ('/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_44_9774.jpg', 0), ('/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_34_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_24_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_15_10762.jpg', 0), ('/home/nano/Desktop/images/09022025/21/57/image_09022025_21_58_04_9779.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_55_10766.jpg', '/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_44_9774.jpg', '/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_34_9755.jpg', '/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_24_9753.jpg', '/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_15_10762.jpg', '/home/nano/Desktop/images/09022025/21/57/image_09022025_21_58_04_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_55_10766.jpg
/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_44_9774.jpg
/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_34_9755.jpg
/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_24_9753.jpg
/home/nano/Desktop/images/09022025/21/58/image_09022025_21_58_15_10762.jpg
/home/nano/Desktop/images/09022025/21/57/image_09022025_21_58_04_9779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338171125","1338171121","1338171132","1338171135","1338171129","1338171117"],"photo_ids_order":["1338171117","1338171121","1338171125","1338171129","1338171132","1338171135"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4869f7cd5adb7eaa1ce2adb85d1d1a40.jpg","text":"TemporaryFile(/tmp/multipartBody1272170445802581888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801554480,"filename":"image_09022025_21_58_34_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ab2d05f4124dcf78e46b09854000de6.jpg","text":"TemporaryFile(/tmp/multipartBody3453059468584602705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801554480,"filename":"image_09022025_21_58_44_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b461f3f6a9e293ea61266edbad53855a.jpg","text":"TemporaryFile(/tmp/multipartBody354727434213717622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801554480,"filename":"image_09022025_21_58_15_10762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/928d68f3f74c339a1a2b19f2c7bed6d3.jpg","text":"TemporaryFile(/tmp/multipartBody8209046034091406110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801554480,"filename":"image_09022025_21_58_04_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd5c91a95e3c227048bf20a6e9899d9f.jpg","text":"TemporaryFile(/tmp/multipartBody6476416928105492188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801554480,"filename":"image_09022025_21_58_24_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d9a6268d50862ceda36534885b744edb.jpg","text":"TemporaryFile(/tmp/multipartBody5010804009733257050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801554480,"filename":"image_09022025_21_58_55_10766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338171125","file1":"1338171121","file0":"1338171117","file4":"1338171132","file5":"1338171135","file3":"1338171129"},"map_files_photo_id_array":[{"photo_id":"1338171135","filename":"file5"},{"photo_id":"1338171125","filename":"file2"},{"photo_id":"1338171132","filename":"file4"},{"photo_id":"1338171121","filename":"file1"},{"photo_id":"1338171117","filename":"file0"},{"photo_id":"1338171129","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338171125":["hashtag1","hashtag2"]},{"1338171121":["hashtag1","hashtag2"]},{"1338171132":["hashtag1","hashtag2"]},{"1338171135":["hashtag1","hashtag2"]},{"1338171129":["hashtag1","hashtag2"]},{"1338171117":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338171125, 1338171121, 1338171132, 1338171135, 1338171129, 1338171117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87357020378113 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:12:32.047361
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_55_10782.jpg', 0), ('/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_44_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_34_9749.jpg', 0), ('/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_24_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_14_10775.jpg', 0), ('/home/nano/Desktop/images/09022025/21/55/image_09022025_21_56_04_9759.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_55_10782.jpg', '/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_44_9755.jpg', '/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_34_9749.jpg', '/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_24_9755.jpg', '/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_14_10775.jpg', '/home/nano/Desktop/images/09022025/21/55/image_09022025_21_56_04_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_55_10782.jpg
/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_44_9755.jpg
/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_34_9749.jpg
/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_24_9755.jpg
/home/nano/Desktop/images/09022025/21/56/image_09022025_21_56_14_10775.jpg
/home/nano/Desktop/images/09022025/21/55/image_09022025_21_56_04_9759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338171374","1338171343","1338171325","1338171366","1338171336","1338171386"],"photo_ids_order":["1338171325","1338171336","1338171343","1338171366","1338171374","1338171386"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/95d2a02fec05ed85d4b5e962ae9baab5.jpg","text":"TemporaryFile(/tmp/multipartBody417092297009236522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801614542,"filename":"image_09022025_21_56_14_10775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/29957529847def0fd3957586da8b4a4f.jpg","text":"TemporaryFile(/tmp/multipartBody1261538978520339728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801614542,"filename":"image_09022025_21_56_34_9749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1da8d2a4d05fb3973af2076e01f058fb.jpg","text":"TemporaryFile(/tmp/multipartBody6845302257207329169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801614542,"filename":"image_09022025_21_56_55_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4db9c98f775eecb748443e700278d774.jpg","text":"TemporaryFile(/tmp/multipartBody4288266872887691825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801614542,"filename":"image_09022025_21_56_24_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08116bd3d3f137567001e36e0cb3c94d.jpg","text":"TemporaryFile(/tmp/multipartBody7756185610612956509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801614542,"filename":"image_09022025_21_56_44_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3196811ab1f4d9dbd5b95359728944f1.jpg","text":"TemporaryFile(/tmp/multipartBody4503554479214025118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801614542,"filename":"image_09022025_21_56_04_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338171343","file1":"1338171336","file0":"1338171325","file4":"1338171374","file5":"1338171386","file3":"1338171366"},"map_files_photo_id_array":[{"photo_id":"1338171386","filename":"file5"},{"photo_id":"1338171343","filename":"file2"},{"photo_id":"1338171374","filename":"file4"},{"photo_id":"1338171336","filename":"file1"},{"photo_id":"1338171325","filename":"file0"},{"photo_id":"1338171366","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338171374":["hashtag1","hashtag2"]},{"1338171343":["hashtag1","hashtag2"]},{"1338171325":["hashtag1","hashtag2"]},{"1338171366":["hashtag1","hashtag2"]},{"1338171336":["hashtag1","hashtag2"]},{"1338171386":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338171374, 1338171343, 1338171325, 1338171366, 1338171336, 1338171386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.001219511032104 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:13:32.200125
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_54_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_44_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_34_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_24_10767.jpg', 0), ('/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_14_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/21/31/image_09022025_21_32_04_9750.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_54_9753.jpg', '/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_44_9754.jpg', '/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_34_9753.jpg', '/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_24_10767.jpg', '/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_14_9755.jpg', '/home/nano/Desktop/images/09022025/21/31/image_09022025_21_32_04_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_54_9753.jpg
/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_44_9754.jpg
/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_34_9753.jpg
/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_24_10767.jpg
/home/nano/Desktop/images/09022025/21/32/image_09022025_21_32_14_9755.jpg
/home/nano/Desktop/images/09022025/21/31/image_09022025_21_32_04_9750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338171446","1338171434","1338171442","1338171429","1338171450","1338171438"],"photo_ids_order":["1338171429","1338171434","1338171438","1338171442","1338171446","1338171450"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a38aff19dbddb4b4586ba70f2bbb815e.jpg","text":"TemporaryFile(/tmp/multipartBody2486713853183128224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801674625,"filename":"image_09022025_21_32_14_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e60bba1e46b74ad9cc4b9bec1562c5b.jpg","text":"TemporaryFile(/tmp/multipartBody2849065272064857710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801674625,"filename":"image_09022025_21_32_44_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/590127a5eb301e5d96faddedebd0bbd3.jpg","text":"TemporaryFile(/tmp/multipartBody6480169262595367113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801674625,"filename":"image_09022025_21_32_24_10767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a847450a3175e3801b1348054e103ac.jpg","text":"TemporaryFile(/tmp/multipartBody8622514535707965461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801674625,"filename":"image_09022025_21_32_54_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1fffad3b59f674a0535ed6eefc9e3d92.jpg","text":"TemporaryFile(/tmp/multipartBody3168829852762264268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801674625,"filename":"image_09022025_21_32_04_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/73e189e4bf5d6538429cd245c9693e7d.jpg","text":"TemporaryFile(/tmp/multipartBody5999618108325262881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801674625,"filename":"image_09022025_21_32_34_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338171438","file1":"1338171434","file0":"1338171429","file4":"1338171446","file5":"1338171450","file3":"1338171442"},"map_files_photo_id_array":[{"photo_id":"1338171450","filename":"file5"},{"photo_id":"1338171438","filename":"file2"},{"photo_id":"1338171446","filename":"file4"},{"photo_id":"1338171434","filename":"file1"},{"photo_id":"1338171429","filename":"file0"},{"photo_id":"1338171442","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338171446":["hashtag1","hashtag2"]},{"1338171434":["hashtag1","hashtag2"]},{"1338171442":["hashtag1","hashtag2"]},{"1338171429":["hashtag1","hashtag2"]},{"1338171450":["hashtag1","hashtag2"]},{"1338171438":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338171446, 1338171434, 1338171442, 1338171429, 1338171450, 1338171438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14064598083496 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:14:32.398048
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_54_9747.jpg', 0), ('/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_45_10765.jpg', 0), ('/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_34_9775.jpg', 0), ('/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_24_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_14_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/20/57/image_09022025_20_58_05_10777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_54_9747.jpg', '/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_45_10765.jpg', '/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_34_9775.jpg', '/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_24_9755.jpg', '/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_14_9754.jpg', '/home/nano/Desktop/images/09022025/20/57/image_09022025_20_58_05_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_54_9747.jpg
/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_45_10765.jpg
/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_34_9775.jpg
/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_24_9755.jpg
/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_14_9754.jpg
/home/nano/Desktop/images/09022025/20/57/image_09022025_20_58_05_10777.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1282432079315186 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:15:02.998708
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_54_9747.jpg', 0), ('/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_45_10765.jpg', 0), ('/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_34_9775.jpg', 0), ('/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_24_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_14_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/20/57/image_09022025_20_58_05_10777.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_54_9747.jpg', '/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_45_10765.jpg', '/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_34_9775.jpg', '/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_24_9755.jpg', '/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_14_9754.jpg', '/home/nano/Desktop/images/09022025/20/57/image_09022025_20_58_05_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_54_9747.jpg
/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_45_10765.jpg
/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_34_9775.jpg
/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_24_9755.jpg
/home/nano/Desktop/images/09022025/20/58/image_09022025_20_58_14_9754.jpg
/home/nano/Desktop/images/09022025/20/57/image_09022025_20_58_05_10777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338171521","1338171500","1338171518","1338171502","1338171501","1338171525"],"photo_ids_order":["1338171500","1338171501","1338171502","1338171518","1338171521","1338171525"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53805441c5e6341a27892efea7d5c15f.jpg","text":"TemporaryFile(/tmp/multipartBody7628296086750724250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801765220,"filename":"image_09022025_20_58_14_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75a49e9cd2977ad8c5a9069eb09c675e.jpg","text":"TemporaryFile(/tmp/multipartBody856939429676363456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801765220,"filename":"image_09022025_20_58_54_9747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bcb3c495e19194c4c24c500dcc475872.jpg","text":"TemporaryFile(/tmp/multipartBody5381067632725002789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801765220,"filename":"image_09022025_20_58_24_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/47f0b20698cbd7084ae1912b5492930b.jpg","text":"TemporaryFile(/tmp/multipartBody8119783825619138930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801765220,"filename":"image_09022025_20_58_34_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9fb70ce25f4bcab7c4567cdbf9107d77.jpg","text":"TemporaryFile(/tmp/multipartBody2503954174556358422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801765220,"filename":"image_09022025_20_58_45_10765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/06b0509855ad6858b17905ad597cc7e4.jpg","text":"TemporaryFile(/tmp/multipartBody1753018423330286165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801765220,"filename":"image_09022025_20_58_05_10777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338171502","file1":"1338171501","file0":"1338171500","file4":"1338171521","file5":"1338171525","file3":"1338171518"},"map_files_photo_id_array":[{"photo_id":"1338171525","filename":"file5"},{"photo_id":"1338171502","filename":"file2"},{"photo_id":"1338171521","filename":"file4"},{"photo_id":"1338171501","filename":"file1"},{"photo_id":"1338171500","filename":"file0"},{"photo_id":"1338171518","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338171521":["hashtag1","hashtag2"]},{"1338171500":["hashtag1","hashtag2"]},{"1338171518":["hashtag1","hashtag2"]},{"1338171502":["hashtag1","hashtag2"]},{"1338171501":["hashtag1","hashtag2"]},{"1338171525":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338171521, 1338171500, 1338171518, 1338171502, 1338171501, 1338171525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37378978729248 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:16:02.916776
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_54_9750.jpg', 0), ('/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_44_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_34_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_25_10768.jpg', 0), ('/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_14_9761.jpg', 0), ('/home/nano/Desktop/images/09022025/20/36/image_09022025_20_37_04_9765.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_54_9750.jpg', '/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_44_9759.jpg', '/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_34_9758.jpg', '/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_25_10768.jpg', '/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_14_9761.jpg', '/home/nano/Desktop/images/09022025/20/36/image_09022025_20_37_04_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_54_9750.jpg
/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_44_9759.jpg
/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_34_9758.jpg
/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_25_10768.jpg
/home/nano/Desktop/images/09022025/20/37/image_09022025_20_37_14_9761.jpg
/home/nano/Desktop/images/09022025/20/36/image_09022025_20_37_04_9765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338171589","1338171580","1338171577","1338171593","1338171581","1338171590"],"photo_ids_order":["1338171577","1338171580","1338171581","1338171589","1338171590","1338171593"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a04ee4fbcb35d684c9387ed81feebb27.jpg","text":"TemporaryFile(/tmp/multipartBody5215163482940003189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801825868,"filename":"image_09022025_20_37_25_10768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b60a47e9583422e2bbd5452d03450865.jpg","text":"TemporaryFile(/tmp/multipartBody5117734888357071007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801825868,"filename":"image_09022025_20_37_44_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d727a193bf6f9725f2dd39a14cdc7266.jpg","text":"TemporaryFile(/tmp/multipartBody3325845661606458213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801825868,"filename":"image_09022025_20_37_54_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79447e069d59305232667674b2d1e508.jpg","text":"TemporaryFile(/tmp/multipartBody5421711101962975096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801825868,"filename":"image_09022025_20_37_04_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24e0bd63b68d1a76e94e6c5f53f650ff.jpg","text":"TemporaryFile(/tmp/multipartBody864796775700973120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801825868,"filename":"image_09022025_20_37_34_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a31671d12b2fc57133ce9ae6a278f7b.jpg","text":"TemporaryFile(/tmp/multipartBody4842108122310354755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801825868,"filename":"image_09022025_20_37_14_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338171581","file1":"1338171580","file0":"1338171577","file4":"1338171590","file5":"1338171593","file3":"1338171589"},"map_files_photo_id_array":[{"photo_id":"1338171593","filename":"file5"},{"photo_id":"1338171581","filename":"file2"},{"photo_id":"1338171590","filename":"file4"},{"photo_id":"1338171580","filename":"file1"},{"photo_id":"1338171577","filename":"file0"},{"photo_id":"1338171589","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338171589":["hashtag1","hashtag2"]},{"1338171580":["hashtag1","hashtag2"]},{"1338171577":["hashtag1","hashtag2"]},{"1338171593":["hashtag1","hashtag2"]},{"1338171581":["hashtag1","hashtag2"]},{"1338171590":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338171589, 1338171580, 1338171577, 1338171593, 1338171581, 1338171590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.93116331100464 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:17:02.356478
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_54_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_44_9761.jpg', 0), ('/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_34_9761.jpg', 0), ('/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_24_10771.jpg', 0), ('/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_14_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/19/57/image_09022025_19_58_04_9764.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_54_9758.jpg', '/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_44_9761.jpg', '/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_34_9761.jpg', '/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_24_10771.jpg', '/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_14_9760.jpg', '/home/nano/Desktop/images/09022025/19/57/image_09022025_19_58_04_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_54_9758.jpg
/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_44_9761.jpg
/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_34_9761.jpg
/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_24_10771.jpg
/home/nano/Desktop/images/09022025/19/58/image_09022025_19_58_14_9760.jpg
/home/nano/Desktop/images/09022025/19/57/image_09022025_19_58_04_9764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338171617","1338171616","1338171619","1338171615","1338171624","1338171618"],"photo_ids_order":["1338171615","1338171616","1338171617","1338171618","1338171619","1338171624"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/572a4aa1040b352333389e6022c0a79c.jpg","text":"TemporaryFile(/tmp/multipartBody7193230138315166684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801884905,"filename":"image_09022025_19_58_34_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c093e737d9fa38ac3d019810a693973.jpg","text":"TemporaryFile(/tmp/multipartBody3068590964057332592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801884905,"filename":"image_09022025_19_58_44_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86569bcf164ee18e86bef801bba8e377.jpg","text":"TemporaryFile(/tmp/multipartBody4741984077468600989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801884905,"filename":"image_09022025_19_58_14_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f3a8b866e54cd23b3796306c1fcb87c.jpg","text":"TemporaryFile(/tmp/multipartBody417743117392528150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801884905,"filename":"image_09022025_19_58_54_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8177f4879e5748cbdd3fd4e991bf60c.jpg","text":"TemporaryFile(/tmp/multipartBody9014548774552034589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801884905,"filename":"image_09022025_19_58_04_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/93f92fff0621795d2a0f5efda6dd2ca1.jpg","text":"TemporaryFile(/tmp/multipartBody8872494390636316749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801884905,"filename":"image_09022025_19_58_24_10771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338171617","file1":"1338171616","file0":"1338171615","file4":"1338171619","file5":"1338171624","file3":"1338171618"},"map_files_photo_id_array":[{"photo_id":"1338171624","filename":"file5"},{"photo_id":"1338171617","filename":"file2"},{"photo_id":"1338171619","filename":"file4"},{"photo_id":"1338171616","filename":"file1"},{"photo_id":"1338171615","filename":"file0"},{"photo_id":"1338171618","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338171617":["hashtag1","hashtag2"]},{"1338171616":["hashtag1","hashtag2"]},{"1338171619":["hashtag1","hashtag2"]},{"1338171615":["hashtag1","hashtag2"]},{"1338171624":["hashtag1","hashtag2"]},{"1338171618":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338171617, 1338171616, 1338171619, 1338171615, 1338171624, 1338171618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.78419065475464 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:18:02.419088
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_54_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_45_10771.jpg', 0), ('/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_34_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_24_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_14_9790.jpg', 0), ('/home/nano/Desktop/images/09022025/19/53/image_09022025_19_54_05_10780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_54_9756.jpg', '/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_45_10771.jpg', '/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_34_9760.jpg', '/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_24_9762.jpg', '/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_14_9790.jpg', '/home/nano/Desktop/images/09022025/19/53/image_09022025_19_54_05_10780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_54_9756.jpg
/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_45_10771.jpg
/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_34_9760.jpg
/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_24_9762.jpg
/home/nano/Desktop/images/09022025/19/54/image_09022025_19_54_14_9790.jpg
/home/nano/Desktop/images/09022025/19/53/image_09022025_19_54_05_10780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338171704","1338171707","1338171706","1338171709","1338171708","1338171711"],"photo_ids_order":["1338171704","1338171706","1338171707","1338171708","1338171709","1338171711"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/982f1e6033b427bf89dac27fa4f19007.jpg","text":"TemporaryFile(/tmp/multipartBody3027215384902636470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801945526,"filename":"image_09022025_19_54_54_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bb8d7c60f24c146346241108a2fea50c.jpg","text":"TemporaryFile(/tmp/multipartBody5829477174804016438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801945526,"filename":"image_09022025_19_54_34_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c5a7cbb2df90d2697654f6ee7ec9959.jpg","text":"TemporaryFile(/tmp/multipartBody486123257485048534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801945526,"filename":"image_09022025_19_54_45_10771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b834044d7ede98575b4f99062fe18075.jpg","text":"TemporaryFile(/tmp/multipartBody3221414018349517334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801945526,"filename":"image_09022025_19_54_14_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c9ef0ce3aaba628b7305a85acb759b6.jpg","text":"TemporaryFile(/tmp/multipartBody8773275774440522836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801945526,"filename":"image_09022025_19_54_24_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f59793c7f8850ca1c53e606163d97d12.jpg","text":"TemporaryFile(/tmp/multipartBody4636186910398565039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739801945526,"filename":"image_09022025_19_54_05_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338171707","file1":"1338171706","file0":"1338171704","file4":"1338171709","file5":"1338171711","file3":"1338171708"},"map_files_photo_id_array":[{"photo_id":"1338171711","filename":"file5"},{"photo_id":"1338171707","filename":"file2"},{"photo_id":"1338171709","filename":"file4"},{"photo_id":"1338171706","filename":"file1"},{"photo_id":"1338171704","filename":"file0"},{"photo_id":"1338171708","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338171704":["hashtag1","hashtag2"]},{"1338171707":["hashtag1","hashtag2"]},{"1338171706":["hashtag1","hashtag2"]},{"1338171709":["hashtag1","hashtag2"]},{"1338171708":["hashtag1","hashtag2"]},{"1338171711":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338171704, 1338171707, 1338171706, 1338171709, 1338171708, 1338171711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.292876958847046 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:19:02.959025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_54_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_44_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_34_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_24_10765.jpg', 0), ('/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_14_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/19/45/image_09022025_19_46_04_9759.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_54_9757.jpg', '/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_44_9754.jpg', '/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_34_9756.jpg', '/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_24_10765.jpg', '/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_14_9754.jpg', '/home/nano/Desktop/images/09022025/19/45/image_09022025_19_46_04_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_54_9757.jpg
/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_44_9754.jpg
/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_34_9756.jpg
/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_24_10765.jpg
/home/nano/Desktop/images/09022025/19/46/image_09022025_19_46_14_9754.jpg
/home/nano/Desktop/images/09022025/19/45/image_09022025_19_46_04_9759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338171731","1338171926","1338172342","1338171730","1338172161","1338172340"],"photo_ids_order":["1338171730","1338171731","1338171926","1338172161","1338172340","1338172342"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/052709e9bc854a6ba24816b1760e3b61.jpg","text":"TemporaryFile(/tmp/multipartBody641369810026381089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802006269,"filename":"image_09022025_19_46_44_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f78859d6087e290dbf9386d89f16f5f3.jpg","text":"TemporaryFile(/tmp/multipartBody4868241828208781665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802006269,"filename":"image_09022025_19_46_34_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ae5c435b83390425005de0ec4f97fd8.jpg","text":"TemporaryFile(/tmp/multipartBody4600013543396659821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802006269,"filename":"image_09022025_19_46_04_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a30d30939b15542627359c381565bd39.jpg","text":"TemporaryFile(/tmp/multipartBody4206110280706033206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802006269,"filename":"image_09022025_19_46_54_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fae03362130e6c2625ff43f31f3e7b98.jpg","text":"TemporaryFile(/tmp/multipartBody1211809993161974052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802006269,"filename":"image_09022025_19_46_24_10765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b025e449ee05373f55cc2c06b75e24af.jpg","text":"TemporaryFile(/tmp/multipartBody6222907918450949936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802006269,"filename":"image_09022025_19_46_14_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338171926","file1":"1338171731","file0":"1338171730","file4":"1338172340","file5":"1338172342","file3":"1338172161"},"map_files_photo_id_array":[{"photo_id":"1338172342","filename":"file5"},{"photo_id":"1338171926","filename":"file2"},{"photo_id":"1338172340","filename":"file4"},{"photo_id":"1338171731","filename":"file1"},{"photo_id":"1338171730","filename":"file0"},{"photo_id":"1338172161","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338171731":["hashtag1","hashtag2"]},{"1338171926":["hashtag1","hashtag2"]},{"1338172342":["hashtag1","hashtag2"]},{"1338171730":["hashtag1","hashtag2"]},{"1338172161":["hashtag1","hashtag2"]},{"1338172340":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338171731, 1338171926, 1338172342, 1338171730, 1338172161, 1338172340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32322549819946 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:20:02.546903
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_54_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_45_10767.jpg', 0), ('/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_34_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_24_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_14_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/19/18/image_09022025_19_19_05_10772.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_54_9756.jpg', '/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_45_10767.jpg', '/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_34_9756.jpg', '/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_24_9758.jpg', '/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_14_9758.jpg', '/home/nano/Desktop/images/09022025/19/18/image_09022025_19_19_05_10772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_54_9756.jpg
/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_45_10767.jpg
/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_34_9756.jpg
/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_24_9758.jpg
/home/nano/Desktop/images/09022025/19/19/image_09022025_19_19_14_9758.jpg
/home/nano/Desktop/images/09022025/19/18/image_09022025_19_19_05_10772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338172576","1338172654","1338172531","1338172653","1338172614","1338172577"],"photo_ids_order":["1338172531","1338172576","1338172577","1338172614","1338172653","1338172654"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b6eb776d2be3cc3543d425ff036ca335.jpg","text":"TemporaryFile(/tmp/multipartBody7574249257923739462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802064895,"filename":"image_09022025_19_19_45_10767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8af3102e8e3d7cc58c7e4dd713dd4c9.jpg","text":"TemporaryFile(/tmp/multipartBody1321993710902700259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802064895,"filename":"image_09022025_19_19_05_10772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d61d414bd0c3f033125480cf54fd617.jpg","text":"TemporaryFile(/tmp/multipartBody1748167330124267103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802064895,"filename":"image_09022025_19_19_54_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/516ede885e72c96bf4498eb8a448c031.jpg","text":"TemporaryFile(/tmp/multipartBody7077086881014124093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802064895,"filename":"image_09022025_19_19_14_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58e92f3f0b2cbe8cf0dbe9a6138e48f4.jpg","text":"TemporaryFile(/tmp/multipartBody2683606564594924053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802064895,"filename":"image_09022025_19_19_24_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3cd95bb9b65e11e25468e29dce721d48.jpg","text":"TemporaryFile(/tmp/multipartBody1744496504777470811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802064895,"filename":"image_09022025_19_19_34_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338172577","file1":"1338172576","file0":"1338172531","file4":"1338172653","file5":"1338172654","file3":"1338172614"},"map_files_photo_id_array":[{"photo_id":"1338172654","filename":"file5"},{"photo_id":"1338172577","filename":"file2"},{"photo_id":"1338172653","filename":"file4"},{"photo_id":"1338172576","filename":"file1"},{"photo_id":"1338172531","filename":"file0"},{"photo_id":"1338172614","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338172576":["hashtag1","hashtag2"]},{"1338172654":["hashtag1","hashtag2"]},{"1338172531":["hashtag1","hashtag2"]},{"1338172653":["hashtag1","hashtag2"]},{"1338172614":["hashtag1","hashtag2"]},{"1338172577":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338172576, 1338172654, 1338172531, 1338172653, 1338172614, 1338172577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31572079658508 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:21:02.961857
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_54_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_44_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_34_9778.jpg', 0), ('/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_25_10782.jpg', 0), ('/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_14_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/19/17/image_09022025_19_18_04_9765.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_54_9759.jpg', '/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_44_9753.jpg', '/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_34_9778.jpg', '/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_25_10782.jpg', '/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_14_9762.jpg', '/home/nano/Desktop/images/09022025/19/17/image_09022025_19_18_04_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_54_9759.jpg
/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_44_9753.jpg
/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_34_9778.jpg
/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_25_10782.jpg
/home/nano/Desktop/images/09022025/19/18/image_09022025_19_18_14_9762.jpg
/home/nano/Desktop/images/09022025/19/17/image_09022025_19_18_04_9765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338172681","1338172675","1338172678","1338172674","1338172677","1338172676"],"photo_ids_order":["1338172674","1338172675","1338172676","1338172677","1338172678","1338172681"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c991109f19c11db18a0b5df8b3a0df9.jpg","text":"TemporaryFile(/tmp/multipartBody6267900062761145755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802125311,"filename":"image_09022025_19_18_04_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e1d41d78005dfc292782c0a71b7b2013.jpg","text":"TemporaryFile(/tmp/multipartBody3731158059544806802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802125311,"filename":"image_09022025_19_18_44_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d34867acf250c1a7dea1cda7c6f1fad.jpg","text":"TemporaryFile(/tmp/multipartBody151668472550512165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802125311,"filename":"image_09022025_19_18_14_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9376ebe6b87286223a1a768529b74bf4.jpg","text":"TemporaryFile(/tmp/multipartBody5378675861668357549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802125311,"filename":"image_09022025_19_18_54_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a149c2798a157caaf6491c50faa67b15.jpg","text":"TemporaryFile(/tmp/multipartBody9177683283954878170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802125311,"filename":"image_09022025_19_18_25_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e6e64d0e0b44b2d6926775745981da2.jpg","text":"TemporaryFile(/tmp/multipartBody8660041646241020244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802125311,"filename":"image_09022025_19_18_34_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338172676","file1":"1338172675","file0":"1338172674","file4":"1338172678","file5":"1338172681","file3":"1338172677"},"map_files_photo_id_array":[{"photo_id":"1338172681","filename":"file5"},{"photo_id":"1338172676","filename":"file2"},{"photo_id":"1338172678","filename":"file4"},{"photo_id":"1338172675","filename":"file1"},{"photo_id":"1338172674","filename":"file0"},{"photo_id":"1338172677","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338172681":["hashtag1","hashtag2"]},{"1338172675":["hashtag1","hashtag2"]},{"1338172678":["hashtag1","hashtag2"]},{"1338172674":["hashtag1","hashtag2"]},{"1338172677":["hashtag1","hashtag2"]},{"1338172676":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338172681, 1338172675, 1338172678, 1338172674, 1338172677, 1338172676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32209300994873 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:22:02.842573
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_54_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_44_10762.jpg', 0), ('/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_34_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_24_9772.jpg', 0), ('/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_14_9766.jpg', 0), ('/home/nano/Desktop/images/09022025/18/55/image_09022025_18_56_04_9766.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_54_9755.jpg', '/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_44_10762.jpg', '/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_34_9759.jpg', '/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_24_9772.jpg', '/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_14_9766.jpg', '/home/nano/Desktop/images/09022025/18/55/image_09022025_18_56_04_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_54_9755.jpg
/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_44_10762.jpg
/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_34_9759.jpg
/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_24_9772.jpg
/home/nano/Desktop/images/09022025/18/56/image_09022025_18_56_14_9766.jpg
/home/nano/Desktop/images/09022025/18/55/image_09022025_18_56_04_9766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338172711","1338172702","1338172705","1338172707","1338172701","1338172703"],"photo_ids_order":["1338172701","1338172702","1338172703","1338172705","1338172707","1338172711"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c5acb8414f8b4cf5b8f5aee4caf7497.jpg","text":"TemporaryFile(/tmp/multipartBody3341699865207848987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802185354,"filename":"image_09022025_18_56_04_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/455b3fae1bd6c333f805b2fe79cfb6d3.jpg","text":"TemporaryFile(/tmp/multipartBody5388338032804082767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802185354,"filename":"image_09022025_18_56_44_10762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/793f3ed57cc1d62e11128143068efb07.jpg","text":"TemporaryFile(/tmp/multipartBody6309411232181258951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802185354,"filename":"image_09022025_18_56_24_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c02bded957d4a109cebb9d24f08574d.jpg","text":"TemporaryFile(/tmp/multipartBody5959026205655103436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802185354,"filename":"image_09022025_18_56_14_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/18f2574e7467223af7831edf2744f6af.jpg","text":"TemporaryFile(/tmp/multipartBody8097522045243164919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802185354,"filename":"image_09022025_18_56_54_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c77cd957113071509b58be4385e80e6.jpg","text":"TemporaryFile(/tmp/multipartBody2856986329476814513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802185354,"filename":"image_09022025_18_56_34_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338172703","file1":"1338172702","file0":"1338172701","file4":"1338172707","file5":"1338172711","file3":"1338172705"},"map_files_photo_id_array":[{"photo_id":"1338172711","filename":"file5"},{"photo_id":"1338172703","filename":"file2"},{"photo_id":"1338172707","filename":"file4"},{"photo_id":"1338172702","filename":"file1"},{"photo_id":"1338172701","filename":"file0"},{"photo_id":"1338172705","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338172711":["hashtag1","hashtag2"]},{"1338172702":["hashtag1","hashtag2"]},{"1338172705":["hashtag1","hashtag2"]},{"1338172707":["hashtag1","hashtag2"]},{"1338172701":["hashtag1","hashtag2"]},{"1338172703":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338172711, 1338172702, 1338172705, 1338172707, 1338172701, 1338172703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51767349243164 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:23:02.272293
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_54_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_44_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_35_10763.jpg', 0), ('/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_24_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_14_9764.jpg', 0), ('/home/nano/Desktop/images/09022025/18/36/image_09022025_18_37_04_9765.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_54_9760.jpg', '/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_44_9760.jpg', '/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_35_10763.jpg', '/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_24_9758.jpg', '/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_14_9764.jpg', '/home/nano/Desktop/images/09022025/18/36/image_09022025_18_37_04_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_54_9760.jpg
/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_44_9760.jpg
/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_35_10763.jpg
/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_24_9758.jpg
/home/nano/Desktop/images/09022025/18/37/image_09022025_18_37_14_9764.jpg
/home/nano/Desktop/images/09022025/18/36/image_09022025_18_37_04_9765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338172795","1338172750","1338172747","1338172749","1338172799","1338172748"],"photo_ids_order":["1338172747","1338172748","1338172749","1338172750","1338172795","1338172799"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ffd460d4f6aa5c6bd313cb94a9474b4.jpg","text":"TemporaryFile(/tmp/multipartBody1477971120717077840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802244504,"filename":"image_09022025_18_37_14_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e212ecdaa4e4cffeac8fb2b9a263d2d5.jpg","text":"TemporaryFile(/tmp/multipartBody3087063829534803379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802244504,"filename":"image_09022025_18_37_24_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff37ad52ed201bea1b76f2096d263b23.jpg","text":"TemporaryFile(/tmp/multipartBody2580340543558474490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802244504,"filename":"image_09022025_18_37_54_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a88efb882c531b67514b31f8a28be9f7.jpg","text":"TemporaryFile(/tmp/multipartBody1411188596220744446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802244504,"filename":"image_09022025_18_37_35_10763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cfc31d0002313cf98b0cffe51c43413.jpg","text":"TemporaryFile(/tmp/multipartBody553223506970755339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802244504,"filename":"image_09022025_18_37_04_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4551c32b17e76838f4eb81388f0b3ab8.jpg","text":"TemporaryFile(/tmp/multipartBody5629712275132226514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802244504,"filename":"image_09022025_18_37_44_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338172749","file1":"1338172748","file0":"1338172747","file4":"1338172795","file5":"1338172799","file3":"1338172750"},"map_files_photo_id_array":[{"photo_id":"1338172799","filename":"file5"},{"photo_id":"1338172749","filename":"file2"},{"photo_id":"1338172795","filename":"file4"},{"photo_id":"1338172748","filename":"file1"},{"photo_id":"1338172747","filename":"file0"},{"photo_id":"1338172750","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338172795":["hashtag1","hashtag2"]},{"1338172750":["hashtag1","hashtag2"]},{"1338172747":["hashtag1","hashtag2"]},{"1338172749":["hashtag1","hashtag2"]},{"1338172799":["hashtag1","hashtag2"]},{"1338172748":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338172795, 1338172750, 1338172747, 1338172749, 1338172799, 1338172748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.997668981552124 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:24:02.496548
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_54_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_45_10768.jpg', 0), ('/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_34_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_24_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_14_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/18/18/image_09022025_18_19_05_10772.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_54_9758.jpg', '/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_45_10768.jpg', '/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_34_9760.jpg', '/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_24_9762.jpg', '/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_14_9756.jpg', '/home/nano/Desktop/images/09022025/18/18/image_09022025_18_19_05_10772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_54_9758.jpg
/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_45_10768.jpg
/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_34_9760.jpg
/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_24_9762.jpg
/home/nano/Desktop/images/09022025/18/19/image_09022025_18_19_14_9756.jpg
/home/nano/Desktop/images/09022025/18/18/image_09022025_18_19_05_10772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338172834","1338172828","1338172833","1338172832","1338172838","1338172823"],"photo_ids_order":["1338172823","1338172828","1338172832","1338172833","1338172834","1338172838"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/114f7c6425bd675fe8529591a79bce64.jpg","text":"TemporaryFile(/tmp/multipartBody3370314947938882224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802305074,"filename":"image_09022025_18_19_14_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a0827ec59c3d4d6285702d52173ea37.jpg","text":"TemporaryFile(/tmp/multipartBody1025769861946688021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802305074,"filename":"image_09022025_18_19_45_10768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76de806fac4bec6f2c7fda56f7b74e02.jpg","text":"TemporaryFile(/tmp/multipartBody7172329114052054480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802305074,"filename":"image_09022025_18_19_24_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c7d42bb29c91bdccd80111a8cfc1032.jpg","text":"TemporaryFile(/tmp/multipartBody2202184560616211074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802305074,"filename":"image_09022025_18_19_34_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bddff49b60de36c7740195885d53ecdd.jpg","text":"TemporaryFile(/tmp/multipartBody2612415098470038730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802305074,"filename":"image_09022025_18_19_05_10772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ef1cd467c2bacfb7d3a073a92885b8a0.jpg","text":"TemporaryFile(/tmp/multipartBody5210165932299251002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802305074,"filename":"image_09022025_18_19_54_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338172832","file1":"1338172828","file0":"1338172823","file4":"1338172834","file5":"1338172838","file3":"1338172833"},"map_files_photo_id_array":[{"photo_id":"1338172838","filename":"file5"},{"photo_id":"1338172832","filename":"file2"},{"photo_id":"1338172834","filename":"file4"},{"photo_id":"1338172828","filename":"file1"},{"photo_id":"1338172823","filename":"file0"},{"photo_id":"1338172833","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338172834":["hashtag1","hashtag2"]},{"1338172828":["hashtag1","hashtag2"]},{"1338172833":["hashtag1","hashtag2"]},{"1338172832":["hashtag1","hashtag2"]},{"1338172838":["hashtag1","hashtag2"]},{"1338172823":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338172834, 1338172828, 1338172833, 1338172832, 1338172838, 1338172823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65506386756897 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:25:02.535289
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_54_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_45_10761.jpg', 0), ('/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_34_9773.jpg', 0), ('/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_24_9771.jpg', 0), ('/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_14_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/18/11/image_09022025_18_12_04_9764.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_54_9751.jpg', '/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_45_10761.jpg', '/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_34_9773.jpg', '/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_24_9771.jpg', '/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_14_9762.jpg', '/home/nano/Desktop/images/09022025/18/11/image_09022025_18_12_04_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_54_9751.jpg
/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_45_10761.jpg
/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_34_9773.jpg
/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_24_9771.jpg
/home/nano/Desktop/images/09022025/18/12/image_09022025_18_12_14_9762.jpg
/home/nano/Desktop/images/09022025/18/11/image_09022025_18_12_04_9764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338172876","1338172861","1338172872","1338172860","1338172862","1338172865"],"photo_ids_order":["1338172860","1338172861","1338172862","1338172865","1338172872","1338172876"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4820d0d240704f30cce68e0bee16124.jpg","text":"TemporaryFile(/tmp/multipartBody4593697414862957500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802364733,"filename":"image_09022025_18_12_04_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/569ae1bd160164c94591567f65af3adb.jpg","text":"TemporaryFile(/tmp/multipartBody4198281438361430893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802364733,"filename":"image_09022025_18_12_45_10761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/43be831d033d5831f33922405500416e.jpg","text":"TemporaryFile(/tmp/multipartBody882307416176261439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802364733,"filename":"image_09022025_18_12_14_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f42a7469020d0b8b8e21b32509b3123.jpg","text":"TemporaryFile(/tmp/multipartBody7904965781542424623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802364733,"filename":"image_09022025_18_12_54_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/831a4b85f744ab5a4a2cf4947bbba5e0.jpg","text":"TemporaryFile(/tmp/multipartBody8992771186802055450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802364733,"filename":"image_09022025_18_12_34_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb31106eed9e7489ce7dc4367995c5a6.jpg","text":"TemporaryFile(/tmp/multipartBody2199224560581609216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802364733,"filename":"image_09022025_18_12_24_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338172862","file1":"1338172861","file0":"1338172860","file4":"1338172872","file5":"1338172876","file3":"1338172865"},"map_files_photo_id_array":[{"photo_id":"1338172876","filename":"file5"},{"photo_id":"1338172862","filename":"file2"},{"photo_id":"1338172872","filename":"file4"},{"photo_id":"1338172861","filename":"file1"},{"photo_id":"1338172860","filename":"file0"},{"photo_id":"1338172865","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338172876":["hashtag1","hashtag2"]},{"1338172861":["hashtag1","hashtag2"]},{"1338172872":["hashtag1","hashtag2"]},{"1338172860":["hashtag1","hashtag2"]},{"1338172862":["hashtag1","hashtag2"]},{"1338172865":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338172876, 1338172861, 1338172872, 1338172860, 1338172862, 1338172865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77024483680725 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:26:02.471305
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_54_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_44_9764.jpg', 0), ('/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_34_9766.jpg', 0), ('/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_25_10770.jpg', 0), ('/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_14_9768.jpg', 0), ('/home/nano/Desktop/images/09022025/17/50/image_09022025_17_51_04_9766.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_54_9759.jpg', '/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_44_9764.jpg', '/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_34_9766.jpg', '/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_25_10770.jpg', '/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_14_9768.jpg', '/home/nano/Desktop/images/09022025/17/50/image_09022025_17_51_04_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_54_9759.jpg
/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_44_9764.jpg
/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_34_9766.jpg
/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_25_10770.jpg
/home/nano/Desktop/images/09022025/17/51/image_09022025_17_51_14_9768.jpg
/home/nano/Desktop/images/09022025/17/50/image_09022025_17_51_04_9766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338172930","1338172933","1338172927","1338172915","1338172914","1338172916"],"photo_ids_order":["1338172914","1338172915","1338172916","1338172927","1338172930","1338172933"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8fde1d5d39a8e3963a7acd2a76e2c1d9.jpg","text":"TemporaryFile(/tmp/multipartBody5580521302192595035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802424563,"filename":"image_09022025_17_51_14_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b4a144b3284783f7dbe345daff53e54.jpg","text":"TemporaryFile(/tmp/multipartBody1718077325326960555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802424563,"filename":"image_09022025_17_51_04_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97891103dab589bea4e711e7f7d1854e.jpg","text":"TemporaryFile(/tmp/multipartBody3234655890540257926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802424563,"filename":"image_09022025_17_51_25_10770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/36b89e7a780c7b153faf2b6e4633c11b.jpg","text":"TemporaryFile(/tmp/multipartBody8246042546562816606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802424563,"filename":"image_09022025_17_51_44_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8dece67bf94a779d2ae47b8bfe9ca45.jpg","text":"TemporaryFile(/tmp/multipartBody3928903099520769393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802424563,"filename":"image_09022025_17_51_54_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6650eaa03c4e8040a57fb534a979485c.jpg","text":"TemporaryFile(/tmp/multipartBody1606809800027432193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802424563,"filename":"image_09022025_17_51_34_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338172916","file1":"1338172915","file0":"1338172914","file4":"1338172930","file5":"1338172933","file3":"1338172927"},"map_files_photo_id_array":[{"photo_id":"1338172933","filename":"file5"},{"photo_id":"1338172916","filename":"file2"},{"photo_id":"1338172930","filename":"file4"},{"photo_id":"1338172915","filename":"file1"},{"photo_id":"1338172914","filename":"file0"},{"photo_id":"1338172927","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338172930":["hashtag1","hashtag2"]},{"1338172933":["hashtag1","hashtag2"]},{"1338172927":["hashtag1","hashtag2"]},{"1338172915":["hashtag1","hashtag2"]},{"1338172914":["hashtag1","hashtag2"]},{"1338172916":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338172930, 1338172933, 1338172927, 1338172915, 1338172914, 1338172916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56676888465881 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:27:02.773450
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_54_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_44_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_35_10773.jpg', 0), ('/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_24_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_14_9764.jpg', 0), ('/home/nano/Desktop/images/09022025/17/27/image_09022025_17_28_04_9769.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_54_9760.jpg', '/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_44_9762.jpg', '/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_35_10773.jpg', '/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_24_9759.jpg', '/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_14_9764.jpg', '/home/nano/Desktop/images/09022025/17/27/image_09022025_17_28_04_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_54_9760.jpg
/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_44_9762.jpg
/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_35_10773.jpg
/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_24_9759.jpg
/home/nano/Desktop/images/09022025/17/28/image_09022025_17_28_14_9764.jpg
/home/nano/Desktop/images/09022025/17/27/image_09022025_17_28_04_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338172972","1338173023","1338173020","1338173040","1338173022","1338173021"],"photo_ids_order":["1338172972","1338173020","1338173021","1338173022","1338173023","1338173040"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5fda324c8ee4280a33e71f301caff8f3.jpg","text":"TemporaryFile(/tmp/multipartBody3933118089140923344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802485015,"filename":"image_09022025_17_28_54_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d11976cbac5a2b388df8f56da2b7df4d.jpg","text":"TemporaryFile(/tmp/multipartBody5139518682714058597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802485015,"filename":"image_09022025_17_28_14_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/69b3b0fe9efb93a25e093e7c9a905377.jpg","text":"TemporaryFile(/tmp/multipartBody4295062527170670472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802485015,"filename":"image_09022025_17_28_44_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7861cbef6341fcd28d8f97a232ccaa14.jpg","text":"TemporaryFile(/tmp/multipartBody928766450440638285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802485015,"filename":"image_09022025_17_28_04_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2d0a827d7a19775d9b94d3bf5154f52.jpg","text":"TemporaryFile(/tmp/multipartBody1206172721628792113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802485015,"filename":"image_09022025_17_28_24_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b28f66abe94add90e48d42284ebdb3ae.jpg","text":"TemporaryFile(/tmp/multipartBody3571421149079223137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802485015,"filename":"image_09022025_17_28_35_10773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338173021","file1":"1338173020","file0":"1338172972","file4":"1338173023","file5":"1338173040","file3":"1338173022"},"map_files_photo_id_array":[{"photo_id":"1338173040","filename":"file5"},{"photo_id":"1338173021","filename":"file2"},{"photo_id":"1338173023","filename":"file4"},{"photo_id":"1338173020","filename":"file1"},{"photo_id":"1338172972","filename":"file0"},{"photo_id":"1338173022","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338172972":["hashtag1","hashtag2"]},{"1338173023":["hashtag1","hashtag2"]},{"1338173020":["hashtag1","hashtag2"]},{"1338173040":["hashtag1","hashtag2"]},{"1338173022":["hashtag1","hashtag2"]},{"1338173021":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338172972, 1338173023, 1338173020, 1338173040, 1338173022, 1338173021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.5613272190094 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:28:02.853195
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_54_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_44_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_34_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_25_10764.jpg', 0), ('/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_14_9778.jpg', 0), ('/home/nano/Desktop/images/09022025/17/18/image_09022025_17_19_04_9770.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_54_9757.jpg', '/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_44_9759.jpg', '/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_34_9760.jpg', '/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_25_10764.jpg', '/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_14_9778.jpg', '/home/nano/Desktop/images/09022025/17/18/image_09022025_17_19_04_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_54_9757.jpg
/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_44_9759.jpg
/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_34_9760.jpg
/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_25_10764.jpg
/home/nano/Desktop/images/09022025/17/19/image_09022025_17_19_14_9778.jpg
/home/nano/Desktop/images/09022025/17/18/image_09022025_17_19_04_9770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338173236","1338173239","1338173230","1338173250","1338173237","1338173246"],"photo_ids_order":["1338173230","1338173236","1338173237","1338173239","1338173246","1338173250"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1dfd568331d3671845bb9f049bd4fd7.jpg","text":"TemporaryFile(/tmp/multipartBody8685560168590619950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802545424,"filename":"image_09022025_17_19_44_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f92550ab3db42f7a8b0c72b092de687.jpg","text":"TemporaryFile(/tmp/multipartBody4970438593125811489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802545424,"filename":"image_09022025_17_19_25_10764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00b0958e059faed811b64b492b8fc775.jpg","text":"TemporaryFile(/tmp/multipartBody6633121644790552478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802545424,"filename":"image_09022025_17_19_54_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b6c3988119547debf84a451b8f953b4c.jpg","text":"TemporaryFile(/tmp/multipartBody3388944189788929389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802545424,"filename":"image_09022025_17_19_04_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/94b28433a79c631e84785e3440b3b19e.jpg","text":"TemporaryFile(/tmp/multipartBody2109042842118811612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802545424,"filename":"image_09022025_17_19_34_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf30c5c3517dff991623e1af4e82c7ae.jpg","text":"TemporaryFile(/tmp/multipartBody6509130149350562270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802545424,"filename":"image_09022025_17_19_14_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338173237","file1":"1338173236","file0":"1338173230","file4":"1338173246","file5":"1338173250","file3":"1338173239"},"map_files_photo_id_array":[{"photo_id":"1338173250","filename":"file5"},{"photo_id":"1338173237","filename":"file2"},{"photo_id":"1338173246","filename":"file4"},{"photo_id":"1338173236","filename":"file1"},{"photo_id":"1338173230","filename":"file0"},{"photo_id":"1338173239","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338173236":["hashtag1","hashtag2"]},{"1338173239":["hashtag1","hashtag2"]},{"1338173230":["hashtag1","hashtag2"]},{"1338173250":["hashtag1","hashtag2"]},{"1338173237":["hashtag1","hashtag2"]},{"1338173246":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338173236, 1338173239, 1338173230, 1338173250, 1338173237, 1338173246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.939043760299683 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:29:03.528653
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_54_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_44_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_34_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_24_10768.jpg', 0), ('/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_14_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/16/56/image_09022025_16_57_04_9762.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_54_9754.jpg', '/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_44_9760.jpg', '/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_34_9759.jpg', '/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_24_10768.jpg', '/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_14_9763.jpg', '/home/nano/Desktop/images/09022025/16/56/image_09022025_16_57_04_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_54_9754.jpg
/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_44_9760.jpg
/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_34_9759.jpg
/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_24_10768.jpg
/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_14_9763.jpg
/home/nano/Desktop/images/09022025/16/56/image_09022025_16_57_04_9762.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7019174098968506 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:29:32.765454
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_54_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_44_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_34_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_24_10768.jpg', 0), ('/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_14_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/16/56/image_09022025_16_57_04_9762.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_54_9754.jpg', '/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_44_9760.jpg', '/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_34_9759.jpg', '/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_24_10768.jpg', '/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_14_9763.jpg', '/home/nano/Desktop/images/09022025/16/56/image_09022025_16_57_04_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_54_9754.jpg
/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_44_9760.jpg
/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_34_9759.jpg
/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_24_10768.jpg
/home/nano/Desktop/images/09022025/16/57/image_09022025_16_57_14_9763.jpg
/home/nano/Desktop/images/09022025/16/56/image_09022025_16_57_04_9762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338173314","1338173317","1338173305","1338173295","1338173309","1338173300"],"photo_ids_order":["1338173295","1338173300","1338173305","1338173309","1338173314","1338173317"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/63bc546387db613958e3c907a65c02e4.jpg","text":"TemporaryFile(/tmp/multipartBody5906126205852360624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802635321,"filename":"image_09022025_16_57_14_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1bee4f8760a0baf319fbc2f761b88f9b.jpg","text":"TemporaryFile(/tmp/multipartBody8931147110405354071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802635321,"filename":"image_09022025_16_57_04_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa79da6193880fc9706c0bf95a1a2297.jpg","text":"TemporaryFile(/tmp/multipartBody6600442734892959281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802635321,"filename":"image_09022025_16_57_34_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38843af3da022ca094810061cfda0c2d.jpg","text":"TemporaryFile(/tmp/multipartBody3762523963429680097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802635321,"filename":"image_09022025_16_57_54_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9202932d454170e9c0f45de58200cb5f.jpg","text":"TemporaryFile(/tmp/multipartBody6224244033719670475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802635321,"filename":"image_09022025_16_57_24_10768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f559e696c1e61325f7fee0eef4b65f44.jpg","text":"TemporaryFile(/tmp/multipartBody3064929493717308366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802635321,"filename":"image_09022025_16_57_44_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338173305","file1":"1338173300","file0":"1338173295","file4":"1338173314","file5":"1338173317","file3":"1338173309"},"map_files_photo_id_array":[{"photo_id":"1338173317","filename":"file5"},{"photo_id":"1338173305","filename":"file2"},{"photo_id":"1338173314","filename":"file4"},{"photo_id":"1338173300","filename":"file1"},{"photo_id":"1338173295","filename":"file0"},{"photo_id":"1338173309","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338173314":["hashtag1","hashtag2"]},{"1338173317":["hashtag1","hashtag2"]},{"1338173305":["hashtag1","hashtag2"]},{"1338173295":["hashtag1","hashtag2"]},{"1338173309":["hashtag1","hashtag2"]},{"1338173300":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338173314, 1338173317, 1338173305, 1338173295, 1338173309, 1338173300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83728766441345 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:30:31.919431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_54_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_45_10786.jpg', 0), ('/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_34_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_24_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_14_9781.jpg', 0), ('/home/nano/Desktop/images/09022025/16/40/image_09022025_16_41_05_10776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_54_9757.jpg', '/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_45_10786.jpg', '/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_34_9756.jpg', '/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_24_9753.jpg', '/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_14_9781.jpg', '/home/nano/Desktop/images/09022025/16/40/image_09022025_16_41_05_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_54_9757.jpg
/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_45_10786.jpg
/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_34_9756.jpg
/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_24_9753.jpg
/home/nano/Desktop/images/09022025/16/41/image_09022025_16_41_14_9781.jpg
/home/nano/Desktop/images/09022025/16/40/image_09022025_16_41_05_10776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338173440","1338173454","1338173457","1338173451","1338173447","1338173444"],"photo_ids_order":["1338173440","1338173444","1338173447","1338173451","1338173454","1338173457"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a582fba2dd1160d4ec1d842d0671628.jpg","text":"TemporaryFile(/tmp/multipartBody9124104215645902547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802694386,"filename":"image_09022025_16_41_54_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d195735d2de9f63a2a6542ed2931aa00.jpg","text":"TemporaryFile(/tmp/multipartBody8637678208744466619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802694386,"filename":"image_09022025_16_41_14_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae492aa525f1f2e7f9efe8c8bb0eef98.jpg","text":"TemporaryFile(/tmp/multipartBody4313302661239508571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802694386,"filename":"image_09022025_16_41_05_10776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7b62504145815df1410989996d1f351.jpg","text":"TemporaryFile(/tmp/multipartBody4224982233055127137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802694386,"filename":"image_09022025_16_41_24_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90d98df6ca3a96c292e1b3aca74dcabd.jpg","text":"TemporaryFile(/tmp/multipartBody7021832496336458196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802694386,"filename":"image_09022025_16_41_34_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/691b882b17b626d25ade45442096a8b1.jpg","text":"TemporaryFile(/tmp/multipartBody491971967580424702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802694386,"filename":"image_09022025_16_41_45_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338173447","file1":"1338173444","file0":"1338173440","file4":"1338173454","file5":"1338173457","file3":"1338173451"},"map_files_photo_id_array":[{"photo_id":"1338173457","filename":"file5"},{"photo_id":"1338173447","filename":"file2"},{"photo_id":"1338173454","filename":"file4"},{"photo_id":"1338173444","filename":"file1"},{"photo_id":"1338173440","filename":"file0"},{"photo_id":"1338173451","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338173440":["hashtag1","hashtag2"]},{"1338173454":["hashtag1","hashtag2"]},{"1338173457":["hashtag1","hashtag2"]},{"1338173451":["hashtag1","hashtag2"]},{"1338173447":["hashtag1","hashtag2"]},{"1338173444":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338173440, 1338173454, 1338173457, 1338173451, 1338173447, 1338173444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80283856391907 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:31:32.069190
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_55_10764.jpg', 0), ('/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_44_9761.jpg', 0), ('/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_34_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_24_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_14_10768.jpg', 0), ('/home/nano/Desktop/images/09022025/15/47/image_09022025_15_48_04_9767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_55_10764.jpg', '/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_44_9761.jpg', '/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_34_9763.jpg', '/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_24_9759.jpg', '/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_14_10768.jpg', '/home/nano/Desktop/images/09022025/15/47/image_09022025_15_48_04_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_55_10764.jpg
/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_44_9761.jpg
/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_34_9763.jpg
/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_24_9759.jpg
/home/nano/Desktop/images/09022025/15/48/image_09022025_15_48_14_10768.jpg
/home/nano/Desktop/images/09022025/15/47/image_09022025_15_48_04_9767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338173481","1338173475","1338173471","1338173468","1338173479","1338173464"],"photo_ids_order":["1338173464","1338173468","1338173471","1338173475","1338173479","1338173481"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df36f35005ce18f72ac8bc01fa5a5b9b.jpg","text":"TemporaryFile(/tmp/multipartBody4421357758670427578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802754614,"filename":"image_09022025_15_48_04_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2942469d8b3afd71a6c7d26be8afba4f.jpg","text":"TemporaryFile(/tmp/multipartBody3493958930980434633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802754614,"filename":"image_09022025_15_48_24_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8eac96d0ff2dd0931af8e04da1dc829a.jpg","text":"TemporaryFile(/tmp/multipartBody5799751371343682600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802754614,"filename":"image_09022025_15_48_34_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3c2e0d8913fd0564cf5edd2936ab89c.jpg","text":"TemporaryFile(/tmp/multipartBody3948370921351355618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802754614,"filename":"image_09022025_15_48_44_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6bcd64b8fb1f8353c5f2cfcb50ceb8ec.jpg","text":"TemporaryFile(/tmp/multipartBody5683188918794140273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802754614,"filename":"image_09022025_15_48_14_10768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/648a6b956bce7fa5a674178dee222d01.jpg","text":"TemporaryFile(/tmp/multipartBody8676502303186871037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802754614,"filename":"image_09022025_15_48_55_10764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338173471","file1":"1338173468","file0":"1338173464","file4":"1338173479","file5":"1338173481","file3":"1338173475"},"map_files_photo_id_array":[{"photo_id":"1338173481","filename":"file5"},{"photo_id":"1338173471","filename":"file2"},{"photo_id":"1338173479","filename":"file4"},{"photo_id":"1338173468","filename":"file1"},{"photo_id":"1338173464","filename":"file0"},{"photo_id":"1338173475","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338173481":["hashtag1","hashtag2"]},{"1338173475":["hashtag1","hashtag2"]},{"1338173471":["hashtag1","hashtag2"]},{"1338173468":["hashtag1","hashtag2"]},{"1338173479":["hashtag1","hashtag2"]},{"1338173464":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338173481, 1338173475, 1338173471, 1338173468, 1338173479, 1338173464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49191641807556 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:32:32.244399
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_54_10767.jpg', 0), ('/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_44_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_34_9781.jpg', 0), ('/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_24_9776.jpg', 0), ('/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_14_9780.jpg', 0), ('/home/nano/Desktop/images/09022025/15/20/image_09022025_15_21_05_10773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_54_10767.jpg', '/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_44_9760.jpg', '/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_34_9781.jpg', '/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_24_9776.jpg', '/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_14_9780.jpg', '/home/nano/Desktop/images/09022025/15/20/image_09022025_15_21_05_10773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_54_10767.jpg
/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_44_9760.jpg
/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_34_9781.jpg
/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_24_9776.jpg
/home/nano/Desktop/images/09022025/15/21/image_09022025_15_21_14_9780.jpg
/home/nano/Desktop/images/09022025/15/20/image_09022025_15_21_05_10773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338173527","1338173512","1338173521","1338173509","1338173516","1338173525"],"photo_ids_order":["1338173509","1338173512","1338173516","1338173521","1338173525","1338173527"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f29a1206731c442415f67ab0b8c6197e.jpg","text":"TemporaryFile(/tmp/multipartBody7370839756990761563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802814703,"filename":"image_09022025_15_21_05_10773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/505f6b4b814b92e0381c7d6b91904392.jpg","text":"TemporaryFile(/tmp/multipartBody4868471301334965019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802814703,"filename":"image_09022025_15_21_44_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c86c84c302b0f8b6c23e65633e1c2724.jpg","text":"TemporaryFile(/tmp/multipartBody2637554281809143157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802814703,"filename":"image_09022025_15_21_24_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/044be4841ec0c882579f1b082a0bf963.jpg","text":"TemporaryFile(/tmp/multipartBody7248417645537477683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802814703,"filename":"image_09022025_15_21_54_10767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b559b23c21ceb288fc447e4feba1c5d.jpg","text":"TemporaryFile(/tmp/multipartBody7780432303271364687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802814703,"filename":"image_09022025_15_21_34_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a20ba8bc5046d90307b035bf28b397c.jpg","text":"TemporaryFile(/tmp/multipartBody5647865474149059829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802814703,"filename":"image_09022025_15_21_14_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338173516","file1":"1338173512","file0":"1338173509","file4":"1338173525","file5":"1338173527","file3":"1338173521"},"map_files_photo_id_array":[{"photo_id":"1338173527","filename":"file5"},{"photo_id":"1338173516","filename":"file2"},{"photo_id":"1338173525","filename":"file4"},{"photo_id":"1338173512","filename":"file1"},{"photo_id":"1338173509","filename":"file0"},{"photo_id":"1338173521","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338173527":["hashtag1","hashtag2"]},{"1338173512":["hashtag1","hashtag2"]},{"1338173521":["hashtag1","hashtag2"]},{"1338173509":["hashtag1","hashtag2"]},{"1338173516":["hashtag1","hashtag2"]},{"1338173525":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338173527, 1338173512, 1338173521, 1338173509, 1338173516, 1338173525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.215383768081665 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:33:32.376183
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_54_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_44_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_35_10764.jpg', 0), ('/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_24_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_14_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/14/57/image_09022025_14_58_04_9768.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_54_9756.jpg', '/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_44_9757.jpg', '/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_35_10764.jpg', '/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_24_9758.jpg', '/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_14_9762.jpg', '/home/nano/Desktop/images/09022025/14/57/image_09022025_14_58_04_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_54_9756.jpg
/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_44_9757.jpg
/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_35_10764.jpg
/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_24_9758.jpg
/home/nano/Desktop/images/09022025/14/58/image_09022025_14_58_14_9762.jpg
/home/nano/Desktop/images/09022025/14/57/image_09022025_14_58_04_9768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338173770","1338173728","1338173724","1338173720","1338173773","1338173761"],"photo_ids_order":["1338173720","1338173724","1338173728","1338173761","1338173770","1338173773"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca75da049215634ea8f9a01505587907.jpg","text":"TemporaryFile(/tmp/multipartBody8057704390707046567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802874631,"filename":"image_09022025_14_58_14_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c280428d1783a6325ca23c8deb12c7a9.jpg","text":"TemporaryFile(/tmp/multipartBody2201845779071473836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802874631,"filename":"image_09022025_14_58_35_10764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/520f2a460b5b320d5c50941513ca61e9.jpg","text":"TemporaryFile(/tmp/multipartBody5999069548117182382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802874631,"filename":"image_09022025_14_58_44_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99b75b429b172cf3cd71f3fc781e97b2.jpg","text":"TemporaryFile(/tmp/multipartBody6491820025728717973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802874631,"filename":"image_09022025_14_58_54_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b5df52a3fc5822120f7adb355a14a377.jpg","text":"TemporaryFile(/tmp/multipartBody5594444999922967617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802874631,"filename":"image_09022025_14_58_04_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6dae0e4ae745cf942e080b8bd759f2aa.jpg","text":"TemporaryFile(/tmp/multipartBody5914459907312567500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802874631,"filename":"image_09022025_14_58_24_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338173728","file1":"1338173724","file0":"1338173720","file4":"1338173770","file5":"1338173773","file3":"1338173761"},"map_files_photo_id_array":[{"photo_id":"1338173773","filename":"file5"},{"photo_id":"1338173728","filename":"file2"},{"photo_id":"1338173770","filename":"file4"},{"photo_id":"1338173724","filename":"file1"},{"photo_id":"1338173720","filename":"file0"},{"photo_id":"1338173761","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338173770":["hashtag1","hashtag2"]},{"1338173728":["hashtag1","hashtag2"]},{"1338173724":["hashtag1","hashtag2"]},{"1338173720":["hashtag1","hashtag2"]},{"1338173773":["hashtag1","hashtag2"]},{"1338173761":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338173770, 1338173728, 1338173724, 1338173720, 1338173773, 1338173761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.643070459365845 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:34:32.510494
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_54_10766.jpg', 0), ('/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_44_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_34_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_24_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_14_9784.jpg', 0), ('/home/nano/Desktop/images/09022025/14/56/image_09022025_14_57_05_10767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_54_10766.jpg', '/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_44_9752.jpg', '/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_34_9757.jpg', '/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_24_9758.jpg', '/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_14_9784.jpg', '/home/nano/Desktop/images/09022025/14/56/image_09022025_14_57_05_10767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_54_10766.jpg
/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_44_9752.jpg
/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_34_9757.jpg
/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_24_9758.jpg
/home/nano/Desktop/images/09022025/14/57/image_09022025_14_57_14_9784.jpg
/home/nano/Desktop/images/09022025/14/56/image_09022025_14_57_05_10767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338173803","1338173806","1338173799","1338173795","1338173791","1338173788"],"photo_ids_order":["1338173788","1338173791","1338173795","1338173799","1338173803","1338173806"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e93a3561974eefb9fe2624ec23169bfc.jpg","text":"TemporaryFile(/tmp/multipartBody9183682510034813809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802934673,"filename":"image_09022025_14_57_14_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb692af6502b4c7ca2530596c45285c9.jpg","text":"TemporaryFile(/tmp/multipartBody8086662352570628902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802934673,"filename":"image_09022025_14_57_05_10767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0071cbc923e8d47d7202516026b1814b.jpg","text":"TemporaryFile(/tmp/multipartBody987701158705796616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802934673,"filename":"image_09022025_14_57_24_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/939eccb75413c2d772bcd97bfc1af796.jpg","text":"TemporaryFile(/tmp/multipartBody4062278408322145941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802934673,"filename":"image_09022025_14_57_34_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5aaa0fb20ec5ff865802b06b1253a65a.jpg","text":"TemporaryFile(/tmp/multipartBody384091634049489644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802934673,"filename":"image_09022025_14_57_44_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/174abaa31e097a540636ca48e2bfdaf9.jpg","text":"TemporaryFile(/tmp/multipartBody1797829301913456338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802934673,"filename":"image_09022025_14_57_54_10766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338173795","file1":"1338173791","file0":"1338173788","file4":"1338173803","file5":"1338173806","file3":"1338173799"},"map_files_photo_id_array":[{"photo_id":"1338173806","filename":"file5"},{"photo_id":"1338173795","filename":"file2"},{"photo_id":"1338173803","filename":"file4"},{"photo_id":"1338173791","filename":"file1"},{"photo_id":"1338173788","filename":"file0"},{"photo_id":"1338173799","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338173803":["hashtag1","hashtag2"]},{"1338173806":["hashtag1","hashtag2"]},{"1338173799":["hashtag1","hashtag2"]},{"1338173795":["hashtag1","hashtag2"]},{"1338173791":["hashtag1","hashtag2"]},{"1338173788":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338173803, 1338173806, 1338173799, 1338173795, 1338173791, 1338173788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60669207572937 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:35:32.680949
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_54_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_44_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_34_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_25_10763.jpg', 0), ('/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_14_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/14/55/image_09022025_14_56_04_9761.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_54_9756.jpg', '/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_44_9757.jpg', '/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_34_9755.jpg', '/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_25_10763.jpg', '/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_14_9759.jpg', '/home/nano/Desktop/images/09022025/14/55/image_09022025_14_56_04_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_54_9756.jpg
/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_44_9757.jpg
/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_34_9755.jpg
/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_25_10763.jpg
/home/nano/Desktop/images/09022025/14/56/image_09022025_14_56_14_9759.jpg
/home/nano/Desktop/images/09022025/14/55/image_09022025_14_56_04_9761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338173842","1338173859","1338173850","1338173853","1338173856","1338173846"],"photo_ids_order":["1338173842","1338173846","1338173850","1338173853","1338173856","1338173859"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0fa4f749fa752b3430ac45e40940dba.jpg","text":"TemporaryFile(/tmp/multipartBody3761208761628612374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802995316,"filename":"image_09022025_14_56_54_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d9914cfb3a8bfae9a6673ff1ae0e2c21.jpg","text":"TemporaryFile(/tmp/multipartBody2967185222923146750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802995316,"filename":"image_09022025_14_56_04_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c778837c552dc86d2a4346351b74857e.jpg","text":"TemporaryFile(/tmp/multipartBody7817793507122864970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802995316,"filename":"image_09022025_14_56_34_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb87f808fb041cc1681be042922df224.jpg","text":"TemporaryFile(/tmp/multipartBody4358750402636508821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802995316,"filename":"image_09022025_14_56_25_10763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/499d3e73ce120e3e0701e69406f31d0c.jpg","text":"TemporaryFile(/tmp/multipartBody1486843944244442695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802995316,"filename":"image_09022025_14_56_14_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ca9d1d14ff13e4c4f1678cfda18da7d.jpg","text":"TemporaryFile(/tmp/multipartBody4989300921942658694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739802995316,"filename":"image_09022025_14_56_44_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338173850","file1":"1338173846","file0":"1338173842","file4":"1338173856","file5":"1338173859","file3":"1338173853"},"map_files_photo_id_array":[{"photo_id":"1338173859","filename":"file5"},{"photo_id":"1338173850","filename":"file2"},{"photo_id":"1338173856","filename":"file4"},{"photo_id":"1338173846","filename":"file1"},{"photo_id":"1338173842","filename":"file0"},{"photo_id":"1338173853","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338173842":["hashtag1","hashtag2"]},{"1338173859":["hashtag1","hashtag2"]},{"1338173850":["hashtag1","hashtag2"]},{"1338173853":["hashtag1","hashtag2"]},{"1338173856":["hashtag1","hashtag2"]},{"1338173846":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338173842, 1338173859, 1338173850, 1338173853, 1338173856, 1338173846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.530442237854004 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:36:31.814143
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_54_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_45_10767.jpg', 0), ('/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_34_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_24_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_14_9790.jpg', 0), ('/home/nano/Desktop/images/09022025/14/35/image_09022025_14_36_04_9787.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_54_9756.jpg', '/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_45_10767.jpg', '/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_34_9757.jpg', '/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_24_9755.jpg', '/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_14_9790.jpg', '/home/nano/Desktop/images/09022025/14/35/image_09022025_14_36_04_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_54_9756.jpg
/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_45_10767.jpg
/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_34_9757.jpg
/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_24_9755.jpg
/home/nano/Desktop/images/09022025/14/36/image_09022025_14_36_14_9790.jpg
/home/nano/Desktop/images/09022025/14/35/image_09022025_14_36_04_9787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338173902","1338173895","1338173886","1338173904","1338173899","1338173890"],"photo_ids_order":["1338173886","1338173890","1338173895","1338173899","1338173902","1338173904"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/377dff6b4ba0ba59d792dbd6c99a752b.jpg","text":"TemporaryFile(/tmp/multipartBody8116882785396978963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803054259,"filename":"image_09022025_14_36_14_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3fa6968fa3f82a279b58129919c58789.jpg","text":"TemporaryFile(/tmp/multipartBody6465773862369780337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803054259,"filename":"image_09022025_14_36_34_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f150f6ac0b6963a4ec8f0fd2c9203bc4.jpg","text":"TemporaryFile(/tmp/multipartBody4235879067879888037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803054259,"filename":"image_09022025_14_36_54_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/10186720426dc81578f09ad7effa7bb2.jpg","text":"TemporaryFile(/tmp/multipartBody8676820128718065320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803054259,"filename":"image_09022025_14_36_04_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/459abf2d841f70a008122304c1dd96c6.jpg","text":"TemporaryFile(/tmp/multipartBody7176603132721337571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803054259,"filename":"image_09022025_14_36_24_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8137e31cccfc138d61c00e262254472a.jpg","text":"TemporaryFile(/tmp/multipartBody740270781959340457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803054259,"filename":"image_09022025_14_36_45_10767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338173895","file1":"1338173890","file0":"1338173886","file4":"1338173902","file5":"1338173904","file3":"1338173899"},"map_files_photo_id_array":[{"photo_id":"1338173904","filename":"file5"},{"photo_id":"1338173895","filename":"file2"},{"photo_id":"1338173902","filename":"file4"},{"photo_id":"1338173890","filename":"file1"},{"photo_id":"1338173886","filename":"file0"},{"photo_id":"1338173899","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338173902":["hashtag1","hashtag2"]},{"1338173895":["hashtag1","hashtag2"]},{"1338173886":["hashtag1","hashtag2"]},{"1338173904":["hashtag1","hashtag2"]},{"1338173899":["hashtag1","hashtag2"]},{"1338173890":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338173902, 1338173895, 1338173886, 1338173904, 1338173899, 1338173890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89376211166382 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:37:31.980616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_54_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_44_9748.jpg', 0), ('/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_34_9777.jpg', 0), ('/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_24_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_15_10762.jpg', 0), ('/home/nano/Desktop/images/09022025/14/24/image_09022025_14_25_04_9793.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_54_9752.jpg', '/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_44_9748.jpg', '/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_34_9777.jpg', '/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_24_9755.jpg', '/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_15_10762.jpg', '/home/nano/Desktop/images/09022025/14/24/image_09022025_14_25_04_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_54_9752.jpg
/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_44_9748.jpg
/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_34_9777.jpg
/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_24_9755.jpg
/home/nano/Desktop/images/09022025/14/25/image_09022025_14_25_15_10762.jpg
/home/nano/Desktop/images/09022025/14/24/image_09022025_14_25_04_9793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338173920","1338173914","1338173917","1338173931","1338173928","1338173924"],"photo_ids_order":["1338173914","1338173917","1338173920","1338173924","1338173928","1338173931"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f8cca2856d16ccce9a5d21ff485439e.jpg","text":"TemporaryFile(/tmp/multipartBody2618335013215839951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803115123,"filename":"image_09022025_14_25_34_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/318c658a41c810e7790bdf3ab35b0a36.jpg","text":"TemporaryFile(/tmp/multipartBody3918801577350706852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803115123,"filename":"image_09022025_14_25_54_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c4824e4f2c6fb6211fc84651b4b0aeb.jpg","text":"TemporaryFile(/tmp/multipartBody4598594153365214182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803115123,"filename":"image_09022025_14_25_44_9748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/874825b2728783e7a6e8afe2dce85391.jpg","text":"TemporaryFile(/tmp/multipartBody7693968597026066217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803115123,"filename":"image_09022025_14_25_04_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f876f8674483e6ed265d624d068bd95.jpg","text":"TemporaryFile(/tmp/multipartBody8644065034238918276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803115123,"filename":"image_09022025_14_25_15_10762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7eacb382f233cc192ed11e70ea5cb285.jpg","text":"TemporaryFile(/tmp/multipartBody1115912351148044804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803115123,"filename":"image_09022025_14_25_24_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338173920","file1":"1338173917","file0":"1338173914","file4":"1338173928","file5":"1338173931","file3":"1338173924"},"map_files_photo_id_array":[{"photo_id":"1338173931","filename":"file5"},{"photo_id":"1338173920","filename":"file2"},{"photo_id":"1338173928","filename":"file4"},{"photo_id":"1338173917","filename":"file1"},{"photo_id":"1338173914","filename":"file0"},{"photo_id":"1338173924","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338173920":["hashtag1","hashtag2"]},{"1338173914":["hashtag1","hashtag2"]},{"1338173917":["hashtag1","hashtag2"]},{"1338173931":["hashtag1","hashtag2"]},{"1338173928":["hashtag1","hashtag2"]},{"1338173924":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338173920, 1338173914, 1338173917, 1338173931, 1338173928, 1338173924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07310938835144 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:38:32.117405
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_55_10767.jpg', 0), ('/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_44_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_34_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_24_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_15_10772.jpg', 0), ('/home/nano/Desktop/images/09022025/14/15/image_09022025_14_16_04_9768.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_55_10767.jpg', '/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_44_9757.jpg', '/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_34_9751.jpg', '/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_24_9754.jpg', '/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_15_10772.jpg', '/home/nano/Desktop/images/09022025/14/15/image_09022025_14_16_04_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_55_10767.jpg
/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_44_9757.jpg
/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_34_9751.jpg
/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_24_9754.jpg
/home/nano/Desktop/images/09022025/14/16/image_09022025_14_16_15_10772.jpg
/home/nano/Desktop/images/09022025/14/15/image_09022025_14_16_04_9768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338173941","1338173970","1338173949","1338173954","1338173966","1338173959"],"photo_ids_order":["1338173941","1338173949","1338173954","1338173959","1338173966","1338173970"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6eb9a9f28caa9ba95c72d0eceb6cbb23.jpg","text":"TemporaryFile(/tmp/multipartBody8233427901654019664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803175522,"filename":"image_09022025_14_16_55_10767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/02b3508f9a2217fd7b2c0a7e5bd714f2.jpg","text":"TemporaryFile(/tmp/multipartBody7436739541697256159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803175522,"filename":"image_09022025_14_16_04_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e8eb366f11a50e95b75eec549f078ae.jpg","text":"TemporaryFile(/tmp/multipartBody8160777965729575333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803175522,"filename":"image_09022025_14_16_44_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d9f234f138bbfbe9c91f06a84d623d46.jpg","text":"TemporaryFile(/tmp/multipartBody820040205728863546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803175522,"filename":"image_09022025_14_16_34_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a9e4bb3e9f33d9ccf63e9b7a7fed67ad.jpg","text":"TemporaryFile(/tmp/multipartBody1061032421705602679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803175522,"filename":"image_09022025_14_16_15_10772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8432809252d020f131d10941ed0259ea.jpg","text":"TemporaryFile(/tmp/multipartBody7385341020572783567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803175522,"filename":"image_09022025_14_16_24_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338173954","file1":"1338173949","file0":"1338173941","file4":"1338173966","file5":"1338173970","file3":"1338173959"},"map_files_photo_id_array":[{"photo_id":"1338173970","filename":"file5"},{"photo_id":"1338173954","filename":"file2"},{"photo_id":"1338173966","filename":"file4"},{"photo_id":"1338173949","filename":"file1"},{"photo_id":"1338173941","filename":"file0"},{"photo_id":"1338173959","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338173941":["hashtag1","hashtag2"]},{"1338173970":["hashtag1","hashtag2"]},{"1338173949":["hashtag1","hashtag2"]},{"1338173954":["hashtag1","hashtag2"]},{"1338173966":["hashtag1","hashtag2"]},{"1338173959":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338173941, 1338173970, 1338173949, 1338173954, 1338173966, 1338173959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24909520149231 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:39:32.283418
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_54_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_44_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_34_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_24_10763.jpg', 0), ('/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_14_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/13/56/image_09022025_13_57_04_9746.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_54_9754.jpg', '/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_44_9753.jpg', '/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_34_9754.jpg', '/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_24_10763.jpg', '/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_14_9754.jpg', '/home/nano/Desktop/images/09022025/13/56/image_09022025_13_57_04_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_54_9754.jpg
/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_44_9753.jpg
/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_34_9754.jpg
/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_24_10763.jpg
/home/nano/Desktop/images/09022025/13/57/image_09022025_13_57_14_9754.jpg
/home/nano/Desktop/images/09022025/13/56/image_09022025_13_57_04_9746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338174072","1338174074","1338174032","1338174067","1338174040","1338174037"],"photo_ids_order":["1338174032","1338174037","1338174040","1338174067","1338174072","1338174074"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/940c5683232e3170737c4f389901fe06.jpg","text":"TemporaryFile(/tmp/multipartBody4477670318460920948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803234676,"filename":"image_09022025_13_57_14_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ff1ae50d0874a0392012435914e3814.jpg","text":"TemporaryFile(/tmp/multipartBody7250512950023171182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803234676,"filename":"image_09022025_13_57_04_9746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f5261ab40c23cbe373523b038a4ce5fb.jpg","text":"TemporaryFile(/tmp/multipartBody2194953416024910791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803234676,"filename":"image_09022025_13_57_54_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b101be43d0a6919b29ef33265051da1.jpg","text":"TemporaryFile(/tmp/multipartBody1602469404896888136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803234676,"filename":"image_09022025_13_57_24_10763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8071df84649724611a68ef8cade5d8a7.jpg","text":"TemporaryFile(/tmp/multipartBody3658812618045251321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803234676,"filename":"image_09022025_13_57_34_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08d4806acfb601246c17154ed250a6d3.jpg","text":"TemporaryFile(/tmp/multipartBody7902172355366486464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803234676,"filename":"image_09022025_13_57_44_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338174040","file1":"1338174037","file0":"1338174032","file4":"1338174072","file5":"1338174074","file3":"1338174067"},"map_files_photo_id_array":[{"photo_id":"1338174074","filename":"file5"},{"photo_id":"1338174040","filename":"file2"},{"photo_id":"1338174072","filename":"file4"},{"photo_id":"1338174037","filename":"file1"},{"photo_id":"1338174032","filename":"file0"},{"photo_id":"1338174067","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338174072":["hashtag1","hashtag2"]},{"1338174074":["hashtag1","hashtag2"]},{"1338174032":["hashtag1","hashtag2"]},{"1338174067":["hashtag1","hashtag2"]},{"1338174040":["hashtag1","hashtag2"]},{"1338174037":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338174072, 1338174074, 1338174032, 1338174067, 1338174040, 1338174037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1984486579895 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:40:32.446981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_54_9775.jpg', 0), ('/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_45_10763.jpg', 0), ('/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_34_9749.jpg', 0), ('/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_24_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_14_9776.jpg', 0), ('/home/nano/Desktop/images/09022025/13/39/image_09022025_13_40_04_10770.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_54_9775.jpg', '/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_45_10763.jpg', '/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_34_9749.jpg', '/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_24_9753.jpg', '/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_14_9776.jpg', '/home/nano/Desktop/images/09022025/13/39/image_09022025_13_40_04_10770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_54_9775.jpg
/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_45_10763.jpg
/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_34_9749.jpg
/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_24_9753.jpg
/home/nano/Desktop/images/09022025/13/40/image_09022025_13_40_14_9776.jpg
/home/nano/Desktop/images/09022025/13/39/image_09022025_13_40_04_10770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338174090","1338174098","1338174104","1338174094","1338174101","1338174085"],"photo_ids_order":["1338174085","1338174090","1338174094","1338174098","1338174101","1338174104"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4525d92b7253e0ced8a2a266af701861.jpg","text":"TemporaryFile(/tmp/multipartBody1920830709043442191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803295473,"filename":"image_09022025_13_40_45_10763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90f1fa2cc6f6851ab5159b2c88c693df.jpg","text":"TemporaryFile(/tmp/multipartBody7735713367333010482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803295473,"filename":"image_09022025_13_40_24_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31284eb9ce52ab6cec386d9151e08e74.jpg","text":"TemporaryFile(/tmp/multipartBody6159463223005870897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803295473,"filename":"image_09022025_13_40_04_10770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a4945302c36544e4eb2e22a7861e087.jpg","text":"TemporaryFile(/tmp/multipartBody4880019763360374207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803295473,"filename":"image_09022025_13_40_34_9749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/20808b23ccd3bacc8173f0203038750b.jpg","text":"TemporaryFile(/tmp/multipartBody3519031293602311731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803295473,"filename":"image_09022025_13_40_14_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2881d572a59a9e7fd3998fc278ce089b.jpg","text":"TemporaryFile(/tmp/multipartBody8515965400640393199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803295473,"filename":"image_09022025_13_40_54_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338174094","file1":"1338174090","file0":"1338174085","file4":"1338174101","file5":"1338174104","file3":"1338174098"},"map_files_photo_id_array":[{"photo_id":"1338174104","filename":"file5"},{"photo_id":"1338174094","filename":"file2"},{"photo_id":"1338174101","filename":"file4"},{"photo_id":"1338174090","filename":"file1"},{"photo_id":"1338174085","filename":"file0"},{"photo_id":"1338174098","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338174090":["hashtag1","hashtag2"]},{"1338174098":["hashtag1","hashtag2"]},{"1338174104":["hashtag1","hashtag2"]},{"1338174094":["hashtag1","hashtag2"]},{"1338174101":["hashtag1","hashtag2"]},{"1338174085":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338174090, 1338174098, 1338174104, 1338174094, 1338174101, 1338174085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34603428840637 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:41:32.579525
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_55_10779.jpg', 0), ('/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_44_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_34_9750.jpg', 0), ('/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_24_9750.jpg', 0), ('/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_15_10763.jpg', 0), ('/home/nano/Desktop/images/09022025/13/22/image_09022025_13_23_04_9751.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_55_10779.jpg', '/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_44_9751.jpg', '/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_34_9750.jpg', '/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_24_9750.jpg', '/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_15_10763.jpg', '/home/nano/Desktop/images/09022025/13/22/image_09022025_13_23_04_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_55_10779.jpg
/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_44_9751.jpg
/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_34_9750.jpg
/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_24_9750.jpg
/home/nano/Desktop/images/09022025/13/23/image_09022025_13_23_15_10763.jpg
/home/nano/Desktop/images/09022025/13/22/image_09022025_13_23_04_9751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338174129","1338174120","1338174125","1338174139","1338174133","1338174136"],"photo_ids_order":["1338174120","1338174125","1338174129","1338174133","1338174136","1338174139"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/983dc4e4c2e3ce4cd325c976b20e8e85.jpg","text":"TemporaryFile(/tmp/multipartBody665992351562986823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803354819,"filename":"image_09022025_13_23_34_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d89fd95acddc33f74fa04964cec658a1.jpg","text":"TemporaryFile(/tmp/multipartBody9152057476521041382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803354819,"filename":"image_09022025_13_23_55_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/260f4dd192c91b757de4bd5a004c02e7.jpg","text":"TemporaryFile(/tmp/multipartBody4406701616455183863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803354819,"filename":"image_09022025_13_23_44_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0252039920ddc0c18c1c4bf02b15be6.jpg","text":"TemporaryFile(/tmp/multipartBody1524246291007283504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803354819,"filename":"image_09022025_13_23_04_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea46a4d62aab7803f71cc10b6c44c1e8.jpg","text":"TemporaryFile(/tmp/multipartBody991068693042180276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803354819,"filename":"image_09022025_13_23_24_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26868b28d5601d067f110ce4626f73a6.jpg","text":"TemporaryFile(/tmp/multipartBody5407672287745653633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803354819,"filename":"image_09022025_13_23_15_10763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338174129","file1":"1338174125","file0":"1338174120","file4":"1338174136","file5":"1338174139","file3":"1338174133"},"map_files_photo_id_array":[{"photo_id":"1338174139","filename":"file5"},{"photo_id":"1338174129","filename":"file2"},{"photo_id":"1338174136","filename":"file4"},{"photo_id":"1338174125","filename":"file1"},{"photo_id":"1338174120","filename":"file0"},{"photo_id":"1338174133","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338174129":["hashtag1","hashtag2"]},{"1338174120":["hashtag1","hashtag2"]},{"1338174125":["hashtag1","hashtag2"]},{"1338174139":["hashtag1","hashtag2"]},{"1338174133":["hashtag1","hashtag2"]},{"1338174136":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338174129, 1338174120, 1338174125, 1338174139, 1338174133, 1338174136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32965421676636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:42:32.713717
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_54_9750.jpg', 0), ('/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_44_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_34_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_24_10763.jpg', 0), ('/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_14_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/12/57/image_09022025_12_58_04_9754.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_54_9750.jpg', '/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_44_9752.jpg', '/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_34_9751.jpg', '/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_24_10763.jpg', '/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_14_9755.jpg', '/home/nano/Desktop/images/09022025/12/57/image_09022025_12_58_04_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_54_9750.jpg
/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_44_9752.jpg
/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_34_9751.jpg
/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_24_10763.jpg
/home/nano/Desktop/images/09022025/12/58/image_09022025_12_58_14_9755.jpg
/home/nano/Desktop/images/09022025/12/57/image_09022025_12_58_04_9754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338174162","1338174171","1338174158","1338174166","1338174169","1338174154"],"photo_ids_order":["1338174154","1338174158","1338174162","1338174166","1338174169","1338174171"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/806bada033103eb1701c4d37e5087a30.jpg","text":"TemporaryFile(/tmp/multipartBody6732806715124271377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803415167,"filename":"image_09022025_12_58_34_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0aab66714f4364ec15a5ece01823333.jpg","text":"TemporaryFile(/tmp/multipartBody1542402476761906870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803415167,"filename":"image_09022025_12_58_04_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e19a1f751862fa3db8fcc2900fbb646.jpg","text":"TemporaryFile(/tmp/multipartBody8752996082735856800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803415167,"filename":"image_09022025_12_58_44_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e947085aa503544df9117b0530aba40.jpg","text":"TemporaryFile(/tmp/multipartBody3812238655836996925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803415167,"filename":"image_09022025_12_58_24_10763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15a77f728f9d4ae213387694ce7c75c6.jpg","text":"TemporaryFile(/tmp/multipartBody2865558031945900172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803415167,"filename":"image_09022025_12_58_14_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2817ac26021edd788b3724358dfa3a4.jpg","text":"TemporaryFile(/tmp/multipartBody1454962881490782440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803415167,"filename":"image_09022025_12_58_54_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338174162","file1":"1338174158","file0":"1338174154","file4":"1338174169","file5":"1338174171","file3":"1338174166"},"map_files_photo_id_array":[{"photo_id":"1338174171","filename":"file5"},{"photo_id":"1338174162","filename":"file2"},{"photo_id":"1338174169","filename":"file4"},{"photo_id":"1338174158","filename":"file1"},{"photo_id":"1338174154","filename":"file0"},{"photo_id":"1338174166","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338174162":["hashtag1","hashtag2"]},{"1338174171":["hashtag1","hashtag2"]},{"1338174158":["hashtag1","hashtag2"]},{"1338174166":["hashtag1","hashtag2"]},{"1338174169":["hashtag1","hashtag2"]},{"1338174154":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338174162, 1338174171, 1338174158, 1338174166, 1338174169, 1338174154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04273247718811 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:43:31.901725
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_54_9750.jpg', 0), ('/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_44_10759.jpg', 0), ('/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_34_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_24_9750.jpg', 0), ('/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_14_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/12/56/image_09022025_12_57_04_9749.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_54_9750.jpg', '/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_44_10759.jpg', '/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_34_9754.jpg', '/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_24_9750.jpg', '/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_14_9756.jpg', '/home/nano/Desktop/images/09022025/12/56/image_09022025_12_57_04_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_54_9750.jpg
/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_44_10759.jpg
/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_34_9754.jpg
/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_24_9750.jpg
/home/nano/Desktop/images/09022025/12/57/image_09022025_12_57_14_9756.jpg
/home/nano/Desktop/images/09022025/12/56/image_09022025_12_57_04_9749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338174219","1338174213","1338174216","1338174236","1338174224","1338174232"],"photo_ids_order":["1338174213","1338174216","1338174219","1338174224","1338174232","1338174236"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db2d84bd622e66bfb4d87db0e4bc960d.jpg","text":"TemporaryFile(/tmp/multipartBody6687860653167165075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803474506,"filename":"image_09022025_12_57_34_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/727a1d73028117138b6496e768e36bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5211916128002818296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803474506,"filename":"image_09022025_12_57_54_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1830026b9d1a466e18b5dad973a6f35e.jpg","text":"TemporaryFile(/tmp/multipartBody7332415820383905050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803474506,"filename":"image_09022025_12_57_44_10759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dfec4c82e0ebfe776ec2ccf5140784a0.jpg","text":"TemporaryFile(/tmp/multipartBody6982120368915263849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803474506,"filename":"image_09022025_12_57_04_9749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2b343be2d17ab487a75aa29fcfae68e.jpg","text":"TemporaryFile(/tmp/multipartBody5784870858392861405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803474506,"filename":"image_09022025_12_57_24_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b14fa28af903abab20c960703d7e55f.jpg","text":"TemporaryFile(/tmp/multipartBody6043658468956306252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803474506,"filename":"image_09022025_12_57_14_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338174219","file1":"1338174216","file0":"1338174213","file4":"1338174232","file5":"1338174236","file3":"1338174224"},"map_files_photo_id_array":[{"photo_id":"1338174236","filename":"file5"},{"photo_id":"1338174219","filename":"file2"},{"photo_id":"1338174232","filename":"file4"},{"photo_id":"1338174216","filename":"file1"},{"photo_id":"1338174213","filename":"file0"},{"photo_id":"1338174224","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338174219":["hashtag1","hashtag2"]},{"1338174213":["hashtag1","hashtag2"]},{"1338174216":["hashtag1","hashtag2"]},{"1338174236":["hashtag1","hashtag2"]},{"1338174224":["hashtag1","hashtag2"]},{"1338174232":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338174219, 1338174213, 1338174216, 1338174236, 1338174224, 1338174232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.47042655944824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:44:32.069705
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_54_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_44_10764.jpg', 0), ('/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_34_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_24_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_14_9768.jpg', 0), ('/home/nano/Desktop/images/09022025/12/47/image_09022025_12_48_04_9755.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_54_9754.jpg', '/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_44_10764.jpg', '/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_34_9754.jpg', '/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_24_9754.jpg', '/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_14_9768.jpg', '/home/nano/Desktop/images/09022025/12/47/image_09022025_12_48_04_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_54_9754.jpg
/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_44_10764.jpg
/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_34_9754.jpg
/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_24_9754.jpg
/home/nano/Desktop/images/09022025/12/48/image_09022025_12_48_14_9768.jpg
/home/nano/Desktop/images/09022025/12/47/image_09022025_12_48_04_9755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338174432","1338174441","1338174435","1338174470","1338174475","1338174445"],"photo_ids_order":["1338174432","1338174435","1338174441","1338174445","1338174470","1338174475"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a50f3655b1789b4887887186f9faa4d3.jpg","text":"TemporaryFile(/tmp/multipartBody8339659894768928171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803534413,"filename":"image_09022025_12_48_54_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ebbb48c55912eac3c9a994895cb00aeb.jpg","text":"TemporaryFile(/tmp/multipartBody2478337977304599201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803534413,"filename":"image_09022025_12_48_34_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d698ae4d84e74d2ae2023ba5e2cbc95.jpg","text":"TemporaryFile(/tmp/multipartBody3497396253865569595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803534413,"filename":"image_09022025_12_48_44_10764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb2a438100900f593f527a37d8a0a0bc.jpg","text":"TemporaryFile(/tmp/multipartBody1899568930301072186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803534413,"filename":"image_09022025_12_48_14_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb8430afb5da32b314f544e6d31409fe.jpg","text":"TemporaryFile(/tmp/multipartBody3324846574506746206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803534413,"filename":"image_09022025_12_48_04_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54a761b07c480864f39b58e6fc9f7e34.jpg","text":"TemporaryFile(/tmp/multipartBody8617125049600032015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803534413,"filename":"image_09022025_12_48_24_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338174441","file1":"1338174435","file0":"1338174432","file4":"1338174470","file5":"1338174475","file3":"1338174445"},"map_files_photo_id_array":[{"photo_id":"1338174475","filename":"file5"},{"photo_id":"1338174441","filename":"file2"},{"photo_id":"1338174470","filename":"file4"},{"photo_id":"1338174435","filename":"file1"},{"photo_id":"1338174432","filename":"file0"},{"photo_id":"1338174445","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338174432":["hashtag1","hashtag2"]},{"1338174441":["hashtag1","hashtag2"]},{"1338174435":["hashtag1","hashtag2"]},{"1338174470":["hashtag1","hashtag2"]},{"1338174475":["hashtag1","hashtag2"]},{"1338174445":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338174432, 1338174441, 1338174435, 1338174470, 1338174475, 1338174445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82096457481384 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:45:32.203747
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_54_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_45_10761.jpg', 0), ('/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_34_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_24_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_14_9772.jpg', 0), ('/home/nano/Desktop/images/09022025/12/40/image_09022025_12_41_05_10757.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_54_9752.jpg', '/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_45_10761.jpg', '/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_34_9751.jpg', '/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_24_9753.jpg', '/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_14_9772.jpg', '/home/nano/Desktop/images/09022025/12/40/image_09022025_12_41_05_10757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_54_9752.jpg
/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_45_10761.jpg
/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_34_9751.jpg
/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_24_9753.jpg
/home/nano/Desktop/images/09022025/12/41/image_09022025_12_41_14_9772.jpg
/home/nano/Desktop/images/09022025/12/40/image_09022025_12_41_05_10757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338174557","1338174542","1338174548","1338174565","1338174562","1338174559"],"photo_ids_order":["1338174542","1338174548","1338174557","1338174559","1338174562","1338174565"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67322faa5ab827df9cca5b51a1ea51e8.jpg","text":"TemporaryFile(/tmp/multipartBody2501384501105870323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803594984,"filename":"image_09022025_12_41_34_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88482345d27dfa03bc5644be6bcfd1c7.jpg","text":"TemporaryFile(/tmp/multipartBody5860889788371394667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803594984,"filename":"image_09022025_12_41_54_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81a7a39ab8954262e3997f9e32bfce11.jpg","text":"TemporaryFile(/tmp/multipartBody3691212333316083248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803594984,"filename":"image_09022025_12_41_45_10761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/213181e1fc32c3d18725e7f1cb4d7fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4952255736450139799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803594984,"filename":"image_09022025_12_41_05_10757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/34d0517a3b81e3038d624aac26f7f7c4.jpg","text":"TemporaryFile(/tmp/multipartBody5660057263428606805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803594984,"filename":"image_09022025_12_41_14_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f72dd0cf77a18288a063806fe62d5c2b.jpg","text":"TemporaryFile(/tmp/multipartBody2967107772702805386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803594984,"filename":"image_09022025_12_41_24_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338174557","file1":"1338174548","file0":"1338174542","file4":"1338174562","file5":"1338174565","file3":"1338174559"},"map_files_photo_id_array":[{"photo_id":"1338174565","filename":"file5"},{"photo_id":"1338174557","filename":"file2"},{"photo_id":"1338174562","filename":"file4"},{"photo_id":"1338174548","filename":"file1"},{"photo_id":"1338174542","filename":"file0"},{"photo_id":"1338174559","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338174557":["hashtag1","hashtag2"]},{"1338174542":["hashtag1","hashtag2"]},{"1338174548":["hashtag1","hashtag2"]},{"1338174565":["hashtag1","hashtag2"]},{"1338174562":["hashtag1","hashtag2"]},{"1338174559":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338174557, 1338174542, 1338174548, 1338174565, 1338174562, 1338174559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.316147327423096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:46:32.353169
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_54_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_44_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_34_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_25_10756.jpg', 0), ('/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_14_9761.jpg', 0), ('/home/nano/Desktop/images/09022025/12/39/image_09022025_12_40_04_9782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_54_9752.jpg', '/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_44_9751.jpg', '/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_34_9752.jpg', '/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_25_10756.jpg', '/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_14_9761.jpg', '/home/nano/Desktop/images/09022025/12/39/image_09022025_12_40_04_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_54_9752.jpg
/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_44_9751.jpg
/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_34_9752.jpg
/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_25_10756.jpg
/home/nano/Desktop/images/09022025/12/40/image_09022025_12_40_14_9761.jpg
/home/nano/Desktop/images/09022025/12/39/image_09022025_12_40_04_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338174663","1338174687","1338174694","1338174661","1338174655","1338174658"],"photo_ids_order":["1338174655","1338174658","1338174661","1338174663","1338174687","1338174694"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0463654616afea44e4ff543fa8ecddac.jpg","text":"TemporaryFile(/tmp/multipartBody8571700628302971220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803654629,"filename":"image_09022025_12_40_25_10756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05368a46671e834356335076906946a8.jpg","text":"TemporaryFile(/tmp/multipartBody2795291640567306996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803654629,"filename":"image_09022025_12_40_14_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28658a9e4461e09e068c4fa13baad416.jpg","text":"TemporaryFile(/tmp/multipartBody4184127367821167146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803654629,"filename":"image_09022025_12_40_04_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/869b7e764b2039083e0ca62288675057.jpg","text":"TemporaryFile(/tmp/multipartBody4698949190166066546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803654629,"filename":"image_09022025_12_40_34_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e6b023bfd9e5a4408378ced610664689.jpg","text":"TemporaryFile(/tmp/multipartBody7954560514870010755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803654629,"filename":"image_09022025_12_40_54_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22228869691d4a98b5290f4d9e4a146d.jpg","text":"TemporaryFile(/tmp/multipartBody7627541462581164659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803654629,"filename":"image_09022025_12_40_44_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338174661","file1":"1338174658","file0":"1338174655","file4":"1338174687","file5":"1338174694","file3":"1338174663"},"map_files_photo_id_array":[{"photo_id":"1338174694","filename":"file5"},{"photo_id":"1338174661","filename":"file2"},{"photo_id":"1338174687","filename":"file4"},{"photo_id":"1338174658","filename":"file1"},{"photo_id":"1338174655","filename":"file0"},{"photo_id":"1338174663","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338174663":["hashtag1","hashtag2"]},{"1338174687":["hashtag1","hashtag2"]},{"1338174694":["hashtag1","hashtag2"]},{"1338174661":["hashtag1","hashtag2"]},{"1338174655":["hashtag1","hashtag2"]},{"1338174658":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338174663, 1338174687, 1338174694, 1338174661, 1338174655, 1338174658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58828663825989 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:47:32.499610
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_54_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_44_9777.jpg', 0), ('/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_35_10762.jpg', 0), ('/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_24_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_14_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/12/27/image_09022025_12_28_04_9756.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_54_9755.jpg', '/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_44_9777.jpg', '/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_35_10762.jpg', '/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_24_9756.jpg', '/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_14_9760.jpg', '/home/nano/Desktop/images/09022025/12/27/image_09022025_12_28_04_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_54_9755.jpg
/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_44_9777.jpg
/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_35_10762.jpg
/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_24_9756.jpg
/home/nano/Desktop/images/09022025/12/28/image_09022025_12_28_14_9760.jpg
/home/nano/Desktop/images/09022025/12/27/image_09022025_12_28_04_9756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338174731","1338174725","1338174728","1338174721","1338174715","1338174718"],"photo_ids_order":["1338174715","1338174718","1338174721","1338174725","1338174728","1338174731"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40d83c42c21da076d8822c535170b411.jpg","text":"TemporaryFile(/tmp/multipartBody97288431745488715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803715676,"filename":"image_09022025_12_28_04_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4edc588fc546f8e562e4dbe9ca82023a.jpg","text":"TemporaryFile(/tmp/multipartBody841353672419181357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803715676,"filename":"image_09022025_12_28_24_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f4c659abee30eb0aebc2e7c24f2efa9.jpg","text":"TemporaryFile(/tmp/multipartBody5555940639862698685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803715676,"filename":"image_09022025_12_28_14_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4daab0d6ebc9bf84a59d69277400d259.jpg","text":"TemporaryFile(/tmp/multipartBody3652208301681326615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803715676,"filename":"image_09022025_12_28_35_10762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/984d4b9ee6100bd2e40618b435f3c767.jpg","text":"TemporaryFile(/tmp/multipartBody5932971190657542633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803715676,"filename":"image_09022025_12_28_54_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05408618915f389946e4ee23de897a5e.jpg","text":"TemporaryFile(/tmp/multipartBody7435392837018259268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803715676,"filename":"image_09022025_12_28_44_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338174721","file1":"1338174718","file0":"1338174715","file4":"1338174728","file5":"1338174731","file3":"1338174725"},"map_files_photo_id_array":[{"photo_id":"1338174731","filename":"file5"},{"photo_id":"1338174721","filename":"file2"},{"photo_id":"1338174728","filename":"file4"},{"photo_id":"1338174718","filename":"file1"},{"photo_id":"1338174715","filename":"file0"},{"photo_id":"1338174725","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338174731":["hashtag1","hashtag2"]},{"1338174725":["hashtag1","hashtag2"]},{"1338174728":["hashtag1","hashtag2"]},{"1338174721":["hashtag1","hashtag2"]},{"1338174715":["hashtag1","hashtag2"]},{"1338174718":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338174731, 1338174725, 1338174728, 1338174721, 1338174715, 1338174718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98173236846924 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:48:32.640109
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_54_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_44_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_35_10765.jpg', 0), ('/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_24_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_14_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/12/25/image_09022025_12_26_04_9755.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_54_9754.jpg', '/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_44_9754.jpg', '/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_35_10765.jpg', '/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_24_9753.jpg', '/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_14_9763.jpg', '/home/nano/Desktop/images/09022025/12/25/image_09022025_12_26_04_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_54_9754.jpg
/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_44_9754.jpg
/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_35_10765.jpg
/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_24_9753.jpg
/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_14_9763.jpg
/home/nano/Desktop/images/09022025/12/25/image_09022025_12_26_04_9755.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.866312026977539 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:49:03.656951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_54_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_44_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_35_10765.jpg', 0), ('/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_24_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_14_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/12/25/image_09022025_12_26_04_9755.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_54_9754.jpg', '/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_44_9754.jpg', '/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_35_10765.jpg', '/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_24_9753.jpg', '/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_14_9763.jpg', '/home/nano/Desktop/images/09022025/12/25/image_09022025_12_26_04_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_54_9754.jpg
/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_44_9754.jpg
/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_35_10765.jpg
/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_24_9753.jpg
/home/nano/Desktop/images/09022025/12/26/image_09022025_12_26_14_9763.jpg
/home/nano/Desktop/images/09022025/12/25/image_09022025_12_26_04_9755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338174798","1338174813","1338174804","1338174784","1338174802","1338174792"],"photo_ids_order":["1338174784","1338174792","1338174798","1338174802","1338174804","1338174813"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c47262f555f004a7264c33df120fdca.jpg","text":"TemporaryFile(/tmp/multipartBody5032532502261567850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803805588,"filename":"image_09022025_12_26_35_10765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/218eb3c9339eebe9efd60920b3219441.jpg","text":"TemporaryFile(/tmp/multipartBody2793963090176642127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803805588,"filename":"image_09022025_12_26_04_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5824cbf1871917da85deaee3693693e1.jpg","text":"TemporaryFile(/tmp/multipartBody6795585747997072537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803805588,"filename":"image_09022025_12_26_14_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f5e8b05a2683b4723846d8310cc7b97b.jpg","text":"TemporaryFile(/tmp/multipartBody7018111133092592104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803805588,"filename":"image_09022025_12_26_54_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a4942a3844e3556040f069f07e76db6.jpg","text":"TemporaryFile(/tmp/multipartBody2584872595391593205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803805588,"filename":"image_09022025_12_26_24_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/55e9348f4b2764d6cc96352436856ef9.jpg","text":"TemporaryFile(/tmp/multipartBody7907178671794002972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803805588,"filename":"image_09022025_12_26_44_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338174798","file1":"1338174792","file0":"1338174784","file4":"1338174804","file5":"1338174813","file3":"1338174802"},"map_files_photo_id_array":[{"photo_id":"1338174813","filename":"file5"},{"photo_id":"1338174798","filename":"file2"},{"photo_id":"1338174804","filename":"file4"},{"photo_id":"1338174792","filename":"file1"},{"photo_id":"1338174784","filename":"file0"},{"photo_id":"1338174802","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338174798":["hashtag1","hashtag2"]},{"1338174813":["hashtag1","hashtag2"]},{"1338174804":["hashtag1","hashtag2"]},{"1338174784":["hashtag1","hashtag2"]},{"1338174802":["hashtag1","hashtag2"]},{"1338174792":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338174798, 1338174813, 1338174804, 1338174784, 1338174802, 1338174792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6067430973053 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:50:02.290886
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_55_10762.jpg', 0), ('/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_44_9773.jpg', 0), ('/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_34_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_24_9770.jpg', 0), ('/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_15_10769.jpg', 0), ('/home/nano/Desktop/images/09022025/11/57/image_09022025_11_58_04_9750.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_55_10762.jpg', '/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_44_9773.jpg', '/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_34_9755.jpg', '/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_24_9770.jpg', '/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_15_10769.jpg', '/home/nano/Desktop/images/09022025/11/57/image_09022025_11_58_04_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_55_10762.jpg
/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_44_9773.jpg
/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_34_9755.jpg
/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_24_9770.jpg
/home/nano/Desktop/images/09022025/11/58/image_09022025_11_58_15_10769.jpg
/home/nano/Desktop/images/09022025/11/57/image_09022025_11_58_04_9750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338174855","1338174849","1338174870","1338174860","1338174845","1338174865"],"photo_ids_order":["1338174845","1338174849","1338174855","1338174860","1338174865","1338174870"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5743781499b0e9c8ce77473e150d5619.jpg","text":"TemporaryFile(/tmp/multipartBody7291271483908732564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803864489,"filename":"image_09022025_11_58_34_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/864278e94e00bebf4efb9cc66cf0be87.jpg","text":"TemporaryFile(/tmp/multipartBody3019275211442602781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803864489,"filename":"image_09022025_11_58_44_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bbd8d9b0cfcde7a51cc07ac1839268af.jpg","text":"TemporaryFile(/tmp/multipartBody2310071514636148418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803864489,"filename":"image_09022025_11_58_04_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b796eab75ef14158404672cea0682fd6.jpg","text":"TemporaryFile(/tmp/multipartBody6015547410783870372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803864489,"filename":"image_09022025_11_58_24_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8fa0f64c3cf285541e8826c5202e1a5e.jpg","text":"TemporaryFile(/tmp/multipartBody2529799084084250597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803864489,"filename":"image_09022025_11_58_55_10762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/25ce7443c2720023787edb92b3dc29a6.jpg","text":"TemporaryFile(/tmp/multipartBody6176684484812013605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803864489,"filename":"image_09022025_11_58_15_10769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338174855","file1":"1338174849","file0":"1338174845","file4":"1338174865","file5":"1338174870","file3":"1338174860"},"map_files_photo_id_array":[{"photo_id":"1338174870","filename":"file5"},{"photo_id":"1338174855","filename":"file2"},{"photo_id":"1338174865","filename":"file4"},{"photo_id":"1338174849","filename":"file1"},{"photo_id":"1338174845","filename":"file0"},{"photo_id":"1338174860","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338174855":["hashtag1","hashtag2"]},{"1338174849":["hashtag1","hashtag2"]},{"1338174870":["hashtag1","hashtag2"]},{"1338174860":["hashtag1","hashtag2"]},{"1338174845":["hashtag1","hashtag2"]},{"1338174865":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338174855, 1338174849, 1338174870, 1338174860, 1338174845, 1338174865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64823532104492 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:51:02.443703
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_54_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_44_9748.jpg', 0), ('/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_34_10763.jpg', 0), ('/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_24_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_14_9778.jpg', 0), ('/home/nano/Desktop/images/09022025/11/56/image_09022025_11_57_04_9750.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_54_9755.jpg', '/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_44_9748.jpg', '/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_34_10763.jpg', '/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_24_9755.jpg', '/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_14_9778.jpg', '/home/nano/Desktop/images/09022025/11/56/image_09022025_11_57_04_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_54_9755.jpg
/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_44_9748.jpg
/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_34_10763.jpg
/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_24_9755.jpg
/home/nano/Desktop/images/09022025/11/57/image_09022025_11_57_14_9778.jpg
/home/nano/Desktop/images/09022025/11/56/image_09022025_11_57_04_9750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338175122","1338175113","1338175118","1338175106","1338175126","1338175108"],"photo_ids_order":["1338175106","1338175108","1338175113","1338175118","1338175122","1338175126"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6922828ec6d10b8298dbd1d9a5e6b1b3.jpg","text":"TemporaryFile(/tmp/multipartBody1206130669102870694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803925398,"filename":"image_09022025_11_57_14_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4774cd806509a9a3715581269ed13daa.jpg","text":"TemporaryFile(/tmp/multipartBody9032249082240020969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803925398,"filename":"image_09022025_11_57_34_10763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f37e78d0bba02a31a437f7ecf9be9d42.jpg","text":"TemporaryFile(/tmp/multipartBody6465889500226963207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803925398,"filename":"image_09022025_11_57_24_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ff38916b7a2aac39d36e44fbba2123c.jpg","text":"TemporaryFile(/tmp/multipartBody1954894852675220774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803925398,"filename":"image_09022025_11_57_54_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/088915382814491705eb9138e16a891e.jpg","text":"TemporaryFile(/tmp/multipartBody8253490053361285564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803925398,"filename":"image_09022025_11_57_04_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7723d7d806f0b6b0e1bea4aa8531d6c.jpg","text":"TemporaryFile(/tmp/multipartBody6548203364380692355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803925398,"filename":"image_09022025_11_57_44_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338175113","file1":"1338175108","file0":"1338175106","file4":"1338175122","file5":"1338175126","file3":"1338175118"},"map_files_photo_id_array":[{"photo_id":"1338175126","filename":"file5"},{"photo_id":"1338175113","filename":"file2"},{"photo_id":"1338175122","filename":"file4"},{"photo_id":"1338175108","filename":"file1"},{"photo_id":"1338175106","filename":"file0"},{"photo_id":"1338175118","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338175122":["hashtag1","hashtag2"]},{"1338175113":["hashtag1","hashtag2"]},{"1338175118":["hashtag1","hashtag2"]},{"1338175106":["hashtag1","hashtag2"]},{"1338175126":["hashtag1","hashtag2"]},{"1338175108":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338175122, 1338175113, 1338175118, 1338175106, 1338175126, 1338175108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53190016746521 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:52:02.685598
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_54_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_44_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_35_10762.jpg', 0), ('/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_24_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_14_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/11/51/image_09022025_11_52_04_9762.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_54_9752.jpg', '/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_44_9752.jpg', '/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_35_10762.jpg', '/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_24_9751.jpg', '/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_14_9758.jpg', '/home/nano/Desktop/images/09022025/11/51/image_09022025_11_52_04_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_54_9752.jpg
/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_44_9752.jpg
/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_35_10762.jpg
/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_24_9751.jpg
/home/nano/Desktop/images/09022025/11/52/image_09022025_11_52_14_9758.jpg
/home/nano/Desktop/images/09022025/11/51/image_09022025_11_52_04_9762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338175155","1338175141","1338175159","1338175150","1338175144","1338175146"],"photo_ids_order":["1338175141","1338175144","1338175146","1338175150","1338175155","1338175159"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aeb5ae77b4a1f7d8a8f06e9b18f2b328.jpg","text":"TemporaryFile(/tmp/multipartBody2055853800672945383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803984956,"filename":"image_09022025_11_52_14_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24222f8b68cd206d70363c65336d481b.jpg","text":"TemporaryFile(/tmp/multipartBody1835874795515122244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803984956,"filename":"image_09022025_11_52_54_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3338b53fa28ca1115b24969226d1b9a9.jpg","text":"TemporaryFile(/tmp/multipartBody2158760555741892576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803984956,"filename":"image_09022025_11_52_04_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f35e1bcf4a77ffee6988e28c29ee1653.jpg","text":"TemporaryFile(/tmp/multipartBody7942311269540115318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803984956,"filename":"image_09022025_11_52_24_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/076adcd1f5c516d8984a30f6e27d9d41.jpg","text":"TemporaryFile(/tmp/multipartBody4211918503644816197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803984956,"filename":"image_09022025_11_52_44_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e67e858ce2ac82b57362e73b561dfb1.jpg","text":"TemporaryFile(/tmp/multipartBody2705659570531236565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739803984956,"filename":"image_09022025_11_52_35_10762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338175146","file1":"1338175144","file0":"1338175141","file4":"1338175155","file5":"1338175159","file3":"1338175150"},"map_files_photo_id_array":[{"photo_id":"1338175159","filename":"file5"},{"photo_id":"1338175146","filename":"file2"},{"photo_id":"1338175155","filename":"file4"},{"photo_id":"1338175144","filename":"file1"},{"photo_id":"1338175141","filename":"file0"},{"photo_id":"1338175150","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338175155":["hashtag1","hashtag2"]},{"1338175141":["hashtag1","hashtag2"]},{"1338175159":["hashtag1","hashtag2"]},{"1338175150":["hashtag1","hashtag2"]},{"1338175144":["hashtag1","hashtag2"]},{"1338175146":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338175155, 1338175141, 1338175159, 1338175150, 1338175144, 1338175146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.726680278778076 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:53:02.900237
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_54_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_44_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_34_10762.jpg', 0), ('/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_24_9748.jpg', 0), ('/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_14_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/11/11/image_09022025_11_12_04_9767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_54_9751.jpg', '/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_44_9751.jpg', '/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_34_10762.jpg', '/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_24_9748.jpg', '/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_14_9755.jpg', '/home/nano/Desktop/images/09022025/11/11/image_09022025_11_12_04_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_54_9751.jpg
/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_44_9751.jpg
/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_34_10762.jpg
/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_24_9748.jpg
/home/nano/Desktop/images/09022025/11/12/image_09022025_11_12_14_9755.jpg
/home/nano/Desktop/images/09022025/11/11/image_09022025_11_12_04_9767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338175176","1338175181","1338175187","1338175192","1338175185","1338175179"],"photo_ids_order":["1338175176","1338175179","1338175181","1338175185","1338175187","1338175192"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ddb8892383f8891e5e79f4d5a5b24b03.jpg","text":"TemporaryFile(/tmp/multipartBody5357310634818383244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804045041,"filename":"image_09022025_11_12_54_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/519fc6d9aec9e26df243e820778dba1a.jpg","text":"TemporaryFile(/tmp/multipartBody9138428396423699604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804045041,"filename":"image_09022025_11_12_34_10762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf02d4bdac10abafb5e305304dd91893.jpg","text":"TemporaryFile(/tmp/multipartBody5736733267634257725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804045041,"filename":"image_09022025_11_12_14_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd2a6789027dd5d44e3b999e47feea7f.jpg","text":"TemporaryFile(/tmp/multipartBody7021525012448230140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804045041,"filename":"image_09022025_11_12_04_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/abf6382c91230504cc2c09225f20dbc4.jpg","text":"TemporaryFile(/tmp/multipartBody3696973521337736276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804045041,"filename":"image_09022025_11_12_24_9748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/721fc1f875b1a0daae3c52474448e099.jpg","text":"TemporaryFile(/tmp/multipartBody6272673861087588956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804045041,"filename":"image_09022025_11_12_44_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338175181","file1":"1338175179","file0":"1338175176","file4":"1338175187","file5":"1338175192","file3":"1338175185"},"map_files_photo_id_array":[{"photo_id":"1338175192","filename":"file5"},{"photo_id":"1338175181","filename":"file2"},{"photo_id":"1338175187","filename":"file4"},{"photo_id":"1338175179","filename":"file1"},{"photo_id":"1338175176","filename":"file0"},{"photo_id":"1338175185","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338175176":["hashtag1","hashtag2"]},{"1338175181":["hashtag1","hashtag2"]},{"1338175187":["hashtag1","hashtag2"]},{"1338175192":["hashtag1","hashtag2"]},{"1338175185":["hashtag1","hashtag2"]},{"1338175179":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338175176, 1338175181, 1338175187, 1338175192, 1338175185, 1338175179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.408485651016235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:54:03.244318
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_54_9749.jpg', 0), ('/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_44_10759.jpg', 0), ('/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_34_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_24_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_14_9774.jpg', 0), ('/home/nano/Desktop/images/09022025/11/06/image_09022025_11_07_04_9751.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_54_9749.jpg', '/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_44_10759.jpg', '/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_34_9751.jpg', '/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_24_9751.jpg', '/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_14_9774.jpg', '/home/nano/Desktop/images/09022025/11/06/image_09022025_11_07_04_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_54_9749.jpg
/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_44_10759.jpg
/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_34_9751.jpg
/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_24_9751.jpg
/home/nano/Desktop/images/09022025/11/07/image_09022025_11_07_14_9774.jpg
/home/nano/Desktop/images/09022025/11/06/image_09022025_11_07_04_9751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338175233","1338175242","1338175230","1338175253","1338175247","1338175237"],"photo_ids_order":["1338175230","1338175233","1338175237","1338175242","1338175247","1338175253"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7707028847248465895ecee312e43306.jpg","text":"TemporaryFile(/tmp/multipartBody2127600076740464549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804105743,"filename":"image_09022025_11_07_44_10759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0c1f88e665ad450292b737f9e547188.jpg","text":"TemporaryFile(/tmp/multipartBody8477808408686969978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804105743,"filename":"image_09022025_11_07_24_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97bcbfd5f542eb1c0b4be3f3efaa7a2b.jpg","text":"TemporaryFile(/tmp/multipartBody6246278493508534306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804105743,"filename":"image_09022025_11_07_54_9749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b30b84b3ec1c3a8593f41851d53aafa.jpg","text":"TemporaryFile(/tmp/multipartBody4843202999609366981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804105743,"filename":"image_09022025_11_07_04_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8326567bc192e701bcfb5c9bd1f9a70.jpg","text":"TemporaryFile(/tmp/multipartBody4386136669099973712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804105743,"filename":"image_09022025_11_07_14_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/766e9553aca698099e7dee6640a5449b.jpg","text":"TemporaryFile(/tmp/multipartBody7885206754400112743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804105743,"filename":"image_09022025_11_07_34_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338175237","file1":"1338175233","file0":"1338175230","file4":"1338175247","file5":"1338175253","file3":"1338175242"},"map_files_photo_id_array":[{"photo_id":"1338175253","filename":"file5"},{"photo_id":"1338175237","filename":"file2"},{"photo_id":"1338175247","filename":"file4"},{"photo_id":"1338175233","filename":"file1"},{"photo_id":"1338175230","filename":"file0"},{"photo_id":"1338175242","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338175233":["hashtag1","hashtag2"]},{"1338175242":["hashtag1","hashtag2"]},{"1338175230":["hashtag1","hashtag2"]},{"1338175253":["hashtag1","hashtag2"]},{"1338175247":["hashtag1","hashtag2"]},{"1338175237":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338175233, 1338175242, 1338175230, 1338175253, 1338175247, 1338175237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86192607879639 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:55:02.236193
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_54_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_45_10762.jpg', 0), ('/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_34_9749.jpg', 0), ('/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_24_9747.jpg', 0), ('/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_14_9783.jpg', 0), ('/home/nano/Desktop/images/09022025/10/57/image_09022025_10_58_05_10767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_54_9752.jpg', '/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_45_10762.jpg', '/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_34_9749.jpg', '/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_24_9747.jpg', '/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_14_9783.jpg', '/home/nano/Desktop/images/09022025/10/57/image_09022025_10_58_05_10767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_54_9752.jpg
/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_45_10762.jpg
/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_34_9749.jpg
/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_24_9747.jpg
/home/nano/Desktop/images/09022025/10/58/image_09022025_10_58_14_9783.jpg
/home/nano/Desktop/images/09022025/10/57/image_09022025_10_58_05_10767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338175289","1338175286","1338175291","1338175282","1338175296","1338175284"],"photo_ids_order":["1338175282","1338175284","1338175286","1338175289","1338175291","1338175296"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9426ebb4698f856927987a2dd4639ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5480953998449574431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804164802,"filename":"image_09022025_10_58_24_9747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39f7238e52c62f62c57b7e7fd3a724c8.jpg","text":"TemporaryFile(/tmp/multipartBody3320411710784927918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804164802,"filename":"image_09022025_10_58_34_9749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/acbb003bfee9b19ae4679df32c32f487.jpg","text":"TemporaryFile(/tmp/multipartBody6392324195862026572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804164802,"filename":"image_09022025_10_58_14_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/321578a4d2e8ee8b1bf62926b49cc803.jpg","text":"TemporaryFile(/tmp/multipartBody4600465890962421486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804164802,"filename":"image_09022025_10_58_54_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cbb30bf0ab544ed8336161195dd663c7.jpg","text":"TemporaryFile(/tmp/multipartBody5784961457901785633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804164802,"filename":"image_09022025_10_58_05_10767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/651089be4d3a693b0cb1781a1596c2f1.jpg","text":"TemporaryFile(/tmp/multipartBody7623959496373859119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804164802,"filename":"image_09022025_10_58_45_10762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338175286","file1":"1338175284","file0":"1338175282","file4":"1338175291","file5":"1338175296","file3":"1338175289"},"map_files_photo_id_array":[{"photo_id":"1338175296","filename":"file5"},{"photo_id":"1338175286","filename":"file2"},{"photo_id":"1338175291","filename":"file4"},{"photo_id":"1338175284","filename":"file1"},{"photo_id":"1338175282","filename":"file0"},{"photo_id":"1338175289","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338175289":["hashtag1","hashtag2"]},{"1338175286":["hashtag1","hashtag2"]},{"1338175291":["hashtag1","hashtag2"]},{"1338175282":["hashtag1","hashtag2"]},{"1338175296":["hashtag1","hashtag2"]},{"1338175284":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338175289, 1338175286, 1338175291, 1338175282, 1338175296, 1338175284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83235478401184 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:56:02.255659
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_54_9744.jpg', 0), ('/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_44_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_34_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_25_10760.jpg', 0), ('/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_14_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/10/56/image_09022025_10_57_04_9754.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_54_9744.jpg', '/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_44_9752.jpg', '/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_34_9751.jpg', '/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_25_10760.jpg', '/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_14_9756.jpg', '/home/nano/Desktop/images/09022025/10/56/image_09022025_10_57_04_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_54_9744.jpg
/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_44_9752.jpg
/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_34_9751.jpg
/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_25_10760.jpg
/home/nano/Desktop/images/09022025/10/57/image_09022025_10_57_14_9756.jpg
/home/nano/Desktop/images/09022025/10/56/image_09022025_10_57_04_9754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338175737","1338175745","1338175754","1338175733","1338175741","1338175749"],"photo_ids_order":["1338175733","1338175737","1338175741","1338175745","1338175749","1338175754"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/35b234b554bb0b619a114185a8d67d7c.jpg","text":"TemporaryFile(/tmp/multipartBody3103694301226497303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804225695,"filename":"image_09022025_10_57_44_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a42461bb3d598615362889024b184f1d.jpg","text":"TemporaryFile(/tmp/multipartBody1783832017606923457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804225695,"filename":"image_09022025_10_57_25_10760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f4c976bd0f69a3dd9169fd77c521b1f.jpg","text":"TemporaryFile(/tmp/multipartBody4124233756076784197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804225695,"filename":"image_09022025_10_57_04_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a3d72ee8335fe48895fde0c12cc25b8.jpg","text":"TemporaryFile(/tmp/multipartBody1037144770486250723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804225695,"filename":"image_09022025_10_57_54_9744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d2cc6064b9f0eb1f23aabc667bbb3e5.jpg","text":"TemporaryFile(/tmp/multipartBody5084974254584659037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804225695,"filename":"image_09022025_10_57_34_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6bcf07a8dcf606946da5f4fa8f1526ef.jpg","text":"TemporaryFile(/tmp/multipartBody8789766012031788030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804225695,"filename":"image_09022025_10_57_14_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338175741","file1":"1338175737","file0":"1338175733","file4":"1338175749","file5":"1338175754","file3":"1338175745"},"map_files_photo_id_array":[{"photo_id":"1338175754","filename":"file5"},{"photo_id":"1338175741","filename":"file2"},{"photo_id":"1338175749","filename":"file4"},{"photo_id":"1338175737","filename":"file1"},{"photo_id":"1338175733","filename":"file0"},{"photo_id":"1338175745","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338175737":["hashtag1","hashtag2"]},{"1338175745":["hashtag1","hashtag2"]},{"1338175754":["hashtag1","hashtag2"]},{"1338175733":["hashtag1","hashtag2"]},{"1338175741":["hashtag1","hashtag2"]},{"1338175749":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338175737, 1338175745, 1338175754, 1338175733, 1338175741, 1338175749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5291109085083 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:57:02.666323
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_55_10762.jpg', 0), ('/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_44_9746.jpg', 0), ('/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_34_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_24_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_15_10765.jpg', 0), ('/home/nano/Desktop/images/09022025/10/41/image_09022025_10_42_04_9765.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_55_10762.jpg', '/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_44_9746.jpg', '/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_34_9751.jpg', '/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_24_9752.jpg', '/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_15_10765.jpg', '/home/nano/Desktop/images/09022025/10/41/image_09022025_10_42_04_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_55_10762.jpg
/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_44_9746.jpg
/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_34_9751.jpg
/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_24_9752.jpg
/home/nano/Desktop/images/09022025/10/42/image_09022025_10_42_15_10765.jpg
/home/nano/Desktop/images/09022025/10/41/image_09022025_10_42_04_9765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338175784","1338175793","1338175786","1338175795","1338175789","1338175791"],"photo_ids_order":["1338175784","1338175786","1338175789","1338175791","1338175793","1338175795"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8a623036a113f911400692c0b2d9d4c.jpg","text":"TemporaryFile(/tmp/multipartBody3555970450014245945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804284980,"filename":"image_09022025_10_42_55_10762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e16241683baaaaea99f2bdbf97683008.jpg","text":"TemporaryFile(/tmp/multipartBody5748399632559400259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804284980,"filename":"image_09022025_10_42_15_10765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/45ba468fa101055b92872433f4bad023.jpg","text":"TemporaryFile(/tmp/multipartBody8815841283371919587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804284980,"filename":"image_09022025_10_42_44_9746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/18fa97119bf6228b1033c69de52393aa.jpg","text":"TemporaryFile(/tmp/multipartBody7586222594886909682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804284980,"filename":"image_09022025_10_42_04_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/500776c015588dd03d85740d008719e5.jpg","text":"TemporaryFile(/tmp/multipartBody3993862554058179730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804284980,"filename":"image_09022025_10_42_34_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6b8e30218e8dcb157fde1cf2547d91b2.jpg","text":"TemporaryFile(/tmp/multipartBody104895762685585127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804284980,"filename":"image_09022025_10_42_24_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338175789","file1":"1338175786","file0":"1338175784","file4":"1338175793","file5":"1338175795","file3":"1338175791"},"map_files_photo_id_array":[{"photo_id":"1338175795","filename":"file5"},{"photo_id":"1338175789","filename":"file2"},{"photo_id":"1338175793","filename":"file4"},{"photo_id":"1338175786","filename":"file1"},{"photo_id":"1338175784","filename":"file0"},{"photo_id":"1338175791","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338175784":["hashtag1","hashtag2"]},{"1338175793":["hashtag1","hashtag2"]},{"1338175786":["hashtag1","hashtag2"]},{"1338175795":["hashtag1","hashtag2"]},{"1338175789":["hashtag1","hashtag2"]},{"1338175791":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338175784, 1338175793, 1338175786, 1338175795, 1338175789, 1338175791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.074057817459106 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:58:02.579758
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_54_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_44_10762.jpg', 0), ('/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_34_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_24_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_14_9780.jpg', 0), ('/home/nano/Desktop/images/09022025/10/04/image_09022025_10_05_04_9754.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_54_9755.jpg', '/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_44_10762.jpg', '/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_34_9755.jpg', '/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_24_9754.jpg', '/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_14_9780.jpg', '/home/nano/Desktop/images/09022025/10/04/image_09022025_10_05_04_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_54_9755.jpg
/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_44_10762.jpg
/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_34_9755.jpg
/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_24_9754.jpg
/home/nano/Desktop/images/09022025/10/05/image_09022025_10_05_14_9780.jpg
/home/nano/Desktop/images/09022025/10/04/image_09022025_10_05_04_9754.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338176010","1338176015","1338176017","1338176011","1338176014","1338176016"],"photo_ids_order":["1338176010","1338176011","1338176014","1338176015","1338176016","1338176017"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/51a75a7b6559f7e62bed346c804c4d3c.jpg","text":"TemporaryFile(/tmp/multipartBody1167023331328186962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804344797,"filename":"image_09022025_10_05_54_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc8fc9ed5ed44640805d879345d97c78.jpg","text":"TemporaryFile(/tmp/multipartBody3798446336039033496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804344797,"filename":"image_09022025_10_05_24_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/696e1bcc36caf0a388897fd9e5428dab.jpg","text":"TemporaryFile(/tmp/multipartBody8795934630055841098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804344797,"filename":"image_09022025_10_05_04_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c44dd307156c2f8e402f54a17f7e7173.jpg","text":"TemporaryFile(/tmp/multipartBody3516614750659816366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804344797,"filename":"image_09022025_10_05_44_10762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e0635a9ca09b15fc0f6c9b4f6e1200e.jpg","text":"TemporaryFile(/tmp/multipartBody396717801706126531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804344797,"filename":"image_09022025_10_05_34_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/35c50a6f89e32e244da135ce2d5a7cc9.jpg","text":"TemporaryFile(/tmp/multipartBody3633616480003295749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804344797,"filename":"image_09022025_10_05_14_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338176014","file1":"1338176011","file0":"1338176010","file4":"1338176016","file5":"1338176017","file3":"1338176015"},"map_files_photo_id_array":[{"photo_id":"1338176017","filename":"file5"},{"photo_id":"1338176014","filename":"file2"},{"photo_id":"1338176016","filename":"file4"},{"photo_id":"1338176011","filename":"file1"},{"photo_id":"1338176010","filename":"file0"},{"photo_id":"1338176015","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338176010":["hashtag1","hashtag2"]},{"1338176015":["hashtag1","hashtag2"]},{"1338176017":["hashtag1","hashtag2"]},{"1338176011":["hashtag1","hashtag2"]},{"1338176014":["hashtag1","hashtag2"]},{"1338176016":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338176010, 1338176015, 1338176017, 1338176011, 1338176014, 1338176016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59163308143616 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 15:59:02.581606
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_54_9750.jpg', 0), ('/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_44_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_35_10760.jpg', 0), ('/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_24_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_14_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/09/53/image_09022025_09_54_04_9755.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_54_9750.jpg', '/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_44_9751.jpg', '/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_35_10760.jpg', '/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_24_9751.jpg', '/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_14_9757.jpg', '/home/nano/Desktop/images/09022025/09/53/image_09022025_09_54_04_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_54_9750.jpg
/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_44_9751.jpg
/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_35_10760.jpg
/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_24_9751.jpg
/home/nano/Desktop/images/09022025/09/54/image_09022025_09_54_14_9757.jpg
/home/nano/Desktop/images/09022025/09/53/image_09022025_09_54_04_9755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338176060","1338176072","1338176039","1338176077","1338176035","1338176067"],"photo_ids_order":["1338176035","1338176039","1338176060","1338176067","1338176072","1338176077"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/351e480bec315f35a6ae55cd6248eaef.jpg","text":"TemporaryFile(/tmp/multipartBody1090622135084749312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804405094,"filename":"image_09022025_09_54_35_10760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70436aacf2682974c1170cb9c3bd64b4.jpg","text":"TemporaryFile(/tmp/multipartBody1836509055900691347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804405094,"filename":"image_09022025_09_54_14_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b54ab2d25d9eaa9bafb8a65ee8109a5c.jpg","text":"TemporaryFile(/tmp/multipartBody4644293577567475368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804405094,"filename":"image_09022025_09_54_44_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/578986c2ff73ce54dfa7ae156ace06aa.jpg","text":"TemporaryFile(/tmp/multipartBody8104605409796921745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804405094,"filename":"image_09022025_09_54_04_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39f258a36f3a8b43704f3eed5e3d0d8b.jpg","text":"TemporaryFile(/tmp/multipartBody366832170073184953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804405094,"filename":"image_09022025_09_54_54_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8b658a82e441e4508551f6d385e5890.jpg","text":"TemporaryFile(/tmp/multipartBody166965428437048285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804405094,"filename":"image_09022025_09_54_24_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338176060","file1":"1338176039","file0":"1338176035","file4":"1338176072","file5":"1338176077","file3":"1338176067"},"map_files_photo_id_array":[{"photo_id":"1338176077","filename":"file5"},{"photo_id":"1338176060","filename":"file2"},{"photo_id":"1338176072","filename":"file4"},{"photo_id":"1338176039","filename":"file1"},{"photo_id":"1338176035","filename":"file0"},{"photo_id":"1338176067","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338176060":["hashtag1","hashtag2"]},{"1338176072":["hashtag1","hashtag2"]},{"1338176039":["hashtag1","hashtag2"]},{"1338176077":["hashtag1","hashtag2"]},{"1338176035":["hashtag1","hashtag2"]},{"1338176067":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338176060, 1338176072, 1338176039, 1338176077, 1338176035, 1338176067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.059059858322144 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:00:02.619415
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_54_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_44_9750.jpg', 0), ('/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_35_10760.jpg', 0), ('/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_24_9747.jpg', 0), ('/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_14_9784.jpg', 0), ('/home/nano/Desktop/images/09022025/09/27/image_09022025_09_28_04_9757.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_54_9752.jpg', '/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_44_9750.jpg', '/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_35_10760.jpg', '/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_24_9747.jpg', '/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_14_9784.jpg', '/home/nano/Desktop/images/09022025/09/27/image_09022025_09_28_04_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_54_9752.jpg
/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_44_9750.jpg
/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_35_10760.jpg
/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_24_9747.jpg
/home/nano/Desktop/images/09022025/09/28/image_09022025_09_28_14_9784.jpg
/home/nano/Desktop/images/09022025/09/27/image_09022025_09_28_04_9757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338176126","1338176140","1338176130","1338176133","1338176136","1338176121"],"photo_ids_order":["1338176121","1338176126","1338176130","1338176133","1338176136","1338176140"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e255eb06510720bc8bb0d0e3b370ca60.jpg","text":"TemporaryFile(/tmp/multipartBody3058092155576021951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804464860,"filename":"image_09022025_09_28_44_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f55f4a355f0e60abd6e514dd79e2eb1.jpg","text":"TemporaryFile(/tmp/multipartBody4210953671766996884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804464860,"filename":"image_09022025_09_28_04_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a3ca1d2e79e4216fa1d3cc1c8540bf8.jpg","text":"TemporaryFile(/tmp/multipartBody3066931849461873917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804464860,"filename":"image_09022025_09_28_35_10760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af6cb8fa95906a9c65e7c04d31e3be87.jpg","text":"TemporaryFile(/tmp/multipartBody83883836922914258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804464860,"filename":"image_09022025_09_28_24_9747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d2117dd0f5c7d8c1d527c1de0a102d2.jpg","text":"TemporaryFile(/tmp/multipartBody1730876884784523901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804464860,"filename":"image_09022025_09_28_14_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a8cbf2387cbd1e47b290432d8ac20c92.jpg","text":"TemporaryFile(/tmp/multipartBody6147023658690519681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804464860,"filename":"image_09022025_09_28_54_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338176130","file1":"1338176126","file0":"1338176121","file4":"1338176136","file5":"1338176140","file3":"1338176133"},"map_files_photo_id_array":[{"photo_id":"1338176140","filename":"file5"},{"photo_id":"1338176130","filename":"file2"},{"photo_id":"1338176136","filename":"file4"},{"photo_id":"1338176126","filename":"file1"},{"photo_id":"1338176121","filename":"file0"},{"photo_id":"1338176133","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338176126":["hashtag1","hashtag2"]},{"1338176140":["hashtag1","hashtag2"]},{"1338176130":["hashtag1","hashtag2"]},{"1338176133":["hashtag1","hashtag2"]},{"1338176136":["hashtag1","hashtag2"]},{"1338176121":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338176126, 1338176140, 1338176130, 1338176133, 1338176136, 1338176121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86562442779541 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:01:02.798397
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_54_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_44_10757.jpg', 0), ('/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_34_9750.jpg', 0), ('/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_24_9745.jpg', 0), ('/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_14_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/08/56/image_09022025_08_57_04_10774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_54_9751.jpg', '/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_44_10757.jpg', '/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_34_9750.jpg', '/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_24_9745.jpg', '/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_14_9754.jpg', '/home/nano/Desktop/images/09022025/08/56/image_09022025_08_57_04_10774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_54_9751.jpg
/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_44_10757.jpg
/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_34_9750.jpg
/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_24_9745.jpg
/home/nano/Desktop/images/09022025/08/57/image_09022025_08_57_14_9754.jpg
/home/nano/Desktop/images/09022025/08/56/image_09022025_08_57_04_10774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338176471","1338176465","1338176462","1338176467","1338176484","1338176481"],"photo_ids_order":["1338176462","1338176465","1338176467","1338176471","1338176481","1338176484"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98b42d5e1d736ea06d4f2a76877595f7.jpg","text":"TemporaryFile(/tmp/multipartBody4171748286287463872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804525029,"filename":"image_09022025_08_57_24_9745.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/edf6d013abe35d03709cbcef5cf4dc6d.jpg","text":"TemporaryFile(/tmp/multipartBody3154687486290410397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804525029,"filename":"image_09022025_08_57_44_10757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dcf561d77f4a9fe972e931e2ca342e0b.jpg","text":"TemporaryFile(/tmp/multipartBody1155150577431836655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804525029,"filename":"image_09022025_08_57_54_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c79e33cf0a3b505bbe5bbf2b0ddbe47.jpg","text":"TemporaryFile(/tmp/multipartBody5374679944995821659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804525029,"filename":"image_09022025_08_57_34_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cec9d2c41a522c522648108dd93f3569.jpg","text":"TemporaryFile(/tmp/multipartBody6915129493259806786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804525029,"filename":"image_09022025_08_57_04_10774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab037feb5df9ff76ec40bca2c4ad4691.jpg","text":"TemporaryFile(/tmp/multipartBody2730343807263475137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804525029,"filename":"image_09022025_08_57_14_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338176467","file1":"1338176465","file0":"1338176462","file4":"1338176481","file5":"1338176484","file3":"1338176471"},"map_files_photo_id_array":[{"photo_id":"1338176484","filename":"file5"},{"photo_id":"1338176467","filename":"file2"},{"photo_id":"1338176481","filename":"file4"},{"photo_id":"1338176465","filename":"file1"},{"photo_id":"1338176462","filename":"file0"},{"photo_id":"1338176471","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338176471":["hashtag1","hashtag2"]},{"1338176465":["hashtag1","hashtag2"]},{"1338176462":["hashtag1","hashtag2"]},{"1338176467":["hashtag1","hashtag2"]},{"1338176484":["hashtag1","hashtag2"]},{"1338176481":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338176471, 1338176465, 1338176462, 1338176467, 1338176484, 1338176481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72818851470947 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:02:02.928696
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_54_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_45_10757.jpg', 0), ('/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_34_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_24_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_14_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/08/42/image_09022025_08_43_05_10767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_54_9756.jpg', '/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_45_10757.jpg', '/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_34_9754.jpg', '/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_24_9753.jpg', '/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_14_9756.jpg', '/home/nano/Desktop/images/09022025/08/42/image_09022025_08_43_05_10767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_54_9756.jpg
/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_45_10757.jpg
/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_34_9754.jpg
/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_24_9753.jpg
/home/nano/Desktop/images/09022025/08/43/image_09022025_08_43_14_9756.jpg
/home/nano/Desktop/images/09022025/08/42/image_09022025_08_43_05_10767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338176534","1338176513","1338176525","1338176506","1338176509","1338176529"],"photo_ids_order":["1338176506","1338176509","1338176513","1338176525","1338176529","1338176534"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75bd3963673dc2929dd2128dbcb36719.jpg","text":"TemporaryFile(/tmp/multipartBody4917772472544525235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804585309,"filename":"image_09022025_08_43_05_10767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5cd3ba45a264c866b5037dc971858988.jpg","text":"TemporaryFile(/tmp/multipartBody347945473754387332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804585309,"filename":"image_09022025_08_43_34_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/02729af3ade108b52a7bc64f1400500e.jpg","text":"TemporaryFile(/tmp/multipartBody3431962547536009967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804585309,"filename":"image_09022025_08_43_24_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fcc35a1d3735403e63a97ae5ae6a66f5.jpg","text":"TemporaryFile(/tmp/multipartBody840910621147887555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804585309,"filename":"image_09022025_08_43_54_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26f2716d7d27ef4137d79722ee89e300.jpg","text":"TemporaryFile(/tmp/multipartBody5905114685063366126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804585309,"filename":"image_09022025_08_43_45_10757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19c05bc5e63f8bc1e5487ae249bd6d4a.jpg","text":"TemporaryFile(/tmp/multipartBody5759171657814948052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804585309,"filename":"image_09022025_08_43_14_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338176513","file1":"1338176509","file0":"1338176506","file4":"1338176529","file5":"1338176534","file3":"1338176525"},"map_files_photo_id_array":[{"photo_id":"1338176534","filename":"file5"},{"photo_id":"1338176513","filename":"file2"},{"photo_id":"1338176529","filename":"file4"},{"photo_id":"1338176509","filename":"file1"},{"photo_id":"1338176506","filename":"file0"},{"photo_id":"1338176525","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338176534":["hashtag1","hashtag2"]},{"1338176513":["hashtag1","hashtag2"]},{"1338176525":["hashtag1","hashtag2"]},{"1338176506":["hashtag1","hashtag2"]},{"1338176509":["hashtag1","hashtag2"]},{"1338176529":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338176534, 1338176513, 1338176525, 1338176506, 1338176509, 1338176529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89330530166626 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:03:03.281730
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_54_9750.jpg', 0), ('/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_45_10760.jpg', 0), ('/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_34_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_24_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_14_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/07/57/image_09022025_07_58_05_10763.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_54_9750.jpg', '/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_45_10760.jpg', '/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_34_9751.jpg', '/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_24_9753.jpg', '/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_14_9755.jpg', '/home/nano/Desktop/images/09022025/07/57/image_09022025_07_58_05_10763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_54_9750.jpg
/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_45_10760.jpg
/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_34_9751.jpg
/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_24_9753.jpg
/home/nano/Desktop/images/09022025/07/58/image_09022025_07_58_14_9755.jpg
/home/nano/Desktop/images/09022025/07/57/image_09022025_07_58_05_10763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338176621","1338176590","1338176587","1338176598","1338176625","1338176594"],"photo_ids_order":["1338176587","1338176590","1338176594","1338176598","1338176621","1338176625"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f397a843c8cb52b5fb7ce52353fe5461.jpg","text":"TemporaryFile(/tmp/multipartBody7845261776933290337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804645937,"filename":"image_09022025_07_58_14_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6549d1250b60f6fd28924a90461931f.jpg","text":"TemporaryFile(/tmp/multipartBody5282421693758143595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804645937,"filename":"image_09022025_07_58_45_10760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82131852c3f08930fb88b6e0ca2c1b05.jpg","text":"TemporaryFile(/tmp/multipartBody731092149157660196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804645937,"filename":"image_09022025_07_58_54_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e4e8df5ad3a51a8b3c1f2deae8ab25c.jpg","text":"TemporaryFile(/tmp/multipartBody3438853553015638829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804645937,"filename":"image_09022025_07_58_24_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/255383e038ec54b62dff9aa64d71b8b1.jpg","text":"TemporaryFile(/tmp/multipartBody3358552345546120924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804645937,"filename":"image_09022025_07_58_05_10763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc4484fa81248e5be225965ca3c515fc.jpg","text":"TemporaryFile(/tmp/multipartBody4798982380869489697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804645937,"filename":"image_09022025_07_58_34_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338176594","file1":"1338176590","file0":"1338176587","file4":"1338176621","file5":"1338176625","file3":"1338176598"},"map_files_photo_id_array":[{"photo_id":"1338176625","filename":"file5"},{"photo_id":"1338176594","filename":"file2"},{"photo_id":"1338176621","filename":"file4"},{"photo_id":"1338176590","filename":"file1"},{"photo_id":"1338176587","filename":"file0"},{"photo_id":"1338176598","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338176621":["hashtag1","hashtag2"]},{"1338176590":["hashtag1","hashtag2"]},{"1338176587":["hashtag1","hashtag2"]},{"1338176598":["hashtag1","hashtag2"]},{"1338176625":["hashtag1","hashtag2"]},{"1338176594":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338176621, 1338176590, 1338176587, 1338176598, 1338176625, 1338176594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03986144065857 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:04:02.388372
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_54_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_45_10767.jpg', 0), ('/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_34_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_24_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_14_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/07/50/image_09022025_07_51_04_10793.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_54_9754.jpg', '/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_45_10767.jpg', '/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_34_9753.jpg', '/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_24_9758.jpg', '/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_14_9758.jpg', '/home/nano/Desktop/images/09022025/07/50/image_09022025_07_51_04_10793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_54_9754.jpg
/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_45_10767.jpg
/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_34_9753.jpg
/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_24_9758.jpg
/home/nano/Desktop/images/09022025/07/51/image_09022025_07_51_14_9758.jpg
/home/nano/Desktop/images/09022025/07/50/image_09022025_07_51_04_10793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338176864","1338177067","1338177208","1338176953","1338177195","1338177162"],"photo_ids_order":["1338176864","1338176953","1338177067","1338177162","1338177195","1338177208"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e67cb043add18fae153cfd8ee40a231.jpg","text":"TemporaryFile(/tmp/multipartBody6447665952294463629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804704522,"filename":"image_09022025_07_51_54_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/093f66b91e5eed3a47eef8bee4fd43d4.jpg","text":"TemporaryFile(/tmp/multipartBody6143484807083925466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804704522,"filename":"image_09022025_07_51_34_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca0c2798cc7b8c34a9caac02b0190325.jpg","text":"TemporaryFile(/tmp/multipartBody9140618197006194888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804704522,"filename":"image_09022025_07_51_04_10793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b373d31c711bcc0cc1cc38f6e6d605f3.jpg","text":"TemporaryFile(/tmp/multipartBody1638984504550854912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804704522,"filename":"image_09022025_07_51_45_10767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/601c5ac14c8be9ce5526a27301d2e4bb.jpg","text":"TemporaryFile(/tmp/multipartBody3668798285540765957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804704522,"filename":"image_09022025_07_51_14_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2d43bc53d11c7302c43e29b89208a3a.jpg","text":"TemporaryFile(/tmp/multipartBody7022959910916553274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804704522,"filename":"image_09022025_07_51_24_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338177067","file1":"1338176953","file0":"1338176864","file4":"1338177195","file5":"1338177208","file3":"1338177162"},"map_files_photo_id_array":[{"photo_id":"1338177208","filename":"file5"},{"photo_id":"1338177067","filename":"file2"},{"photo_id":"1338177195","filename":"file4"},{"photo_id":"1338176953","filename":"file1"},{"photo_id":"1338176864","filename":"file0"},{"photo_id":"1338177162","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338176864":["hashtag1","hashtag2"]},{"1338177067":["hashtag1","hashtag2"]},{"1338177208":["hashtag1","hashtag2"]},{"1338176953":["hashtag1","hashtag2"]},{"1338177195":["hashtag1","hashtag2"]},{"1338177162":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338176864, 1338177067, 1338177208, 1338176953, 1338177195, 1338177162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.095343589782715 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:05:02.505307
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_54_9750.jpg', 0), ('/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_44_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_34_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_25_10764.jpg', 0), ('/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_14_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/07/26/image_09022025_07_27_04_9761.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_54_9750.jpg', '/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_44_9753.jpg', '/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_34_9752.jpg', '/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_25_10764.jpg', '/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_14_9760.jpg', '/home/nano/Desktop/images/09022025/07/26/image_09022025_07_27_04_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_54_9750.jpg
/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_44_9753.jpg
/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_34_9752.jpg
/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_25_10764.jpg
/home/nano/Desktop/images/09022025/07/27/image_09022025_07_27_14_9760.jpg
/home/nano/Desktop/images/09022025/07/26/image_09022025_07_27_04_9761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338177979","1338178095","1338177561","1338177879","1338177672","1338177833"],"photo_ids_order":["1338177561","1338177672","1338177833","1338177879","1338177979","1338178095"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57450f3a7eef53eb0068177fd2cd1f21.jpg","text":"TemporaryFile(/tmp/multipartBody4189412483044772641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804764927,"filename":"image_09022025_07_27_14_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39d1298b2f3bc14ebd82340ffa3133c0.jpg","text":"TemporaryFile(/tmp/multipartBody2867431537273206916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804764927,"filename":"image_09022025_07_27_04_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d660f95accb40348f67cf8652b9dc30.jpg","text":"TemporaryFile(/tmp/multipartBody4412729168355621005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804764927,"filename":"image_09022025_07_27_54_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/23bcc3abfb71fbc95a75e37fd707c4c8.jpg","text":"TemporaryFile(/tmp/multipartBody3948047960801143336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804764927,"filename":"image_09022025_07_27_25_10764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c533a7dfa7caa6f998917e0ddce8748c.jpg","text":"TemporaryFile(/tmp/multipartBody4867469783432471909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804764927,"filename":"image_09022025_07_27_44_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0d5bf14cf1108d4f7e1e7c8d5478044.jpg","text":"TemporaryFile(/tmp/multipartBody525574513636532040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804764927,"filename":"image_09022025_07_27_34_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338177833","file1":"1338177672","file0":"1338177561","file4":"1338177979","file5":"1338178095","file3":"1338177879"},"map_files_photo_id_array":[{"photo_id":"1338178095","filename":"file5"},{"photo_id":"1338177833","filename":"file2"},{"photo_id":"1338177979","filename":"file4"},{"photo_id":"1338177672","filename":"file1"},{"photo_id":"1338177561","filename":"file0"},{"photo_id":"1338177879","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338177979":["hashtag1","hashtag2"]},{"1338178095":["hashtag1","hashtag2"]},{"1338177561":["hashtag1","hashtag2"]},{"1338177879":["hashtag1","hashtag2"]},{"1338177672":["hashtag1","hashtag2"]},{"1338177833":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338177979, 1338178095, 1338177561, 1338177879, 1338177672, 1338177833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.202184200286865 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:06:02.408691
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_54_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_44_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_35_10765.jpg', 0), ('/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_24_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_14_9784.jpg', 0), ('/home/nano/Desktop/images/09022025/07/12/image_09022025_07_13_04_9766.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_54_9754.jpg', '/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_44_9755.jpg', '/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_35_10765.jpg', '/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_24_9753.jpg', '/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_14_9784.jpg', '/home/nano/Desktop/images/09022025/07/12/image_09022025_07_13_04_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_54_9754.jpg
/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_44_9755.jpg
/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_35_10765.jpg
/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_24_9753.jpg
/home/nano/Desktop/images/09022025/07/13/image_09022025_07_13_14_9784.jpg
/home/nano/Desktop/images/09022025/07/12/image_09022025_07_13_04_9766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338178591","1338178584","1338178638","1338178509","1338178664","1338178640"],"photo_ids_order":["1338178509","1338178584","1338178591","1338178638","1338178640","1338178664"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0bc80d664cd3f3a0de12e83e751b6b0d.jpg","text":"TemporaryFile(/tmp/multipartBody1434071780472161022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804824694,"filename":"image_09022025_07_13_35_10765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ad178230b6f18b18362d93cc2661f72.jpg","text":"TemporaryFile(/tmp/multipartBody7350691376528164177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804824694,"filename":"image_09022025_07_13_44_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c37b2d47981688c72086ddfd6c2799dd.jpg","text":"TemporaryFile(/tmp/multipartBody3638726027880888230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804824694,"filename":"image_09022025_07_13_24_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64fb1a7f83bc863f61bce5f4ec34e206.jpg","text":"TemporaryFile(/tmp/multipartBody8205113345354654236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804824694,"filename":"image_09022025_07_13_54_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/789553d405a9bff35b06e751759d9b41.jpg","text":"TemporaryFile(/tmp/multipartBody5782095608751316951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804824694,"filename":"image_09022025_07_13_04_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8f013c7b495e0744543bdf839f4b791.jpg","text":"TemporaryFile(/tmp/multipartBody3557577269347100739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804824694,"filename":"image_09022025_07_13_14_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338178591","file1":"1338178584","file0":"1338178509","file4":"1338178640","file5":"1338178664","file3":"1338178638"},"map_files_photo_id_array":[{"photo_id":"1338178664","filename":"file5"},{"photo_id":"1338178591","filename":"file2"},{"photo_id":"1338178640","filename":"file4"},{"photo_id":"1338178584","filename":"file1"},{"photo_id":"1338178509","filename":"file0"},{"photo_id":"1338178638","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338178591":["hashtag1","hashtag2"]},{"1338178584":["hashtag1","hashtag2"]},{"1338178638":["hashtag1","hashtag2"]},{"1338178509":["hashtag1","hashtag2"]},{"1338178664":["hashtag1","hashtag2"]},{"1338178640":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338178591, 1338178584, 1338178638, 1338178509, 1338178664, 1338178640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76336145401001 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:07:02.755519
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_55_10762.jpg', 0), ('/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_44_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_34_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_24_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_15_10767.jpg', 0), ('/home/nano/Desktop/images/09022025/07/11/image_09022025_07_12_04_9759.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_55_10762.jpg', '/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_44_9754.jpg', '/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_34_9752.jpg', '/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_24_9753.jpg', '/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_15_10767.jpg', '/home/nano/Desktop/images/09022025/07/11/image_09022025_07_12_04_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_55_10762.jpg
/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_44_9754.jpg
/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_34_9752.jpg
/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_24_9753.jpg
/home/nano/Desktop/images/09022025/07/12/image_09022025_07_12_15_10767.jpg
/home/nano/Desktop/images/09022025/07/11/image_09022025_07_12_04_9759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338178720","1338178728","1338178716","1338178733","1338178724","1338178718"],"photo_ids_order":["1338178716","1338178718","1338178720","1338178724","1338178728","1338178733"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a7fed7e9cc9e68cf6f9a5686251e4204.jpg","text":"TemporaryFile(/tmp/multipartBody2490748445955603046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804884848,"filename":"image_09022025_07_12_34_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b17ba78846464cacc5a9c1b582c8501e.jpg","text":"TemporaryFile(/tmp/multipartBody4831307631730593471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804884848,"filename":"image_09022025_07_12_15_10767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc788a7ced3926a22a0e5e0ddf2760f0.jpg","text":"TemporaryFile(/tmp/multipartBody4010855031139218969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804884848,"filename":"image_09022025_07_12_55_10762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31ea3d2e918780988317030849f84b1e.jpg","text":"TemporaryFile(/tmp/multipartBody1716776748309665996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804884848,"filename":"image_09022025_07_12_04_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a64b55469a1a160bcebb2c3f3d48d8ec.jpg","text":"TemporaryFile(/tmp/multipartBody817420203895878718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804884848,"filename":"image_09022025_07_12_24_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe1d3798b1fe2efcb546b6f24d0c3573.jpg","text":"TemporaryFile(/tmp/multipartBody38441197318259169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804884848,"filename":"image_09022025_07_12_44_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338178720","file1":"1338178718","file0":"1338178716","file4":"1338178728","file5":"1338178733","file3":"1338178724"},"map_files_photo_id_array":[{"photo_id":"1338178733","filename":"file5"},{"photo_id":"1338178720","filename":"file2"},{"photo_id":"1338178728","filename":"file4"},{"photo_id":"1338178718","filename":"file1"},{"photo_id":"1338178716","filename":"file0"},{"photo_id":"1338178724","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338178720":["hashtag1","hashtag2"]},{"1338178728":["hashtag1","hashtag2"]},{"1338178716":["hashtag1","hashtag2"]},{"1338178733":["hashtag1","hashtag2"]},{"1338178724":["hashtag1","hashtag2"]},{"1338178718":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338178720, 1338178728, 1338178716, 1338178733, 1338178724, 1338178718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63412165641785 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:08:02.899895
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_54_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_44_9749.jpg', 0), ('/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_34_10755.jpg', 0), ('/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_24_9748.jpg', 0), ('/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_14_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/07/10/image_09022025_07_11_04_9763.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_54_9754.jpg', '/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_44_9749.jpg', '/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_34_10755.jpg', '/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_24_9748.jpg', '/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_14_9755.jpg', '/home/nano/Desktop/images/09022025/07/10/image_09022025_07_11_04_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_54_9754.jpg
/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_44_9749.jpg
/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_34_10755.jpg
/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_24_9748.jpg
/home/nano/Desktop/images/09022025/07/11/image_09022025_07_11_14_9755.jpg
/home/nano/Desktop/images/09022025/07/10/image_09022025_07_11_04_9763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338178756","1338178759","1338178753","1338178749","1338178763","1338178751"],"photo_ids_order":["1338178749","1338178751","1338178753","1338178756","1338178759","1338178763"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a703482f1bc1f4298d3c30909b11c29.jpg","text":"TemporaryFile(/tmp/multipartBody3789526563957570120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804945289,"filename":"image_09022025_07_11_24_9748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/72eac19dae0ffccf03b04b94cd68dc1c.jpg","text":"TemporaryFile(/tmp/multipartBody6250033216218249052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804945289,"filename":"image_09022025_07_11_14_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7aaf7de3c12186edb0ace743d3efbee4.jpg","text":"TemporaryFile(/tmp/multipartBody2016687039484312312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804945289,"filename":"image_09022025_07_11_34_10755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/915859b46e554a2312afee427bb20c60.jpg","text":"TemporaryFile(/tmp/multipartBody7582835331931011326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804945289,"filename":"image_09022025_07_11_54_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/836722591d6f9d38e67e9ea94d9711ca.jpg","text":"TemporaryFile(/tmp/multipartBody5180639363177942050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804945289,"filename":"image_09022025_07_11_04_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/42b98cb4518c7b92e2859136627f016f.jpg","text":"TemporaryFile(/tmp/multipartBody1459290827719562560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739804945289,"filename":"image_09022025_07_11_44_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338178753","file1":"1338178751","file0":"1338178749","file4":"1338178759","file5":"1338178763","file3":"1338178756"},"map_files_photo_id_array":[{"photo_id":"1338178763","filename":"file5"},{"photo_id":"1338178753","filename":"file2"},{"photo_id":"1338178759","filename":"file4"},{"photo_id":"1338178751","filename":"file1"},{"photo_id":"1338178749","filename":"file0"},{"photo_id":"1338178756","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338178756":["hashtag1","hashtag2"]},{"1338178759":["hashtag1","hashtag2"]},{"1338178753":["hashtag1","hashtag2"]},{"1338178749":["hashtag1","hashtag2"]},{"1338178763":["hashtag1","hashtag2"]},{"1338178751":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338178756, 1338178759, 1338178753, 1338178749, 1338178763, 1338178751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.32626485824585 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:09:03.562655
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_54_10763.jpg', 0), ('/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_44_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_34_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_24_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_14_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/07/09/image_09022025_07_10_05_10783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_54_10763.jpg', '/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_44_9755.jpg', '/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_34_9754.jpg', '/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_24_9753.jpg', '/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_14_9759.jpg', '/home/nano/Desktop/images/09022025/07/09/image_09022025_07_10_05_10783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_54_10763.jpg
/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_44_9755.jpg
/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_34_9754.jpg
/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_24_9753.jpg
/home/nano/Desktop/images/09022025/07/10/image_09022025_07_10_14_9759.jpg
/home/nano/Desktop/images/09022025/07/09/image_09022025_07_10_05_10783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338178783","1338178804","1338178801","1338178811","1338178802","1338178792"],"photo_ids_order":["1338178783","1338178792","1338178801","1338178802","1338178804","1338178811"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/427c2c1f91a5f7e7eb9fea995ac54af7.jpg","text":"TemporaryFile(/tmp/multipartBody4174434932571136028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805008858,"filename":"image_09022025_07_10_54_10763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b21dca95bfc22d2b3725c07b1b5c015.jpg","text":"TemporaryFile(/tmp/multipartBody3872910788803816167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805008858,"filename":"image_09022025_07_10_14_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba6e61ebbe212cad2fdf3f653b69b40e.jpg","text":"TemporaryFile(/tmp/multipartBody4111724535703031477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805008858,"filename":"image_09022025_07_10_34_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88c75850dea0bbb314fa51324716278e.jpg","text":"TemporaryFile(/tmp/multipartBody2961548614410296962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805008858,"filename":"image_09022025_07_10_05_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/908897ded36d4b69a7efc5a2d9edce05.jpg","text":"TemporaryFile(/tmp/multipartBody9194097706757868942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805008858,"filename":"image_09022025_07_10_24_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/37ae6c70b342f0321114872d5c142f5b.jpg","text":"TemporaryFile(/tmp/multipartBody4953810872190988695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805008858,"filename":"image_09022025_07_10_44_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338178801","file1":"1338178792","file0":"1338178783","file4":"1338178804","file5":"1338178811","file3":"1338178802"},"map_files_photo_id_array":[{"photo_id":"1338178811","filename":"file5"},{"photo_id":"1338178801","filename":"file2"},{"photo_id":"1338178804","filename":"file4"},{"photo_id":"1338178792","filename":"file1"},{"photo_id":"1338178783","filename":"file0"},{"photo_id":"1338178802","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338178783":["hashtag1","hashtag2"]},{"1338178804":["hashtag1","hashtag2"]},{"1338178801":["hashtag1","hashtag2"]},{"1338178811":["hashtag1","hashtag2"]},{"1338178802":["hashtag1","hashtag2"]},{"1338178792":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338178783, 1338178804, 1338178801, 1338178811, 1338178802, 1338178792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.787203788757324 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:10:02.004333
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_54_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_44_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_34_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_25_10758.jpg', 0), ('/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_14_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/07/08/image_09022025_07_09_04_9754.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_54_9754.jpg', '/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_44_9751.jpg', '/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_34_9753.jpg', '/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_25_10758.jpg', '/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_14_9763.jpg', '/home/nano/Desktop/images/09022025/07/08/image_09022025_07_09_04_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_54_9754.jpg
/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_44_9751.jpg
/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_34_9753.jpg
/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_25_10758.jpg
/home/nano/Desktop/images/09022025/07/09/image_09022025_07_09_14_9763.jpg
/home/nano/Desktop/images/09022025/07/08/image_09022025_07_09_04_9754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338178846","1338178833","1338178836","1338178844","1338178838","1338178841"],"photo_ids_order":["1338178833","1338178836","1338178838","1338178841","1338178844","1338178846"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a2a858ef5af49fd4f5c327300101950.jpg","text":"TemporaryFile(/tmp/multipartBody7577819706955759529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805064552,"filename":"image_09022025_07_09_04_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b7992343d0eb1c8eaa5ae52c548608e.jpg","text":"TemporaryFile(/tmp/multipartBody253030227791584003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805064552,"filename":"image_09022025_07_09_54_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c003acc4cb3dbb08897553a3d7049be3.jpg","text":"TemporaryFile(/tmp/multipartBody8837916367695631713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805064552,"filename":"image_09022025_07_09_44_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6462c11c0b8f727d57381cb2d7ef23ad.jpg","text":"TemporaryFile(/tmp/multipartBody3787059630857055084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805064552,"filename":"image_09022025_07_09_14_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9bf52edb75e523b58fd0aa9f2f47c893.jpg","text":"TemporaryFile(/tmp/multipartBody5009430956292348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805064552,"filename":"image_09022025_07_09_34_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a92597df2f255e78b95229ccb8d5d53c.jpg","text":"TemporaryFile(/tmp/multipartBody4227140256649767065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805064552,"filename":"image_09022025_07_09_25_10758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338178838","file1":"1338178836","file0":"1338178833","file4":"1338178844","file5":"1338178846","file3":"1338178841"},"map_files_photo_id_array":[{"photo_id":"1338178846","filename":"file5"},{"photo_id":"1338178838","filename":"file2"},{"photo_id":"1338178844","filename":"file4"},{"photo_id":"1338178836","filename":"file1"},{"photo_id":"1338178833","filename":"file0"},{"photo_id":"1338178841","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338178846":["hashtag1","hashtag2"]},{"1338178833":["hashtag1","hashtag2"]},{"1338178836":["hashtag1","hashtag2"]},{"1338178844":["hashtag1","hashtag2"]},{"1338178838":["hashtag1","hashtag2"]},{"1338178841":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338178846, 1338178833, 1338178836, 1338178844, 1338178838, 1338178841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2516713142395 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:11:02.307030
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_54_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_44_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_34_9751.jpg', 0), ('/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_25_10765.jpg', 0), ('/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_14_9767.jpg', 0), ('/home/nano/Desktop/images/09022025/06/52/image_09022025_06_53_04_9760.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_54_9756.jpg', '/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_44_9752.jpg', '/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_34_9751.jpg', '/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_25_10765.jpg', '/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_14_9767.jpg', '/home/nano/Desktop/images/09022025/06/52/image_09022025_06_53_04_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_54_9756.jpg
/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_44_9752.jpg
/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_34_9751.jpg
/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_25_10765.jpg
/home/nano/Desktop/images/09022025/06/53/image_09022025_06_53_14_9767.jpg
/home/nano/Desktop/images/09022025/06/52/image_09022025_06_53_04_9760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338179056","1338179160","1338179163","1338179166","1338179133","1338179165"],"photo_ids_order":["1338179056","1338179133","1338179160","1338179163","1338179165","1338179166"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ecad3fa934ee5deab69900b1bf4d4cc.jpg","text":"TemporaryFile(/tmp/multipartBody4932979979864523098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805124480,"filename":"image_09022025_06_53_54_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a9d67d3c319d7a6158a62e7eb20af13f.jpg","text":"TemporaryFile(/tmp/multipartBody4340780636189755421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805124480,"filename":"image_09022025_06_53_34_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f4669d7e652eba4af2ccdaaeb2ddc307.jpg","text":"TemporaryFile(/tmp/multipartBody5419004360864673718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805124480,"filename":"image_09022025_06_53_25_10765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8616c0413a325166d3b195ba905aafb.jpg","text":"TemporaryFile(/tmp/multipartBody8323637382886974141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805124480,"filename":"image_09022025_06_53_04_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8106e6d81c5c60678e5b2d0a0ef7512.jpg","text":"TemporaryFile(/tmp/multipartBody669171911090819672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805124480,"filename":"image_09022025_06_53_44_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e6ad6a459e8c1e98669d4bed2e8708f.jpg","text":"TemporaryFile(/tmp/multipartBody5748314400324472825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805124480,"filename":"image_09022025_06_53_14_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338179160","file1":"1338179133","file0":"1338179056","file4":"1338179165","file5":"1338179166","file3":"1338179163"},"map_files_photo_id_array":[{"photo_id":"1338179166","filename":"file5"},{"photo_id":"1338179160","filename":"file2"},{"photo_id":"1338179165","filename":"file4"},{"photo_id":"1338179133","filename":"file1"},{"photo_id":"1338179056","filename":"file0"},{"photo_id":"1338179163","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338179056":["hashtag1","hashtag2"]},{"1338179160":["hashtag1","hashtag2"]},{"1338179163":["hashtag1","hashtag2"]},{"1338179166":["hashtag1","hashtag2"]},{"1338179133":["hashtag1","hashtag2"]},{"1338179165":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338179056, 1338179160, 1338179163, 1338179166, 1338179133, 1338179165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.55791211128235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:12:02.466487
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_54_9750.jpg', 0), ('/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_45_10766.jpg', 0), ('/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_34_9772.jpg', 0), ('/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_24_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_14_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/06/30/image_09022025_06_31_05_10763.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_54_9750.jpg', '/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_45_10766.jpg', '/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_34_9772.jpg', '/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_24_9756.jpg', '/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_14_9759.jpg', '/home/nano/Desktop/images/09022025/06/30/image_09022025_06_31_05_10763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_54_9750.jpg
/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_45_10766.jpg
/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_34_9772.jpg
/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_24_9756.jpg
/home/nano/Desktop/images/09022025/06/31/image_09022025_06_31_14_9759.jpg
/home/nano/Desktop/images/09022025/06/30/image_09022025_06_31_05_10763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338179218","1338179199","1338179214","1338179222","1338179210","1338179207"],"photo_ids_order":["1338179199","1338179207","1338179210","1338179214","1338179218","1338179222"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d52faf89b9ca2468362db956a78bc42b.jpg","text":"TemporaryFile(/tmp/multipartBody954388676832109845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805184923,"filename":"image_09022025_06_31_14_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f4b092180ee6ebe265917b552042618.jpg","text":"TemporaryFile(/tmp/multipartBody3392735803195486600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805184923,"filename":"image_09022025_06_31_54_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3fa963324a2417544adac30764fe0a16.jpg","text":"TemporaryFile(/tmp/multipartBody3350154280899944819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805184923,"filename":"image_09022025_06_31_24_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/064a7640d2fb01848e2667b975f87fc3.jpg","text":"TemporaryFile(/tmp/multipartBody2085186961980723743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805184923,"filename":"image_09022025_06_31_05_10763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c1d0e205f239ab25b55daf279f6b84c.jpg","text":"TemporaryFile(/tmp/multipartBody7007572082332201242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805184923,"filename":"image_09022025_06_31_34_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b4b1f45436a593bad75f90394c00976.jpg","text":"TemporaryFile(/tmp/multipartBody5399781216141214384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805184923,"filename":"image_09022025_06_31_45_10766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338179210","file1":"1338179207","file0":"1338179199","file4":"1338179218","file5":"1338179222","file3":"1338179214"},"map_files_photo_id_array":[{"photo_id":"1338179222","filename":"file5"},{"photo_id":"1338179210","filename":"file2"},{"photo_id":"1338179218","filename":"file4"},{"photo_id":"1338179207","filename":"file1"},{"photo_id":"1338179199","filename":"file0"},{"photo_id":"1338179214","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338179218":["hashtag1","hashtag2"]},{"1338179199":["hashtag1","hashtag2"]},{"1338179214":["hashtag1","hashtag2"]},{"1338179222":["hashtag1","hashtag2"]},{"1338179210":["hashtag1","hashtag2"]},{"1338179207":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338179218, 1338179199, 1338179214, 1338179222, 1338179210, 1338179207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18487095832825 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:13:02.791116
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_54_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_44_10763.jpg', 0), ('/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_34_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_24_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_14_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/05/57/image_09022025_05_58_04_9759.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_54_9753.jpg', '/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_44_10763.jpg', '/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_34_9755.jpg', '/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_24_9754.jpg', '/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_14_9756.jpg', '/home/nano/Desktop/images/09022025/05/57/image_09022025_05_58_04_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_54_9753.jpg
/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_44_10763.jpg
/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_34_9755.jpg
/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_24_9754.jpg
/home/nano/Desktop/images/09022025/05/58/image_09022025_05_58_14_9756.jpg
/home/nano/Desktop/images/09022025/05/57/image_09022025_05_58_04_9759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338179269","1338179283","1338179277","1338179285","1338179273","1338179266"],"photo_ids_order":["1338179266","1338179269","1338179273","1338179277","1338179283","1338179285"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc2c4d6b660f068ef475ccae87bf3f9c.jpg","text":"TemporaryFile(/tmp/multipartBody84493125271700510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805245162,"filename":"image_09022025_05_58_44_10763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d38e0d3eb006a994cde1b00fe8897ed9.jpg","text":"TemporaryFile(/tmp/multipartBody584383107091507934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805245162,"filename":"image_09022025_05_58_14_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/846ca46d06d6a7e9b1ab371ae4eec997.jpg","text":"TemporaryFile(/tmp/multipartBody618195191331984850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805245162,"filename":"image_09022025_05_58_24_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13df21ac8a39af4fa7e7107f949b7be7.jpg","text":"TemporaryFile(/tmp/multipartBody3695061366735487565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805245162,"filename":"image_09022025_05_58_04_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d2af315691f545e820cd1245bdf9d602.jpg","text":"TemporaryFile(/tmp/multipartBody6598174870101252120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805245162,"filename":"image_09022025_05_58_34_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3541a166509e08d17e9d7bd620ee78b.jpg","text":"TemporaryFile(/tmp/multipartBody7879434056292503607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805245162,"filename":"image_09022025_05_58_54_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338179273","file1":"1338179269","file0":"1338179266","file4":"1338179283","file5":"1338179285","file3":"1338179277"},"map_files_photo_id_array":[{"photo_id":"1338179285","filename":"file5"},{"photo_id":"1338179273","filename":"file2"},{"photo_id":"1338179283","filename":"file4"},{"photo_id":"1338179269","filename":"file1"},{"photo_id":"1338179266","filename":"file0"},{"photo_id":"1338179277","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338179269":["hashtag1","hashtag2"]},{"1338179283":["hashtag1","hashtag2"]},{"1338179277":["hashtag1","hashtag2"]},{"1338179285":["hashtag1","hashtag2"]},{"1338179273":["hashtag1","hashtag2"]},{"1338179266":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338179269, 1338179283, 1338179277, 1338179285, 1338179273, 1338179266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12887454032898 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:14:03.084955
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_54_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_44_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_34_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_25_10766.jpg', 0), ('/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_14_9768.jpg', 0), ('/home/nano/Desktop/images/09022025/05/46/image_09022025_05_47_04_9760.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_54_9758.jpg', '/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_44_9757.jpg', '/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_34_9759.jpg', '/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_25_10766.jpg', '/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_14_9768.jpg', '/home/nano/Desktop/images/09022025/05/46/image_09022025_05_47_04_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_54_9758.jpg
/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_44_9757.jpg
/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_34_9759.jpg
/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_25_10766.jpg
/home/nano/Desktop/images/09022025/05/47/image_09022025_05_47_14_9768.jpg
/home/nano/Desktop/images/09022025/05/46/image_09022025_05_47_04_9760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338179311","1338179314","1338179319","1338179307","1338179303","1338179300"],"photo_ids_order":["1338179300","1338179303","1338179307","1338179311","1338179314","1338179319"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/073ca8d7ff4b6bab8010d4b1d8ab1b0d.jpg","text":"TemporaryFile(/tmp/multipartBody3062595547813227093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805305522,"filename":"image_09022025_05_47_25_10766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dffee63c9af1c4b4b6ff99f16679b69d.jpg","text":"TemporaryFile(/tmp/multipartBody6864824395960919941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805305522,"filename":"image_09022025_05_47_14_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0f0476d2edb40b743cabb768fee4e08.jpg","text":"TemporaryFile(/tmp/multipartBody5616701214021139942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805305522,"filename":"image_09022025_05_47_04_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/47d3d7f3719b387cd784ea6415164154.jpg","text":"TemporaryFile(/tmp/multipartBody7333307167621878855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805305522,"filename":"image_09022025_05_47_34_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e59cdaa71df2036e09cd433c59f57a8.jpg","text":"TemporaryFile(/tmp/multipartBody3976591059134883902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805305522,"filename":"image_09022025_05_47_44_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71c6968fe2f37516ef01adb221c53584.jpg","text":"TemporaryFile(/tmp/multipartBody3963450811096752798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805305522,"filename":"image_09022025_05_47_54_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338179307","file1":"1338179303","file0":"1338179300","file4":"1338179314","file5":"1338179319","file3":"1338179311"},"map_files_photo_id_array":[{"photo_id":"1338179319","filename":"file5"},{"photo_id":"1338179307","filename":"file2"},{"photo_id":"1338179314","filename":"file4"},{"photo_id":"1338179303","filename":"file1"},{"photo_id":"1338179300","filename":"file0"},{"photo_id":"1338179311","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338179311":["hashtag1","hashtag2"]},{"1338179314":["hashtag1","hashtag2"]},{"1338179319":["hashtag1","hashtag2"]},{"1338179307":["hashtag1","hashtag2"]},{"1338179303":["hashtag1","hashtag2"]},{"1338179300":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338179311, 1338179314, 1338179319, 1338179307, 1338179303, 1338179300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27951240539551 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:15:03.085129
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_54_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_44_10769.jpg', 0), ('/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_34_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_24_9773.jpg', 0), ('/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_14_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/05/31/image_09022025_05_32_04_9770.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_54_9758.jpg', '/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_44_10769.jpg', '/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_34_9758.jpg', '/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_24_9773.jpg', '/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_14_9759.jpg', '/home/nano/Desktop/images/09022025/05/31/image_09022025_05_32_04_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_54_9758.jpg
/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_44_10769.jpg
/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_34_9758.jpg
/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_24_9773.jpg
/home/nano/Desktop/images/09022025/05/32/image_09022025_05_32_14_9759.jpg
/home/nano/Desktop/images/09022025/05/31/image_09022025_05_32_04_9770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338179347","1338179340","1338179343","1338179337","1338179351","1338179354"],"photo_ids_order":["1338179337","1338179340","1338179343","1338179347","1338179351","1338179354"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50d9b75526d80f80053374ca74ec91f2.jpg","text":"TemporaryFile(/tmp/multipartBody3373031825366902616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805365415,"filename":"image_09022025_05_32_24_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c63c06fbac622980ac22f0974470478.jpg","text":"TemporaryFile(/tmp/multipartBody8369972751287607042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805365415,"filename":"image_09022025_05_32_44_10769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/749bf5c0213673726af524c08867f529.jpg","text":"TemporaryFile(/tmp/multipartBody5842272174018157285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805365415,"filename":"image_09022025_05_32_34_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2fc8feefd238113789f5762ce2a814ef.jpg","text":"TemporaryFile(/tmp/multipartBody90486957205774447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805365415,"filename":"image_09022025_05_32_54_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dde1cf353ae848ab96c49ee6797016c9.jpg","text":"TemporaryFile(/tmp/multipartBody5647922181988301796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805365415,"filename":"image_09022025_05_32_14_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a5a9c5d4d40c7c94cf2ef3da770737fd.jpg","text":"TemporaryFile(/tmp/multipartBody7000033919115989983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805365415,"filename":"image_09022025_05_32_04_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338179343","file1":"1338179340","file0":"1338179337","file4":"1338179351","file5":"1338179354","file3":"1338179347"},"map_files_photo_id_array":[{"photo_id":"1338179354","filename":"file5"},{"photo_id":"1338179343","filename":"file2"},{"photo_id":"1338179351","filename":"file4"},{"photo_id":"1338179340","filename":"file1"},{"photo_id":"1338179337","filename":"file0"},{"photo_id":"1338179347","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338179347":["hashtag1","hashtag2"]},{"1338179340":["hashtag1","hashtag2"]},{"1338179343":["hashtag1","hashtag2"]},{"1338179337":["hashtag1","hashtag2"]},{"1338179351":["hashtag1","hashtag2"]},{"1338179354":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338179347, 1338179340, 1338179343, 1338179337, 1338179351, 1338179354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05931758880615 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:16:02.186830
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_55_10766.jpg', 0), ('/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_44_9777.jpg', 0), ('/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_34_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_24_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_15_10771.jpg', 0), ('/home/nano/Desktop/images/09022025/05/30/image_09022025_05_31_04_9769.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_55_10766.jpg', '/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_44_9777.jpg', '/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_34_9759.jpg', '/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_24_9758.jpg', '/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_15_10771.jpg', '/home/nano/Desktop/images/09022025/05/30/image_09022025_05_31_04_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_55_10766.jpg
/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_44_9777.jpg
/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_34_9759.jpg
/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_24_9758.jpg
/home/nano/Desktop/images/09022025/05/31/image_09022025_05_31_15_10771.jpg
/home/nano/Desktop/images/09022025/05/30/image_09022025_05_31_04_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338179691","1338179675","1338179669","1338179684","1338179666","1338179633"],"photo_ids_order":["1338179633","1338179666","1338179669","1338179675","1338179684","1338179691"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a89b13df06267f2ae7abe003f6b2f22.jpg","text":"TemporaryFile(/tmp/multipartBody4314565355652388601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805424326,"filename":"image_09022025_05_31_04_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ff17b2affae3fcac166b91380b4e723.jpg","text":"TemporaryFile(/tmp/multipartBody3398871351116157662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805424326,"filename":"image_09022025_05_31_24_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/878588a61c09aeb0ea997d2c6a2c686b.jpg","text":"TemporaryFile(/tmp/multipartBody1880185837126429186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805424326,"filename":"image_09022025_05_31_34_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a7385477f871d467c50e245bb4b80815.jpg","text":"TemporaryFile(/tmp/multipartBody4057322824746837561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805424326,"filename":"image_09022025_05_31_15_10771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6b194c803b79e854af62da85488e585.jpg","text":"TemporaryFile(/tmp/multipartBody3321435496553500172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805424326,"filename":"image_09022025_05_31_44_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4cd8005e24621dbf044b47cce0e95cc.jpg","text":"TemporaryFile(/tmp/multipartBody4189249984254829020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805424326,"filename":"image_09022025_05_31_55_10766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338179669","file1":"1338179666","file0":"1338179633","file4":"1338179684","file5":"1338179691","file3":"1338179675"},"map_files_photo_id_array":[{"photo_id":"1338179691","filename":"file5"},{"photo_id":"1338179669","filename":"file2"},{"photo_id":"1338179684","filename":"file4"},{"photo_id":"1338179666","filename":"file1"},{"photo_id":"1338179633","filename":"file0"},{"photo_id":"1338179675","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338179691":["hashtag1","hashtag2"]},{"1338179675":["hashtag1","hashtag2"]},{"1338179669":["hashtag1","hashtag2"]},{"1338179684":["hashtag1","hashtag2"]},{"1338179666":["hashtag1","hashtag2"]},{"1338179633":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338179691, 1338179675, 1338179669, 1338179684, 1338179666, 1338179633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.669066190719604 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:17:02.477956
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_54_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_44_9780.jpg', 0), ('/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_34_9779.jpg', 0), ('/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_25_10796.jpg', 0), ('/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_14_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/05/27/image_09022025_05_28_04_9767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_54_9760.jpg', '/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_44_9780.jpg', '/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_34_9779.jpg', '/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_25_10796.jpg', '/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_14_9763.jpg', '/home/nano/Desktop/images/09022025/05/27/image_09022025_05_28_04_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_54_9760.jpg
/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_44_9780.jpg
/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_34_9779.jpg
/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_25_10796.jpg
/home/nano/Desktop/images/09022025/05/28/image_09022025_05_28_14_9763.jpg
/home/nano/Desktop/images/09022025/05/27/image_09022025_05_28_04_9767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338179743","1338179731","1338179739","1338179733","1338179747","1338179735"],"photo_ids_order":["1338179731","1338179733","1338179735","1338179739","1338179743","1338179747"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4aada16357139ccff7ab4d0d61364b97.jpg","text":"TemporaryFile(/tmp/multipartBody6422623559965369802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805484701,"filename":"image_09022025_05_28_14_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d3690027544462a937c8541b83b2766.jpg","text":"TemporaryFile(/tmp/multipartBody7075538109445426407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805484701,"filename":"image_09022025_05_28_54_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79fdcea3f291b4ac46cf53707f99a42f.jpg","text":"TemporaryFile(/tmp/multipartBody7067957493187609468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805484701,"filename":"image_09022025_05_28_25_10796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb1b0e408f295ab5d11fa219b052d08f.jpg","text":"TemporaryFile(/tmp/multipartBody4609671481454321405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805484701,"filename":"image_09022025_05_28_44_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e1c50ecade710b5c710bf94446a7443.jpg","text":"TemporaryFile(/tmp/multipartBody7831948260539128206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805484701,"filename":"image_09022025_05_28_04_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39326de9fa81c2d2d9887c5259215db4.jpg","text":"TemporaryFile(/tmp/multipartBody6900427183844318202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805484701,"filename":"image_09022025_05_28_34_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338179735","file1":"1338179733","file0":"1338179731","file4":"1338179743","file5":"1338179747","file3":"1338179739"},"map_files_photo_id_array":[{"photo_id":"1338179747","filename":"file5"},{"photo_id":"1338179735","filename":"file2"},{"photo_id":"1338179743","filename":"file4"},{"photo_id":"1338179733","filename":"file1"},{"photo_id":"1338179731","filename":"file0"},{"photo_id":"1338179739","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338179743":["hashtag1","hashtag2"]},{"1338179731":["hashtag1","hashtag2"]},{"1338179739":["hashtag1","hashtag2"]},{"1338179733":["hashtag1","hashtag2"]},{"1338179747":["hashtag1","hashtag2"]},{"1338179735":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338179743, 1338179731, 1338179739, 1338179733, 1338179747, 1338179735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.899611711502075 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:18:02.470967
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_55_10764.jpg', 0), ('/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_44_9777.jpg', 0), ('/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_34_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_24_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_15_10772.jpg', 0), ('/home/nano/Desktop/images/09022025/05/08/image_09022025_05_09_04_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_55_10764.jpg', '/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_44_9777.jpg', '/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_34_9758.jpg', '/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_24_9758.jpg', '/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_15_10772.jpg', '/home/nano/Desktop/images/09022025/05/08/image_09022025_05_09_04_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_55_10764.jpg
/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_44_9777.jpg
/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_34_9758.jpg
/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_24_9758.jpg
/home/nano/Desktop/images/09022025/05/09/image_09022025_05_09_15_10772.jpg
/home/nano/Desktop/images/09022025/05/08/image_09022025_05_09_04_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338179920","1338180238","1338179910","1338180066","1338179903","1338179825"],"photo_ids_order":["1338179825","1338179903","1338179910","1338179920","1338180066","1338180238"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2db540d3a01665a1c14cc6be5988e28c.jpg","text":"TemporaryFile(/tmp/multipartBody7885475880760857033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805545139,"filename":"image_09022025_05_09_24_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/deeea8673281ccdacba18dbf481bbb86.jpg","text":"TemporaryFile(/tmp/multipartBody3175482027273311991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805545139,"filename":"image_09022025_05_09_04_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2eb235ae6605a5d2a76dbf428fbf39ba.jpg","text":"TemporaryFile(/tmp/multipartBody1932757333271220166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805545139,"filename":"image_09022025_05_09_34_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b44947048940824f6655fe67c6fdd9a9.jpg","text":"TemporaryFile(/tmp/multipartBody5839778114861206913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805545139,"filename":"image_09022025_05_09_15_10772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a296ca2d8ae045235045a7cf7c897770.jpg","text":"TemporaryFile(/tmp/multipartBody6973704230019690886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805545139,"filename":"image_09022025_05_09_44_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d23adec6e2f36318d374a4264635e82e.jpg","text":"TemporaryFile(/tmp/multipartBody7307755707046603716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805545139,"filename":"image_09022025_05_09_55_10764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338179910","file1":"1338179903","file0":"1338179825","file4":"1338180066","file5":"1338180238","file3":"1338179920"},"map_files_photo_id_array":[{"photo_id":"1338180238","filename":"file5"},{"photo_id":"1338179910","filename":"file2"},{"photo_id":"1338180066","filename":"file4"},{"photo_id":"1338179903","filename":"file1"},{"photo_id":"1338179825","filename":"file0"},{"photo_id":"1338179920","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338179920":["hashtag1","hashtag2"]},{"1338180238":["hashtag1","hashtag2"]},{"1338179910":["hashtag1","hashtag2"]},{"1338180066":["hashtag1","hashtag2"]},{"1338179903":["hashtag1","hashtag2"]},{"1338179825":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338179920, 1338180238, 1338179910, 1338180066, 1338179903, 1338179825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3410427570343 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:19:03.095539
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_54_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_44_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_34_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_25_10767.jpg', 0), ('/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_14_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/04/55/image_09022025_04_56_04_9765.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_54_9758.jpg', '/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_44_9757.jpg', '/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_34_9758.jpg', '/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_25_10767.jpg', '/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_14_9760.jpg', '/home/nano/Desktop/images/09022025/04/55/image_09022025_04_56_04_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_54_9758.jpg
/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_44_9757.jpg
/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_34_9758.jpg
/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_25_10767.jpg
/home/nano/Desktop/images/09022025/04/56/image_09022025_04_56_14_9760.jpg
/home/nano/Desktop/images/09022025/04/55/image_09022025_04_56_04_9765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338180667","1338180699","1338180663","1338180702","1338180623","1338180620"],"photo_ids_order":["1338180620","1338180623","1338180663","1338180667","1338180699","1338180702"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/021d35b5b121b447b07c66d2e23495f9.jpg","text":"TemporaryFile(/tmp/multipartBody7908767106176143177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805605362,"filename":"image_09022025_04_56_25_10767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a775b55331b4fed2cf1058a998865c91.jpg","text":"TemporaryFile(/tmp/multipartBody1758726328709895692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805605362,"filename":"image_09022025_04_56_14_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b12000c4a1421f12a2bec77f5920b661.jpg","text":"TemporaryFile(/tmp/multipartBody7355388549762223499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805605362,"filename":"image_09022025_04_56_34_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9444e12190c9d7d0556248ff152770a7.jpg","text":"TemporaryFile(/tmp/multipartBody4900077493497566646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805605362,"filename":"image_09022025_04_56_04_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/666fd629f4960a747573e47be0b58e9d.jpg","text":"TemporaryFile(/tmp/multipartBody2280288283908507349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805605362,"filename":"image_09022025_04_56_44_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6361f98ecbb170a1515e00b5db62629d.jpg","text":"TemporaryFile(/tmp/multipartBody2221620805425719651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805605362,"filename":"image_09022025_04_56_54_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338180663","file1":"1338180623","file0":"1338180620","file4":"1338180699","file5":"1338180702","file3":"1338180667"},"map_files_photo_id_array":[{"photo_id":"1338180702","filename":"file5"},{"photo_id":"1338180663","filename":"file2"},{"photo_id":"1338180699","filename":"file4"},{"photo_id":"1338180623","filename":"file1"},{"photo_id":"1338180620","filename":"file0"},{"photo_id":"1338180667","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338180667":["hashtag1","hashtag2"]},{"1338180699":["hashtag1","hashtag2"]},{"1338180663":["hashtag1","hashtag2"]},{"1338180702":["hashtag1","hashtag2"]},{"1338180623":["hashtag1","hashtag2"]},{"1338180620":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338180667, 1338180699, 1338180663, 1338180702, 1338180623, 1338180620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92347598075867 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:20:02.724461
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_54_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_44_9780.jpg', 0), ('/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_34_9779.jpg', 0), ('/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_24_10772.jpg', 0), ('/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_14_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/04/38/image_09022025_04_39_04_9754.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_54_9758.jpg', '/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_44_9780.jpg', '/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_34_9779.jpg', '/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_24_10772.jpg', '/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_14_9763.jpg', '/home/nano/Desktop/images/09022025/04/38/image_09022025_04_39_04_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_54_9758.jpg
/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_44_9780.jpg
/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_34_9779.jpg
/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_24_10772.jpg
/home/nano/Desktop/images/09022025/04/39/image_09022025_04_39_14_9763.jpg
/home/nano/Desktop/images/09022025/04/38/image_09022025_04_39_04_9754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338180757","1338180745","1338180750","1338180753","1338180747","1338180755"],"photo_ids_order":["1338180745","1338180747","1338180750","1338180753","1338180755","1338180757"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3691dc6cbdf2adb2f0a0dc2b5225606.jpg","text":"TemporaryFile(/tmp/multipartBody8749475450214761527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805665024,"filename":"image_09022025_04_39_04_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54dafabf970138fc7ed03f597e851dfe.jpg","text":"TemporaryFile(/tmp/multipartBody3533278300638803122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805665024,"filename":"image_09022025_04_39_54_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b6750497320e93f8c36a8a00d2773a21.jpg","text":"TemporaryFile(/tmp/multipartBody250266646876668691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805665024,"filename":"image_09022025_04_39_34_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/709de6a4d3fe0074c9104fdc5c510c52.jpg","text":"TemporaryFile(/tmp/multipartBody8802937414963821059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805665024,"filename":"image_09022025_04_39_24_10772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/913c250dd021b82d4cff51fb7debda49.jpg","text":"TemporaryFile(/tmp/multipartBody5961104838386710520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805665024,"filename":"image_09022025_04_39_44_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f76bce0fbdab4bc064f05bd2bd795a46.jpg","text":"TemporaryFile(/tmp/multipartBody4133602123718033808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805665024,"filename":"image_09022025_04_39_14_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338180750","file1":"1338180747","file0":"1338180745","file4":"1338180755","file5":"1338180757","file3":"1338180753"},"map_files_photo_id_array":[{"photo_id":"1338180757","filename":"file5"},{"photo_id":"1338180750","filename":"file2"},{"photo_id":"1338180755","filename":"file4"},{"photo_id":"1338180747","filename":"file1"},{"photo_id":"1338180745","filename":"file0"},{"photo_id":"1338180753","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338180757":["hashtag1","hashtag2"]},{"1338180745":["hashtag1","hashtag2"]},{"1338180750":["hashtag1","hashtag2"]},{"1338180753":["hashtag1","hashtag2"]},{"1338180747":["hashtag1","hashtag2"]},{"1338180755":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338180757, 1338180745, 1338180750, 1338180753, 1338180747, 1338180755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.24372148513794 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:21:03.014553
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_54_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_44_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_34_9774.jpg', 0), ('/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_25_10788.jpg', 0), ('/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_14_9767.jpg', 0), ('/home/nano/Desktop/images/09022025/04/20/image_09022025_04_21_04_9774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_54_9759.jpg', '/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_44_9759.jpg', '/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_34_9774.jpg', '/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_25_10788.jpg', '/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_14_9767.jpg', '/home/nano/Desktop/images/09022025/04/20/image_09022025_04_21_04_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_54_9759.jpg
/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_44_9759.jpg
/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_34_9774.jpg
/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_25_10788.jpg
/home/nano/Desktop/images/09022025/04/21/image_09022025_04_21_14_9767.jpg
/home/nano/Desktop/images/09022025/04/20/image_09022025_04_21_04_9774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338180787","1338180795","1338180783","1338180801","1338180779","1338180775"],"photo_ids_order":["1338180775","1338180779","1338180783","1338180787","1338180795","1338180801"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec7702e87d2ab93a731d6046202d4999.jpg","text":"TemporaryFile(/tmp/multipartBody6193096820112995368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805725374,"filename":"image_09022025_04_21_25_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af6e1766c8ae51e44b65846f5db396bc.jpg","text":"TemporaryFile(/tmp/multipartBody851964254870107209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805725374,"filename":"image_09022025_04_21_14_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/20b8f91af485e73ce47f9a5c960759ea.jpg","text":"TemporaryFile(/tmp/multipartBody3684092529645038339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805725374,"filename":"image_09022025_04_21_34_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c635f369d96ab34173f3ea9e412cca92.jpg","text":"TemporaryFile(/tmp/multipartBody8428176701971374263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805725374,"filename":"image_09022025_04_21_04_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/84819c67f71fb5fba233b34f9ce51091.jpg","text":"TemporaryFile(/tmp/multipartBody5482304074102134491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805725374,"filename":"image_09022025_04_21_44_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d3fadc725ea0e520a416a168029ecefc.jpg","text":"TemporaryFile(/tmp/multipartBody4393730329917530730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805725374,"filename":"image_09022025_04_21_54_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338180783","file1":"1338180779","file0":"1338180775","file4":"1338180795","file5":"1338180801","file3":"1338180787"},"map_files_photo_id_array":[{"photo_id":"1338180801","filename":"file5"},{"photo_id":"1338180783","filename":"file2"},{"photo_id":"1338180795","filename":"file4"},{"photo_id":"1338180779","filename":"file1"},{"photo_id":"1338180775","filename":"file0"},{"photo_id":"1338180787","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338180787":["hashtag1","hashtag2"]},{"1338180795":["hashtag1","hashtag2"]},{"1338180783":["hashtag1","hashtag2"]},{"1338180801":["hashtag1","hashtag2"]},{"1338180779":["hashtag1","hashtag2"]},{"1338180775":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338180787, 1338180795, 1338180783, 1338180801, 1338180779, 1338180775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.360342025756836 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:22:03.046677
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_54_9761.jpg', 0), ('/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_44_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_35_10769.jpg', 0), ('/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_24_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_14_9764.jpg', 0), ('/home/nano/Desktop/images/09022025/04/17/image_09022025_04_18_04_9763.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_54_9761.jpg', '/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_44_9760.jpg', '/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_35_10769.jpg', '/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_24_9760.jpg', '/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_14_9764.jpg', '/home/nano/Desktop/images/09022025/04/17/image_09022025_04_18_04_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_54_9761.jpg
/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_44_9760.jpg
/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_35_10769.jpg
/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_24_9760.jpg
/home/nano/Desktop/images/09022025/04/18/image_09022025_04_18_14_9764.jpg
/home/nano/Desktop/images/09022025/04/17/image_09022025_04_18_04_9763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338180946","1338180841","1338180942","1338180843","1338180938","1338180845"],"photo_ids_order":["1338180841","1338180843","1338180845","1338180938","1338180942","1338180946"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50bd2b14677a5066c2fff5568c27b90b.jpg","text":"TemporaryFile(/tmp/multipartBody4786782484094836216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805785645,"filename":"image_09022025_04_18_04_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f1df0648be0fabeef7c6ef2ea3dc156.jpg","text":"TemporaryFile(/tmp/multipartBody5635676050499938358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805785645,"filename":"image_09022025_04_18_54_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ed3c5b2e22f28ea946c753eaecb085f.jpg","text":"TemporaryFile(/tmp/multipartBody3462083563548364448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805785645,"filename":"image_09022025_04_18_14_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ef252acf59961be0ebd3a08bff43a61e.jpg","text":"TemporaryFile(/tmp/multipartBody3011083965612597710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805785645,"filename":"image_09022025_04_18_44_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c16b349440a4379bff8f16d5245cda0.jpg","text":"TemporaryFile(/tmp/multipartBody5069298344661981658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805785645,"filename":"image_09022025_04_18_24_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ee49b792ccda9a37e7e0b1d6e7bd806.jpg","text":"TemporaryFile(/tmp/multipartBody1692746854716339785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805785645,"filename":"image_09022025_04_18_35_10769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338180845","file1":"1338180843","file0":"1338180841","file4":"1338180942","file5":"1338180946","file3":"1338180938"},"map_files_photo_id_array":[{"photo_id":"1338180946","filename":"file5"},{"photo_id":"1338180845","filename":"file2"},{"photo_id":"1338180942","filename":"file4"},{"photo_id":"1338180843","filename":"file1"},{"photo_id":"1338180841","filename":"file0"},{"photo_id":"1338180938","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338180946":["hashtag1","hashtag2"]},{"1338180841":["hashtag1","hashtag2"]},{"1338180942":["hashtag1","hashtag2"]},{"1338180843":["hashtag1","hashtag2"]},{"1338180938":["hashtag1","hashtag2"]},{"1338180845":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338180946, 1338180841, 1338180942, 1338180843, 1338180938, 1338180845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72219395637512 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:23:02.279313
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_54_9754.jpg', 0), ('/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_44_9786.jpg', 0), ('/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_34_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_25_10783.jpg', 0), ('/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_14_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/04/13/image_09022025_04_14_04_9762.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_54_9754.jpg', '/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_44_9786.jpg', '/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_34_9760.jpg', '/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_25_10783.jpg', '/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_14_9762.jpg', '/home/nano/Desktop/images/09022025/04/13/image_09022025_04_14_04_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_54_9754.jpg
/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_44_9786.jpg
/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_34_9760.jpg
/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_25_10783.jpg
/home/nano/Desktop/images/09022025/04/14/image_09022025_04_14_14_9762.jpg
/home/nano/Desktop/images/09022025/04/13/image_09022025_04_14_04_9762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338180958","1338180972","1338180960","1338180965","1338180968","1338180962"],"photo_ids_order":["1338180958","1338180960","1338180962","1338180965","1338180968","1338180972"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/022ba023828282d864eabe4993df8e5a.jpg","text":"TemporaryFile(/tmp/multipartBody5730279449747335633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805844684,"filename":"image_09022025_04_14_54_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b76556d37201b8f0324febfd2b4e420.jpg","text":"TemporaryFile(/tmp/multipartBody7901879451142729803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805844684,"filename":"image_09022025_04_14_04_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15009e2ff00e015679b366a2ff88f9bb.jpg","text":"TemporaryFile(/tmp/multipartBody1254567303582845887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805844684,"filename":"image_09022025_04_14_44_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/013c638d0f65c77ffaf91320314468cf.jpg","text":"TemporaryFile(/tmp/multipartBody7625443359057464101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805844684,"filename":"image_09022025_04_14_25_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0cce025e6125b7c298b71f8536328222.jpg","text":"TemporaryFile(/tmp/multipartBody2529373426760603342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805844684,"filename":"image_09022025_04_14_14_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a7ea2f498426db9c5771e8afa725058.jpg","text":"TemporaryFile(/tmp/multipartBody7195824040745584334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805844684,"filename":"image_09022025_04_14_34_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338180962","file1":"1338180960","file0":"1338180958","file4":"1338180968","file5":"1338180972","file3":"1338180965"},"map_files_photo_id_array":[{"photo_id":"1338180972","filename":"file5"},{"photo_id":"1338180962","filename":"file2"},{"photo_id":"1338180968","filename":"file4"},{"photo_id":"1338180960","filename":"file1"},{"photo_id":"1338180958","filename":"file0"},{"photo_id":"1338180965","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338180958":["hashtag1","hashtag2"]},{"1338180972":["hashtag1","hashtag2"]},{"1338180960":["hashtag1","hashtag2"]},{"1338180965":["hashtag1","hashtag2"]},{"1338180968":["hashtag1","hashtag2"]},{"1338180962":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338180958, 1338180972, 1338180960, 1338180965, 1338180968, 1338180962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72242259979248 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:24:02.582218
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_54_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_45_10770.jpg', 0), ('/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_34_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_24_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_14_9780.jpg', 0), ('/home/nano/Desktop/images/09022025/04/09/image_09022025_04_10_05_10780.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_54_9758.jpg', '/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_45_10770.jpg', '/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_34_9763.jpg', '/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_24_9758.jpg', '/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_14_9780.jpg', '/home/nano/Desktop/images/09022025/04/09/image_09022025_04_10_05_10780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_54_9758.jpg
/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_45_10770.jpg
/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_34_9763.jpg
/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_24_9758.jpg
/home/nano/Desktop/images/09022025/04/10/image_09022025_04_10_14_9780.jpg
/home/nano/Desktop/images/09022025/04/09/image_09022025_04_10_05_10780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338181110","1338181106","1338181115","1338181099","1338181103","1338181096"],"photo_ids_order":["1338181096","1338181099","1338181103","1338181106","1338181110","1338181115"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ac6c6f0283b657a15ebcba59ddfb015.jpg","text":"TemporaryFile(/tmp/multipartBody4322574047417886856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805904753,"filename":"image_09022025_04_10_14_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21df43773466cb92cffe010593a75253.jpg","text":"TemporaryFile(/tmp/multipartBody1191006947557254067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805904753,"filename":"image_09022025_04_10_24_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/42503a63a31fdff495dcf20e25ae7e50.jpg","text":"TemporaryFile(/tmp/multipartBody7455468546386300948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805904753,"filename":"image_09022025_04_10_05_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab3a8303b076e8f098b991a19cd1052a.jpg","text":"TemporaryFile(/tmp/multipartBody7594549479084407204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805904753,"filename":"image_09022025_04_10_45_10770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e253ec0da4ca47e8173845df0d532f6.jpg","text":"TemporaryFile(/tmp/multipartBody3720894659846118684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805904753,"filename":"image_09022025_04_10_34_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/633b49dd10b46454f36f3d5e2dcbfa77.jpg","text":"TemporaryFile(/tmp/multipartBody8951071332219208402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805904753,"filename":"image_09022025_04_10_54_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338181103","file1":"1338181099","file0":"1338181096","file4":"1338181110","file5":"1338181115","file3":"1338181106"},"map_files_photo_id_array":[{"photo_id":"1338181115","filename":"file5"},{"photo_id":"1338181103","filename":"file2"},{"photo_id":"1338181110","filename":"file4"},{"photo_id":"1338181099","filename":"file1"},{"photo_id":"1338181096","filename":"file0"},{"photo_id":"1338181106","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338181110":["hashtag1","hashtag2"]},{"1338181106":["hashtag1","hashtag2"]},{"1338181115":["hashtag1","hashtag2"]},{"1338181099":["hashtag1","hashtag2"]},{"1338181103":["hashtag1","hashtag2"]},{"1338181096":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338181110, 1338181106, 1338181115, 1338181099, 1338181103, 1338181096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.350703954696655 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:25:02.639216
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_54_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_44_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_35_10767.jpg', 0), ('/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_24_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_14_9768.jpg', 0), ('/home/nano/Desktop/images/09022025/04/07/image_09022025_04_08_04_9756.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_54_9760.jpg', '/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_44_9762.jpg', '/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_35_10767.jpg', '/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_24_9760.jpg', '/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_14_9768.jpg', '/home/nano/Desktop/images/09022025/04/07/image_09022025_04_08_04_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_54_9760.jpg
/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_44_9762.jpg
/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_35_10767.jpg
/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_24_9760.jpg
/home/nano/Desktop/images/09022025/04/08/image_09022025_04_08_14_9768.jpg
/home/nano/Desktop/images/09022025/04/07/image_09022025_04_08_04_9756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338181164","1338181160","1338181172","1338181174","1338181168","1338181162"],"photo_ids_order":["1338181160","1338181162","1338181164","1338181168","1338181172","1338181174"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d121c9877e95dc042db72d1f7c25da2e.jpg","text":"TemporaryFile(/tmp/multipartBody1264819226049937080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805964572,"filename":"image_09022025_04_08_35_10767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9fb8f1aa08b4061c14c79010449c9a13.jpg","text":"TemporaryFile(/tmp/multipartBody2461662759503199752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805964572,"filename":"image_09022025_04_08_54_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7eb72526aaa18c4a35e48ea565e5dda.jpg","text":"TemporaryFile(/tmp/multipartBody529924714389680073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805964572,"filename":"image_09022025_04_08_14_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28966c4ddcec65051da86322b1dcd8fe.jpg","text":"TemporaryFile(/tmp/multipartBody6973145590937301114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805964572,"filename":"image_09022025_04_08_04_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d5fd7e101b3b44961ac24fd753883a9.jpg","text":"TemporaryFile(/tmp/multipartBody2599799493536292338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805964572,"filename":"image_09022025_04_08_24_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1aa812c18daec7db2fb341d1327934ff.jpg","text":"TemporaryFile(/tmp/multipartBody8917083176791987959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739805964572,"filename":"image_09022025_04_08_44_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338181164","file1":"1338181162","file0":"1338181160","file4":"1338181172","file5":"1338181174","file3":"1338181168"},"map_files_photo_id_array":[{"photo_id":"1338181174","filename":"file5"},{"photo_id":"1338181164","filename":"file2"},{"photo_id":"1338181172","filename":"file4"},{"photo_id":"1338181162","filename":"file1"},{"photo_id":"1338181160","filename":"file0"},{"photo_id":"1338181168","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338181164":["hashtag1","hashtag2"]},{"1338181160":["hashtag1","hashtag2"]},{"1338181172":["hashtag1","hashtag2"]},{"1338181174":["hashtag1","hashtag2"]},{"1338181168":["hashtag1","hashtag2"]},{"1338181162":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338181164, 1338181160, 1338181172, 1338181174, 1338181168, 1338181162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.977272272109985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:26:02.770882
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_54_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_44_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_34_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_25_10789.jpg', 0), ('/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_14_9765.jpg', 0), ('/home/nano/Desktop/images/09022025/04/03/image_09022025_04_04_04_9774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_54_9753.jpg', '/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_44_9757.jpg', '/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_34_9760.jpg', '/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_25_10789.jpg', '/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_14_9765.jpg', '/home/nano/Desktop/images/09022025/04/03/image_09022025_04_04_04_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_54_9753.jpg
/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_44_9757.jpg
/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_34_9760.jpg
/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_25_10789.jpg
/home/nano/Desktop/images/09022025/04/04/image_09022025_04_04_14_9765.jpg
/home/nano/Desktop/images/09022025/04/03/image_09022025_04_04_04_9774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338181237","1338181227","1338181241","1338181232","1338181235","1338181229"],"photo_ids_order":["1338181227","1338181229","1338181232","1338181235","1338181237","1338181241"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a3edccc080cf9cb5e4a90b39170a8fc.jpg","text":"TemporaryFile(/tmp/multipartBody1861821282670046748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806026165,"filename":"image_09022025_04_04_14_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f7a78b859891d1ded76f3b18eef8a59.jpg","text":"TemporaryFile(/tmp/multipartBody9034405267824238733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806026165,"filename":"image_09022025_04_04_54_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4720c47ecbff0be8c6ef2469656bee4c.jpg","text":"TemporaryFile(/tmp/multipartBody3830940148291531401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806026165,"filename":"image_09022025_04_04_04_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f31662dc72962a56bb1cca54eddafa55.jpg","text":"TemporaryFile(/tmp/multipartBody3164801905866605463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806026165,"filename":"image_09022025_04_04_34_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/63db80ee932ca3a23327f0a9d31bfa01.jpg","text":"TemporaryFile(/tmp/multipartBody3531934653956047558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806026165,"filename":"image_09022025_04_04_25_10789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2dc4de36567dbcd4f25e3bd7a1415d0.jpg","text":"TemporaryFile(/tmp/multipartBody4335985097090851108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806026165,"filename":"image_09022025_04_04_44_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338181232","file1":"1338181229","file0":"1338181227","file4":"1338181237","file5":"1338181241","file3":"1338181235"},"map_files_photo_id_array":[{"photo_id":"1338181241","filename":"file5"},{"photo_id":"1338181232","filename":"file2"},{"photo_id":"1338181237","filename":"file4"},{"photo_id":"1338181229","filename":"file1"},{"photo_id":"1338181227","filename":"file0"},{"photo_id":"1338181235","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338181237":["hashtag1","hashtag2"]},{"1338181227":["hashtag1","hashtag2"]},{"1338181241":["hashtag1","hashtag2"]},{"1338181232":["hashtag1","hashtag2"]},{"1338181235":["hashtag1","hashtag2"]},{"1338181229":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338181237, 1338181227, 1338181241, 1338181232, 1338181235, 1338181229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39428448677063 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:27:03.015194
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_54_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_44_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_35_10768.jpg', 0), ('/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_24_9752.jpg', 0), ('/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_14_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/04/00/image_09022025_04_01_04_9762.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_54_9757.jpg', '/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_44_9757.jpg', '/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_35_10768.jpg', '/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_24_9752.jpg', '/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_14_9756.jpg', '/home/nano/Desktop/images/09022025/04/00/image_09022025_04_01_04_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_54_9757.jpg
/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_44_9757.jpg
/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_35_10768.jpg
/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_24_9752.jpg
/home/nano/Desktop/images/09022025/04/01/image_09022025_04_01_14_9756.jpg
/home/nano/Desktop/images/09022025/04/00/image_09022025_04_01_04_9762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338181264","1338181330","1338181262","1338181259","1338181351","1338181333"],"photo_ids_order":["1338181259","1338181262","1338181264","1338181330","1338181333","1338181351"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/022253605c44d90001340b222531ff45.jpg","text":"TemporaryFile(/tmp/multipartBody4322501716757140090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806086141,"filename":"image_09022025_04_01_35_10768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/458af81914921616ef75f82ef90f0e0a.jpg","text":"TemporaryFile(/tmp/multipartBody4637151526346177553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806086141,"filename":"image_09022025_04_01_24_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d9033b59e9d9efe4f0f259e7a8c9cb1.jpg","text":"TemporaryFile(/tmp/multipartBody1432870460571461711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806086141,"filename":"image_09022025_04_01_44_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/23be8659b45cf907677197c1f90f88bd.jpg","text":"TemporaryFile(/tmp/multipartBody2907276717861261711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806086141,"filename":"image_09022025_04_01_54_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46964f2febfb5d0ae47a51b20ac0ec14.jpg","text":"TemporaryFile(/tmp/multipartBody8976620327959168809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806086141,"filename":"image_09022025_04_01_04_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59f3c2818fac30c2b8a19d0d2070eecf.jpg","text":"TemporaryFile(/tmp/multipartBody8425549683228635393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806086141,"filename":"image_09022025_04_01_14_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338181264","file1":"1338181262","file0":"1338181259","file4":"1338181333","file5":"1338181351","file3":"1338181330"},"map_files_photo_id_array":[{"photo_id":"1338181351","filename":"file5"},{"photo_id":"1338181264","filename":"file2"},{"photo_id":"1338181333","filename":"file4"},{"photo_id":"1338181262","filename":"file1"},{"photo_id":"1338181259","filename":"file0"},{"photo_id":"1338181330","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338181264":["hashtag1","hashtag2"]},{"1338181330":["hashtag1","hashtag2"]},{"1338181262":["hashtag1","hashtag2"]},{"1338181259":["hashtag1","hashtag2"]},{"1338181351":["hashtag1","hashtag2"]},{"1338181333":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338181264, 1338181330, 1338181262, 1338181259, 1338181351, 1338181333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05652737617493 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:28:02.984851
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_55_10766.jpg', 0), ('/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_44_9753.jpg', 0), ('/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_34_9771.jpg', 0), ('/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_24_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_15_10776.jpg', 0), ('/home/nano/Desktop/images/09022025/03/56/image_09022025_03_57_04_9760.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_55_10766.jpg', '/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_44_9753.jpg', '/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_34_9771.jpg', '/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_24_9758.jpg', '/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_15_10776.jpg', '/home/nano/Desktop/images/09022025/03/56/image_09022025_03_57_04_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_55_10766.jpg
/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_44_9753.jpg
/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_34_9771.jpg
/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_24_9758.jpg
/home/nano/Desktop/images/09022025/03/57/image_09022025_03_57_15_10776.jpg
/home/nano/Desktop/images/09022025/03/56/image_09022025_03_57_04_9760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338181395","1338181408","1338181398","1338181401","1338181406","1338181387"],"photo_ids_order":["1338181387","1338181395","1338181398","1338181401","1338181406","1338181408"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e9df98042bc6b483826c4efea48f635.jpg","text":"TemporaryFile(/tmp/multipartBody139549885499798198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806145842,"filename":"image_09022025_03_57_44_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/72cb57275f39a1210f7c02a53e48f4bc.jpg","text":"TemporaryFile(/tmp/multipartBody6050318107312347356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806145842,"filename":"image_09022025_03_57_04_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c7bcc3ad992d34e85f4a5c0226b40cb.jpg","text":"TemporaryFile(/tmp/multipartBody8343022080055153815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806145842,"filename":"image_09022025_03_57_34_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2225fd8d320bebf27e2740db462ccef3.jpg","text":"TemporaryFile(/tmp/multipartBody6182390694598092858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806145842,"filename":"image_09022025_03_57_24_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e61733c0b7377d01da19e30835b2edce.jpg","text":"TemporaryFile(/tmp/multipartBody9016155397275014726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806145842,"filename":"image_09022025_03_57_15_10776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d7364baf7124a7a0b5379d96d65fb14.jpg","text":"TemporaryFile(/tmp/multipartBody5938391362968770322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806145842,"filename":"image_09022025_03_57_55_10766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338181398","file1":"1338181395","file0":"1338181387","file4":"1338181406","file5":"1338181408","file3":"1338181401"},"map_files_photo_id_array":[{"photo_id":"1338181408","filename":"file5"},{"photo_id":"1338181398","filename":"file2"},{"photo_id":"1338181406","filename":"file4"},{"photo_id":"1338181395","filename":"file1"},{"photo_id":"1338181387","filename":"file0"},{"photo_id":"1338181401","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338181395":["hashtag1","hashtag2"]},{"1338181408":["hashtag1","hashtag2"]},{"1338181398":["hashtag1","hashtag2"]},{"1338181401":["hashtag1","hashtag2"]},{"1338181406":["hashtag1","hashtag2"]},{"1338181387":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338181395, 1338181408, 1338181398, 1338181401, 1338181406, 1338181387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57880759239197 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:29:02.613854
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_54_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_44_9785.jpg', 0), ('/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_35_10774.jpg', 0), ('/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_24_9790.jpg', 0), ('/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_14_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/03/55/image_09022025_03_56_04_9786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_54_9760.jpg', '/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_44_9785.jpg', '/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_35_10774.jpg', '/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_24_9790.jpg', '/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_14_9762.jpg', '/home/nano/Desktop/images/09022025/03/55/image_09022025_03_56_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_54_9760.jpg
/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_44_9785.jpg
/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_35_10774.jpg
/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_24_9790.jpg
/home/nano/Desktop/images/09022025/03/56/image_09022025_03_56_14_9762.jpg
/home/nano/Desktop/images/09022025/03/55/image_09022025_03_56_04_9786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338181435","1338181443","1338181421","1338181439","1338181430","1338181432"],"photo_ids_order":["1338181421","1338181430","1338181432","1338181435","1338181439","1338181443"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dbf27d5858cb1c39891baa5818ece4ab.jpg","text":"TemporaryFile(/tmp/multipartBody4586948943058265154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806205065,"filename":"image_09022025_03_56_24_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c98e7bd32325d2bb55692f02ba4edcda.jpg","text":"TemporaryFile(/tmp/multipartBody1271424204017763968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806205065,"filename":"image_09022025_03_56_04_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/950f4ceeaab75a60198b17c2c8080350.jpg","text":"TemporaryFile(/tmp/multipartBody4536466568507895033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806205065,"filename":"image_09022025_03_56_54_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0662c79ccab913cd6933c9a6b8026167.jpg","text":"TemporaryFile(/tmp/multipartBody3727010127468570525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806205065,"filename":"image_09022025_03_56_14_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc7441fef7676d82354091a953bd1e54.jpg","text":"TemporaryFile(/tmp/multipartBody5868116276275567582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806205065,"filename":"image_09022025_03_56_44_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6933694cec155e0bba4eb3a835f9c875.jpg","text":"TemporaryFile(/tmp/multipartBody7403918945048073042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806205065,"filename":"image_09022025_03_56_35_10774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338181432","file1":"1338181430","file0":"1338181421","file4":"1338181439","file5":"1338181443","file3":"1338181435"},"map_files_photo_id_array":[{"photo_id":"1338181443","filename":"file5"},{"photo_id":"1338181432","filename":"file2"},{"photo_id":"1338181439","filename":"file4"},{"photo_id":"1338181430","filename":"file1"},{"photo_id":"1338181421","filename":"file0"},{"photo_id":"1338181435","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338181435":["hashtag1","hashtag2"]},{"1338181443":["hashtag1","hashtag2"]},{"1338181421":["hashtag1","hashtag2"]},{"1338181439":["hashtag1","hashtag2"]},{"1338181430":["hashtag1","hashtag2"]},{"1338181432":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338181435, 1338181443, 1338181421, 1338181439, 1338181430, 1338181432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30582904815674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:30:02.383695
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_54_9758.jpg', 0), ('/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_44_10769.jpg', 0), ('/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_34_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_24_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_14_9761.jpg', 0), ('/home/nano/Desktop/images/09022025/03/52/image_09022025_03_53_04_9766.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_54_9758.jpg', '/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_44_10769.jpg', '/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_34_9759.jpg', '/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_24_9755.jpg', '/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_14_9761.jpg', '/home/nano/Desktop/images/09022025/03/52/image_09022025_03_53_04_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_54_9758.jpg
/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_44_10769.jpg
/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_34_9759.jpg
/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_24_9755.jpg
/home/nano/Desktop/images/09022025/03/53/image_09022025_03_53_14_9761.jpg
/home/nano/Desktop/images/09022025/03/52/image_09022025_03_53_04_9766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338181720","1338181714","1338181717","1338181689","1338181674","1338181699"],"photo_ids_order":["1338181674","1338181689","1338181699","1338181714","1338181717","1338181720"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a02f0f61d3416d86175123be36891b3.jpg","text":"TemporaryFile(/tmp/multipartBody5020550203292234107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806265689,"filename":"image_09022025_03_53_04_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e7ef9068e96367c43fc9a644c0f132d.jpg","text":"TemporaryFile(/tmp/multipartBody9131300186430457416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806265689,"filename":"image_09022025_03_53_24_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc32d505fc736d2069abea1b19f47bbe.jpg","text":"TemporaryFile(/tmp/multipartBody5666201143321831418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806265689,"filename":"image_09022025_03_53_14_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38da690b15d59816748a7f31136a3826.jpg","text":"TemporaryFile(/tmp/multipartBody6846985721540030982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806265689,"filename":"image_09022025_03_53_44_10769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0ee65351fe631744d9fdd5003030f55.jpg","text":"TemporaryFile(/tmp/multipartBody8893711125731792792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806265689,"filename":"image_09022025_03_53_54_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da4856d1f63669afa33855b22d2c4f70.jpg","text":"TemporaryFile(/tmp/multipartBody164205127329471758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806265689,"filename":"image_09022025_03_53_34_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338181699","file1":"1338181689","file0":"1338181674","file4":"1338181717","file5":"1338181720","file3":"1338181714"},"map_files_photo_id_array":[{"photo_id":"1338181720","filename":"file5"},{"photo_id":"1338181699","filename":"file2"},{"photo_id":"1338181717","filename":"file4"},{"photo_id":"1338181689","filename":"file1"},{"photo_id":"1338181674","filename":"file0"},{"photo_id":"1338181714","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338181720":["hashtag1","hashtag2"]},{"1338181714":["hashtag1","hashtag2"]},{"1338181717":["hashtag1","hashtag2"]},{"1338181689":["hashtag1","hashtag2"]},{"1338181674":["hashtag1","hashtag2"]},{"1338181699":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338181720, 1338181714, 1338181717, 1338181689, 1338181674, 1338181699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1126549243927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:31:02.771950
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_54_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_44_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_34_10768.jpg', 0), ('/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_24_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_14_9780.jpg', 0), ('/home/nano/Desktop/images/09022025/03/43/image_09022025_03_44_04_9784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_54_9756.jpg', '/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_44_9762.jpg', '/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_34_10768.jpg', '/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_24_9759.jpg', '/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_14_9780.jpg', '/home/nano/Desktop/images/09022025/03/43/image_09022025_03_44_04_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_54_9756.jpg
/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_44_9762.jpg
/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_34_10768.jpg
/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_24_9759.jpg
/home/nano/Desktop/images/09022025/03/44/image_09022025_03_44_14_9780.jpg
/home/nano/Desktop/images/09022025/03/43/image_09022025_03_44_04_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338181752","1338181749","1338181740","1338181757","1338181745","1338181754"],"photo_ids_order":["1338181740","1338181745","1338181749","1338181752","1338181754","1338181757"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/20067153e4b0d22807718aeb88dd4492.jpg","text":"TemporaryFile(/tmp/multipartBody7049660715791191934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806324715,"filename":"image_09022025_03_44_24_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82c75d0d9ffc28368a9d4eb0a3593c71.jpg","text":"TemporaryFile(/tmp/multipartBody6702217447574883554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806324715,"filename":"image_09022025_03_44_34_10768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc38472ab8e0b06e0ec20d8dae27f19c.jpg","text":"TemporaryFile(/tmp/multipartBody8513208264449915646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806324715,"filename":"image_09022025_03_44_54_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d60d8059728f312dcdfd8deb396a002f.jpg","text":"TemporaryFile(/tmp/multipartBody8013631651607964979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806324715,"filename":"image_09022025_03_44_04_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/37953e540757a36b0c0c694e760643c0.jpg","text":"TemporaryFile(/tmp/multipartBody5660358903293630314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806324715,"filename":"image_09022025_03_44_44_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b998b3ad29585599261e8dbc9ce522e.jpg","text":"TemporaryFile(/tmp/multipartBody1094961381019619252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806324715,"filename":"image_09022025_03_44_14_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338181749","file1":"1338181745","file0":"1338181740","file4":"1338181754","file5":"1338181757","file3":"1338181752"},"map_files_photo_id_array":[{"photo_id":"1338181757","filename":"file5"},{"photo_id":"1338181749","filename":"file2"},{"photo_id":"1338181754","filename":"file4"},{"photo_id":"1338181745","filename":"file1"},{"photo_id":"1338181740","filename":"file0"},{"photo_id":"1338181752","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338181752":["hashtag1","hashtag2"]},{"1338181749":["hashtag1","hashtag2"]},{"1338181740":["hashtag1","hashtag2"]},{"1338181757":["hashtag1","hashtag2"]},{"1338181745":["hashtag1","hashtag2"]},{"1338181754":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338181752, 1338181749, 1338181740, 1338181757, 1338181745, 1338181754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.941779851913452 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:32:02.680889
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_54_9761.jpg', 0), ('/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_45_10769.jpg', 0), ('/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_34_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_24_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_14_9761.jpg', 0), ('/home/nano/Desktop/images/09022025/03/37/image_09022025_03_38_05_10789.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_54_9761.jpg', '/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_45_10769.jpg', '/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_34_9760.jpg', '/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_24_9762.jpg', '/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_14_9761.jpg', '/home/nano/Desktop/images/09022025/03/37/image_09022025_03_38_05_10789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_54_9761.jpg
/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_45_10769.jpg
/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_34_9760.jpg
/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_24_9762.jpg
/home/nano/Desktop/images/09022025/03/38/image_09022025_03_38_14_9761.jpg
/home/nano/Desktop/images/09022025/03/37/image_09022025_03_38_05_10789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338181995","1338181989","1338181980","1338182040","1338181991","1338181910"],"photo_ids_order":["1338181910","1338181980","1338181989","1338181991","1338181995","1338182040"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab6cc45044a79b18787d9e16a66220f2.jpg","text":"TemporaryFile(/tmp/multipartBody581116641929447363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806386192,"filename":"image_09022025_03_38_14_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/afb4bd1474b2ee3bb011bdea53eefd69.jpg","text":"TemporaryFile(/tmp/multipartBody3742920232606599507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806386192,"filename":"image_09022025_03_38_34_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d9b02a59071a2903159fa4f8a9f4812.jpg","text":"TemporaryFile(/tmp/multipartBody2147310385461755345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806386192,"filename":"image_09022025_03_38_45_10769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b19dfccf8601e844b3fc43357bbac091.jpg","text":"TemporaryFile(/tmp/multipartBody237711830868109104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806386192,"filename":"image_09022025_03_38_05_10789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7637da0d731989503e6e77fccb45b39e.jpg","text":"TemporaryFile(/tmp/multipartBody508103371348592212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806386192,"filename":"image_09022025_03_38_24_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b22b3470be62b905d76eae79563a662d.jpg","text":"TemporaryFile(/tmp/multipartBody7481025935713236927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806386192,"filename":"image_09022025_03_38_54_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338181989","file1":"1338181980","file0":"1338181910","file4":"1338181995","file5":"1338182040","file3":"1338181991"},"map_files_photo_id_array":[{"photo_id":"1338182040","filename":"file5"},{"photo_id":"1338181989","filename":"file2"},{"photo_id":"1338181995","filename":"file4"},{"photo_id":"1338181980","filename":"file1"},{"photo_id":"1338181910","filename":"file0"},{"photo_id":"1338181991","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338181995":["hashtag1","hashtag2"]},{"1338181989":["hashtag1","hashtag2"]},{"1338181980":["hashtag1","hashtag2"]},{"1338182040":["hashtag1","hashtag2"]},{"1338181991":["hashtag1","hashtag2"]},{"1338181910":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338181995, 1338181989, 1338181980, 1338182040, 1338181991, 1338181910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.885048627853394 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:33:02.975990
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_54_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_44_9761.jpg', 0), ('/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_35_10788.jpg', 0), ('/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_24_9781.jpg', 0), ('/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_14_9797.jpg', 0), ('/home/nano/Desktop/images/09022025/03/25/image_09022025_03_26_04_9756.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_54_9760.jpg', '/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_44_9761.jpg', '/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_35_10788.jpg', '/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_24_9781.jpg', '/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_14_9797.jpg', '/home/nano/Desktop/images/09022025/03/25/image_09022025_03_26_04_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_54_9760.jpg
/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_44_9761.jpg
/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_35_10788.jpg
/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_24_9781.jpg
/home/nano/Desktop/images/09022025/03/26/image_09022025_03_26_14_9797.jpg
/home/nano/Desktop/images/09022025/03/25/image_09022025_03_26_04_9756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338182113","1338182124","1338182123","1338182120","1338182128","1338182116"],"photo_ids_order":["1338182113","1338182116","1338182120","1338182123","1338182124","1338182128"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/012506ed390f441cf4afe8953bd7a534.jpg","text":"TemporaryFile(/tmp/multipartBody4480564545926043707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806447229,"filename":"image_09022025_03_26_54_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a14120a99ad9390de667139b85982f08.jpg","text":"TemporaryFile(/tmp/multipartBody4231571709352662189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806447229,"filename":"image_09022025_03_26_14_9797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/614f739feadd0e2df349d4e29b1b872a.jpg","text":"TemporaryFile(/tmp/multipartBody5124375556030280117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806447229,"filename":"image_09022025_03_26_24_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ef0afce1066fb648e3764d271d63549.jpg","text":"TemporaryFile(/tmp/multipartBody8048227961461266413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806447229,"filename":"image_09022025_03_26_35_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b4172384056df84039906f314c3884b.jpg","text":"TemporaryFile(/tmp/multipartBody4856526007054696915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806447229,"filename":"image_09022025_03_26_04_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/02ffb965def37f371fac10c2f90fd0f6.jpg","text":"TemporaryFile(/tmp/multipartBody115963995673346140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806447229,"filename":"image_09022025_03_26_44_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338182120","file1":"1338182116","file0":"1338182113","file4":"1338182124","file5":"1338182128","file3":"1338182123"},"map_files_photo_id_array":[{"photo_id":"1338182128","filename":"file5"},{"photo_id":"1338182120","filename":"file2"},{"photo_id":"1338182124","filename":"file4"},{"photo_id":"1338182116","filename":"file1"},{"photo_id":"1338182113","filename":"file0"},{"photo_id":"1338182123","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338182113":["hashtag1","hashtag2"]},{"1338182124":["hashtag1","hashtag2"]},{"1338182123":["hashtag1","hashtag2"]},{"1338182120":["hashtag1","hashtag2"]},{"1338182128":["hashtag1","hashtag2"]},{"1338182116":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338182113, 1338182124, 1338182123, 1338182120, 1338182128, 1338182116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00427174568176 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:34:03.246007
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_54_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_44_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_35_10772.jpg', 0), ('/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_24_9759.jpg', 0), ('/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_14_9764.jpg', 0), ('/home/nano/Desktop/images/09022025/03/05/image_09022025_03_06_04_9782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_54_9762.jpg', '/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_44_9763.jpg', '/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_35_10772.jpg', '/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_24_9759.jpg', '/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_14_9764.jpg', '/home/nano/Desktop/images/09022025/03/05/image_09022025_03_06_04_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_54_9762.jpg
/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_44_9763.jpg
/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_35_10772.jpg
/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_24_9759.jpg
/home/nano/Desktop/images/09022025/03/06/image_09022025_03_06_14_9764.jpg
/home/nano/Desktop/images/09022025/03/05/image_09022025_03_06_04_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338182144","1338182147","1338182158","1338182152","1338182161","1338182149"],"photo_ids_order":["1338182144","1338182147","1338182149","1338182152","1338182158","1338182161"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0bd484e556b7d544b4d31d3438914d37.jpg","text":"TemporaryFile(/tmp/multipartBody6094535961075838258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806505451,"filename":"image_09022025_03_06_54_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7afb30e6eabe2e8214ff9a83dd084fab.jpg","text":"TemporaryFile(/tmp/multipartBody1487153907117467725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806505451,"filename":"image_09022025_03_06_44_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0284663f7120492dfc9d0f4c5ff9cd55.jpg","text":"TemporaryFile(/tmp/multipartBody1537122130680373050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806505451,"filename":"image_09022025_03_06_14_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e30bd6e3d0d3468fc3a2e1567c0ee9c.jpg","text":"TemporaryFile(/tmp/multipartBody1455566935419889777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806505451,"filename":"image_09022025_03_06_24_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/188bb0a2f1411fd53774e29c21ce1faf.jpg","text":"TemporaryFile(/tmp/multipartBody1725044205583536301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806505451,"filename":"image_09022025_03_06_04_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e4ec75ca4fb6ad9153f182f6fac3058.jpg","text":"TemporaryFile(/tmp/multipartBody3003161016843112570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806505451,"filename":"image_09022025_03_06_35_10772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338182149","file1":"1338182147","file0":"1338182144","file4":"1338182158","file5":"1338182161","file3":"1338182152"},"map_files_photo_id_array":[{"photo_id":"1338182161","filename":"file5"},{"photo_id":"1338182149","filename":"file2"},{"photo_id":"1338182158","filename":"file4"},{"photo_id":"1338182147","filename":"file1"},{"photo_id":"1338182144","filename":"file0"},{"photo_id":"1338182152","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338182144":["hashtag1","hashtag2"]},{"1338182147":["hashtag1","hashtag2"]},{"1338182158":["hashtag1","hashtag2"]},{"1338182152":["hashtag1","hashtag2"]},{"1338182161":["hashtag1","hashtag2"]},{"1338182149":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338182144, 1338182147, 1338182158, 1338182152, 1338182161, 1338182149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.893760681152344 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:35:02.253599
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_55_10769.jpg', 0), ('/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_44_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_34_9757.jpg', 0), ('/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_24_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_15_10775.jpg', 0), ('/home/nano/Desktop/images/09022025/02/56/image_09022025_02_57_04_9768.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_55_10769.jpg', '/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_44_9756.jpg', '/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_34_9757.jpg', '/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_24_9755.jpg', '/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_15_10775.jpg', '/home/nano/Desktop/images/09022025/02/56/image_09022025_02_57_04_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_55_10769.jpg
/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_44_9756.jpg
/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_34_9757.jpg
/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_24_9755.jpg
/home/nano/Desktop/images/09022025/02/57/image_09022025_02_57_15_10775.jpg
/home/nano/Desktop/images/09022025/02/56/image_09022025_02_57_04_9768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338182199","1338182208","1338182219","1338182201","1338182215","1338182203"],"photo_ids_order":["1338182199","1338182201","1338182203","1338182208","1338182215","1338182219"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e67e5ff5fcca9d4213e0a84fe19cad06.jpg","text":"TemporaryFile(/tmp/multipartBody1675169235735564700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806564522,"filename":"image_09022025_02_57_55_10769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1a852e9cdb7f9bf9586be8652e746bff.jpg","text":"TemporaryFile(/tmp/multipartBody7971173562838976424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806564522,"filename":"image_09022025_02_57_24_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/532de21dd41225bfcdcbe8b7c5aab7e4.jpg","text":"TemporaryFile(/tmp/multipartBody729663383286425469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806564522,"filename":"image_09022025_02_57_04_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5375bf16b18794471f127a25b2026b76.jpg","text":"TemporaryFile(/tmp/multipartBody3471660713711006530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806564522,"filename":"image_09022025_02_57_44_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bec2ab5a0915a07a90f9c61221c30dad.jpg","text":"TemporaryFile(/tmp/multipartBody7318339604048819523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806564522,"filename":"image_09022025_02_57_15_10775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8c0223e0a4ba630fdee0a97eff6626f.jpg","text":"TemporaryFile(/tmp/multipartBody514252055721942312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806564522,"filename":"image_09022025_02_57_34_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338182203","file1":"1338182201","file0":"1338182199","file4":"1338182215","file5":"1338182219","file3":"1338182208"},"map_files_photo_id_array":[{"photo_id":"1338182219","filename":"file5"},{"photo_id":"1338182203","filename":"file2"},{"photo_id":"1338182215","filename":"file4"},{"photo_id":"1338182201","filename":"file1"},{"photo_id":"1338182199","filename":"file0"},{"photo_id":"1338182208","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338182199":["hashtag1","hashtag2"]},{"1338182208":["hashtag1","hashtag2"]},{"1338182219":["hashtag1","hashtag2"]},{"1338182201":["hashtag1","hashtag2"]},{"1338182215":["hashtag1","hashtag2"]},{"1338182203":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338182199, 1338182208, 1338182219, 1338182201, 1338182215, 1338182203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06259751319885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:36:02.211664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_54_9766.jpg', 0), ('/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_44_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_35_10772.jpg', 0), ('/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_24_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_14_9764.jpg', 0), ('/home/nano/Desktop/images/09022025/02/52/image_09022025_02_53_04_9767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_54_9766.jpg', '/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_44_9763.jpg', '/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_35_10772.jpg', '/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_24_9756.jpg', '/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_14_9764.jpg', '/home/nano/Desktop/images/09022025/02/52/image_09022025_02_53_04_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_54_9766.jpg
/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_44_9763.jpg
/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_35_10772.jpg
/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_24_9756.jpg
/home/nano/Desktop/images/09022025/02/53/image_09022025_02_53_14_9764.jpg
/home/nano/Desktop/images/09022025/02/52/image_09022025_02_53_04_9767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338182493","1338182487","1338182489","1338182482","1338182476","1338182490"],"photo_ids_order":["1338182476","1338182482","1338182487","1338182489","1338182490","1338182493"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3b6da3f05c4f2f82ef3ab6d3186e808.jpg","text":"TemporaryFile(/tmp/multipartBody2685747191271389967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806624688,"filename":"image_09022025_02_53_04_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8547baefde46313a821431a39162e477.jpg","text":"TemporaryFile(/tmp/multipartBody1841183041905609676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806624688,"filename":"image_09022025_02_53_35_10772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e6c8d0576264dd6bc2c1ee61167ac81.jpg","text":"TemporaryFile(/tmp/multipartBody8382610304797234718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806624688,"filename":"image_09022025_02_53_24_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d88d0f6035e4db878ddfaed5050d109.jpg","text":"TemporaryFile(/tmp/multipartBody4466365064651449059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806624688,"filename":"image_09022025_02_53_44_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b5f9d8cb3b01b2464dea59da0eebb17.jpg","text":"TemporaryFile(/tmp/multipartBody9046068581539456827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806624688,"filename":"image_09022025_02_53_54_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22c7245c7cb8f0a75c287cb6f75fe5c7.jpg","text":"TemporaryFile(/tmp/multipartBody8394846220324459186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806624688,"filename":"image_09022025_02_53_14_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338182487","file1":"1338182482","file0":"1338182476","file4":"1338182490","file5":"1338182493","file3":"1338182489"},"map_files_photo_id_array":[{"photo_id":"1338182493","filename":"file5"},{"photo_id":"1338182487","filename":"file2"},{"photo_id":"1338182490","filename":"file4"},{"photo_id":"1338182482","filename":"file1"},{"photo_id":"1338182476","filename":"file0"},{"photo_id":"1338182489","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338182493":["hashtag1","hashtag2"]},{"1338182487":["hashtag1","hashtag2"]},{"1338182489":["hashtag1","hashtag2"]},{"1338182482":["hashtag1","hashtag2"]},{"1338182476":["hashtag1","hashtag2"]},{"1338182490":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338182493, 1338182487, 1338182489, 1338182482, 1338182476, 1338182490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.767724990844727 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:37:02.662080
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_54_9761.jpg', 0), ('/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_44_9756.jpg', 0), ('/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_34_9761.jpg', 0), ('/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_25_10768.jpg', 0), ('/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_14_9766.jpg', 0), ('/home/nano/Desktop/images/09022025/02/40/image_09022025_02_41_04_9767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_54_9761.jpg', '/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_44_9756.jpg', '/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_34_9761.jpg', '/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_25_10768.jpg', '/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_14_9766.jpg', '/home/nano/Desktop/images/09022025/02/40/image_09022025_02_41_04_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_54_9761.jpg
/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_44_9756.jpg
/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_34_9761.jpg
/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_25_10768.jpg
/home/nano/Desktop/images/09022025/02/41/image_09022025_02_41_14_9766.jpg
/home/nano/Desktop/images/09022025/02/40/image_09022025_02_41_04_9767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338182571","1338182574","1338182576","1338182555","1338182549","1338182551"],"photo_ids_order":["1338182549","1338182551","1338182555","1338182571","1338182574","1338182576"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/848c98a7debad0d5fafe077e7e35f044.jpg","text":"TemporaryFile(/tmp/multipartBody6404351989597992979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806684912,"filename":"image_09022025_02_41_25_10768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c9316eb9e47dee6cb455e8e08824662.jpg","text":"TemporaryFile(/tmp/multipartBody5767878622877821237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806684912,"filename":"image_09022025_02_41_14_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/467cef0171ec0a9586e6ff96f754a0f9.jpg","text":"TemporaryFile(/tmp/multipartBody3426723755133448856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806684912,"filename":"image_09022025_02_41_04_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a7b2f0d622c94a545215cfef947025ba.jpg","text":"TemporaryFile(/tmp/multipartBody3984470518635615331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806684912,"filename":"image_09022025_02_41_34_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1bcbe0bdbdc9afe12ce602a7fa822f7.jpg","text":"TemporaryFile(/tmp/multipartBody8911641743354318255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806684912,"filename":"image_09022025_02_41_54_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a27dbe34e23254dc709ddf27711c3fd7.jpg","text":"TemporaryFile(/tmp/multipartBody3245363252590100838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806684912,"filename":"image_09022025_02_41_44_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338182555","file1":"1338182551","file0":"1338182549","file4":"1338182574","file5":"1338182576","file3":"1338182571"},"map_files_photo_id_array":[{"photo_id":"1338182576","filename":"file5"},{"photo_id":"1338182555","filename":"file2"},{"photo_id":"1338182574","filename":"file4"},{"photo_id":"1338182551","filename":"file1"},{"photo_id":"1338182549","filename":"file0"},{"photo_id":"1338182571","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338182571":["hashtag1","hashtag2"]},{"1338182574":["hashtag1","hashtag2"]},{"1338182576":["hashtag1","hashtag2"]},{"1338182555":["hashtag1","hashtag2"]},{"1338182549":["hashtag1","hashtag2"]},{"1338182551":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338182571, 1338182574, 1338182576, 1338182555, 1338182549, 1338182551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88289523124695 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:38:02.644197
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_55_10773.jpg', 0), ('/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_44_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_34_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_24_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_15_10770.jpg', 0), ('/home/nano/Desktop/images/09022025/02/20/image_09022025_02_21_04_9759.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_55_10773.jpg', '/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_44_9762.jpg', '/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_34_9762.jpg', '/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_24_9763.jpg', '/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_15_10770.jpg', '/home/nano/Desktop/images/09022025/02/20/image_09022025_02_21_04_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_55_10773.jpg
/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_44_9762.jpg
/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_34_9762.jpg
/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_24_9763.jpg
/home/nano/Desktop/images/09022025/02/21/image_09022025_02_21_15_10770.jpg
/home/nano/Desktop/images/09022025/02/20/image_09022025_02_21_04_9759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338182602","1338182604","1338182607","1338182615","1338182609","1338182598"],"photo_ids_order":["1338182598","1338182602","1338182604","1338182607","1338182609","1338182615"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14187f91744328ecaeb2288e2fa65a4f.jpg","text":"TemporaryFile(/tmp/multipartBody7848875860526969484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806744932,"filename":"image_09022025_02_21_44_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81418ab91348f0810c3c07456b28fa46.jpg","text":"TemporaryFile(/tmp/multipartBody2207451962193875864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806744932,"filename":"image_09022025_02_21_34_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7e16aa984e36489ea13fcc64504e6960.jpg","text":"TemporaryFile(/tmp/multipartBody3305312556277735932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806744932,"filename":"image_09022025_02_21_24_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee5153d9a94b665c6b7e965d909d0515.jpg","text":"TemporaryFile(/tmp/multipartBody8561720282292811969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806744932,"filename":"image_09022025_02_21_04_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e626125c20f93ac6d844e3512182ba2c.jpg","text":"TemporaryFile(/tmp/multipartBody2862522989778665405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806744932,"filename":"image_09022025_02_21_15_10770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/145e8f94b1366735106a8abf3196a53c.jpg","text":"TemporaryFile(/tmp/multipartBody5122622330652997675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806744932,"filename":"image_09022025_02_21_55_10773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338182604","file1":"1338182602","file0":"1338182598","file4":"1338182609","file5":"1338182615","file3":"1338182607"},"map_files_photo_id_array":[{"photo_id":"1338182615","filename":"file5"},{"photo_id":"1338182604","filename":"file2"},{"photo_id":"1338182609","filename":"file4"},{"photo_id":"1338182602","filename":"file1"},{"photo_id":"1338182598","filename":"file0"},{"photo_id":"1338182607","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338182602":["hashtag1","hashtag2"]},{"1338182604":["hashtag1","hashtag2"]},{"1338182607":["hashtag1","hashtag2"]},{"1338182615":["hashtag1","hashtag2"]},{"1338182609":["hashtag1","hashtag2"]},{"1338182598":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338182602, 1338182604, 1338182607, 1338182615, 1338182609, 1338182598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.365768909454346 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:39:03.187244
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_55_10792.jpg', 0), ('/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_44_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_34_9760.jpg', 0), ('/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_24_9761.jpg', 0), ('/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_14_9761.jpg', 0), ('/home/nano/Desktop/images/09022025/02/05/image_09022025_02_06_05_10786.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_55_10792.jpg', '/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_44_9763.jpg', '/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_34_9760.jpg', '/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_24_9761.jpg', '/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_14_9761.jpg', '/home/nano/Desktop/images/09022025/02/05/image_09022025_02_06_05_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_55_10792.jpg
/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_44_9763.jpg
/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_34_9760.jpg
/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_24_9761.jpg
/home/nano/Desktop/images/09022025/02/06/image_09022025_02_06_14_9761.jpg
/home/nano/Desktop/images/09022025/02/05/image_09022025_02_06_05_10786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338182634","1338182637","1338182645","1338182639","1338182647","1338182632"],"photo_ids_order":["1338182632","1338182634","1338182637","1338182639","1338182645","1338182647"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d90992279995f5b57caa191f2bae4676.jpg","text":"TemporaryFile(/tmp/multipartBody8848891363083941359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806805900,"filename":"image_09022025_02_06_44_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8cc8b637f3f8bfd915454cc37b39a5af.jpg","text":"TemporaryFile(/tmp/multipartBody4973510279489710565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806805900,"filename":"image_09022025_02_06_34_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/068cf2c6c3c9763e7b9b245446aa9648.jpg","text":"TemporaryFile(/tmp/multipartBody2628182734475579777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806805900,"filename":"image_09022025_02_06_14_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/741b81d87115a9c9f9749054fd865d3e.jpg","text":"TemporaryFile(/tmp/multipartBody5111660146867865107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806805900,"filename":"image_09022025_02_06_24_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ed9ff8d9c8af0f1340ef35a4d37533f.jpg","text":"TemporaryFile(/tmp/multipartBody3689985499373494196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806805900,"filename":"image_09022025_02_06_05_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bfd963676043465a35de72e75bccf181.jpg","text":"TemporaryFile(/tmp/multipartBody7176591545861476504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806805900,"filename":"image_09022025_02_06_55_10792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338182637","file1":"1338182634","file0":"1338182632","file4":"1338182645","file5":"1338182647","file3":"1338182639"},"map_files_photo_id_array":[{"photo_id":"1338182647","filename":"file5"},{"photo_id":"1338182637","filename":"file2"},{"photo_id":"1338182645","filename":"file4"},{"photo_id":"1338182634","filename":"file1"},{"photo_id":"1338182632","filename":"file0"},{"photo_id":"1338182639","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338182634":["hashtag1","hashtag2"]},{"1338182637":["hashtag1","hashtag2"]},{"1338182645":["hashtag1","hashtag2"]},{"1338182639":["hashtag1","hashtag2"]},{"1338182647":["hashtag1","hashtag2"]},{"1338182632":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338182634, 1338182637, 1338182645, 1338182639, 1338182647, 1338182632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.445555448532104 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:40:02.857392
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_54_9755.jpg', 0), ('/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_44_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_34_9764.jpg', 0), ('/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_24_9783.jpg', 0), ('/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_15_10792.jpg', 0), ('/home/nano/Desktop/images/09022025/01/57/image_09022025_01_58_04_9766.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_54_9755.jpg', '/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_44_9763.jpg', '/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_34_9764.jpg', '/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_24_9783.jpg', '/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_15_10792.jpg', '/home/nano/Desktop/images/09022025/01/57/image_09022025_01_58_04_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_54_9755.jpg
/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_44_9763.jpg
/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_34_9764.jpg
/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_24_9783.jpg
/home/nano/Desktop/images/09022025/01/58/image_09022025_01_58_15_10792.jpg
/home/nano/Desktop/images/09022025/01/57/image_09022025_01_58_04_9766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338182679","1338182673","1338182681","1338182675","1338182669","1338182683"],"photo_ids_order":["1338182669","1338182673","1338182675","1338182679","1338182681","1338182683"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1a1ded229e1dcaa1ffb60b2898a763f.jpg","text":"TemporaryFile(/tmp/multipartBody4706639407695396726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806865184,"filename":"image_09022025_01_58_24_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f748ef51e4c2d961e9c976b11fdf93e9.jpg","text":"TemporaryFile(/tmp/multipartBody8341844054945009641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806865184,"filename":"image_09022025_01_58_44_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e91ffce3800d1667da9d2a886825596.jpg","text":"TemporaryFile(/tmp/multipartBody4700169386085244639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806865184,"filename":"image_09022025_01_58_15_10792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de6da6a9d4ec2bec0ae3df4dc296a83b.jpg","text":"TemporaryFile(/tmp/multipartBody7165125449207708576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806865184,"filename":"image_09022025_01_58_34_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28da4ab6246d726d3f06d021f0255162.jpg","text":"TemporaryFile(/tmp/multipartBody1720155205586118416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806865184,"filename":"image_09022025_01_58_54_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d317efd5825fcaf6c84117cb3ed0a47.jpg","text":"TemporaryFile(/tmp/multipartBody5642085461280387683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806865184,"filename":"image_09022025_01_58_04_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338182675","file1":"1338182673","file0":"1338182669","file4":"1338182681","file5":"1338182683","file3":"1338182679"},"map_files_photo_id_array":[{"photo_id":"1338182683","filename":"file5"},{"photo_id":"1338182675","filename":"file2"},{"photo_id":"1338182681","filename":"file4"},{"photo_id":"1338182673","filename":"file1"},{"photo_id":"1338182669","filename":"file0"},{"photo_id":"1338182679","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338182679":["hashtag1","hashtag2"]},{"1338182673":["hashtag1","hashtag2"]},{"1338182681":["hashtag1","hashtag2"]},{"1338182675":["hashtag1","hashtag2"]},{"1338182669":["hashtag1","hashtag2"]},{"1338182683":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338182679, 1338182673, 1338182681, 1338182675, 1338182669, 1338182683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27125811576843 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:41:02.274408
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_54_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_45_10793.jpg', 0), ('/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_34_9764.jpg', 0), ('/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_24_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_14_9766.jpg', 0), ('/home/nano/Desktop/images/09022025/01/35/image_09022025_01_36_04_10772.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_54_9763.jpg', '/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_45_10793.jpg', '/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_34_9764.jpg', '/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_24_9762.jpg', '/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_14_9766.jpg', '/home/nano/Desktop/images/09022025/01/35/image_09022025_01_36_04_10772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_54_9763.jpg
/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_45_10793.jpg
/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_34_9764.jpg
/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_24_9762.jpg
/home/nano/Desktop/images/09022025/01/36/image_09022025_01_36_14_9766.jpg
/home/nano/Desktop/images/09022025/01/35/image_09022025_01_36_04_10772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338182712","1338182709","1338182711","1338182720","1338182714","1338182717"],"photo_ids_order":["1338182709","1338182711","1338182712","1338182714","1338182717","1338182720"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a128f91d5ee311e529c9ffed0cb5c4d.jpg","text":"TemporaryFile(/tmp/multipartBody6388152067800460526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806924441,"filename":"image_09022025_01_36_34_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/523cac10a1085d060b140a1991f3f60e.jpg","text":"TemporaryFile(/tmp/multipartBody8657948281112730998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806924441,"filename":"image_09022025_01_36_54_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/62519dfe5d84af05f1620bad80db90cd.jpg","text":"TemporaryFile(/tmp/multipartBody2493273081672477611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806924441,"filename":"image_09022025_01_36_45_10793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c4bbc09b3fafcb7cc81531c8f3e8b7e.jpg","text":"TemporaryFile(/tmp/multipartBody2514473304890037381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806924441,"filename":"image_09022025_01_36_04_10772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/540d7a51992c65647e065c1a9fb96ded.jpg","text":"TemporaryFile(/tmp/multipartBody4150990865520515585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806924441,"filename":"image_09022025_01_36_24_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f61f7c288ec98840e4936eefd859f0be.jpg","text":"TemporaryFile(/tmp/multipartBody2007008641864482115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806924441,"filename":"image_09022025_01_36_14_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338182712","file1":"1338182711","file0":"1338182709","file4":"1338182717","file5":"1338182720","file3":"1338182714"},"map_files_photo_id_array":[{"photo_id":"1338182720","filename":"file5"},{"photo_id":"1338182712","filename":"file2"},{"photo_id":"1338182717","filename":"file4"},{"photo_id":"1338182711","filename":"file1"},{"photo_id":"1338182709","filename":"file0"},{"photo_id":"1338182714","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338182712":["hashtag1","hashtag2"]},{"1338182709":["hashtag1","hashtag2"]},{"1338182711":["hashtag1","hashtag2"]},{"1338182720":["hashtag1","hashtag2"]},{"1338182714":["hashtag1","hashtag2"]},{"1338182717":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338182712, 1338182709, 1338182711, 1338182720, 1338182714, 1338182717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.038424491882324 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:42:02.273068
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_54_9765.jpg', 0), ('/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_44_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_35_10770.jpg', 0), ('/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_24_9764.jpg', 0), ('/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_14_9794.jpg', 0), ('/home/nano/Desktop/images/09022025/01/17/image_09022025_01_18_04_9763.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_54_9765.jpg', '/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_44_9763.jpg', '/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_35_10770.jpg', '/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_24_9764.jpg', '/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_14_9794.jpg', '/home/nano/Desktop/images/09022025/01/17/image_09022025_01_18_04_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_54_9765.jpg
/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_44_9763.jpg
/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_35_10770.jpg
/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_24_9764.jpg
/home/nano/Desktop/images/09022025/01/18/image_09022025_01_18_14_9794.jpg
/home/nano/Desktop/images/09022025/01/17/image_09022025_01_18_04_9763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338182754","1338182741","1338182744","1338182764","1338182746","1338182749"],"photo_ids_order":["1338182741","1338182744","1338182746","1338182749","1338182754","1338182764"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f254c2f5f079edd143f4364fb5f0ec14.jpg","text":"TemporaryFile(/tmp/multipartBody8989472396123715442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806984771,"filename":"image_09022025_01_18_14_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f48f2891f37b326194e4532223d7afb.jpg","text":"TemporaryFile(/tmp/multipartBody7869795566946768644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806984771,"filename":"image_09022025_01_18_54_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/68bcb27a2bf19763a75f6f3221326d58.jpg","text":"TemporaryFile(/tmp/multipartBody3450429995164301882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806984771,"filename":"image_09022025_01_18_44_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ac18b2c89b3353cd76ec58c087c9a80.jpg","text":"TemporaryFile(/tmp/multipartBody4665573789435148559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806984771,"filename":"image_09022025_01_18_04_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc0f0e53010c5e79da13c227dfa63803.jpg","text":"TemporaryFile(/tmp/multipartBody8311048809506435169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806984771,"filename":"image_09022025_01_18_35_10770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c9ada1bc235317d8554d90dbced0829.jpg","text":"TemporaryFile(/tmp/multipartBody2603534902820525667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739806984771,"filename":"image_09022025_01_18_24_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338182746","file1":"1338182744","file0":"1338182741","file4":"1338182754","file5":"1338182764","file3":"1338182749"},"map_files_photo_id_array":[{"photo_id":"1338182764","filename":"file5"},{"photo_id":"1338182746","filename":"file2"},{"photo_id":"1338182754","filename":"file4"},{"photo_id":"1338182744","filename":"file1"},{"photo_id":"1338182741","filename":"file0"},{"photo_id":"1338182749","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338182754":["hashtag1","hashtag2"]},{"1338182741":["hashtag1","hashtag2"]},{"1338182744":["hashtag1","hashtag2"]},{"1338182764":["hashtag1","hashtag2"]},{"1338182746":["hashtag1","hashtag2"]},{"1338182749":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338182754, 1338182741, 1338182744, 1338182764, 1338182746, 1338182749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.170090675354004 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:43:02.518211
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_55_10774.jpg', 0), ('/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_44_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_34_9764.jpg', 0), ('/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_24_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_15_10779.jpg', 0), ('/home/nano/Desktop/images/09022025/00/57/image_09022025_00_58_04_9767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_55_10774.jpg', '/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_44_9763.jpg', '/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_34_9764.jpg', '/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_24_9763.jpg', '/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_15_10779.jpg', '/home/nano/Desktop/images/09022025/00/57/image_09022025_00_58_04_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_55_10774.jpg
/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_44_9763.jpg
/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_34_9764.jpg
/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_24_9763.jpg
/home/nano/Desktop/images/09022025/00/58/image_09022025_00_58_15_10779.jpg
/home/nano/Desktop/images/09022025/00/57/image_09022025_00_58_04_9767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338182802","1338182819","1338182810","1338182804","1338182816","1338182806"],"photo_ids_order":["1338182802","1338182804","1338182806","1338182810","1338182816","1338182819"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f2c046421ff957afc1fa855375d274c.jpg","text":"TemporaryFile(/tmp/multipartBody5437285357116152259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807045253,"filename":"image_09022025_00_58_55_10774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c45ab59d7395f870803a5dff33e1df30.jpg","text":"TemporaryFile(/tmp/multipartBody91923105939675626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807045253,"filename":"image_09022025_00_58_04_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e248bb7481466221e5de86f4024cd392.jpg","text":"TemporaryFile(/tmp/multipartBody4653857042287589718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807045253,"filename":"image_09022025_00_58_24_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/438862cbd3a431e685f6d05c5a29cc2f.jpg","text":"TemporaryFile(/tmp/multipartBody6776400404342729623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807045253,"filename":"image_09022025_00_58_44_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81878d301b40ac8251f586b4eef16aee.jpg","text":"TemporaryFile(/tmp/multipartBody8654380300264019879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807045253,"filename":"image_09022025_00_58_15_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78ae718eae81ce993f57cbd570d42630.jpg","text":"TemporaryFile(/tmp/multipartBody547096655332465982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807045253,"filename":"image_09022025_00_58_34_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338182806","file1":"1338182804","file0":"1338182802","file4":"1338182816","file5":"1338182819","file3":"1338182810"},"map_files_photo_id_array":[{"photo_id":"1338182819","filename":"file5"},{"photo_id":"1338182806","filename":"file2"},{"photo_id":"1338182816","filename":"file4"},{"photo_id":"1338182804","filename":"file1"},{"photo_id":"1338182802","filename":"file0"},{"photo_id":"1338182810","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338182802":["hashtag1","hashtag2"]},{"1338182819":["hashtag1","hashtag2"]},{"1338182810":["hashtag1","hashtag2"]},{"1338182804":["hashtag1","hashtag2"]},{"1338182816":["hashtag1","hashtag2"]},{"1338182806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338182802, 1338182819, 1338182810, 1338182804, 1338182816, 1338182806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.758970975875854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:44:02.868761
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_54_9765.jpg', 0), ('/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_44_9785.jpg', 0), ('/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_35_10773.jpg', 0), ('/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_24_9764.jpg', 0), ('/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_14_9764.jpg', 0), ('/home/nano/Desktop/images/09022025/00/32/image_09022025_00_33_04_9766.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_54_9765.jpg', '/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_44_9785.jpg', '/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_35_10773.jpg', '/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_24_9764.jpg', '/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_14_9764.jpg', '/home/nano/Desktop/images/09022025/00/32/image_09022025_00_33_04_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_54_9765.jpg
/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_44_9785.jpg
/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_35_10773.jpg
/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_24_9764.jpg
/home/nano/Desktop/images/09022025/00/33/image_09022025_00_33_14_9764.jpg
/home/nano/Desktop/images/09022025/00/32/image_09022025_00_33_04_9766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338182862","1338182856","1338182846","1338182851","1338182854","1338182848"],"photo_ids_order":["1338182846","1338182848","1338182851","1338182854","1338182856","1338182862"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/487a5adf8158483cdae5d6a663aca185.jpg","text":"TemporaryFile(/tmp/multipartBody3178150710562194092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807105425,"filename":"image_09022025_00_33_04_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/920e70c7601cf03cede8156242728360.jpg","text":"TemporaryFile(/tmp/multipartBody6645608806270669391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807105425,"filename":"image_09022025_00_33_14_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c91a52b614d3206ee9cfd3d97db1886.jpg","text":"TemporaryFile(/tmp/multipartBody6253091516855094214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807105425,"filename":"image_09022025_00_33_54_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/95f413892717b6f5b1e06963058ad66c.jpg","text":"TemporaryFile(/tmp/multipartBody2891711489196541897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807105425,"filename":"image_09022025_00_33_35_10773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7c3ebbb6f126331e1ee3c41c156d0f7.jpg","text":"TemporaryFile(/tmp/multipartBody3622177856030091198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807105425,"filename":"image_09022025_00_33_24_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dfcbf5191f81f723a850b5945ebcd1c2.jpg","text":"TemporaryFile(/tmp/multipartBody7918326724430426398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807105425,"filename":"image_09022025_00_33_44_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338182851","file1":"1338182848","file0":"1338182846","file4":"1338182856","file5":"1338182862","file3":"1338182854"},"map_files_photo_id_array":[{"photo_id":"1338182862","filename":"file5"},{"photo_id":"1338182851","filename":"file2"},{"photo_id":"1338182856","filename":"file4"},{"photo_id":"1338182848","filename":"file1"},{"photo_id":"1338182846","filename":"file0"},{"photo_id":"1338182854","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338182862":["hashtag1","hashtag2"]},{"1338182856":["hashtag1","hashtag2"]},{"1338182846":["hashtag1","hashtag2"]},{"1338182851":["hashtag1","hashtag2"]},{"1338182854":["hashtag1","hashtag2"]},{"1338182848":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338182862, 1338182856, 1338182846, 1338182851, 1338182854, 1338182848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52149748802185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:45:02.735393
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
  port_id : 20367921
  datou_current_id : 2569622
in upload_from_sqlite, uploading in 20367921
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_54_9765.jpg', 0), ('/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_45_10771.jpg', 0), ('/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_34_9762.jpg', 0), ('/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_24_9763.jpg', 0), ('/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_14_9766.jpg', 0), ('/home/nano/Desktop/images/09022025/00/05/image_09022025_00_06_04_9770.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_54_9765.jpg', '/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_45_10771.jpg', '/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_34_9762.jpg', '/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_24_9763.jpg', '/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_14_9766.jpg', '/home/nano/Desktop/images/09022025/00/05/image_09022025_00_06_04_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569622&datou=0
/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_54_9765.jpg
/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_45_10771.jpg
/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_34_9762.jpg
/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_24_9763.jpg
/home/nano/Desktop/images/09022025/00/06/image_09022025_00_06_14_9766.jpg
/home/nano/Desktop/images/09022025/00/05/image_09022025_00_06_04_9770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338182877","1338182891","1338182885","1338182875","1338182895","1338182880"],"photo_ids_order":["1338182875","1338182877","1338182880","1338182885","1338182891","1338182895"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b81addcb260eb3ce1ae18bff214f7c6.jpg","text":"TemporaryFile(/tmp/multipartBody4357877523385033865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807166724,"filename":"image_09022025_00_06_45_10771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/632441cfe040248dd9579108b64f1dca.jpg","text":"TemporaryFile(/tmp/multipartBody7404305509097594979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807166724,"filename":"image_09022025_00_06_14_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aecda0b117378da417f4ff21c2d17349.jpg","text":"TemporaryFile(/tmp/multipartBody7516681799381693675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807166724,"filename":"image_09022025_00_06_24_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03e936ed65ef0499eaf522acdfe0ebca.jpg","text":"TemporaryFile(/tmp/multipartBody6224763808822733025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807166724,"filename":"image_09022025_00_06_54_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e4c23ded5396ab5373407221bb3993a.jpg","text":"TemporaryFile(/tmp/multipartBody3368599402635566168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807166724,"filename":"image_09022025_00_06_04_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2c2841877a4cd463568b6e4bf5fee01.jpg","text":"TemporaryFile(/tmp/multipartBody3380938260497177091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807166724,"filename":"image_09022025_00_06_34_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338182880","file1":"1338182877","file0":"1338182875","file4":"1338182891","file5":"1338182895","file3":"1338182885"},"map_files_photo_id_array":[{"photo_id":"1338182895","filename":"file5"},{"photo_id":"1338182880","filename":"file2"},{"photo_id":"1338182891","filename":"file4"},{"photo_id":"1338182877","filename":"file1"},{"photo_id":"1338182875","filename":"file0"},{"photo_id":"1338182885","filename":"file3"}],"portfolio_id":20367921,"hashtag_by_photo_ids":[{"1338182877":["hashtag1","hashtag2"]},{"1338182891":["hashtag1","hashtag2"]},{"1338182885":["hashtag1","hashtag2"]},{"1338182875":["hashtag1","hashtag2"]},{"1338182895":["hashtag1","hashtag2"]},{"1338182880":["hashtag1","hashtag2"]}],"comms":"Portfolio 20367921 used, photo_id : ArrayBuffer(1338182877, 1338182891, 1338182885, 1338182875, 1338182895, 1338182880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54263162612915 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:46:02.781963
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_59_9796.jpg', 0), ('/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_49_10788.jpg', 0), ('/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_38_9799.jpg', 0), ('/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_28_9779.jpg', 0), ('/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_18_9804.jpg', 0), ('/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_09_9781.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_59_9796.jpg', '/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_49_10788.jpg', '/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_38_9799.jpg', '/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_28_9779.jpg', '/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_18_9804.jpg', '/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_09_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_59_9796.jpg
/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_49_10788.jpg
/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_38_9799.jpg
/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_28_9779.jpg
/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_18_9804.jpg
/home/nano/Desktop/images/10022025/23/59/image_10022025_23_59_09_9781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338183204","1338182910","1338183041","1338183148","1338183198","1338182935"],"photo_ids_order":["1338182910","1338182935","1338183041","1338183148","1338183198","1338183204"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59ba96a8b23a88d12656a8c20dfb2596.jpg","text":"TemporaryFile(/tmp/multipartBody8209260010115979534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807225889,"filename":"image_10022025_23_59_09_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/311cbfa435e0bbf21139c247bbd6e1f9.jpg","text":"TemporaryFile(/tmp/multipartBody8849825716022720051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807225889,"filename":"image_10022025_23_59_59_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64c639062d1839435983a7253517b9ce.jpg","text":"TemporaryFile(/tmp/multipartBody8066344952322394017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807225889,"filename":"image_10022025_23_59_38_9799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe47fd4a598826d8f53872d58df5694b.jpg","text":"TemporaryFile(/tmp/multipartBody3317266583837011808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807225889,"filename":"image_10022025_23_59_28_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/131338871db8f3d144e4e130f879407b.jpg","text":"TemporaryFile(/tmp/multipartBody1167050257099366093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807225889,"filename":"image_10022025_23_59_18_9804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f881f8d2ef8c8603467dd5f8c89425c.jpg","text":"TemporaryFile(/tmp/multipartBody7681914764580442706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807225889,"filename":"image_10022025_23_59_49_10788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338183041","file1":"1338182935","file0":"1338182910","file4":"1338183198","file5":"1338183204","file3":"1338183148"},"map_files_photo_id_array":[{"photo_id":"1338183204","filename":"file5"},{"photo_id":"1338183041","filename":"file2"},{"photo_id":"1338183198","filename":"file4"},{"photo_id":"1338182935","filename":"file1"},{"photo_id":"1338182910","filename":"file0"},{"photo_id":"1338183148","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338183204":["hashtag1","hashtag2"]},{"1338182910":["hashtag1","hashtag2"]},{"1338183041":["hashtag1","hashtag2"]},{"1338183148":["hashtag1","hashtag2"]},{"1338183198":["hashtag1","hashtag2"]},{"1338182935":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338183204, 1338182910, 1338183041, 1338183148, 1338183198, 1338182935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51357054710388 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:47:03.178314
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_59_10788.jpg', 0), ('/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_48_9781.jpg', 0), ('/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_38_9780.jpg', 0), ('/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_28_9780.jpg', 0), ('/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_19_9779.jpg', 0), ('/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_09_10790.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_59_10788.jpg', '/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_48_9781.jpg', '/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_38_9780.jpg', '/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_28_9780.jpg', '/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_19_9779.jpg', '/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_09_10790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_59_10788.jpg
/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_48_9781.jpg
/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_38_9780.jpg
/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_28_9780.jpg
/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_19_9779.jpg
/home/nano/Desktop/images/10022025/23/58/image_10022025_23_58_09_10790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338183225","1338183242","1338183244","1338183223","1338183235","1338183228"],"photo_ids_order":["1338183223","1338183225","1338183228","1338183235","1338183242","1338183244"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71e864fa532dfed12abb8452160d6bd5.jpg","text":"TemporaryFile(/tmp/multipartBody8456278140205482570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807286004,"filename":"image_10022025_23_58_48_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2aa7bc79d30c040373a7b005242fa2d4.jpg","text":"TemporaryFile(/tmp/multipartBody3012233835721954148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807286004,"filename":"image_10022025_23_58_19_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/72fc429bfd15d830cf15e521ecaeef62.jpg","text":"TemporaryFile(/tmp/multipartBody1828797867610087173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807286004,"filename":"image_10022025_23_58_09_10790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/975f58d44897dcd19942e749a3753076.jpg","text":"TemporaryFile(/tmp/multipartBody2911120498160952285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807286004,"filename":"image_10022025_23_58_59_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f0fa65c78731677162c9ef6b4b3fff60.jpg","text":"TemporaryFile(/tmp/multipartBody7216142243090272932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807286004,"filename":"image_10022025_23_58_28_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e5c96d2f824d80800ee28b4b50fd0bd.jpg","text":"TemporaryFile(/tmp/multipartBody8829579079889612965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807286004,"filename":"image_10022025_23_58_38_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338183228","file1":"1338183225","file0":"1338183223","file4":"1338183242","file5":"1338183244","file3":"1338183235"},"map_files_photo_id_array":[{"photo_id":"1338183244","filename":"file5"},{"photo_id":"1338183228","filename":"file2"},{"photo_id":"1338183242","filename":"file4"},{"photo_id":"1338183225","filename":"file1"},{"photo_id":"1338183223","filename":"file0"},{"photo_id":"1338183235","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338183225":["hashtag1","hashtag2"]},{"1338183242":["hashtag1","hashtag2"]},{"1338183244":["hashtag1","hashtag2"]},{"1338183223":["hashtag1","hashtag2"]},{"1338183235":["hashtag1","hashtag2"]},{"1338183228":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338183225, 1338183242, 1338183244, 1338183223, 1338183235, 1338183228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.130797147750854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:48:03.125876
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_58_9777.jpg', 0), ('/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_49_9802.jpg', 0), ('/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_39_10788.jpg', 0), ('/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_28_9779.jpg', 0), ('/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_18_9777.jpg', 0), ('/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_08_9774.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_58_9777.jpg', '/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_49_9802.jpg', '/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_39_10788.jpg', '/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_28_9779.jpg', '/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_18_9777.jpg', '/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_08_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_58_9777.jpg
/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_49_9802.jpg
/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_39_10788.jpg
/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_28_9779.jpg
/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_18_9777.jpg
/home/nano/Desktop/images/10022025/23/19/image_10022025_23_19_08_9774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338183342","1338183312","1338183308","1338183373","1338183305","1338183376"],"photo_ids_order":["1338183305","1338183308","1338183312","1338183342","1338183373","1338183376"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2966fb99cc71603bdde09471d4c24d34.jpg","text":"TemporaryFile(/tmp/multipartBody7175434523674926430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807345349,"filename":"image_10022025_23_19_28_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0373da61e54deb8d840e2d2711a8664.jpg","text":"TemporaryFile(/tmp/multipartBody6395086639373219759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807345349,"filename":"image_10022025_23_19_39_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/def849d86ed609eda179ca063b533b41.jpg","text":"TemporaryFile(/tmp/multipartBody2415566443426734808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807345349,"filename":"image_10022025_23_19_49_9802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07cc825ef8fd15d3fa7b30d8beba372a.jpg","text":"TemporaryFile(/tmp/multipartBody3397708632563001671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807345349,"filename":"image_10022025_23_19_18_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d23398ce82bfa7b48754e0d22cefcda5.jpg","text":"TemporaryFile(/tmp/multipartBody3740689473370826680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807345349,"filename":"image_10022025_23_19_58_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca44c7f8564af8d13895b7dd5da853dc.jpg","text":"TemporaryFile(/tmp/multipartBody2039297580928013243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807345349,"filename":"image_10022025_23_19_08_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338183312","file1":"1338183308","file0":"1338183305","file4":"1338183373","file5":"1338183376","file3":"1338183342"},"map_files_photo_id_array":[{"photo_id":"1338183376","filename":"file5"},{"photo_id":"1338183312","filename":"file2"},{"photo_id":"1338183373","filename":"file4"},{"photo_id":"1338183308","filename":"file1"},{"photo_id":"1338183305","filename":"file0"},{"photo_id":"1338183342","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338183342":["hashtag1","hashtag2"]},{"1338183312":["hashtag1","hashtag2"]},{"1338183308":["hashtag1","hashtag2"]},{"1338183373":["hashtag1","hashtag2"]},{"1338183305":["hashtag1","hashtag2"]},{"1338183376":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338183342, 1338183312, 1338183308, 1338183373, 1338183305, 1338183376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.94118595123291 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:49:02.726762
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_58_9777.jpg', 0), ('/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_48_9776.jpg', 0), ('/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_38_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_29_9775.jpg', 0), ('/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_19_10800.jpg', 0), ('/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_08_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_58_9777.jpg', '/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_48_9776.jpg', '/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_38_9787.jpg', '/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_29_9775.jpg', '/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_19_10800.jpg', '/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_08_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_58_9777.jpg
/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_48_9776.jpg
/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_38_9787.jpg
/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_29_9775.jpg
/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_19_10800.jpg
/home/nano/Desktop/images/10022025/22/22/image_10022025_22_22_08_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338183513","1338183536","1338183518","1338183509","1338183487","1338183502"],"photo_ids_order":["1338183487","1338183502","1338183509","1338183513","1338183518","1338183536"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4bf94d257609c47a10f845990ee25199.jpg","text":"TemporaryFile(/tmp/multipartBody4744206247086356293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807405163,"filename":"image_10022025_22_22_29_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49aef4d4dfcf6ed342e5acc7733dadf6.jpg","text":"TemporaryFile(/tmp/multipartBody2491726455793150986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807405163,"filename":"image_10022025_22_22_08_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/34d55ec44c1b395cb0e42650cd93b0de.jpg","text":"TemporaryFile(/tmp/multipartBody6149574397022788747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807405163,"filename":"image_10022025_22_22_19_10800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ab5ea7ec77c61c2056d24b9fb058d58.jpg","text":"TemporaryFile(/tmp/multipartBody8578375543023690239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807405163,"filename":"image_10022025_22_22_38_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/362f559918e2ad1d47fc849d2a051e5e.jpg","text":"TemporaryFile(/tmp/multipartBody8574396518595280496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807405163,"filename":"image_10022025_22_22_58_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58ab54bbec4bf7735aae02ceafb6a707.jpg","text":"TemporaryFile(/tmp/multipartBody5340630494241518767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807405163,"filename":"image_10022025_22_22_48_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338183509","file1":"1338183502","file0":"1338183487","file4":"1338183518","file5":"1338183536","file3":"1338183513"},"map_files_photo_id_array":[{"photo_id":"1338183536","filename":"file5"},{"photo_id":"1338183509","filename":"file2"},{"photo_id":"1338183518","filename":"file4"},{"photo_id":"1338183502","filename":"file1"},{"photo_id":"1338183487","filename":"file0"},{"photo_id":"1338183513","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338183513":["hashtag1","hashtag2"]},{"1338183536":["hashtag1","hashtag2"]},{"1338183518":["hashtag1","hashtag2"]},{"1338183509":["hashtag1","hashtag2"]},{"1338183487":["hashtag1","hashtag2"]},{"1338183502":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338183513, 1338183536, 1338183518, 1338183509, 1338183487, 1338183502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.980196952819824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:50:02.505800
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_58_9780.jpg', 0), ('/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_48_9802.jpg', 0), ('/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_38_9779.jpg', 0), ('/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_29_9780.jpg', 0), ('/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_19_10791.jpg', 0), ('/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_08_9789.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_58_9780.jpg', '/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_48_9802.jpg', '/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_38_9779.jpg', '/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_29_9780.jpg', '/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_19_10791.jpg', '/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_08_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_58_9780.jpg
/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_48_9802.jpg
/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_38_9779.jpg
/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_29_9780.jpg
/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_19_10791.jpg
/home/nano/Desktop/images/10022025/20/57/image_10022025_20_57_08_9789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338183636","1338183634","1338183628","1338183622","1338183616","1338183619"],"photo_ids_order":["1338183616","1338183619","1338183622","1338183628","1338183634","1338183636"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57aae41ab66e11163a34d221eec2be70.jpg","text":"TemporaryFile(/tmp/multipartBody5075947286334407048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807465282,"filename":"image_10022025_20_57_08_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf112b434d49fb07ad53f7b0c880a5dd.jpg","text":"TemporaryFile(/tmp/multipartBody8940949197426055202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807465282,"filename":"image_10022025_20_57_19_10791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5878eba40fff9feb092a501b757e92c.jpg","text":"TemporaryFile(/tmp/multipartBody2219535948064747898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807465282,"filename":"image_10022025_20_57_29_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/789f87b2c93b8aaf48c01f2aa7d20fd1.jpg","text":"TemporaryFile(/tmp/multipartBody976687780012428533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807465282,"filename":"image_10022025_20_57_38_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15a1e7d132f9b6311fdb6f2f23c3efa1.jpg","text":"TemporaryFile(/tmp/multipartBody5015880031529244887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807465282,"filename":"image_10022025_20_57_58_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88c067ad28f672f86f9efbcfed59f2bf.jpg","text":"TemporaryFile(/tmp/multipartBody4344926768851326310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807465282,"filename":"image_10022025_20_57_48_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338183622","file1":"1338183619","file0":"1338183616","file4":"1338183634","file5":"1338183636","file3":"1338183628"},"map_files_photo_id_array":[{"photo_id":"1338183636","filename":"file5"},{"photo_id":"1338183622","filename":"file2"},{"photo_id":"1338183634","filename":"file4"},{"photo_id":"1338183619","filename":"file1"},{"photo_id":"1338183616","filename":"file0"},{"photo_id":"1338183628","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338183636":["hashtag1","hashtag2"]},{"1338183634":["hashtag1","hashtag2"]},{"1338183628":["hashtag1","hashtag2"]},{"1338183622":["hashtag1","hashtag2"]},{"1338183616":["hashtag1","hashtag2"]},{"1338183619":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338183636, 1338183634, 1338183628, 1338183622, 1338183616, 1338183619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7899866104126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:51:02.761523
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_59_10687.jpg', 0), ('/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_48_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_38_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_29_9685.jpg', 0), ('/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_19_10691.jpg', 0), ('/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_08_9672.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_59_10687.jpg', '/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_48_9698.jpg', '/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_38_9693.jpg', '/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_29_9685.jpg', '/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_19_10691.jpg', '/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_08_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_59_10687.jpg
/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_48_9698.jpg
/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_38_9693.jpg
/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_29_9685.jpg
/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_19_10691.jpg
/home/nano/Desktop/images/10022025/20/42/image_10022025_20_42_08_9672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338183674","1338183682","1338183679","1338183667","1338183661","1338183663"],"photo_ids_order":["1338183661","1338183663","1338183667","1338183674","1338183679","1338183682"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/534976e8b9594e85cd9205af66e76848.jpg","text":"TemporaryFile(/tmp/multipartBody3571256002737826105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807524965,"filename":"image_10022025_20_42_29_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/47092c33e358cebb80a8f57e9557ae32.jpg","text":"TemporaryFile(/tmp/multipartBody2729240159879371550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807524965,"filename":"image_10022025_20_42_08_9672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f13f1ac5d3d8c90e8af8d1dc132ca0ea.jpg","text":"TemporaryFile(/tmp/multipartBody6698389998188362909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807524965,"filename":"image_10022025_20_42_19_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/365177372850b3bc40524866c35c5815.jpg","text":"TemporaryFile(/tmp/multipartBody7657817131754656130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807524965,"filename":"image_10022025_20_42_38_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60bb03433cd0820855270dadf1e63e87.jpg","text":"TemporaryFile(/tmp/multipartBody8953045941731946012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807524965,"filename":"image_10022025_20_42_59_10687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc0fb42b256d8291182ebb30f8012803.jpg","text":"TemporaryFile(/tmp/multipartBody7492497136771078551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807524965,"filename":"image_10022025_20_42_48_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338183667","file1":"1338183663","file0":"1338183661","file4":"1338183679","file5":"1338183682","file3":"1338183674"},"map_files_photo_id_array":[{"photo_id":"1338183682","filename":"file5"},{"photo_id":"1338183667","filename":"file2"},{"photo_id":"1338183679","filename":"file4"},{"photo_id":"1338183663","filename":"file1"},{"photo_id":"1338183661","filename":"file0"},{"photo_id":"1338183674","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338183674":["hashtag1","hashtag2"]},{"1338183682":["hashtag1","hashtag2"]},{"1338183679":["hashtag1","hashtag2"]},{"1338183667":["hashtag1","hashtag2"]},{"1338183661":["hashtag1","hashtag2"]},{"1338183663":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338183674, 1338183682, 1338183679, 1338183667, 1338183661, 1338183663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.517677545547485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:52:02.694811
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_58_9677.jpg', 0), ('/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_48_9700.jpg', 0), ('/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_39_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_29_10701.jpg', 0), ('/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_18_9717.jpg', 0), ('/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_08_9699.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_58_9677.jpg', '/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_48_9700.jpg', '/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_39_9695.jpg', '/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_29_10701.jpg', '/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_18_9717.jpg', '/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_08_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_58_9677.jpg
/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_48_9700.jpg
/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_39_9695.jpg
/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_29_10701.jpg
/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_18_9717.jpg
/home/nano/Desktop/images/10022025/18/57/image_10022025_18_57_08_9699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338183729","1338183720","1338183714","1338183737","1338183716","1338183724"],"photo_ids_order":["1338183714","1338183716","1338183720","1338183724","1338183729","1338183737"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5965b5a5dc66859973fbfba46c7d4932.jpg","text":"TemporaryFile(/tmp/multipartBody6504009974895257071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807584765,"filename":"image_10022025_18_57_18_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b920793c25f87a54d6eab9a46a5ca31.jpg","text":"TemporaryFile(/tmp/multipartBody2691531596373156224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807584765,"filename":"image_10022025_18_57_39_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/307ca73fb4d48bc99e523c8e5fce3c09.jpg","text":"TemporaryFile(/tmp/multipartBody4795535418295792347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807584765,"filename":"image_10022025_18_57_58_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e064791bd0c4c0f6fa25a52c7dd6fe3.jpg","text":"TemporaryFile(/tmp/multipartBody8762410469426872587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807584765,"filename":"image_10022025_18_57_08_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/84aa1a00272e1c2fbf4f8b71fc28fb43.jpg","text":"TemporaryFile(/tmp/multipartBody7038877719034578508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807584765,"filename":"image_10022025_18_57_48_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba70335f0abed8180e121b48026e325a.jpg","text":"TemporaryFile(/tmp/multipartBody4100370732807587043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807584765,"filename":"image_10022025_18_57_29_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338183720","file1":"1338183716","file0":"1338183714","file4":"1338183729","file5":"1338183737","file3":"1338183724"},"map_files_photo_id_array":[{"photo_id":"1338183737","filename":"file5"},{"photo_id":"1338183720","filename":"file2"},{"photo_id":"1338183729","filename":"file4"},{"photo_id":"1338183716","filename":"file1"},{"photo_id":"1338183714","filename":"file0"},{"photo_id":"1338183724","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338183729":["hashtag1","hashtag2"]},{"1338183720":["hashtag1","hashtag2"]},{"1338183714":["hashtag1","hashtag2"]},{"1338183737":["hashtag1","hashtag2"]},{"1338183716":["hashtag1","hashtag2"]},{"1338183724":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338183729, 1338183720, 1338183714, 1338183737, 1338183716, 1338183724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.422250270843506 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:53:03.153812
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_59_10721.jpg', 0), ('/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_48_9703.jpg', 0), ('/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_38_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_29_10701.jpg', 0), ('/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_18_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_08_9692.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_59_10721.jpg', '/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_48_9703.jpg', '/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_38_9696.jpg', '/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_29_10701.jpg', '/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_18_9693.jpg', '/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_08_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_59_10721.jpg
/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_48_9703.jpg
/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_38_9696.jpg
/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_29_10701.jpg
/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_18_9693.jpg
/home/nano/Desktop/images/10022025/18/48/image_10022025_18_48_08_9692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338183785","1338183793","1338183799","1338183778","1338183789","1338183780"],"photo_ids_order":["1338183778","1338183780","1338183785","1338183789","1338183793","1338183799"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/104f433de67c6a93a40044838f3b7faa.jpg","text":"TemporaryFile(/tmp/multipartBody6196213792807398580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807645174,"filename":"image_10022025_18_48_38_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e75b42b44a6c4775c79a5615f02a9b48.jpg","text":"TemporaryFile(/tmp/multipartBody8419390889646851519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807645174,"filename":"image_10022025_18_48_18_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/243ea4f4b61e1ae6c2333b281ca3fcb8.jpg","text":"TemporaryFile(/tmp/multipartBody5572424923108294126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807645174,"filename":"image_10022025_18_48_08_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc86fb50cbed3836356ec8ce8af07af5.jpg","text":"TemporaryFile(/tmp/multipartBody6926088899058669106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807645174,"filename":"image_10022025_18_48_59_10721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08f497101204c9b0ddb62aa657e10d29.jpg","text":"TemporaryFile(/tmp/multipartBody7715969294890276193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807645174,"filename":"image_10022025_18_48_29_10701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/44f9c557ebd7c81602b8b071cbdd1a3f.jpg","text":"TemporaryFile(/tmp/multipartBody2989092987868161676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807645174,"filename":"image_10022025_18_48_48_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338183785","file1":"1338183780","file0":"1338183778","file4":"1338183793","file5":"1338183799","file3":"1338183789"},"map_files_photo_id_array":[{"photo_id":"1338183799","filename":"file5"},{"photo_id":"1338183785","filename":"file2"},{"photo_id":"1338183793","filename":"file4"},{"photo_id":"1338183780","filename":"file1"},{"photo_id":"1338183778","filename":"file0"},{"photo_id":"1338183789","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338183785":["hashtag1","hashtag2"]},{"1338183793":["hashtag1","hashtag2"]},{"1338183799":["hashtag1","hashtag2"]},{"1338183778":["hashtag1","hashtag2"]},{"1338183789":["hashtag1","hashtag2"]},{"1338183780":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338183785, 1338183793, 1338183799, 1338183778, 1338183789, 1338183780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19820475578308 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:54:02.264883
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_58_9799.jpg', 0), ('/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_49_9796.jpg', 0), ('/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_39_10806.jpg', 0), ('/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_28_9799.jpg', 0), ('/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_18_9796.jpg', 0), ('/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_08_9796.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_58_9799.jpg', '/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_49_9796.jpg', '/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_39_10806.jpg', '/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_28_9799.jpg', '/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_18_9796.jpg', '/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_08_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_58_9799.jpg
/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_49_9796.jpg
/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_39_10806.jpg
/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_28_9799.jpg
/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_18_9796.jpg
/home/nano/Desktop/images/10022025/17/58/image_10022025_17_58_08_9796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338183851","1338183868","1338183850","1338183879","1338183855","1338183858"],"photo_ids_order":["1338183850","1338183851","1338183855","1338183858","1338183868","1338183879"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a7d598325c13355aba7d752d27d3de8.jpg","text":"TemporaryFile(/tmp/multipartBody5237993794832473637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807704688,"filename":"image_10022025_17_58_49_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f1d8367977284be83c5bbe59bdba6d6.jpg","text":"TemporaryFile(/tmp/multipartBody3318901372076345201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807704688,"filename":"image_10022025_17_58_18_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/036eda91dc768a5d3ed70d7f78a8a814.jpg","text":"TemporaryFile(/tmp/multipartBody6280188107362476187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807704688,"filename":"image_10022025_17_58_58_9799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8230e571962547e2f1fcfbb45f275f0b.jpg","text":"TemporaryFile(/tmp/multipartBody3662125931821216400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807704688,"filename":"image_10022025_17_58_08_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4269268b8c5f03ea404673087adce20e.jpg","text":"TemporaryFile(/tmp/multipartBody5549686191731568990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807704688,"filename":"image_10022025_17_58_39_10806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1be7539b965231fcc66c308959b5db34.jpg","text":"TemporaryFile(/tmp/multipartBody976141285319995214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807704688,"filename":"image_10022025_17_58_28_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338183855","file1":"1338183851","file0":"1338183850","file4":"1338183868","file5":"1338183879","file3":"1338183858"},"map_files_photo_id_array":[{"photo_id":"1338183879","filename":"file5"},{"photo_id":"1338183855","filename":"file2"},{"photo_id":"1338183868","filename":"file4"},{"photo_id":"1338183851","filename":"file1"},{"photo_id":"1338183850","filename":"file0"},{"photo_id":"1338183858","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338183851":["hashtag1","hashtag2"]},{"1338183868":["hashtag1","hashtag2"]},{"1338183850":["hashtag1","hashtag2"]},{"1338183879":["hashtag1","hashtag2"]},{"1338183855":["hashtag1","hashtag2"]},{"1338183858":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338183851, 1338183868, 1338183850, 1338183879, 1338183855, 1338183858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.188032388687134 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:55:02.475402
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_59_10688.jpg', 0), ('/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_48_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_38_9690.jpg', 0), ('/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_29_10742.jpg', 0), ('/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_18_9678.jpg', 0), ('/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_08_9718.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_59_10688.jpg', '/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_48_9721.jpg', '/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_38_9690.jpg', '/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_29_10742.jpg', '/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_18_9678.jpg', '/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_08_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_59_10688.jpg
/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_48_9721.jpg
/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_38_9690.jpg
/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_29_10742.jpg
/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_18_9678.jpg
/home/nano/Desktop/images/10022025/17/21/image_10022025_17_21_08_9718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338183912","1338183920","1338183914","1338183908","1338183910","1338183916"],"photo_ids_order":["1338183908","1338183910","1338183912","1338183914","1338183916","1338183920"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7641dfd4d852605d3d5861b5a9e66f03.jpg","text":"TemporaryFile(/tmp/multipartBody5420953354464384603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807764689,"filename":"image_10022025_17_21_38_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a636b1d06fc0e446932f458d777750e1.jpg","text":"TemporaryFile(/tmp/multipartBody8205632012282029825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807764689,"filename":"image_10022025_17_21_08_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b93968957004de090643ce605f5a3ce.jpg","text":"TemporaryFile(/tmp/multipartBody4510061932462849863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807764689,"filename":"image_10022025_17_21_29_10742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ff63b30ea090bb99d449e5f771c4a58.jpg","text":"TemporaryFile(/tmp/multipartBody7794571564606244976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807764689,"filename":"image_10022025_17_21_59_10688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/546554f349776e0f6bf3436d6f0086e5.jpg","text":"TemporaryFile(/tmp/multipartBody6883270754050304490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807764689,"filename":"image_10022025_17_21_48_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87800e619798a6d5fff32621ad314373.jpg","text":"TemporaryFile(/tmp/multipartBody2698328333496020726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807764689,"filename":"image_10022025_17_21_18_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338183912","file1":"1338183910","file0":"1338183908","file4":"1338183916","file5":"1338183920","file3":"1338183914"},"map_files_photo_id_array":[{"photo_id":"1338183920","filename":"file5"},{"photo_id":"1338183912","filename":"file2"},{"photo_id":"1338183916","filename":"file4"},{"photo_id":"1338183910","filename":"file1"},{"photo_id":"1338183908","filename":"file0"},{"photo_id":"1338183914","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338183912":["hashtag1","hashtag2"]},{"1338183920":["hashtag1","hashtag2"]},{"1338183914":["hashtag1","hashtag2"]},{"1338183908":["hashtag1","hashtag2"]},{"1338183910":["hashtag1","hashtag2"]},{"1338183916":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338183912, 1338183920, 1338183914, 1338183908, 1338183910, 1338183916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46068835258484 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:56:02.477019
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_59_10841.jpg', 0), ('/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_48_9759.jpg', 0), ('/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_38_9766.jpg', 0), ('/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_28_9792.jpg', 0), ('/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_19_9834.jpg', 0), ('/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_09_10700.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_59_10841.jpg', '/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_48_9759.jpg', '/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_38_9766.jpg', '/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_28_9792.jpg', '/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_19_9834.jpg', '/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_09_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_59_10841.jpg
/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_48_9759.jpg
/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_38_9766.jpg
/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_28_9792.jpg
/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_19_9834.jpg
/home/nano/Desktop/images/10022025/16/44/image_10022025_16_44_09_10700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338183995","1338183986","1338183997","1338184000","1338183981","1338184005"],"photo_ids_order":["1338183981","1338183986","1338183995","1338183997","1338184000","1338184005"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0214834080af974a2c956564670f76b.jpg","text":"TemporaryFile(/tmp/multipartBody2876473930005114983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807824656,"filename":"image_10022025_16_44_38_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/292725cdbc5ec68933bc6771cc6a9651.jpg","text":"TemporaryFile(/tmp/multipartBody2626467115263143848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807824656,"filename":"image_10022025_16_44_48_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2006434127cb1838fecbfcc0b8700800.jpg","text":"TemporaryFile(/tmp/multipartBody5677184809118733121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807824656,"filename":"image_10022025_16_44_28_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a69387abb0d90012ef50754ce2ffdf2.jpg","text":"TemporaryFile(/tmp/multipartBody6369094106993010643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807824656,"filename":"image_10022025_16_44_19_9834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fdc0e6c9b26acc60b25c2c2f763d8864.jpg","text":"TemporaryFile(/tmp/multipartBody3683212787382683020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807824656,"filename":"image_10022025_16_44_59_10841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d949f6e5634db9deb19219ea2b51c4b9.jpg","text":"TemporaryFile(/tmp/multipartBody404810948990691342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807824656,"filename":"image_10022025_16_44_09_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338183995","file1":"1338183986","file0":"1338183981","file4":"1338184000","file5":"1338184005","file3":"1338183997"},"map_files_photo_id_array":[{"photo_id":"1338184005","filename":"file5"},{"photo_id":"1338183995","filename":"file2"},{"photo_id":"1338184000","filename":"file4"},{"photo_id":"1338183986","filename":"file1"},{"photo_id":"1338183981","filename":"file0"},{"photo_id":"1338183997","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338183995":["hashtag1","hashtag2"]},{"1338183986":["hashtag1","hashtag2"]},{"1338183997":["hashtag1","hashtag2"]},{"1338184000":["hashtag1","hashtag2"]},{"1338183981":["hashtag1","hashtag2"]},{"1338184005":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338183995, 1338183986, 1338183997, 1338184000, 1338183981, 1338184005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.719077825546265 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:57:02.616010
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_58_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_49_9755.jpg', 0), ('/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_39_10715.jpg', 0), ('/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_28_9730.jpg', 0), ('/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_18_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_09_10722.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_58_9719.jpg', '/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_49_9755.jpg', '/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_39_10715.jpg', '/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_28_9730.jpg', '/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_18_9696.jpg', '/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_09_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_58_9719.jpg
/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_49_9755.jpg
/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_39_10715.jpg
/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_28_9730.jpg
/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_18_9696.jpg
/home/nano/Desktop/images/10022025/15/47/image_10022025_15_47_09_10722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338184076","1338184066","1338184060","1338184063","1338184057","1338184068"],"photo_ids_order":["1338184057","1338184060","1338184063","1338184066","1338184068","1338184076"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c365ed51529806846af830e23155d74.jpg","text":"TemporaryFile(/tmp/multipartBody4485250070579548118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807885387,"filename":"image_10022025_15_47_09_10722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38207ec052ce6af858cd97676ae57495.jpg","text":"TemporaryFile(/tmp/multipartBody5234876730579705333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807885387,"filename":"image_10022025_15_47_28_9730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cef9421d5d49a2a382f2e73a669c067d.jpg","text":"TemporaryFile(/tmp/multipartBody2439299973652852201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807885387,"filename":"image_10022025_15_47_49_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70d6126125c082c4c5e06691b207f94d.jpg","text":"TemporaryFile(/tmp/multipartBody9011350205048075992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807885387,"filename":"image_10022025_15_47_39_10715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc2ca2ce7c4117b31c4f6bdd1be4a27f.jpg","text":"TemporaryFile(/tmp/multipartBody999640376733042877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807885387,"filename":"image_10022025_15_47_58_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cca76a3c4c3910ec64e911af4b705095.jpg","text":"TemporaryFile(/tmp/multipartBody1827637170355777838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807885387,"filename":"image_10022025_15_47_18_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338184063","file1":"1338184060","file0":"1338184057","file4":"1338184068","file5":"1338184076","file3":"1338184066"},"map_files_photo_id_array":[{"photo_id":"1338184076","filename":"file5"},{"photo_id":"1338184063","filename":"file2"},{"photo_id":"1338184068","filename":"file4"},{"photo_id":"1338184060","filename":"file1"},{"photo_id":"1338184057","filename":"file0"},{"photo_id":"1338184066","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338184076":["hashtag1","hashtag2"]},{"1338184066":["hashtag1","hashtag2"]},{"1338184060":["hashtag1","hashtag2"]},{"1338184063":["hashtag1","hashtag2"]},{"1338184057":["hashtag1","hashtag2"]},{"1338184068":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338184076, 1338184066, 1338184060, 1338184063, 1338184057, 1338184068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34762239456177 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:58:02.869744
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_59_10678.jpg', 0), ('/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_48_9737.jpg', 0), ('/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_38_9727.jpg', 0), ('/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_29_9739.jpg', 0), ('/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_19_10730.jpg', 0), ('/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_08_9710.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_59_10678.jpg', '/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_48_9737.jpg', '/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_38_9727.jpg', '/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_29_9739.jpg', '/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_19_10730.jpg', '/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_08_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_59_10678.jpg
/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_48_9737.jpg
/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_38_9727.jpg
/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_29_9739.jpg
/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_19_10730.jpg
/home/nano/Desktop/images/10022025/14/57/image_10022025_14_57_08_9710.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338184130","1338184121","1338184118","1338184123","1338184126","1338184119"],"photo_ids_order":["1338184118","1338184119","1338184121","1338184123","1338184126","1338184130"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75d9035d6dd4901b351bbe9482a110d1.jpg","text":"TemporaryFile(/tmp/multipartBody613518759945861409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807944940,"filename":"image_10022025_14_57_08_9710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f0f8e3f2df64891809e372e1f7289185.jpg","text":"TemporaryFile(/tmp/multipartBody9160040302407645709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807944940,"filename":"image_10022025_14_57_38_9727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e00c9b02ea2aa3b05bcfd1681f27e072.jpg","text":"TemporaryFile(/tmp/multipartBody1499285521173828983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807944940,"filename":"image_10022025_14_57_59_10678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8986d4a49baebd48baa024ca4c22471.jpg","text":"TemporaryFile(/tmp/multipartBody1489074299610287103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807944940,"filename":"image_10022025_14_57_29_9739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03ee74bdf9add31199d35a0cfdd69f04.jpg","text":"TemporaryFile(/tmp/multipartBody3047887366680614863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807944940,"filename":"image_10022025_14_57_19_10730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/72f6a2debbfa430fca7bec0e84176caa.jpg","text":"TemporaryFile(/tmp/multipartBody4195118195965347615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739807944940,"filename":"image_10022025_14_57_48_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338184121","file1":"1338184119","file0":"1338184118","file4":"1338184126","file5":"1338184130","file3":"1338184123"},"map_files_photo_id_array":[{"photo_id":"1338184130","filename":"file5"},{"photo_id":"1338184121","filename":"file2"},{"photo_id":"1338184126","filename":"file4"},{"photo_id":"1338184119","filename":"file1"},{"photo_id":"1338184118","filename":"file0"},{"photo_id":"1338184123","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338184130":["hashtag1","hashtag2"]},{"1338184121":["hashtag1","hashtag2"]},{"1338184118":["hashtag1","hashtag2"]},{"1338184123":["hashtag1","hashtag2"]},{"1338184126":["hashtag1","hashtag2"]},{"1338184119":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338184130, 1338184121, 1338184118, 1338184123, 1338184126, 1338184119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.022445678710938 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:59:03.161308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_59_10838.jpg', 0), ('/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_48_9810.jpg', 0), ('/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_38_9797.jpg', 0), ('/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_28_9831.jpg', 0), ('/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_19_9856.jpg', 0), ('/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_09_10824.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_59_10838.jpg', '/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_48_9810.jpg', '/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_38_9797.jpg', '/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_28_9831.jpg', '/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_19_9856.jpg', '/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_09_10824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_59_10838.jpg
/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_48_9810.jpg
/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_38_9797.jpg
/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_28_9831.jpg
/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_19_9856.jpg
/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_09_10824.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.02433443069458 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 16:59:32.313137
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_59_10838.jpg', 0), ('/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_48_9810.jpg', 0), ('/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_38_9797.jpg', 0), ('/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_28_9831.jpg', 0), ('/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_19_9856.jpg', 0), ('/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_09_10824.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_59_10838.jpg', '/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_48_9810.jpg', '/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_38_9797.jpg', '/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_28_9831.jpg', '/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_19_9856.jpg', '/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_09_10824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_59_10838.jpg
/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_48_9810.jpg
/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_38_9797.jpg
/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_28_9831.jpg
/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_19_9856.jpg
/home/nano/Desktop/images/10022025/14/50/image_10022025_14_50_09_10824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338185111","1338185014","1338184903","1338185171","1338185168","1338184806"],"photo_ids_order":["1338184806","1338184903","1338185014","1338185111","1338185168","1338185171"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3761a97622c942e9a7c59675d0740188.jpg","text":"TemporaryFile(/tmp/multipartBody5641619023390222231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808035349,"filename":"image_10022025_14_50_28_9831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e069439c977067f7a1b0e102c060ec9.jpg","text":"TemporaryFile(/tmp/multipartBody5033289766362616057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808035349,"filename":"image_10022025_14_50_38_9797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26db1b8e5b3a647b134f1171956bc1eb.jpg","text":"TemporaryFile(/tmp/multipartBody4735831548332517998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808035349,"filename":"image_10022025_14_50_48_9810.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7886f1c2755f7d4286c169502f3eee8c.jpg","text":"TemporaryFile(/tmp/multipartBody9129281485871444206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808035349,"filename":"image_10022025_14_50_09_10824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0db6c0e25ab99b520c06c8e5ff3eb056.jpg","text":"TemporaryFile(/tmp/multipartBody4514993251573208017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808035349,"filename":"image_10022025_14_50_19_9856.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f7af8894f18a1a14df76965ca10fe1b.jpg","text":"TemporaryFile(/tmp/multipartBody612650641407728433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808035349,"filename":"image_10022025_14_50_59_10838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338185014","file1":"1338184903","file0":"1338184806","file4":"1338185168","file5":"1338185171","file3":"1338185111"},"map_files_photo_id_array":[{"photo_id":"1338185171","filename":"file5"},{"photo_id":"1338185014","filename":"file2"},{"photo_id":"1338185168","filename":"file4"},{"photo_id":"1338184903","filename":"file1"},{"photo_id":"1338184806","filename":"file0"},{"photo_id":"1338185111","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338185111":["hashtag1","hashtag2"]},{"1338185014":["hashtag1","hashtag2"]},{"1338184903":["hashtag1","hashtag2"]},{"1338185171":["hashtag1","hashtag2"]},{"1338185168":["hashtag1","hashtag2"]},{"1338184806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338185111, 1338185014, 1338184903, 1338185171, 1338185168, 1338184806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94611072540283 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:00:32.452125
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_58_9793.jpg', 0), ('/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_48_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_38_9841.jpg', 0), ('/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_28_9845.jpg', 0), ('/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_19_9837.jpg', 0), ('/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_09_9875.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_58_9793.jpg', '/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_48_9849.jpg', '/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_38_9841.jpg', '/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_28_9845.jpg', '/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_19_9837.jpg', '/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_09_9875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_58_9793.jpg
/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_48_9849.jpg
/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_38_9841.jpg
/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_28_9845.jpg
/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_19_9837.jpg
/home/nano/Desktop/images/10022025/14/49/image_10022025_14_49_09_9875.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338185204","1338185212","1338185215","1338185209","1338185206","1338185214"],"photo_ids_order":["1338185204","1338185206","1338185209","1338185212","1338185214","1338185215"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/246fd33687371a9c1f83b34c194c160c.jpg","text":"TemporaryFile(/tmp/multipartBody8465379895769211431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808096798,"filename":"image_10022025_14_49_58_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e0cfbac0961e54cbbfba93518f5d0712.jpg","text":"TemporaryFile(/tmp/multipartBody4055328843009285714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808096798,"filename":"image_10022025_14_49_28_9845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da2ca5ae3279b658494c999b30ddee06.jpg","text":"TemporaryFile(/tmp/multipartBody3043265346155557342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808096798,"filename":"image_10022025_14_49_09_9875.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14b0b596c5f5930dc606698ddc7d771e.jpg","text":"TemporaryFile(/tmp/multipartBody180091767822607633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808096798,"filename":"image_10022025_14_49_38_9841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0be8c943ad3ee4ffd8e80286b0767bce.jpg","text":"TemporaryFile(/tmp/multipartBody687121539320192423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808096798,"filename":"image_10022025_14_49_48_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac53473a5c0d1d35c43b9ddf77809e5b.jpg","text":"TemporaryFile(/tmp/multipartBody8474664599343078441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808096798,"filename":"image_10022025_14_49_19_9837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338185209","file1":"1338185206","file0":"1338185204","file4":"1338185214","file5":"1338185215","file3":"1338185212"},"map_files_photo_id_array":[{"photo_id":"1338185215","filename":"file5"},{"photo_id":"1338185209","filename":"file2"},{"photo_id":"1338185214","filename":"file4"},{"photo_id":"1338185206","filename":"file1"},{"photo_id":"1338185204","filename":"file0"},{"photo_id":"1338185212","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338185204":["hashtag1","hashtag2"]},{"1338185212":["hashtag1","hashtag2"]},{"1338185215":["hashtag1","hashtag2"]},{"1338185209":["hashtag1","hashtag2"]},{"1338185206":["hashtag1","hashtag2"]},{"1338185214":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338185204, 1338185212, 1338185215, 1338185209, 1338185206, 1338185214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.383785247802734 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:01:32.596738
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_59_10830.jpg', 0), ('/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_48_9857.jpg', 0), ('/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_38_9848.jpg', 0), ('/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_28_9832.jpg', 0), ('/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_19_9833.jpg', 0), ('/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_09_9785.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_59_10830.jpg', '/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_48_9857.jpg', '/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_38_9848.jpg', '/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_28_9832.jpg', '/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_19_9833.jpg', '/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_09_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_59_10830.jpg
/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_48_9857.jpg
/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_38_9848.jpg
/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_28_9832.jpg
/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_19_9833.jpg
/home/nano/Desktop/images/10022025/14/48/image_10022025_14_48_09_9785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338185266","1338185245","1338185268","1338185250","1338185270","1338185261"],"photo_ids_order":["1338185245","1338185250","1338185261","1338185266","1338185268","1338185270"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e87f82d947c64f9256b2a3e9f535275a.jpg","text":"TemporaryFile(/tmp/multipartBody2074595798224387868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808155413,"filename":"image_10022025_14_48_28_9832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6403f7f7e7601f4edec332d5767280ba.jpg","text":"TemporaryFile(/tmp/multipartBody2338281972349107785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808155413,"filename":"image_10022025_14_48_59_10830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/43b8ee17ec768aaee71fc615c87d0de3.jpg","text":"TemporaryFile(/tmp/multipartBody9107036995259700062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808155413,"filename":"image_10022025_14_48_19_9833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d9fcfb73198996a39c22b6aadb2efc1.jpg","text":"TemporaryFile(/tmp/multipartBody1277738578881628552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808155413,"filename":"image_10022025_14_48_48_9857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc8e7558d8ba58d4cda97115782b2cb2.jpg","text":"TemporaryFile(/tmp/multipartBody4833189433889667945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808155413,"filename":"image_10022025_14_48_09_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/098160231de59f77e590025ee5948322.jpg","text":"TemporaryFile(/tmp/multipartBody1622011613461885801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808155413,"filename":"image_10022025_14_48_38_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338185261","file1":"1338185250","file0":"1338185245","file4":"1338185268","file5":"1338185270","file3":"1338185266"},"map_files_photo_id_array":[{"photo_id":"1338185270","filename":"file5"},{"photo_id":"1338185261","filename":"file2"},{"photo_id":"1338185268","filename":"file4"},{"photo_id":"1338185250","filename":"file1"},{"photo_id":"1338185245","filename":"file0"},{"photo_id":"1338185266","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338185266":["hashtag1","hashtag2"]},{"1338185245":["hashtag1","hashtag2"]},{"1338185268":["hashtag1","hashtag2"]},{"1338185250":["hashtag1","hashtag2"]},{"1338185270":["hashtag1","hashtag2"]},{"1338185261":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338185266, 1338185245, 1338185268, 1338185250, 1338185270, 1338185261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11694121360779 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:02:32.758437
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_59_10866.jpg', 0), ('/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_48_9783.jpg', 0), ('/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_38_9815.jpg', 0), ('/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_28_9862.jpg', 0), ('/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_19_9811.jpg', 0), ('/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_09_9888.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_59_10866.jpg', '/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_48_9783.jpg', '/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_38_9815.jpg', '/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_28_9862.jpg', '/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_19_9811.jpg', '/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_09_9888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_59_10866.jpg
/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_48_9783.jpg
/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_38_9815.jpg
/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_28_9862.jpg
/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_19_9811.jpg
/home/nano/Desktop/images/10022025/14/47/image_10022025_14_47_09_9888.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338185300","1338185303","1338185305","1338185289","1338185307","1338185294"],"photo_ids_order":["1338185289","1338185294","1338185300","1338185303","1338185305","1338185307"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f961eb29a06e6369e65015df26afed6.jpg","text":"TemporaryFile(/tmp/multipartBody4385960118104112601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808215490,"filename":"image_10022025_14_47_38_9815.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/68c3ebcccacfc9e9d991c8fc5718a834.jpg","text":"TemporaryFile(/tmp/multipartBody8946318221277077331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808215490,"filename":"image_10022025_14_47_28_9862.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa756f4022440813c9f3617672a879d8.jpg","text":"TemporaryFile(/tmp/multipartBody289865955141056936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808215490,"filename":"image_10022025_14_47_19_9811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/317bf671b8a35dbed27541475ab910e1.jpg","text":"TemporaryFile(/tmp/multipartBody4295742034865995695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808215490,"filename":"image_10022025_14_47_59_10866.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/484adb13c6c812a72168519e4a6d8b83.jpg","text":"TemporaryFile(/tmp/multipartBody5379222105020093794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808215490,"filename":"image_10022025_14_47_09_9888.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d64cd56f6730a7361c6367adfb3b3486.jpg","text":"TemporaryFile(/tmp/multipartBody302685245597063364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808215490,"filename":"image_10022025_14_47_48_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338185300","file1":"1338185294","file0":"1338185289","file4":"1338185305","file5":"1338185307","file3":"1338185303"},"map_files_photo_id_array":[{"photo_id":"1338185307","filename":"file5"},{"photo_id":"1338185300","filename":"file2"},{"photo_id":"1338185305","filename":"file4"},{"photo_id":"1338185294","filename":"file1"},{"photo_id":"1338185289","filename":"file0"},{"photo_id":"1338185303","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338185300":["hashtag1","hashtag2"]},{"1338185303":["hashtag1","hashtag2"]},{"1338185305":["hashtag1","hashtag2"]},{"1338185289":["hashtag1","hashtag2"]},{"1338185307":["hashtag1","hashtag2"]},{"1338185294":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338185300, 1338185303, 1338185305, 1338185289, 1338185307, 1338185294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12922167778015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:03:31.983531
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_59_10856.jpg', 0), ('/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_48_9839.jpg', 0), ('/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_38_9820.jpg', 0), ('/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_28_9700.jpg', 0), ('/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_19_10721.jpg', 0), ('/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_08_9696.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_59_10856.jpg', '/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_48_9839.jpg', '/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_38_9820.jpg', '/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_28_9700.jpg', '/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_19_10721.jpg', '/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_08_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_59_10856.jpg
/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_48_9839.jpg
/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_38_9820.jpg
/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_28_9700.jpg
/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_19_10721.jpg
/home/nano/Desktop/images/10022025/14/46/image_10022025_14_46_08_9696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338185422","1338185365","1338185359","1338185352","1338185361","1338185426"],"photo_ids_order":["1338185352","1338185359","1338185361","1338185365","1338185422","1338185426"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eda07d8583cb5ac4f6609f1b2dd3266b.jpg","text":"TemporaryFile(/tmp/multipartBody6473227828493865180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808274410,"filename":"image_10022025_14_46_19_10721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/91e60e7e412e1bd802f92a06f6375e9e.jpg","text":"TemporaryFile(/tmp/multipartBody376341328738746524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808274410,"filename":"image_10022025_14_46_28_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d3750773194972d5b351362ae41d3992.jpg","text":"TemporaryFile(/tmp/multipartBody7152403661802608027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808274410,"filename":"image_10022025_14_46_48_9839.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b508903c7e9f4a790901f4b12bdf72ec.jpg","text":"TemporaryFile(/tmp/multipartBody8653497730796445694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808274410,"filename":"image_10022025_14_46_59_10856.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0716a78c804dd2fcbbe5855fae39fc44.jpg","text":"TemporaryFile(/tmp/multipartBody8692944167796452093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808274410,"filename":"image_10022025_14_46_38_9820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee3994c2c1c8c0943d2d7f173a1ae36b.jpg","text":"TemporaryFile(/tmp/multipartBody2405222338373453799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808274410,"filename":"image_10022025_14_46_08_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338185361","file1":"1338185359","file0":"1338185352","file4":"1338185422","file5":"1338185426","file3":"1338185365"},"map_files_photo_id_array":[{"photo_id":"1338185426","filename":"file5"},{"photo_id":"1338185361","filename":"file2"},{"photo_id":"1338185422","filename":"file4"},{"photo_id":"1338185359","filename":"file1"},{"photo_id":"1338185352","filename":"file0"},{"photo_id":"1338185365","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338185422":["hashtag1","hashtag2"]},{"1338185365":["hashtag1","hashtag2"]},{"1338185359":["hashtag1","hashtag2"]},{"1338185352":["hashtag1","hashtag2"]},{"1338185361":["hashtag1","hashtag2"]},{"1338185426":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338185422, 1338185365, 1338185359, 1338185352, 1338185361, 1338185426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66400957107544 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:04:32.125366
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_58_9724.jpg', 0), ('/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_49_9773.jpg', 0), ('/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_39_9842.jpg', 0), ('/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_29_10840.jpg', 0), ('/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_18_9724.jpg', 0), ('/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_08_9684.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_58_9724.jpg', '/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_49_9773.jpg', '/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_39_9842.jpg', '/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_29_10840.jpg', '/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_18_9724.jpg', '/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_08_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_58_9724.jpg
/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_49_9773.jpg
/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_39_9842.jpg
/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_29_10840.jpg
/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_18_9724.jpg
/home/nano/Desktop/images/10022025/14/45/image_10022025_14_45_08_9684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338186142","1338186139","1338185674","1338186135","1338185922","1338185480"],"photo_ids_order":["1338185480","1338185674","1338185922","1338186135","1338186139","1338186142"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b78ead0fe1a533bbc6d5c99e041b055.jpg","text":"TemporaryFile(/tmp/multipartBody3465294795331348752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808334581,"filename":"image_10022025_14_45_08_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/29de288d826a765bb97d613b4a1c624e.jpg","text":"TemporaryFile(/tmp/multipartBody6722917138269651973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808334581,"filename":"image_10022025_14_45_18_9724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f6adfa512f628ab54c45924b456198f.jpg","text":"TemporaryFile(/tmp/multipartBody4895526289224853862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808334581,"filename":"image_10022025_14_45_49_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/405df29b75ae12364310c85ef5967fc0.jpg","text":"TemporaryFile(/tmp/multipartBody6513754828339281948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808334581,"filename":"image_10022025_14_45_29_10840.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/322fec17ab9bab6e646b3cacd86fa20f.jpg","text":"TemporaryFile(/tmp/multipartBody6585125836646467739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808334581,"filename":"image_10022025_14_45_39_9842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/27b41f1498d58fce03dfdc9d91325f70.jpg","text":"TemporaryFile(/tmp/multipartBody5187698215257740917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808334581,"filename":"image_10022025_14_45_58_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338185922","file1":"1338185674","file0":"1338185480","file4":"1338186139","file5":"1338186142","file3":"1338186135"},"map_files_photo_id_array":[{"photo_id":"1338186142","filename":"file5"},{"photo_id":"1338185922","filename":"file2"},{"photo_id":"1338186139","filename":"file4"},{"photo_id":"1338185674","filename":"file1"},{"photo_id":"1338185480","filename":"file0"},{"photo_id":"1338186135","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338186142":["hashtag1","hashtag2"]},{"1338186139":["hashtag1","hashtag2"]},{"1338185674":["hashtag1","hashtag2"]},{"1338186135":["hashtag1","hashtag2"]},{"1338185922":["hashtag1","hashtag2"]},{"1338185480":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338186142, 1338186139, 1338185674, 1338186135, 1338185922, 1338185480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11186599731445 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:05:32.259557
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_59_10723.jpg', 0), ('/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_48_9707.jpg', 0), ('/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_38_9707.jpg', 0), ('/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_28_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_19_10705.jpg', 0), ('/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_08_9705.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_59_10723.jpg', '/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_48_9707.jpg', '/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_38_9707.jpg', '/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_28_9682.jpg', '/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_19_10705.jpg', '/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_08_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_59_10723.jpg
/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_48_9707.jpg
/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_38_9707.jpg
/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_28_9682.jpg
/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_19_10705.jpg
/home/nano/Desktop/images/10022025/14/44/image_10022025_14_44_08_9705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338186388","1338186436","1338186351","1338186563","1338186347","1338186512"],"photo_ids_order":["1338186347","1338186351","1338186388","1338186436","1338186512","1338186563"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1397c9a75d3f86b1b474cafb3355813b.jpg","text":"TemporaryFile(/tmp/multipartBody1284387321412891337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808394671,"filename":"image_10022025_14_44_38_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e9fc5c99a2ada779f431b9b62f071cd3.jpg","text":"TemporaryFile(/tmp/multipartBody2217838849708935677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808394671,"filename":"image_10022025_14_44_28_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dfd6afeda1fac2113d5aad1c9c46729b.jpg","text":"TemporaryFile(/tmp/multipartBody3911009437695203222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808394671,"filename":"image_10022025_14_44_48_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c4b7f4c6f625b390a59cd13dea682ed8.jpg","text":"TemporaryFile(/tmp/multipartBody1551339848774770616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808394671,"filename":"image_10022025_14_44_08_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e87cb60c16d0a0cbfcf3e1972faa6da.jpg","text":"TemporaryFile(/tmp/multipartBody1911672376514623241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808394671,"filename":"image_10022025_14_44_59_10723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4963986b58bf570b1a0571fd178bef6c.jpg","text":"TemporaryFile(/tmp/multipartBody3706666038487453345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808394671,"filename":"image_10022025_14_44_19_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338186388","file1":"1338186351","file0":"1338186347","file4":"1338186512","file5":"1338186563","file3":"1338186436"},"map_files_photo_id_array":[{"photo_id":"1338186563","filename":"file5"},{"photo_id":"1338186388","filename":"file2"},{"photo_id":"1338186512","filename":"file4"},{"photo_id":"1338186351","filename":"file1"},{"photo_id":"1338186347","filename":"file0"},{"photo_id":"1338186436","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338186388":["hashtag1","hashtag2"]},{"1338186436":["hashtag1","hashtag2"]},{"1338186351":["hashtag1","hashtag2"]},{"1338186563":["hashtag1","hashtag2"]},{"1338186347":["hashtag1","hashtag2"]},{"1338186512":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338186388, 1338186436, 1338186351, 1338186563, 1338186347, 1338186512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66257882118225 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:06:32.393677
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_58_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_49_10702.jpg', 0), ('/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_38_9683.jpg', 0), ('/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_28_9683.jpg', 0), ('/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_19_10694.jpg', 0), ('/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_08_9661.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_58_9692.jpg', '/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_49_10702.jpg', '/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_38_9683.jpg', '/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_28_9683.jpg', '/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_19_10694.jpg', '/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_08_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_58_9692.jpg
/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_49_10702.jpg
/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_38_9683.jpg
/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_28_9683.jpg
/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_19_10694.jpg
/home/nano/Desktop/images/10022025/14/43/image_10022025_14_43_08_9661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338186643","1338186634","1338186651","1338186630","1338186647","1338186638"],"photo_ids_order":["1338186630","1338186634","1338186638","1338186643","1338186647","1338186651"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/41757fe76306ad00991a8d56215e1794.jpg","text":"TemporaryFile(/tmp/multipartBody4368181221967730807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808454509,"filename":"image_10022025_14_43_28_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2013a19cf6f374ae0f02e6015d0520c6.jpg","text":"TemporaryFile(/tmp/multipartBody2018099753199817750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808454509,"filename":"image_10022025_14_43_49_10702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2cdbfbec4f4d9580f89e0c86f6874b85.jpg","text":"TemporaryFile(/tmp/multipartBody3334538443701458839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808454509,"filename":"image_10022025_14_43_08_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1a1c36b73740a6cda90445c7676f057.jpg","text":"TemporaryFile(/tmp/multipartBody1076566526588717240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808454509,"filename":"image_10022025_14_43_58_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cfc419355e3f3d91121adba7ac56d9f3.jpg","text":"TemporaryFile(/tmp/multipartBody6972428994006436161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808454509,"filename":"image_10022025_14_43_19_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3aaf09dbf64ca7e15964ab30b3977746.jpg","text":"TemporaryFile(/tmp/multipartBody3242363393567036379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808454509,"filename":"image_10022025_14_43_38_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338186638","file1":"1338186634","file0":"1338186630","file4":"1338186647","file5":"1338186651","file3":"1338186643"},"map_files_photo_id_array":[{"photo_id":"1338186651","filename":"file5"},{"photo_id":"1338186638","filename":"file2"},{"photo_id":"1338186647","filename":"file4"},{"photo_id":"1338186634","filename":"file1"},{"photo_id":"1338186630","filename":"file0"},{"photo_id":"1338186643","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338186643":["hashtag1","hashtag2"]},{"1338186634":["hashtag1","hashtag2"]},{"1338186651":["hashtag1","hashtag2"]},{"1338186630":["hashtag1","hashtag2"]},{"1338186647":["hashtag1","hashtag2"]},{"1338186638":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338186643, 1338186634, 1338186651, 1338186630, 1338186647, 1338186638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07126975059509 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:07:32.530321
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_58_9715.jpg', 0), ('/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_49_10679.jpg', 0), ('/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_38_9666.jpg', 0), ('/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_28_9658.jpg', 0), ('/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_19_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_09_10680.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_58_9715.jpg', '/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_49_10679.jpg', '/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_38_9666.jpg', '/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_28_9658.jpg', '/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_19_9692.jpg', '/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_09_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_58_9715.jpg
/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_49_10679.jpg
/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_38_9666.jpg
/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_28_9658.jpg
/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_19_9692.jpg
/home/nano/Desktop/images/10022025/14/42/image_10022025_14_42_09_10680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338186685","1338186693","1338186681","1338186677","1338186689","1338186697"],"photo_ids_order":["1338186677","1338186681","1338186685","1338186689","1338186693","1338186697"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0490330096cde1354ebb1e053f1a0180.jpg","text":"TemporaryFile(/tmp/multipartBody4131413517839401941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808515373,"filename":"image_10022025_14_42_38_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/32dc137edb8596a1af488050d8760d9e.jpg","text":"TemporaryFile(/tmp/multipartBody8392130254635667095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808515373,"filename":"image_10022025_14_42_19_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49e8b1afdb0a6c2842d19d84d8e888ca.jpg","text":"TemporaryFile(/tmp/multipartBody6936377883806473729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808515373,"filename":"image_10022025_14_42_49_10679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e19fd95961d19454e29e1b1d2dd1e66.jpg","text":"TemporaryFile(/tmp/multipartBody7976092332673236753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808515373,"filename":"image_10022025_14_42_58_9715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d37b28f62e6bf2b1234501cc414f60b.jpg","text":"TemporaryFile(/tmp/multipartBody7267821605776369838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808515373,"filename":"image_10022025_14_42_28_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78e5c7448bf17c31d7b867f0a43ca736.jpg","text":"TemporaryFile(/tmp/multipartBody5495863872022025619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808515373,"filename":"image_10022025_14_42_09_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338186685","file1":"1338186681","file0":"1338186677","file4":"1338186693","file5":"1338186697","file3":"1338186689"},"map_files_photo_id_array":[{"photo_id":"1338186697","filename":"file5"},{"photo_id":"1338186685","filename":"file2"},{"photo_id":"1338186693","filename":"file4"},{"photo_id":"1338186681","filename":"file1"},{"photo_id":"1338186677","filename":"file0"},{"photo_id":"1338186689","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338186685":["hashtag1","hashtag2"]},{"1338186693":["hashtag1","hashtag2"]},{"1338186681":["hashtag1","hashtag2"]},{"1338186677":["hashtag1","hashtag2"]},{"1338186689":["hashtag1","hashtag2"]},{"1338186697":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338186685, 1338186693, 1338186681, 1338186677, 1338186689, 1338186697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32164907455444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:08:32.687136
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_58_9684.jpg', 0), ('/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_49_9666.jpg', 0), ('/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_39_10677.jpg', 0), ('/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_28_9672.jpg', 0), ('/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_18_9652.jpg', 0), ('/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_09_10674.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_58_9684.jpg', '/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_49_9666.jpg', '/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_39_10677.jpg', '/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_28_9672.jpg', '/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_18_9652.jpg', '/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_09_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_58_9684.jpg
/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_49_9666.jpg
/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_39_10677.jpg
/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_28_9672.jpg
/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_18_9652.jpg
/home/nano/Desktop/images/10022025/14/41/image_10022025_14_41_09_10674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338186736","1338186750","1338186747","1338186726","1338186740","1338186743"],"photo_ids_order":["1338186726","1338186736","1338186740","1338186743","1338186747","1338186750"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe5c3b99cd50bacc7695d3fbf0d59105.jpg","text":"TemporaryFile(/tmp/multipartBody3296417098291639002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808575484,"filename":"image_10022025_14_41_49_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4c2afd369d719747038fa1f4d27d617.jpg","text":"TemporaryFile(/tmp/multipartBody8174650228490416645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808575484,"filename":"image_10022025_14_41_09_10674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/334d05b746f34b5adc240c167b457abf.jpg","text":"TemporaryFile(/tmp/multipartBody276944120995305006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808575484,"filename":"image_10022025_14_41_18_9652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1cf235968715a1741ceacf401eb03aa8.jpg","text":"TemporaryFile(/tmp/multipartBody2059271947367852344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808575484,"filename":"image_10022025_14_41_58_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c652d4528a3fba377c2efc5b9529e454.jpg","text":"TemporaryFile(/tmp/multipartBody509082015126912836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808575484,"filename":"image_10022025_14_41_39_10677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e8054524383b29a40f1e54a44c257c1.jpg","text":"TemporaryFile(/tmp/multipartBody7394762823751142323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808575484,"filename":"image_10022025_14_41_28_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338186740","file1":"1338186736","file0":"1338186726","file4":"1338186747","file5":"1338186750","file3":"1338186743"},"map_files_photo_id_array":[{"photo_id":"1338186750","filename":"file5"},{"photo_id":"1338186740","filename":"file2"},{"photo_id":"1338186747","filename":"file4"},{"photo_id":"1338186736","filename":"file1"},{"photo_id":"1338186726","filename":"file0"},{"photo_id":"1338186743","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338186736":["hashtag1","hashtag2"]},{"1338186750":["hashtag1","hashtag2"]},{"1338186747":["hashtag1","hashtag2"]},{"1338186726":["hashtag1","hashtag2"]},{"1338186740":["hashtag1","hashtag2"]},{"1338186743":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338186736, 1338186750, 1338186747, 1338186726, 1338186740, 1338186743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91224551200867 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:09:31.843764
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_58_9669.jpg', 0), ('/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_48_9655.jpg', 0), ('/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_39_10668.jpg', 0), ('/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_28_9649.jpg', 0), ('/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_19_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_09_10711.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_58_9669.jpg', '/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_48_9655.jpg', '/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_39_10668.jpg', '/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_28_9649.jpg', '/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_19_9693.jpg', '/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_09_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_58_9669.jpg
/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_48_9655.jpg
/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_39_10668.jpg
/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_28_9649.jpg
/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_19_9693.jpg
/home/nano/Desktop/images/10022025/14/40/image_10022025_14_40_09_10711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338186779","1338186764","1338186788","1338186767","1338186803","1338186793"],"photo_ids_order":["1338186764","1338186767","1338186779","1338186788","1338186793","1338186803"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/592ef7ce7352bf21d56d06c8507057c1.jpg","text":"TemporaryFile(/tmp/multipartBody7780183455009209992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808634412,"filename":"image_10022025_14_40_39_10668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/09037899cf7d0552d220334cb790e17a.jpg","text":"TemporaryFile(/tmp/multipartBody6330032117609562351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808634412,"filename":"image_10022025_14_40_58_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d06fe6bc5c2dd0a90d87401ee912673b.jpg","text":"TemporaryFile(/tmp/multipartBody6898436916235120487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808634412,"filename":"image_10022025_14_40_28_9649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ff00a614494a90a31e59c99a0cdaf9b.jpg","text":"TemporaryFile(/tmp/multipartBody5263318458217912408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808634412,"filename":"image_10022025_14_40_48_9655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4cc44d14c8672c882660768a60c6213.jpg","text":"TemporaryFile(/tmp/multipartBody6612286845759700031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808634412,"filename":"image_10022025_14_40_09_10711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70278282c81e041edd91825423cf5862.jpg","text":"TemporaryFile(/tmp/multipartBody1421731029840615601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808634412,"filename":"image_10022025_14_40_19_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338186779","file1":"1338186767","file0":"1338186764","file4":"1338186793","file5":"1338186803","file3":"1338186788"},"map_files_photo_id_array":[{"photo_id":"1338186803","filename":"file5"},{"photo_id":"1338186779","filename":"file2"},{"photo_id":"1338186793","filename":"file4"},{"photo_id":"1338186767","filename":"file1"},{"photo_id":"1338186764","filename":"file0"},{"photo_id":"1338186788","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338186779":["hashtag1","hashtag2"]},{"1338186764":["hashtag1","hashtag2"]},{"1338186788":["hashtag1","hashtag2"]},{"1338186767":["hashtag1","hashtag2"]},{"1338186803":["hashtag1","hashtag2"]},{"1338186793":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338186779, 1338186764, 1338186788, 1338186767, 1338186803, 1338186793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5561408996582 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:10:31.988772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_58_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_48_9649.jpg', 0), ('/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_39_10702.jpg', 0), ('/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_28_9688.jpg', 0), ('/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_18_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_09_10712.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_58_9719.jpg', '/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_48_9649.jpg', '/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_39_10702.jpg', '/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_28_9688.jpg', '/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_18_9699.jpg', '/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_09_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_58_9719.jpg
/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_48_9649.jpg
/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_39_10702.jpg
/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_28_9688.jpg
/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_18_9699.jpg
/home/nano/Desktop/images/10022025/14/39/image_10022025_14_39_09_10712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338186897","1338186864","1338186861","1338186893","1338186890","1338186895"],"photo_ids_order":["1338186861","1338186864","1338186890","1338186893","1338186895","1338186897"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/36192ed125eae745cf9cde900c652dcd.jpg","text":"TemporaryFile(/tmp/multipartBody6374049088075711373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808695089,"filename":"image_10022025_14_39_09_10712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a6cd1729ad7a49b501ac820270f3b33.jpg","text":"TemporaryFile(/tmp/multipartBody7912550944014124695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808695089,"filename":"image_10022025_14_39_48_9649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05befe97601676b66892ca59720690da.jpg","text":"TemporaryFile(/tmp/multipartBody6293435597389884357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808695089,"filename":"image_10022025_14_39_58_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d97185efd00642bed95edb6e3f683a98.jpg","text":"TemporaryFile(/tmp/multipartBody864522583274114394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808695089,"filename":"image_10022025_14_39_28_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7caf1b25a10ca35501389318a49096f.jpg","text":"TemporaryFile(/tmp/multipartBody5335462191521967612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808695089,"filename":"image_10022025_14_39_39_10702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5909bca0c99f14f4dfecd4c892676f7b.jpg","text":"TemporaryFile(/tmp/multipartBody3807275975627488037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808695089,"filename":"image_10022025_14_39_18_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338186890","file1":"1338186864","file0":"1338186861","file4":"1338186895","file5":"1338186897","file3":"1338186893"},"map_files_photo_id_array":[{"photo_id":"1338186897","filename":"file5"},{"photo_id":"1338186890","filename":"file2"},{"photo_id":"1338186895","filename":"file4"},{"photo_id":"1338186864","filename":"file1"},{"photo_id":"1338186861","filename":"file0"},{"photo_id":"1338186893","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338186897":["hashtag1","hashtag2"]},{"1338186864":["hashtag1","hashtag2"]},{"1338186861":["hashtag1","hashtag2"]},{"1338186893":["hashtag1","hashtag2"]},{"1338186890":["hashtag1","hashtag2"]},{"1338186895":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338186897, 1338186864, 1338186861, 1338186893, 1338186890, 1338186895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17542386054993 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:11:32.154861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_58_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_48_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_39_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_29_10688.jpg', 0), ('/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_18_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_08_9702.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_58_9687.jpg', '/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_48_9687.jpg', '/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_39_9697.jpg', '/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_29_10688.jpg', '/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_18_9721.jpg', '/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_08_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_58_9687.jpg
/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_48_9687.jpg
/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_39_9697.jpg
/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_29_10688.jpg
/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_18_9721.jpg
/home/nano/Desktop/images/10022025/14/38/image_10022025_14_38_08_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338187271","1338187274","1338187277","1338187262","1338187279","1338187267"],"photo_ids_order":["1338187262","1338187267","1338187271","1338187274","1338187277","1338187279"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a30fa7e794d62e5f18f03c9fcf43202e.jpg","text":"TemporaryFile(/tmp/multipartBody7363301299448102287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808754345,"filename":"image_10022025_14_38_39_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b858d269cd92bafed4c596ba2402d0ba.jpg","text":"TemporaryFile(/tmp/multipartBody7040857731024839864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808754345,"filename":"image_10022025_14_38_29_10688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eaa22c0cc3381429981ca9c8f12ce37f.jpg","text":"TemporaryFile(/tmp/multipartBody183410373730682268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808754345,"filename":"image_10022025_14_38_18_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/577f69a92f1f6b03103ba67b54964184.jpg","text":"TemporaryFile(/tmp/multipartBody3433019719301367145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808754345,"filename":"image_10022025_14_38_58_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ac8752eae002fc548449e4eb500bf1b.jpg","text":"TemporaryFile(/tmp/multipartBody630620857572112869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808754345,"filename":"image_10022025_14_38_08_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6af6bea221d228e1ae6c8a2fe431c16.jpg","text":"TemporaryFile(/tmp/multipartBody5849076083658730400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808754345,"filename":"image_10022025_14_38_48_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338187271","file1":"1338187267","file0":"1338187262","file4":"1338187277","file5":"1338187279","file3":"1338187274"},"map_files_photo_id_array":[{"photo_id":"1338187279","filename":"file5"},{"photo_id":"1338187271","filename":"file2"},{"photo_id":"1338187277","filename":"file4"},{"photo_id":"1338187267","filename":"file1"},{"photo_id":"1338187262","filename":"file0"},{"photo_id":"1338187274","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338187271":["hashtag1","hashtag2"]},{"1338187274":["hashtag1","hashtag2"]},{"1338187277":["hashtag1","hashtag2"]},{"1338187262":["hashtag1","hashtag2"]},{"1338187279":["hashtag1","hashtag2"]},{"1338187267":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338187271, 1338187274, 1338187277, 1338187262, 1338187279, 1338187267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.48109722137451 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:12:32.297689
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_59_10683.jpg', 0), ('/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_48_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_38_9686.jpg', 0), ('/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_29_10673.jpg', 0), ('/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_18_9660.jpg', 0), ('/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_08_9685.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_59_10683.jpg', '/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_48_9721.jpg', '/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_38_9686.jpg', '/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_29_10673.jpg', '/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_18_9660.jpg', '/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_08_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_59_10683.jpg
/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_48_9721.jpg
/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_38_9686.jpg
/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_29_10673.jpg
/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_18_9660.jpg
/home/nano/Desktop/images/10022025/14/37/image_10022025_14_37_08_9685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338187305","1338187329","1338187319","1338187307","1338187301","1338187327"],"photo_ids_order":["1338187301","1338187305","1338187307","1338187319","1338187327","1338187329"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f6a7bf01cac75ca7158b25676d9bed1.jpg","text":"TemporaryFile(/tmp/multipartBody3328074956210004580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808814437,"filename":"image_10022025_14_37_48_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b63ed665dd32f2dd43550639a312a18.jpg","text":"TemporaryFile(/tmp/multipartBody3325438287220473965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808814437,"filename":"image_10022025_14_37_08_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57c78874f9ba50d44f02bf4217f58fdc.jpg","text":"TemporaryFile(/tmp/multipartBody3828621355610085893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808814437,"filename":"image_10022025_14_37_29_10673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/583a84a75920353cb6e50b0fbff4b790.jpg","text":"TemporaryFile(/tmp/multipartBody3863740621401370662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808814437,"filename":"image_10022025_14_37_38_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b714f29a1898424fa9ef0184b17ba41.jpg","text":"TemporaryFile(/tmp/multipartBody4165187600704766143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808814437,"filename":"image_10022025_14_37_59_10683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24784d387f25f8faefa00f017e5a0913.jpg","text":"TemporaryFile(/tmp/multipartBody8722632841700548801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808814437,"filename":"image_10022025_14_37_18_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338187307","file1":"1338187305","file0":"1338187301","file4":"1338187327","file5":"1338187329","file3":"1338187319"},"map_files_photo_id_array":[{"photo_id":"1338187329","filename":"file5"},{"photo_id":"1338187307","filename":"file2"},{"photo_id":"1338187327","filename":"file4"},{"photo_id":"1338187305","filename":"file1"},{"photo_id":"1338187301","filename":"file0"},{"photo_id":"1338187319","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338187305":["hashtag1","hashtag2"]},{"1338187329":["hashtag1","hashtag2"]},{"1338187319":["hashtag1","hashtag2"]},{"1338187307":["hashtag1","hashtag2"]},{"1338187301":["hashtag1","hashtag2"]},{"1338187327":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338187305, 1338187329, 1338187319, 1338187307, 1338187301, 1338187327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.23222279548645 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:13:32.437544
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_59_10708.jpg', 0), ('/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_48_9702.jpg', 0), ('/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_38_9657.jpg', 0), ('/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_29_9685.jpg', 0), ('/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_19_10675.jpg', 0), ('/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_08_9683.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_59_10708.jpg', '/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_48_9702.jpg', '/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_38_9657.jpg', '/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_29_9685.jpg', '/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_19_10675.jpg', '/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_08_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_59_10708.jpg
/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_48_9702.jpg
/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_38_9657.jpg
/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_29_9685.jpg
/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_19_10675.jpg
/home/nano/Desktop/images/10022025/14/36/image_10022025_14_36_08_9683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338187414","1338187504","1338187506","1338187509","1338187519","1338187447"],"photo_ids_order":["1338187414","1338187447","1338187504","1338187506","1338187509","1338187519"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/996dc5e5a8b45d02d5b26fd1be533f61.jpg","text":"TemporaryFile(/tmp/multipartBody1549162718355087286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808874576,"filename":"image_10022025_14_36_59_10708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d25178c5e63525795b3530f99ef877dc.jpg","text":"TemporaryFile(/tmp/multipartBody6304197343915800611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808874576,"filename":"image_10022025_14_36_38_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1797ce72a8fc0541cce3e7638fd9998c.jpg","text":"TemporaryFile(/tmp/multipartBody7784629297546993385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808874576,"filename":"image_10022025_14_36_29_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c464834c233e7ee62536aa28a8209d27.jpg","text":"TemporaryFile(/tmp/multipartBody8394234658246757942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808874576,"filename":"image_10022025_14_36_19_10675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c33135f5d0118b43678404f5c59c4b1b.jpg","text":"TemporaryFile(/tmp/multipartBody9063732820848292869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808874576,"filename":"image_10022025_14_36_08_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d3ffc788c8880af2cea37641b8c92d16.jpg","text":"TemporaryFile(/tmp/multipartBody485645365140762052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808874576,"filename":"image_10022025_14_36_48_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338187504","file1":"1338187447","file0":"1338187414","file4":"1338187509","file5":"1338187519","file3":"1338187506"},"map_files_photo_id_array":[{"photo_id":"1338187519","filename":"file5"},{"photo_id":"1338187504","filename":"file2"},{"photo_id":"1338187509","filename":"file4"},{"photo_id":"1338187447","filename":"file1"},{"photo_id":"1338187414","filename":"file0"},{"photo_id":"1338187506","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338187414":["hashtag1","hashtag2"]},{"1338187504":["hashtag1","hashtag2"]},{"1338187506":["hashtag1","hashtag2"]},{"1338187509":["hashtag1","hashtag2"]},{"1338187519":["hashtag1","hashtag2"]},{"1338187447":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338187414, 1338187504, 1338187506, 1338187509, 1338187519, 1338187447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.155401945114136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:14:32.575241
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_59_9649.jpg', 0), ('/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_49_10688.jpg', 0), ('/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_38_9671.jpg', 0), ('/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_29_9679.jpg', 0), ('/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_19_10670.jpg', 0), ('/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_08_9669.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_59_9649.jpg', '/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_49_10688.jpg', '/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_38_9671.jpg', '/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_29_9679.jpg', '/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_19_10670.jpg', '/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_08_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_59_9649.jpg
/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_49_10688.jpg
/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_38_9671.jpg
/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_29_9679.jpg
/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_19_10670.jpg
/home/nano/Desktop/images/10022025/14/35/image_10022025_14_35_08_9669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338187665","1338187668","1338187662","1338187670","1338187658","1338187654"],"photo_ids_order":["1338187654","1338187658","1338187662","1338187665","1338187668","1338187670"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac8bb02593c2e733cd65b43325ccfb67.jpg","text":"TemporaryFile(/tmp/multipartBody3409235556197708495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808934951,"filename":"image_10022025_14_35_29_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e194ae04fa039dbe6694767b4d6539f3.jpg","text":"TemporaryFile(/tmp/multipartBody2920089950200890455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808934951,"filename":"image_10022025_14_35_19_10670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1cc9061d77176a8e53d140488f68f39e.jpg","text":"TemporaryFile(/tmp/multipartBody8536310568012557523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808934951,"filename":"image_10022025_14_35_38_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1770ae10cd84929156ba248586d0b79b.jpg","text":"TemporaryFile(/tmp/multipartBody3116993867456888346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808934951,"filename":"image_10022025_14_35_08_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1c9d2ae4a0ae825f3264773ffa8b8c7.jpg","text":"TemporaryFile(/tmp/multipartBody3933854046768048353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808934951,"filename":"image_10022025_14_35_49_10688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ae19d17838210b4e01bf6650ef16e71.jpg","text":"TemporaryFile(/tmp/multipartBody1234750211670834395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808934951,"filename":"image_10022025_14_35_59_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338187662","file1":"1338187658","file0":"1338187654","file4":"1338187668","file5":"1338187670","file3":"1338187665"},"map_files_photo_id_array":[{"photo_id":"1338187670","filename":"file5"},{"photo_id":"1338187662","filename":"file2"},{"photo_id":"1338187668","filename":"file4"},{"photo_id":"1338187658","filename":"file1"},{"photo_id":"1338187654","filename":"file0"},{"photo_id":"1338187665","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338187665":["hashtag1","hashtag2"]},{"1338187668":["hashtag1","hashtag2"]},{"1338187662":["hashtag1","hashtag2"]},{"1338187670":["hashtag1","hashtag2"]},{"1338187658":["hashtag1","hashtag2"]},{"1338187654":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338187665, 1338187668, 1338187662, 1338187670, 1338187658, 1338187654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71591567993164 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:15:32.796421
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_59_9665.jpg', 0), ('/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_49_10663.jpg', 0), ('/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_38_9670.jpg', 0), ('/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_29_9672.jpg', 0), ('/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_19_10682.jpg', 0), ('/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_08_9691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_59_9665.jpg', '/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_49_10663.jpg', '/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_38_9670.jpg', '/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_29_9672.jpg', '/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_19_10682.jpg', '/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_08_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_59_9665.jpg
/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_49_10663.jpg
/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_38_9670.jpg
/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_29_9672.jpg
/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_19_10682.jpg
/home/nano/Desktop/images/10022025/14/34/image_10022025_14_34_08_9691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338187695","1338187708","1338187698","1338187692","1338187689","1338187700"],"photo_ids_order":["1338187689","1338187692","1338187695","1338187698","1338187700","1338187708"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6884e1451bae402df7de672ef3c92745.jpg","text":"TemporaryFile(/tmp/multipartBody6688081253811942960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808995128,"filename":"image_10022025_14_34_38_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4016d765209961f5bbe1c8ebaf151d6c.jpg","text":"TemporaryFile(/tmp/multipartBody2425124705836593803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808995128,"filename":"image_10022025_14_34_08_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/540d9818905549e88e137cdee8779535.jpg","text":"TemporaryFile(/tmp/multipartBody5064025763610731008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808995128,"filename":"image_10022025_14_34_29_9672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16296a8d5a2035273d39172e55339b90.jpg","text":"TemporaryFile(/tmp/multipartBody3144885904833200794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808995128,"filename":"image_10022025_14_34_49_10663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1548595aa3fd687fbbdb414a5814e863.jpg","text":"TemporaryFile(/tmp/multipartBody7972735579576378690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808995128,"filename":"image_10022025_14_34_59_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6dbb8e11665280c8866c983e7a6a7cf7.jpg","text":"TemporaryFile(/tmp/multipartBody2028219344995199936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739808995128,"filename":"image_10022025_14_34_19_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338187695","file1":"1338187692","file0":"1338187689","file4":"1338187700","file5":"1338187708","file3":"1338187698"},"map_files_photo_id_array":[{"photo_id":"1338187708","filename":"file5"},{"photo_id":"1338187695","filename":"file2"},{"photo_id":"1338187700","filename":"file4"},{"photo_id":"1338187692","filename":"file1"},{"photo_id":"1338187689","filename":"file0"},{"photo_id":"1338187698","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338187695":["hashtag1","hashtag2"]},{"1338187708":["hashtag1","hashtag2"]},{"1338187698":["hashtag1","hashtag2"]},{"1338187692":["hashtag1","hashtag2"]},{"1338187689":["hashtag1","hashtag2"]},{"1338187700":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338187695, 1338187708, 1338187698, 1338187692, 1338187689, 1338187700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11463499069214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:16:31.982932
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_58_9689.jpg', 0), ('/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_49_10676.jpg', 0), ('/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_38_9679.jpg', 0), ('/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_28_9694.jpg', 0), ('/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_19_10713.jpg', 0), ('/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_08_9700.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_58_9689.jpg', '/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_49_10676.jpg', '/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_38_9679.jpg', '/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_28_9694.jpg', '/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_19_10713.jpg', '/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_08_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_58_9689.jpg
/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_49_10676.jpg
/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_38_9679.jpg
/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_28_9694.jpg
/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_19_10713.jpg
/home/nano/Desktop/images/10022025/14/33/image_10022025_14_33_08_9700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338188064","1338188067","1338188075","1338188069","1338188071","1338188073"],"photo_ids_order":["1338188064","1338188067","1338188069","1338188071","1338188073","1338188075"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd5e052b1f9298232e6eda20a04dd3a8.jpg","text":"TemporaryFile(/tmp/multipartBody4319090629732288816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809054440,"filename":"image_10022025_14_33_58_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8dd7716b3d80e50ae2410c0e44f686ab.jpg","text":"TemporaryFile(/tmp/multipartBody5972457956119651686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809054440,"filename":"image_10022025_14_33_49_10676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58c1c08714240c1527ab8b34d3fd8a37.jpg","text":"TemporaryFile(/tmp/multipartBody7993988280559902810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809054440,"filename":"image_10022025_14_33_08_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c600de3bf17d5054fcc3097f5b4c7aa2.jpg","text":"TemporaryFile(/tmp/multipartBody8669230499230336398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809054440,"filename":"image_10022025_14_33_38_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d2ac98a5db4b650782b4aa198029a2a.jpg","text":"TemporaryFile(/tmp/multipartBody6496225778166136131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809054440,"filename":"image_10022025_14_33_28_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bd4d5fb604f04fb3446ebb1e8084dac6.jpg","text":"TemporaryFile(/tmp/multipartBody6295377887794986073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809054440,"filename":"image_10022025_14_33_19_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338188069","file1":"1338188067","file0":"1338188064","file4":"1338188073","file5":"1338188075","file3":"1338188071"},"map_files_photo_id_array":[{"photo_id":"1338188075","filename":"file5"},{"photo_id":"1338188069","filename":"file2"},{"photo_id":"1338188073","filename":"file4"},{"photo_id":"1338188067","filename":"file1"},{"photo_id":"1338188064","filename":"file0"},{"photo_id":"1338188071","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338188064":["hashtag1","hashtag2"]},{"1338188067":["hashtag1","hashtag2"]},{"1338188075":["hashtag1","hashtag2"]},{"1338188069":["hashtag1","hashtag2"]},{"1338188071":["hashtag1","hashtag2"]},{"1338188073":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338188064, 1338188067, 1338188075, 1338188069, 1338188071, 1338188073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19697594642639 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:17:32.160605
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_58_9666.jpg', 0), ('/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_49_10680.jpg', 0), ('/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_38_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_28_9688.jpg', 0), ('/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_19_9708.jpg', 0), ('/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_09_10667.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_58_9666.jpg', '/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_49_10680.jpg', '/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_38_9696.jpg', '/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_28_9688.jpg', '/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_19_9708.jpg', '/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_09_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_58_9666.jpg
/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_49_10680.jpg
/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_38_9696.jpg
/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_28_9688.jpg
/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_19_9708.jpg
/home/nano/Desktop/images/10022025/14/32/image_10022025_14_32_09_10667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338188118","1338188112","1338188106","1338188109","1338188114","1338188116"],"photo_ids_order":["1338188106","1338188109","1338188112","1338188114","1338188116","1338188118"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b9a61b05e18f4300c927019b49a9bdb8.jpg","text":"TemporaryFile(/tmp/multipartBody541653900064480429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809114360,"filename":"image_10022025_14_32_09_10667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c4c758861b2330e737d44c89d9e0c02.jpg","text":"TemporaryFile(/tmp/multipartBody5335239488917282794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809114360,"filename":"image_10022025_14_32_38_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/069faa55c7b11061b216f031eb7784ae.jpg","text":"TemporaryFile(/tmp/multipartBody3104643251712379331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809114360,"filename":"image_10022025_14_32_58_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17fa816f0e3bc3e315f9b075a8871a15.jpg","text":"TemporaryFile(/tmp/multipartBody1102338637071644111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809114360,"filename":"image_10022025_14_32_49_10680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/52844efab4ccb73245f870a3f052c505.jpg","text":"TemporaryFile(/tmp/multipartBody4042077269157332787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809114360,"filename":"image_10022025_14_32_28_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9fb92f57bae690e9d5fab69a6f9f28e8.jpg","text":"TemporaryFile(/tmp/multipartBody4245333129814527927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809114360,"filename":"image_10022025_14_32_19_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338188112","file1":"1338188109","file0":"1338188106","file4":"1338188116","file5":"1338188118","file3":"1338188114"},"map_files_photo_id_array":[{"photo_id":"1338188118","filename":"file5"},{"photo_id":"1338188112","filename":"file2"},{"photo_id":"1338188116","filename":"file4"},{"photo_id":"1338188109","filename":"file1"},{"photo_id":"1338188106","filename":"file0"},{"photo_id":"1338188114","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338188118":["hashtag1","hashtag2"]},{"1338188112":["hashtag1","hashtag2"]},{"1338188106":["hashtag1","hashtag2"]},{"1338188109":["hashtag1","hashtag2"]},{"1338188114":["hashtag1","hashtag2"]},{"1338188116":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338188118, 1338188112, 1338188106, 1338188109, 1338188114, 1338188116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.854951858520508 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:18:32.301216
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_58_9681.jpg', 0), ('/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_49_9724.jpg', 0), ('/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_39_10747.jpg', 0), ('/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_28_9748.jpg', 0), ('/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_18_9694.jpg', 0), ('/home/nano/Desktop/images/10022025/14/30/image_10022025_14_31_09_10717.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_58_9681.jpg', '/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_49_9724.jpg', '/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_39_10747.jpg', '/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_28_9748.jpg', '/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_18_9694.jpg', '/home/nano/Desktop/images/10022025/14/30/image_10022025_14_31_09_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_58_9681.jpg
/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_49_9724.jpg
/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_39_10747.jpg
/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_28_9748.jpg
/home/nano/Desktop/images/10022025/14/31/image_10022025_14_31_18_9694.jpg
/home/nano/Desktop/images/10022025/14/30/image_10022025_14_31_09_10717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338188346","1338188287","1338188281","1338188275","1338188284","1338188278"],"photo_ids_order":["1338188275","1338188278","1338188281","1338188284","1338188287","1338188346"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/89bbfe802eb99c70bfc68edca95881f1.jpg","text":"TemporaryFile(/tmp/multipartBody2461312257950906083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809175528,"filename":"image_10022025_14_31_09_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7239ff7b009da739a88212950557c710.jpg","text":"TemporaryFile(/tmp/multipartBody4285447017073560633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809175528,"filename":"image_10022025_14_31_18_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/89699dc9058dd832ad0e9366052b99cf.jpg","text":"TemporaryFile(/tmp/multipartBody1446670159712051573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809175528,"filename":"image_10022025_14_31_39_10747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2ff87e63cc9ff0737b0015eb379b817.jpg","text":"TemporaryFile(/tmp/multipartBody5290456415453366899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809175528,"filename":"image_10022025_14_31_58_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe82ffb3f430d3a25c45e363b32d7e19.jpg","text":"TemporaryFile(/tmp/multipartBody1779881219503049953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809175528,"filename":"image_10022025_14_31_28_9748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9953e7b576793e2eefc5c471e4c0dbbf.jpg","text":"TemporaryFile(/tmp/multipartBody669826291308753056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809175528,"filename":"image_10022025_14_31_49_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338188281","file1":"1338188278","file0":"1338188275","file4":"1338188287","file5":"1338188346","file3":"1338188284"},"map_files_photo_id_array":[{"photo_id":"1338188346","filename":"file5"},{"photo_id":"1338188281","filename":"file2"},{"photo_id":"1338188287","filename":"file4"},{"photo_id":"1338188278","filename":"file1"},{"photo_id":"1338188275","filename":"file0"},{"photo_id":"1338188284","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338188346":["hashtag1","hashtag2"]},{"1338188287":["hashtag1","hashtag2"]},{"1338188281":["hashtag1","hashtag2"]},{"1338188275":["hashtag1","hashtag2"]},{"1338188284":["hashtag1","hashtag2"]},{"1338188278":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338188346, 1338188287, 1338188281, 1338188275, 1338188284, 1338188278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06484866142273 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:19:32.438134
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_58_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_48_9743.jpg', 0), ('/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_38_9729.jpg', 0), ('/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_29_10730.jpg', 0), ('/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_18_9752.jpg', 0), ('/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_08_9872.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_58_9726.jpg', '/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_48_9743.jpg', '/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_38_9729.jpg', '/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_29_10730.jpg', '/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_18_9752.jpg', '/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_08_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_58_9726.jpg
/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_48_9743.jpg
/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_38_9729.jpg
/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_29_10730.jpg
/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_18_9752.jpg
/home/nano/Desktop/images/10022025/14/30/image_10022025_14_30_08_9872.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338188421","1338188424","1338188418","1338188426","1338188414","1338188428"],"photo_ids_order":["1338188414","1338188418","1338188421","1338188424","1338188426","1338188428"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a6fcdb07f9e22519c48e3f86ec15eb5d.jpg","text":"TemporaryFile(/tmp/multipartBody8168180874267160605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809234905,"filename":"image_10022025_14_30_38_9729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c30bc8a5f8fd31712fac719826508d6.jpg","text":"TemporaryFile(/tmp/multipartBody5423826499507895721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809234905,"filename":"image_10022025_14_30_29_10730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e1b5a6153848583bb88215ccc003428.jpg","text":"TemporaryFile(/tmp/multipartBody7976067902089217976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809234905,"filename":"image_10022025_14_30_48_9743.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f982cdd8bcfb5804117e20084b1d50d.jpg","text":"TemporaryFile(/tmp/multipartBody2172235412108946595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809234905,"filename":"image_10022025_14_30_18_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa33db190e7af030b82c5123152bbe77.jpg","text":"TemporaryFile(/tmp/multipartBody8771295018398324521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809234905,"filename":"image_10022025_14_30_58_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0acd29549ca6a24b0c8dfd58d52285a.jpg","text":"TemporaryFile(/tmp/multipartBody1783438750180806927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809234905,"filename":"image_10022025_14_30_08_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338188421","file1":"1338188418","file0":"1338188414","file4":"1338188426","file5":"1338188428","file3":"1338188424"},"map_files_photo_id_array":[{"photo_id":"1338188428","filename":"file5"},{"photo_id":"1338188421","filename":"file2"},{"photo_id":"1338188426","filename":"file4"},{"photo_id":"1338188418","filename":"file1"},{"photo_id":"1338188414","filename":"file0"},{"photo_id":"1338188424","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338188421":["hashtag1","hashtag2"]},{"1338188424":["hashtag1","hashtag2"]},{"1338188418":["hashtag1","hashtag2"]},{"1338188426":["hashtag1","hashtag2"]},{"1338188414":["hashtag1","hashtag2"]},{"1338188428":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338188421, 1338188424, 1338188418, 1338188426, 1338188414, 1338188428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.851447105407715 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:20:32.579381
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_58_9852.jpg', 0), ('/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_48_9735.jpg', 0), ('/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_39_10733.jpg', 0), ('/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_28_9813.jpg', 0), ('/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_18_9761.jpg', 0), ('/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_08_9742.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_58_9852.jpg', '/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_48_9735.jpg', '/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_39_10733.jpg', '/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_28_9813.jpg', '/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_18_9761.jpg', '/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_08_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_58_9852.jpg
/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_48_9735.jpg
/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_39_10733.jpg
/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_28_9813.jpg
/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_18_9761.jpg
/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_08_9742.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.907048463821411 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:21:03.044685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_58_9852.jpg', 0), ('/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_48_9735.jpg', 0), ('/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_39_10733.jpg', 0), ('/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_28_9813.jpg', 0), ('/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_18_9761.jpg', 0), ('/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_08_9742.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_58_9852.jpg', '/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_48_9735.jpg', '/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_39_10733.jpg', '/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_28_9813.jpg', '/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_18_9761.jpg', '/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_08_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_58_9852.jpg
/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_48_9735.jpg
/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_39_10733.jpg
/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_28_9813.jpg
/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_18_9761.jpg
/home/nano/Desktop/images/10022025/14/29/image_10022025_14_29_08_9742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338188502","1338188505","1338188480","1338188498","1338188513","1338188509"],"photo_ids_order":["1338188480","1338188498","1338188502","1338188505","1338188509","1338188513"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/752ebaba234b1662a0343de72d8017c7.jpg","text":"TemporaryFile(/tmp/multipartBody9034225395207184853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809326721,"filename":"image_10022025_14_29_39_10733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3ece23effc99dd490918d7f114930fc.jpg","text":"TemporaryFile(/tmp/multipartBody7766594522899725077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809326721,"filename":"image_10022025_14_29_28_9813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8302b751148ebbfcdec96c6e5e4397ab.jpg","text":"TemporaryFile(/tmp/multipartBody4763084526679519941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809326721,"filename":"image_10022025_14_29_58_9852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1af6c472bc36901a6e61fcbe2b9fd62.jpg","text":"TemporaryFile(/tmp/multipartBody1136670178152724332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809326721,"filename":"image_10022025_14_29_48_9735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08af31771d5e01f26d2e601ab6ae6a01.jpg","text":"TemporaryFile(/tmp/multipartBody7822163989540239981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809326721,"filename":"image_10022025_14_29_08_9742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2e71fe49420f7a5c37de628f0b13c8f.jpg","text":"TemporaryFile(/tmp/multipartBody7967423771842939207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809326721,"filename":"image_10022025_14_29_18_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338188502","file1":"1338188498","file0":"1338188480","file4":"1338188509","file5":"1338188513","file3":"1338188505"},"map_files_photo_id_array":[{"photo_id":"1338188513","filename":"file5"},{"photo_id":"1338188502","filename":"file2"},{"photo_id":"1338188509","filename":"file4"},{"photo_id":"1338188498","filename":"file1"},{"photo_id":"1338188480","filename":"file0"},{"photo_id":"1338188505","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338188502":["hashtag1","hashtag2"]},{"1338188505":["hashtag1","hashtag2"]},{"1338188480":["hashtag1","hashtag2"]},{"1338188498":["hashtag1","hashtag2"]},{"1338188513":["hashtag1","hashtag2"]},{"1338188509":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338188502, 1338188505, 1338188480, 1338188498, 1338188513, 1338188509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52944779396057 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:22:02.043589
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_59_10758.jpg', 0), ('/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_48_9727.jpg', 0), ('/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_38_9794.jpg', 0), ('/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_28_9720.jpg', 0), ('/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_19_10722.jpg', 0), ('/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_08_9728.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_59_10758.jpg', '/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_48_9727.jpg', '/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_38_9794.jpg', '/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_28_9720.jpg', '/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_19_10722.jpg', '/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_08_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_59_10758.jpg
/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_48_9727.jpg
/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_38_9794.jpg
/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_28_9720.jpg
/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_19_10722.jpg
/home/nano/Desktop/images/10022025/14/28/image_10022025_14_28_08_9728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338188550","1338188556","1338188567","1338188561","1338188543","1338188563"],"photo_ids_order":["1338188543","1338188550","1338188556","1338188561","1338188563","1338188567"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1529f521ce1650580beca958494babc.jpg","text":"TemporaryFile(/tmp/multipartBody4245653493073592398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809385198,"filename":"image_10022025_14_28_48_9727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2649de89540b9023d0c307ced9c1ec7.jpg","text":"TemporaryFile(/tmp/multipartBody366750425645157491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809385198,"filename":"image_10022025_14_28_38_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a385a8f08e0f7acf6334c0887054bb28.jpg","text":"TemporaryFile(/tmp/multipartBody8951692202609216204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809385198,"filename":"image_10022025_14_28_08_9728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b65c74bd8b47d6532e0029e8c42a7b48.jpg","text":"TemporaryFile(/tmp/multipartBody1380106765061179486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809385198,"filename":"image_10022025_14_28_28_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b10adbf28469c817e15bd13101e151b6.jpg","text":"TemporaryFile(/tmp/multipartBody3183183386132570767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809385198,"filename":"image_10022025_14_28_59_10758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3abca262c028d499afa1c6e755bf9fb0.jpg","text":"TemporaryFile(/tmp/multipartBody4067643411233967827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809385198,"filename":"image_10022025_14_28_19_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338188556","file1":"1338188550","file0":"1338188543","file4":"1338188563","file5":"1338188567","file3":"1338188561"},"map_files_photo_id_array":[{"photo_id":"1338188567","filename":"file5"},{"photo_id":"1338188556","filename":"file2"},{"photo_id":"1338188563","filename":"file4"},{"photo_id":"1338188550","filename":"file1"},{"photo_id":"1338188543","filename":"file0"},{"photo_id":"1338188561","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338188550":["hashtag1","hashtag2"]},{"1338188556":["hashtag1","hashtag2"]},{"1338188567":["hashtag1","hashtag2"]},{"1338188561":["hashtag1","hashtag2"]},{"1338188543":["hashtag1","hashtag2"]},{"1338188563":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338188550, 1338188556, 1338188567, 1338188561, 1338188543, 1338188563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35530757904053 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:23:02.433793
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_58_9715.jpg', 0), ('/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_49_9752.jpg', 0), ('/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_39_10735.jpg', 0), ('/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_28_9758.jpg', 0), ('/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_18_9821.jpg', 0), ('/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_08_9830.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_58_9715.jpg', '/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_49_9752.jpg', '/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_39_10735.jpg', '/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_28_9758.jpg', '/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_18_9821.jpg', '/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_08_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_58_9715.jpg
/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_49_9752.jpg
/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_39_10735.jpg
/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_28_9758.jpg
/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_18_9821.jpg
/home/nano/Desktop/images/10022025/14/27/image_10022025_14_27_08_9830.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338188613","1338188616","1338188624","1338188621","1338188620","1338188611"],"photo_ids_order":["1338188611","1338188613","1338188616","1338188620","1338188621","1338188624"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/068bb4f404f0acc26f1a3b31e4542d16.jpg","text":"TemporaryFile(/tmp/multipartBody1120140863952846284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809445362,"filename":"image_10022025_14_27_49_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/61c7766dd22fd66cbe0de14a4c066efe.jpg","text":"TemporaryFile(/tmp/multipartBody6860794572026083107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809445362,"filename":"image_10022025_14_27_39_10735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a15beb357872919c67b03239bf933d9.jpg","text":"TemporaryFile(/tmp/multipartBody426952025513331120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809445362,"filename":"image_10022025_14_27_08_9830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e58c74d92c84b35637d590e48b05f814.jpg","text":"TemporaryFile(/tmp/multipartBody345199950351860722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809445362,"filename":"image_10022025_14_27_18_9821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1e41d1464677f0e998c119f8709ef28.jpg","text":"TemporaryFile(/tmp/multipartBody4374931818950401812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809445362,"filename":"image_10022025_14_27_28_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af1b40b9c39ae84f1ab7f49b38150415.jpg","text":"TemporaryFile(/tmp/multipartBody5847353480625043234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809445362,"filename":"image_10022025_14_27_58_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338188616","file1":"1338188613","file0":"1338188611","file4":"1338188621","file5":"1338188624","file3":"1338188620"},"map_files_photo_id_array":[{"photo_id":"1338188624","filename":"file5"},{"photo_id":"1338188616","filename":"file2"},{"photo_id":"1338188621","filename":"file4"},{"photo_id":"1338188613","filename":"file1"},{"photo_id":"1338188611","filename":"file0"},{"photo_id":"1338188620","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338188613":["hashtag1","hashtag2"]},{"1338188616":["hashtag1","hashtag2"]},{"1338188624":["hashtag1","hashtag2"]},{"1338188621":["hashtag1","hashtag2"]},{"1338188620":["hashtag1","hashtag2"]},{"1338188611":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338188613, 1338188616, 1338188624, 1338188621, 1338188620, 1338188611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.808688163757324 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:24:02.800921
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_59_9820.jpg', 0), ('/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_49_10730.jpg', 0), ('/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_38_9734.jpg', 0), ('/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_28_9750.jpg', 0), ('/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_19_9702.jpg', 0), ('/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_09_10825.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_59_9820.jpg', '/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_49_10730.jpg', '/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_38_9734.jpg', '/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_28_9750.jpg', '/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_19_9702.jpg', '/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_09_10825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_59_9820.jpg
/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_49_10730.jpg
/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_38_9734.jpg
/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_28_9750.jpg
/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_19_9702.jpg
/home/nano/Desktop/images/10022025/14/26/image_10022025_14_26_09_10825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338188685","1338188729","1338188683","1338188725","1338188719","1338188688"],"photo_ids_order":["1338188683","1338188685","1338188688","1338188719","1338188725","1338188729"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba1357a7023686d6842c8c01af546c75.jpg","text":"TemporaryFile(/tmp/multipartBody2120174911482174534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809505268,"filename":"image_10022025_14_26_49_10730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79a3b4b26bac7430e5d784ff9a3c3325.jpg","text":"TemporaryFile(/tmp/multipartBody6324486007232493955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809505268,"filename":"image_10022025_14_26_09_10825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a38b042a6f3401f419dbce5713bd639.jpg","text":"TemporaryFile(/tmp/multipartBody5066890993409124299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809505268,"filename":"image_10022025_14_26_59_9820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/93e6eef9b7f891375c1fb1ce20b72cfc.jpg","text":"TemporaryFile(/tmp/multipartBody2632590173799710203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809505268,"filename":"image_10022025_14_26_19_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07fb8153c7219294bff35617d52bb01d.jpg","text":"TemporaryFile(/tmp/multipartBody3698075891189566463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809505268,"filename":"image_10022025_14_26_28_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f2c7bdd44b81f3c49453f56bc15c81f.jpg","text":"TemporaryFile(/tmp/multipartBody2495942406114580043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809505268,"filename":"image_10022025_14_26_38_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338188688","file1":"1338188685","file0":"1338188683","file4":"1338188725","file5":"1338188729","file3":"1338188719"},"map_files_photo_id_array":[{"photo_id":"1338188729","filename":"file5"},{"photo_id":"1338188688","filename":"file2"},{"photo_id":"1338188725","filename":"file4"},{"photo_id":"1338188685","filename":"file1"},{"photo_id":"1338188683","filename":"file0"},{"photo_id":"1338188719","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338188685":["hashtag1","hashtag2"]},{"1338188729":["hashtag1","hashtag2"]},{"1338188683":["hashtag1","hashtag2"]},{"1338188725":["hashtag1","hashtag2"]},{"1338188719":["hashtag1","hashtag2"]},{"1338188688":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338188685, 1338188729, 1338188683, 1338188725, 1338188719, 1338188688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33002233505249 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:25:02.789164
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_58_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_48_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_39_10740.jpg', 0), ('/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_28_9830.jpg', 0), ('/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_18_9722.jpg', 0), ('/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_08_9742.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_58_9701.jpg', '/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_48_9716.jpg', '/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_39_10740.jpg', '/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_28_9830.jpg', '/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_18_9722.jpg', '/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_08_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_58_9701.jpg
/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_48_9716.jpg
/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_39_10740.jpg
/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_28_9830.jpg
/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_18_9722.jpg
/home/nano/Desktop/images/10022025/14/25/image_10022025_14_25_08_9742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338188778","1338189035","1338188951","1338188776","1338188854","1338188781"],"photo_ids_order":["1338188776","1338188778","1338188781","1338188854","1338188951","1338189035"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/163f62fcd97e13f8c7ca1f0f2db19273.jpg","text":"TemporaryFile(/tmp/multipartBody7456679303186732934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809565339,"filename":"image_10022025_14_25_48_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39ea701d015c0640c1fb609f835c35ea.jpg","text":"TemporaryFile(/tmp/multipartBody6427792042049007300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809565339,"filename":"image_10022025_14_25_08_9742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e138780a2117cee88ce1e7af2f8919ac.jpg","text":"TemporaryFile(/tmp/multipartBody4221891693326125631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809565339,"filename":"image_10022025_14_25_18_9722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9426d74b534deac7f9de4b1fa4d9a857.jpg","text":"TemporaryFile(/tmp/multipartBody683362230401958397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809565339,"filename":"image_10022025_14_25_58_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1082ed6ede2d317753fbb6d5fb72636e.jpg","text":"TemporaryFile(/tmp/multipartBody3537814823744067636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809565339,"filename":"image_10022025_14_25_28_9830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e9d3095bd1fc3efff3a7d05a1315988.jpg","text":"TemporaryFile(/tmp/multipartBody7370839556400462413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809565339,"filename":"image_10022025_14_25_39_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338188781","file1":"1338188778","file0":"1338188776","file4":"1338188951","file5":"1338189035","file3":"1338188854"},"map_files_photo_id_array":[{"photo_id":"1338189035","filename":"file5"},{"photo_id":"1338188781","filename":"file2"},{"photo_id":"1338188951","filename":"file4"},{"photo_id":"1338188778","filename":"file1"},{"photo_id":"1338188776","filename":"file0"},{"photo_id":"1338188854","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338188778":["hashtag1","hashtag2"]},{"1338189035":["hashtag1","hashtag2"]},{"1338188951":["hashtag1","hashtag2"]},{"1338188776":["hashtag1","hashtag2"]},{"1338188854":["hashtag1","hashtag2"]},{"1338188781":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338188778, 1338189035, 1338188951, 1338188776, 1338188854, 1338188781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74880576133728 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:26:02.832917
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_59_9757.jpg', 0), ('/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_49_10758.jpg', 0), ('/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_38_9762.jpg', 0), ('/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_28_9848.jpg', 0), ('/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_18_9843.jpg', 0), ('/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_09_9766.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_59_9757.jpg', '/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_49_10758.jpg', '/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_38_9762.jpg', '/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_28_9848.jpg', '/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_18_9843.jpg', '/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_09_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_59_9757.jpg
/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_49_10758.jpg
/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_38_9762.jpg
/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_28_9848.jpg
/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_18_9843.jpg
/home/nano/Desktop/images/10022025/14/24/image_10022025_14_24_09_9766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338189584","1338189578","1338189581","1338189569","1338189571","1338189567"],"photo_ids_order":["1338189567","1338189569","1338189571","1338189578","1338189581","1338189584"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/563aac1b602fdb79782d9f6d6e1fdd2b.jpg","text":"TemporaryFile(/tmp/multipartBody5238979541011087899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809625663,"filename":"image_10022025_14_24_09_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71c0277f2c44a3435621993cb647b43d.jpg","text":"TemporaryFile(/tmp/multipartBody2910841478100695401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809625663,"filename":"image_10022025_14_24_28_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6228e6c04e50b1ed54522f1bf20666a9.jpg","text":"TemporaryFile(/tmp/multipartBody8887490067207465047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809625663,"filename":"image_10022025_14_24_18_9843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/758ae151e8d989172c666104ec166e39.jpg","text":"TemporaryFile(/tmp/multipartBody3454260580254469354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809625663,"filename":"image_10022025_14_24_49_10758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b63cde25487fd2061dbe14433eeda09.jpg","text":"TemporaryFile(/tmp/multipartBody1446668153393965918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809625663,"filename":"image_10022025_14_24_38_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8276c1e1011e650db075698a629e02b4.jpg","text":"TemporaryFile(/tmp/multipartBody5365155997717340416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809625663,"filename":"image_10022025_14_24_59_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338189571","file1":"1338189569","file0":"1338189567","file4":"1338189581","file5":"1338189584","file3":"1338189578"},"map_files_photo_id_array":[{"photo_id":"1338189584","filename":"file5"},{"photo_id":"1338189571","filename":"file2"},{"photo_id":"1338189581","filename":"file4"},{"photo_id":"1338189569","filename":"file1"},{"photo_id":"1338189567","filename":"file0"},{"photo_id":"1338189578","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338189584":["hashtag1","hashtag2"]},{"1338189578":["hashtag1","hashtag2"]},{"1338189581":["hashtag1","hashtag2"]},{"1338189569":["hashtag1","hashtag2"]},{"1338189571":["hashtag1","hashtag2"]},{"1338189567":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338189584, 1338189578, 1338189581, 1338189569, 1338189571, 1338189567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03983163833618 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:27:03.137548
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_59_10781.jpg', 0), ('/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_48_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_38_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_29_10734.jpg', 0), ('/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_18_9765.jpg', 0), ('/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_08_9714.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_59_10781.jpg', '/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_48_9721.jpg', '/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_38_9719.jpg', '/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_29_10734.jpg', '/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_18_9765.jpg', '/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_08_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_59_10781.jpg
/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_48_9721.jpg
/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_38_9719.jpg
/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_29_10734.jpg
/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_18_9765.jpg
/home/nano/Desktop/images/10022025/14/23/image_10022025_14_23_08_9714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338189878","1338189965","1338189938","1338189961","1338189955","1338189864"],"photo_ids_order":["1338189864","1338189878","1338189938","1338189955","1338189961","1338189965"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/61cc411279329e00a5b296c3dfe8ca83.jpg","text":"TemporaryFile(/tmp/multipartBody8197572318789414841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809685980,"filename":"image_10022025_14_23_48_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d59077ec892cc14971a0965123aadfd.jpg","text":"TemporaryFile(/tmp/multipartBody1230431913181531265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809685980,"filename":"image_10022025_14_23_08_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64d51377b236cf4897dd1d31c26fe055.jpg","text":"TemporaryFile(/tmp/multipartBody2913199013201165533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809685980,"filename":"image_10022025_14_23_38_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/298721056ff6f5ceb74315bba5b833ce.jpg","text":"TemporaryFile(/tmp/multipartBody4347228503488572636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809685980,"filename":"image_10022025_14_23_18_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/869936799d65121beb89d6f05c6f2373.jpg","text":"TemporaryFile(/tmp/multipartBody2048787002145988128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809685980,"filename":"image_10022025_14_23_29_10734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d7ef270401c96cd2989890036953a1c.jpg","text":"TemporaryFile(/tmp/multipartBody4291047392463145885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809685980,"filename":"image_10022025_14_23_59_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338189938","file1":"1338189878","file0":"1338189864","file4":"1338189961","file5":"1338189965","file3":"1338189955"},"map_files_photo_id_array":[{"photo_id":"1338189965","filename":"file5"},{"photo_id":"1338189938","filename":"file2"},{"photo_id":"1338189961","filename":"file4"},{"photo_id":"1338189878","filename":"file1"},{"photo_id":"1338189864","filename":"file0"},{"photo_id":"1338189955","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338189878":["hashtag1","hashtag2"]},{"1338189965":["hashtag1","hashtag2"]},{"1338189938":["hashtag1","hashtag2"]},{"1338189961":["hashtag1","hashtag2"]},{"1338189955":["hashtag1","hashtag2"]},{"1338189864":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338189878, 1338189965, 1338189938, 1338189961, 1338189955, 1338189864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.350319385528564 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:28:02.959540
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_58_9735.jpg', 0), ('/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_49_10759.jpg', 0), ('/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_38_9765.jpg', 0), ('/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_28_9739.jpg', 0), ('/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_18_9742.jpg', 0), ('/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_09_10751.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_58_9735.jpg', '/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_49_10759.jpg', '/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_38_9765.jpg', '/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_28_9739.jpg', '/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_18_9742.jpg', '/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_09_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_58_9735.jpg
/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_49_10759.jpg
/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_38_9765.jpg
/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_28_9739.jpg
/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_18_9742.jpg
/home/nano/Desktop/images/10022025/14/22/image_10022025_14_22_09_10751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338189988","1338189982","1338190004","1338189984","1338189993","1338190000"],"photo_ids_order":["1338189982","1338189984","1338189988","1338189993","1338190000","1338190004"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee9f45f31c1dbaa174cd4b7592f9b984.jpg","text":"TemporaryFile(/tmp/multipartBody668028836134400146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809746062,"filename":"image_10022025_14_22_38_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/74610a6b6932cb039419273c6ffa4e7a.jpg","text":"TemporaryFile(/tmp/multipartBody1195321001978171178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809746062,"filename":"image_10022025_14_22_58_9735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/921ead5115cc3b1bc7692c83be799bc9.jpg","text":"TemporaryFile(/tmp/multipartBody6426196617999705924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809746062,"filename":"image_10022025_14_22_09_10751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76789754cf71201e4898e20a3e2100c5.jpg","text":"TemporaryFile(/tmp/multipartBody1739667321123072214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809746062,"filename":"image_10022025_14_22_49_10759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e799ebb06ffa025bb70cd64779cf995f.jpg","text":"TemporaryFile(/tmp/multipartBody6265379794504669410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809746062,"filename":"image_10022025_14_22_28_9739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77bedd2d1339c29fea9feefd902db7a5.jpg","text":"TemporaryFile(/tmp/multipartBody6598619398251701984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809746062,"filename":"image_10022025_14_22_18_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338189988","file1":"1338189984","file0":"1338189982","file4":"1338190000","file5":"1338190004","file3":"1338189993"},"map_files_photo_id_array":[{"photo_id":"1338190004","filename":"file5"},{"photo_id":"1338189988","filename":"file2"},{"photo_id":"1338190000","filename":"file4"},{"photo_id":"1338189984","filename":"file1"},{"photo_id":"1338189982","filename":"file0"},{"photo_id":"1338189993","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338189988":["hashtag1","hashtag2"]},{"1338189982":["hashtag1","hashtag2"]},{"1338190004":["hashtag1","hashtag2"]},{"1338189984":["hashtag1","hashtag2"]},{"1338189993":["hashtag1","hashtag2"]},{"1338190000":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338189988, 1338189982, 1338190004, 1338189984, 1338189993, 1338190000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.774465799331665 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:29:02.693693
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_58_9756.jpg', 0), ('/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_48_9761.jpg', 0), ('/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_38_9766.jpg', 0), ('/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_29_10767.jpg', 0), ('/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_18_9730.jpg', 0), ('/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_08_9770.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_58_9756.jpg', '/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_48_9761.jpg', '/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_38_9766.jpg', '/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_29_10767.jpg', '/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_18_9730.jpg', '/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_08_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_58_9756.jpg
/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_48_9761.jpg
/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_38_9766.jpg
/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_29_10767.jpg
/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_18_9730.jpg
/home/nano/Desktop/images/10022025/14/21/image_10022025_14_21_08_9770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338190032","1338190025","1338190040","1338190034","1338190028","1338190036"],"photo_ids_order":["1338190025","1338190028","1338190032","1338190034","1338190036","1338190040"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78dc9f902d0b81810d79b3b859a095bb.jpg","text":"TemporaryFile(/tmp/multipartBody4987345521449633720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809806294,"filename":"image_10022025_14_21_38_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca5e1d9af7d35735a9c72e77bc3af597.jpg","text":"TemporaryFile(/tmp/multipartBody4841569664139809929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809806294,"filename":"image_10022025_14_21_58_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce38a6a60368bf67a8d7d690f55ea4f8.jpg","text":"TemporaryFile(/tmp/multipartBody3094709150162364742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809806294,"filename":"image_10022025_14_21_08_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3edb6b09434cedcc5331bc71a9680a9f.jpg","text":"TemporaryFile(/tmp/multipartBody5141815279659352366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809806294,"filename":"image_10022025_14_21_29_10767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/912d8feed1b8c97a036946e62c98f18f.jpg","text":"TemporaryFile(/tmp/multipartBody2882245320043933822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809806294,"filename":"image_10022025_14_21_48_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/864c3bb2e3c2bc2d3782a5b4181ba5a2.jpg","text":"TemporaryFile(/tmp/multipartBody1587771622539887650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809806294,"filename":"image_10022025_14_21_18_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338190032","file1":"1338190028","file0":"1338190025","file4":"1338190036","file5":"1338190040","file3":"1338190034"},"map_files_photo_id_array":[{"photo_id":"1338190040","filename":"file5"},{"photo_id":"1338190032","filename":"file2"},{"photo_id":"1338190036","filename":"file4"},{"photo_id":"1338190028","filename":"file1"},{"photo_id":"1338190025","filename":"file0"},{"photo_id":"1338190034","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338190032":["hashtag1","hashtag2"]},{"1338190025":["hashtag1","hashtag2"]},{"1338190040":["hashtag1","hashtag2"]},{"1338190034":["hashtag1","hashtag2"]},{"1338190028":["hashtag1","hashtag2"]},{"1338190036":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338190032, 1338190025, 1338190040, 1338190034, 1338190028, 1338190036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.883910179138184 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:30:02.413605
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_58_9762.jpg', 0), ('/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_49_10707.jpg', 0), ('/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_38_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_28_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_19_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_09_10725.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_58_9762.jpg', '/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_49_10707.jpg', '/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_38_9693.jpg', '/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_28_9696.jpg', '/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_19_9719.jpg', '/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_09_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_58_9762.jpg
/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_49_10707.jpg
/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_38_9693.jpg
/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_28_9696.jpg
/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_19_9719.jpg
/home/nano/Desktop/images/10022025/14/20/image_10022025_14_20_09_10725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338190055","1338190066","1338190120","1338190078","1338190063","1338190051"],"photo_ids_order":["1338190051","1338190055","1338190063","1338190066","1338190078","1338190120"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d011fe917d8c33d075718483c3c5704b.jpg","text":"TemporaryFile(/tmp/multipartBody4078313265736273627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809864908,"filename":"image_10022025_14_20_49_10707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3b9d449de4d24c5db07c9082d47251c.jpg","text":"TemporaryFile(/tmp/multipartBody2572673454257489017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809864908,"filename":"image_10022025_14_20_28_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86fe168ea89f6a99ac44f0fa771d8316.jpg","text":"TemporaryFile(/tmp/multipartBody3594503144118503375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809864908,"filename":"image_10022025_14_20_09_10725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50eac7a105fc6d5234d5af79af8478f5.jpg","text":"TemporaryFile(/tmp/multipartBody8381158692143460217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809864908,"filename":"image_10022025_14_20_19_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/85bd7473cb21c53f586cac3c43341e3e.jpg","text":"TemporaryFile(/tmp/multipartBody7769825667280372536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809864908,"filename":"image_10022025_14_20_38_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d513c376cc854febcae9e881ca47f032.jpg","text":"TemporaryFile(/tmp/multipartBody4441024195665774885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809864908,"filename":"image_10022025_14_20_58_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338190063","file1":"1338190055","file0":"1338190051","file4":"1338190078","file5":"1338190120","file3":"1338190066"},"map_files_photo_id_array":[{"photo_id":"1338190120","filename":"file5"},{"photo_id":"1338190063","filename":"file2"},{"photo_id":"1338190078","filename":"file4"},{"photo_id":"1338190055","filename":"file1"},{"photo_id":"1338190051","filename":"file0"},{"photo_id":"1338190066","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338190055":["hashtag1","hashtag2"]},{"1338190066":["hashtag1","hashtag2"]},{"1338190120":["hashtag1","hashtag2"]},{"1338190078":["hashtag1","hashtag2"]},{"1338190063":["hashtag1","hashtag2"]},{"1338190051":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338190055, 1338190066, 1338190120, 1338190078, 1338190063, 1338190051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72825384140015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:31:02.846600
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_58_9730.jpg', 0), ('/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_48_9710.jpg', 0), ('/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_39_10694.jpg', 0), ('/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_28_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_18_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/14/18/image_10022025_14_19_09_10670.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_58_9730.jpg', '/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_48_9710.jpg', '/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_39_10694.jpg', '/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_28_9695.jpg', '/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_18_9698.jpg', '/home/nano/Desktop/images/10022025/14/18/image_10022025_14_19_09_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_58_9730.jpg
/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_48_9710.jpg
/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_39_10694.jpg
/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_28_9695.jpg
/home/nano/Desktop/images/10022025/14/19/image_10022025_14_19_18_9698.jpg
/home/nano/Desktop/images/10022025/14/18/image_10022025_14_19_09_10670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338190413","1338190379","1338190472","1338190480","1338190486","1338190435"],"photo_ids_order":["1338190379","1338190413","1338190435","1338190472","1338190480","1338190486"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f0e0cd6150a33822901a8214ae17dcca.jpg","text":"TemporaryFile(/tmp/multipartBody3400041644632683405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809925594,"filename":"image_10022025_14_19_48_9710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7ff76a45c3d56cc22f1da407a44cca3.jpg","text":"TemporaryFile(/tmp/multipartBody6922274139978309836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809925594,"filename":"image_10022025_14_19_58_9730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1dca823f0f9dac665b2a12c83cb151e3.jpg","text":"TemporaryFile(/tmp/multipartBody8814427965930715817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809925594,"filename":"image_10022025_14_19_28_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76b53fcde618f4b624bd39430742ac01.jpg","text":"TemporaryFile(/tmp/multipartBody3790420176499395703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809925594,"filename":"image_10022025_14_19_18_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dfb2ce1556a54bcae115cdd0274bf5a4.jpg","text":"TemporaryFile(/tmp/multipartBody2301584817600842258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809925594,"filename":"image_10022025_14_19_09_10670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21111957ed266524b85735b9980c5abd.jpg","text":"TemporaryFile(/tmp/multipartBody709986604596525572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809925594,"filename":"image_10022025_14_19_39_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338190435","file1":"1338190413","file0":"1338190379","file4":"1338190480","file5":"1338190486","file3":"1338190472"},"map_files_photo_id_array":[{"photo_id":"1338190486","filename":"file5"},{"photo_id":"1338190435","filename":"file2"},{"photo_id":"1338190480","filename":"file4"},{"photo_id":"1338190413","filename":"file1"},{"photo_id":"1338190379","filename":"file0"},{"photo_id":"1338190472","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338190413":["hashtag1","hashtag2"]},{"1338190379":["hashtag1","hashtag2"]},{"1338190472":["hashtag1","hashtag2"]},{"1338190480":["hashtag1","hashtag2"]},{"1338190486":["hashtag1","hashtag2"]},{"1338190435":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338190413, 1338190379, 1338190472, 1338190480, 1338190486, 1338190435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08684825897217 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:32:02.591612
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_58_9727.jpg', 0), ('/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_48_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_38_9653.jpg', 0), ('/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_29_10729.jpg', 0), ('/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_18_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_08_9689.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_58_9727.jpg', '/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_48_9687.jpg', '/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_38_9653.jpg', '/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_29_10729.jpg', '/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_18_9706.jpg', '/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_08_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_58_9727.jpg
/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_48_9687.jpg
/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_38_9653.jpg
/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_29_10729.jpg
/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_18_9706.jpg
/home/nano/Desktop/images/10022025/14/18/image_10022025_14_18_08_9689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338190527","1338190512","1338190514","1338190511","1338190510","1338190516"],"photo_ids_order":["1338190510","1338190511","1338190512","1338190514","1338190516","1338190527"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d52449b6dab10788cf6e8a386fca9250.jpg","text":"TemporaryFile(/tmp/multipartBody12813394801728863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809984709,"filename":"image_10022025_14_18_08_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a5738b0212dc90dac821425f8d8e4f4b.jpg","text":"TemporaryFile(/tmp/multipartBody3856496049479784606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809984709,"filename":"image_10022025_14_18_38_9653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3549eb6312e94750f31ab2a793ed51ca.jpg","text":"TemporaryFile(/tmp/multipartBody613031846656664487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809984709,"filename":"image_10022025_14_18_29_10729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a30d39a317c5d5153b62c490afcb7cb3.jpg","text":"TemporaryFile(/tmp/multipartBody7699991134608430857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809984709,"filename":"image_10022025_14_18_48_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc52da65e0459a74be99e64f81b84b12.jpg","text":"TemporaryFile(/tmp/multipartBody2860404866583406135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809984709,"filename":"image_10022025_14_18_58_9727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/20871da10cbc31c8a67676cbe2d23500.jpg","text":"TemporaryFile(/tmp/multipartBody3350416240249804986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739809984709,"filename":"image_10022025_14_18_18_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338190512","file1":"1338190511","file0":"1338190510","file4":"1338190516","file5":"1338190527","file3":"1338190514"},"map_files_photo_id_array":[{"photo_id":"1338190527","filename":"file5"},{"photo_id":"1338190512","filename":"file2"},{"photo_id":"1338190516","filename":"file4"},{"photo_id":"1338190511","filename":"file1"},{"photo_id":"1338190510","filename":"file0"},{"photo_id":"1338190514","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338190527":["hashtag1","hashtag2"]},{"1338190512":["hashtag1","hashtag2"]},{"1338190514":["hashtag1","hashtag2"]},{"1338190511":["hashtag1","hashtag2"]},{"1338190510":["hashtag1","hashtag2"]},{"1338190516":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338190527, 1338190512, 1338190514, 1338190511, 1338190510, 1338190516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.519853591918945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:33:03.032726
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_59_10711.jpg', 0), ('/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_48_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_38_9708.jpg', 0), ('/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_29_9717.jpg', 0), ('/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_19_10738.jpg', 0), ('/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_08_9734.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_59_10711.jpg', '/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_48_9701.jpg', '/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_38_9708.jpg', '/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_29_9717.jpg', '/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_19_10738.jpg', '/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_08_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_59_10711.jpg
/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_48_9701.jpg
/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_38_9708.jpg
/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_29_9717.jpg
/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_19_10738.jpg
/home/nano/Desktop/images/10022025/14/17/image_10022025_14_17_08_9734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338190554","1338190553","1338190556","1338190555","1338190558","1338190552"],"photo_ids_order":["1338190552","1338190553","1338190554","1338190555","1338190556","1338190558"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ddb5605b35db29e567b56893428f12e8.jpg","text":"TemporaryFile(/tmp/multipartBody4380109259108968283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810045233,"filename":"image_10022025_14_17_38_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad450f3a981e68659af50c55e563a4ff.jpg","text":"TemporaryFile(/tmp/multipartBody1632481725936782451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810045233,"filename":"image_10022025_14_17_48_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4082bf8651fb53876d7d4fd46a6c0fb7.jpg","text":"TemporaryFile(/tmp/multipartBody8930673910098600043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810045233,"filename":"image_10022025_14_17_19_10738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03796c3f8cb9c642dbee69e37e8c83ac.jpg","text":"TemporaryFile(/tmp/multipartBody988562287476888256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810045233,"filename":"image_10022025_14_17_29_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2bafcab7e354971d8b4a36a8bd35343e.jpg","text":"TemporaryFile(/tmp/multipartBody4375133205994460034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810045233,"filename":"image_10022025_14_17_08_9734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/822b920e95bb0d3c69f8a9a025d56be6.jpg","text":"TemporaryFile(/tmp/multipartBody8865080392304909198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810045233,"filename":"image_10022025_14_17_59_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338190554","file1":"1338190553","file0":"1338190552","file4":"1338190556","file5":"1338190558","file3":"1338190555"},"map_files_photo_id_array":[{"photo_id":"1338190558","filename":"file5"},{"photo_id":"1338190554","filename":"file2"},{"photo_id":"1338190556","filename":"file4"},{"photo_id":"1338190553","filename":"file1"},{"photo_id":"1338190552","filename":"file0"},{"photo_id":"1338190555","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338190554":["hashtag1","hashtag2"]},{"1338190553":["hashtag1","hashtag2"]},{"1338190556":["hashtag1","hashtag2"]},{"1338190555":["hashtag1","hashtag2"]},{"1338190558":["hashtag1","hashtag2"]},{"1338190552":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338190554, 1338190553, 1338190556, 1338190555, 1338190558, 1338190552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40708351135254 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:34:03.255946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_58_9731.jpg', 0), ('/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_49_10681.jpg', 0), ('/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_38_9681.jpg', 0), ('/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_28_9666.jpg', 0), ('/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_19_10727.jpg', 0), ('/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_08_9706.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_58_9731.jpg', '/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_49_10681.jpg', '/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_38_9681.jpg', '/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_28_9666.jpg', '/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_19_10727.jpg', '/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_08_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_58_9731.jpg
/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_49_10681.jpg
/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_38_9681.jpg
/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_28_9666.jpg
/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_19_10727.jpg
/home/nano/Desktop/images/10022025/14/16/image_10022025_14_16_08_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338190661","1338190675","1338190669","1338190660","1338190677","1338190659"],"photo_ids_order":["1338190659","1338190660","1338190661","1338190669","1338190675","1338190677"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60b54198dff3234847f9ccada8d245ed.jpg","text":"TemporaryFile(/tmp/multipartBody5969821521563607963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810105762,"filename":"image_10022025_14_16_38_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53697a0e9680308d7e406f232ceb937d.jpg","text":"TemporaryFile(/tmp/multipartBody8707266123176865346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810105762,"filename":"image_10022025_14_16_19_10727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/773c0d17cd7e52d58b742798b7f8e266.jpg","text":"TemporaryFile(/tmp/multipartBody2000686665760277065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810105762,"filename":"image_10022025_14_16_28_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/20df8c8e7a8bbf693797f9fd042717b1.jpg","text":"TemporaryFile(/tmp/multipartBody4144606776473038176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810105762,"filename":"image_10022025_14_16_49_10681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aba3218a1fd563e87638e4a2cb31af49.jpg","text":"TemporaryFile(/tmp/multipartBody5282916709368870384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810105762,"filename":"image_10022025_14_16_08_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6ae02f55aa00d9501014ff2468ebd73.jpg","text":"TemporaryFile(/tmp/multipartBody2418954148010638489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810105762,"filename":"image_10022025_14_16_58_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338190661","file1":"1338190660","file0":"1338190659","file4":"1338190675","file5":"1338190677","file3":"1338190669"},"map_files_photo_id_array":[{"photo_id":"1338190677","filename":"file5"},{"photo_id":"1338190661","filename":"file2"},{"photo_id":"1338190675","filename":"file4"},{"photo_id":"1338190660","filename":"file1"},{"photo_id":"1338190659","filename":"file0"},{"photo_id":"1338190669","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338190661":["hashtag1","hashtag2"]},{"1338190675":["hashtag1","hashtag2"]},{"1338190669":["hashtag1","hashtag2"]},{"1338190660":["hashtag1","hashtag2"]},{"1338190677":["hashtag1","hashtag2"]},{"1338190659":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338190661, 1338190675, 1338190669, 1338190660, 1338190677, 1338190659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.531075954437256 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:35:02.309071
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_58_9712.jpg', 0), ('/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_48_9702.jpg', 0), ('/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_39_10734.jpg', 0), ('/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_28_9707.jpg', 0), ('/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_18_9815.jpg', 0), ('/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_09_9691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_58_9712.jpg', '/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_48_9702.jpg', '/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_39_10734.jpg', '/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_28_9707.jpg', '/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_18_9815.jpg', '/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_09_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_58_9712.jpg
/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_48_9702.jpg
/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_39_10734.jpg
/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_28_9707.jpg
/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_18_9815.jpg
/home/nano/Desktop/images/10022025/14/15/image_10022025_14_15_09_9691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338190701","1338190700","1338190703","1338190705","1338190714","1338190702"],"photo_ids_order":["1338190700","1338190701","1338190702","1338190703","1338190705","1338190714"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50929df96f0d321901f852ef770a14be.jpg","text":"TemporaryFile(/tmp/multipartBody2443565250155176305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810164484,"filename":"image_10022025_14_15_48_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea2c1455eb7c55f7db91fe385de08dd9.jpg","text":"TemporaryFile(/tmp/multipartBody8715664222463402503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810164484,"filename":"image_10022025_14_15_58_9712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f5f8dfb93092dee0cfedc62b6b9ebeb9.jpg","text":"TemporaryFile(/tmp/multipartBody465830945877068451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810164484,"filename":"image_10022025_14_15_28_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ebbe0a35cb0d3db1030672ec8325ee98.jpg","text":"TemporaryFile(/tmp/multipartBody279240042456171612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810164484,"filename":"image_10022025_14_15_18_9815.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15c239f86bb3718d7a6bdb3842bd4ba6.jpg","text":"TemporaryFile(/tmp/multipartBody453956439955852319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810164484,"filename":"image_10022025_14_15_09_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f24d9bfcd87516573e559efbf5d52fa.jpg","text":"TemporaryFile(/tmp/multipartBody2486671008216634094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810164484,"filename":"image_10022025_14_15_39_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338190702","file1":"1338190701","file0":"1338190700","file4":"1338190705","file5":"1338190714","file3":"1338190703"},"map_files_photo_id_array":[{"photo_id":"1338190714","filename":"file5"},{"photo_id":"1338190702","filename":"file2"},{"photo_id":"1338190705","filename":"file4"},{"photo_id":"1338190701","filename":"file1"},{"photo_id":"1338190700","filename":"file0"},{"photo_id":"1338190703","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338190701":["hashtag1","hashtag2"]},{"1338190700":["hashtag1","hashtag2"]},{"1338190703":["hashtag1","hashtag2"]},{"1338190705":["hashtag1","hashtag2"]},{"1338190714":["hashtag1","hashtag2"]},{"1338190702":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338190701, 1338190700, 1338190703, 1338190705, 1338190714, 1338190702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73307752609253 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:36:02.402089
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_59_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_48_9673.jpg', 0), ('/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_38_9750.jpg', 0), ('/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_29_10701.jpg', 0), ('/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_18_9751.jpg', 0), ('/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_08_9736.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_59_10717.jpg', '/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_48_9673.jpg', '/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_38_9750.jpg', '/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_29_10701.jpg', '/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_18_9751.jpg', '/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_08_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_59_10717.jpg
/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_48_9673.jpg
/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_38_9750.jpg
/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_29_10701.jpg
/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_18_9751.jpg
/home/nano/Desktop/images/10022025/14/14/image_10022025_14_14_08_9736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338191591","1338191782","1338191524","1338191515","1338191865","1338191514"],"photo_ids_order":["1338191514","1338191515","1338191524","1338191591","1338191782","1338191865"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c75d163d4d3000ec620046648f45a27.jpg","text":"TemporaryFile(/tmp/multipartBody1487298201475932302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810225137,"filename":"image_10022025_14_14_29_10701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90909443adc5eb68b6b71e21f69a0702.jpg","text":"TemporaryFile(/tmp/multipartBody7290541299483443286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810225137,"filename":"image_10022025_14_14_18_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50e7b1713a89f9eb77cf55aba49fe7ab.jpg","text":"TemporaryFile(/tmp/multipartBody5490793890167625982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810225137,"filename":"image_10022025_14_14_38_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e44d51940a7cb04a2bef75e4d5021e0.jpg","text":"TemporaryFile(/tmp/multipartBody1712387682764949851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810225137,"filename":"image_10022025_14_14_48_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/34f771b16ad858229c301c36a77bba47.jpg","text":"TemporaryFile(/tmp/multipartBody2133738296420648557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810225137,"filename":"image_10022025_14_14_08_9736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea4cc41907b6b22eb9d21aa599dee5c6.jpg","text":"TemporaryFile(/tmp/multipartBody893375655686720743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810225137,"filename":"image_10022025_14_14_59_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338191524","file1":"1338191515","file0":"1338191514","file4":"1338191782","file5":"1338191865","file3":"1338191591"},"map_files_photo_id_array":[{"photo_id":"1338191865","filename":"file5"},{"photo_id":"1338191524","filename":"file2"},{"photo_id":"1338191782","filename":"file4"},{"photo_id":"1338191515","filename":"file1"},{"photo_id":"1338191514","filename":"file0"},{"photo_id":"1338191591","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338191591":["hashtag1","hashtag2"]},{"1338191782":["hashtag1","hashtag2"]},{"1338191524":["hashtag1","hashtag2"]},{"1338191515":["hashtag1","hashtag2"]},{"1338191865":["hashtag1","hashtag2"]},{"1338191514":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338191591, 1338191782, 1338191524, 1338191515, 1338191865, 1338191514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.676464319229126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:37:02.621843
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_58_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_49_10715.jpg', 0), ('/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_38_9752.jpg', 0), ('/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_28_9712.jpg', 0), ('/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_19_9735.jpg', 0), ('/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_09_10712.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_58_9701.jpg', '/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_49_10715.jpg', '/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_38_9752.jpg', '/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_28_9712.jpg', '/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_19_9735.jpg', '/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_09_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_58_9701.jpg
/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_49_10715.jpg
/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_38_9752.jpg
/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_28_9712.jpg
/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_19_9735.jpg
/home/nano/Desktop/images/10022025/14/13/image_10022025_14_13_09_10712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338192224","1338192090","1338192231","1338192237","1338192018","1338192225"],"photo_ids_order":["1338192018","1338192090","1338192224","1338192225","1338192231","1338192237"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/628479435e18e1ed8cc3411a7ff6308a.jpg","text":"TemporaryFile(/tmp/multipartBody7159503179675243840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810284963,"filename":"image_10022025_14_13_38_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c075a0cd200fc0b38bf511313a238e9.jpg","text":"TemporaryFile(/tmp/multipartBody2077061612681315353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810284963,"filename":"image_10022025_14_13_49_10715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/33b9e4cdbb5b84fcde621e8de634ab0b.jpg","text":"TemporaryFile(/tmp/multipartBody6309860082198967212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810284963,"filename":"image_10022025_14_13_19_9735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f42b976950737fc67f67130d569dc3e.jpg","text":"TemporaryFile(/tmp/multipartBody2628608513329299209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810284963,"filename":"image_10022025_14_13_09_10712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b76ffeee6632ce5c47e6e014b210aad1.jpg","text":"TemporaryFile(/tmp/multipartBody3940721962566227726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810284963,"filename":"image_10022025_14_13_58_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc41c084371528c952c59c5e0dcf430d.jpg","text":"TemporaryFile(/tmp/multipartBody3478368324972389982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810284963,"filename":"image_10022025_14_13_28_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338192224","file1":"1338192090","file0":"1338192018","file4":"1338192231","file5":"1338192237","file3":"1338192225"},"map_files_photo_id_array":[{"photo_id":"1338192237","filename":"file5"},{"photo_id":"1338192224","filename":"file2"},{"photo_id":"1338192231","filename":"file4"},{"photo_id":"1338192090","filename":"file1"},{"photo_id":"1338192018","filename":"file0"},{"photo_id":"1338192225","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338192224":["hashtag1","hashtag2"]},{"1338192090":["hashtag1","hashtag2"]},{"1338192231":["hashtag1","hashtag2"]},{"1338192237":["hashtag1","hashtag2"]},{"1338192018":["hashtag1","hashtag2"]},{"1338192225":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338192224, 1338192090, 1338192231, 1338192237, 1338192018, 1338192225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04049324989319 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:38:02.623936
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_58_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_48_9768.jpg', 0), ('/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_39_10716.jpg', 0), ('/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_28_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_18_9724.jpg', 0), ('/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_09_9714.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_58_9692.jpg', '/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_48_9768.jpg', '/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_39_10716.jpg', '/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_28_9714.jpg', '/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_18_9724.jpg', '/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_09_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_58_9692.jpg
/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_48_9768.jpg
/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_39_10716.jpg
/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_28_9714.jpg
/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_18_9724.jpg
/home/nano/Desktop/images/10022025/14/12/image_10022025_14_12_09_9714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338192356","1338192361","1338192355","1338192340","1338192358","1338192357"],"photo_ids_order":["1338192340","1338192355","1338192356","1338192357","1338192358","1338192361"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d931d2a9bcaa2cb0b3e951d84c22734f.jpg","text":"TemporaryFile(/tmp/multipartBody8355560626410850284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810345330,"filename":"image_10022025_14_12_39_10716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4555530e3eefed5524aa84ad1c9d965a.jpg","text":"TemporaryFile(/tmp/multipartBody4233919411906045208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810345330,"filename":"image_10022025_14_12_09_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40b6c388d39a19a808597b6d598852fb.jpg","text":"TemporaryFile(/tmp/multipartBody4195897520522042276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810345330,"filename":"image_10022025_14_12_48_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16e9cdf73a2426916d005437a0f32445.jpg","text":"TemporaryFile(/tmp/multipartBody9098425352786689108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810345330,"filename":"image_10022025_14_12_58_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8510384eb459f1c477fe8bdeab9ac17b.jpg","text":"TemporaryFile(/tmp/multipartBody398538159450067336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810345330,"filename":"image_10022025_14_12_18_9724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c3e9df5d28de79557fb8e4b8a613c34.jpg","text":"TemporaryFile(/tmp/multipartBody175387766033597696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810345330,"filename":"image_10022025_14_12_28_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338192356","file1":"1338192355","file0":"1338192340","file4":"1338192358","file5":"1338192361","file3":"1338192357"},"map_files_photo_id_array":[{"photo_id":"1338192361","filename":"file5"},{"photo_id":"1338192356","filename":"file2"},{"photo_id":"1338192358","filename":"file4"},{"photo_id":"1338192355","filename":"file1"},{"photo_id":"1338192340","filename":"file0"},{"photo_id":"1338192357","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338192356":["hashtag1","hashtag2"]},{"1338192361":["hashtag1","hashtag2"]},{"1338192355":["hashtag1","hashtag2"]},{"1338192340":["hashtag1","hashtag2"]},{"1338192358":["hashtag1","hashtag2"]},{"1338192357":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338192356, 1338192361, 1338192355, 1338192340, 1338192358, 1338192357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.178305864334106 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:39:03.218485
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_59_10756.jpg', 0), ('/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_48_9736.jpg', 0), ('/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_38_9689.jpg', 0), ('/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_29_10689.jpg', 0), ('/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_18_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_08_9684.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_59_10756.jpg', '/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_48_9736.jpg', '/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_38_9689.jpg', '/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_29_10689.jpg', '/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_18_9696.jpg', '/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_08_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_59_10756.jpg
/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_48_9736.jpg
/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_38_9689.jpg
/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_29_10689.jpg
/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_18_9696.jpg
/home/nano/Desktop/images/10022025/14/11/image_10022025_14_11_08_9684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338192434","1338192433","1338192436","1338192439","1338192432","1338192435"],"photo_ids_order":["1338192432","1338192433","1338192434","1338192435","1338192436","1338192439"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/18b564e7ebeaaa3dfb57a5ce506f5ed3.jpg","text":"TemporaryFile(/tmp/multipartBody8099416796227810843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810405461,"filename":"image_10022025_14_11_38_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9defe0f4dc7b7cdb59d7a0583931bccb.jpg","text":"TemporaryFile(/tmp/multipartBody1748714448259278913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810405461,"filename":"image_10022025_14_11_48_9736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03b1937916088e854b5b4ef89d76374d.jpg","text":"TemporaryFile(/tmp/multipartBody6881304241591609351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810405461,"filename":"image_10022025_14_11_18_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a113c24a6429b7659d4bf5dcf5a8631b.jpg","text":"TemporaryFile(/tmp/multipartBody9044772873168989930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810405461,"filename":"image_10022025_14_11_08_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6706370305c5377d7bef9504575cbb22.jpg","text":"TemporaryFile(/tmp/multipartBody2174605618536358138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810405461,"filename":"image_10022025_14_11_59_10756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb537258423a0e86c0d0cf0657016cb7.jpg","text":"TemporaryFile(/tmp/multipartBody6898991102098721458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810405461,"filename":"image_10022025_14_11_29_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338192434","file1":"1338192433","file0":"1338192432","file4":"1338192436","file5":"1338192439","file3":"1338192435"},"map_files_photo_id_array":[{"photo_id":"1338192439","filename":"file5"},{"photo_id":"1338192434","filename":"file2"},{"photo_id":"1338192436","filename":"file4"},{"photo_id":"1338192433","filename":"file1"},{"photo_id":"1338192432","filename":"file0"},{"photo_id":"1338192435","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338192434":["hashtag1","hashtag2"]},{"1338192433":["hashtag1","hashtag2"]},{"1338192436":["hashtag1","hashtag2"]},{"1338192439":["hashtag1","hashtag2"]},{"1338192432":["hashtag1","hashtag2"]},{"1338192435":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338192434, 1338192433, 1338192436, 1338192439, 1338192432, 1338192435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.581947803497314 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:40:02.845304
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_59_9704.jpg', 0), ('/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_49_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_38_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_28_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_19_10690.jpg', 0), ('/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_08_9675.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_59_9704.jpg', '/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_49_10717.jpg', '/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_38_9698.jpg', '/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_28_9691.jpg', '/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_19_10690.jpg', '/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_08_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_59_9704.jpg
/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_49_10717.jpg
/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_38_9698.jpg
/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_28_9691.jpg
/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_19_10690.jpg
/home/nano/Desktop/images/10022025/14/10/image_10022025_14_10_08_9675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338192455","1338192458","1338192460","1338192454","1338192457","1338192456"],"photo_ids_order":["1338192454","1338192455","1338192456","1338192457","1338192458","1338192460"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b1f4ea6269234167d6678dcaee21e60.jpg","text":"TemporaryFile(/tmp/multipartBody6464852554796810393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810465466,"filename":"image_10022025_14_10_49_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee4ab556c72ed75058993e7429936d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5202014878324386937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810465466,"filename":"image_10022025_14_10_19_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8db8c94c9dc1ca24a12b5036edcfaf0b.jpg","text":"TemporaryFile(/tmp/multipartBody3933630636854870943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810465466,"filename":"image_10022025_14_10_08_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fcf40c0395be4d92fabefc6e63b5c173.jpg","text":"TemporaryFile(/tmp/multipartBody1068169072359530921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810465466,"filename":"image_10022025_14_10_59_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/283a1b744a69d3f27b4568aafe7e3b58.jpg","text":"TemporaryFile(/tmp/multipartBody2993699921566818479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810465466,"filename":"image_10022025_14_10_28_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5add32b1670842b61092268385db074b.jpg","text":"TemporaryFile(/tmp/multipartBody7562787233807406409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810465466,"filename":"image_10022025_14_10_38_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338192456","file1":"1338192455","file0":"1338192454","file4":"1338192458","file5":"1338192460","file3":"1338192457"},"map_files_photo_id_array":[{"photo_id":"1338192460","filename":"file5"},{"photo_id":"1338192456","filename":"file2"},{"photo_id":"1338192458","filename":"file4"},{"photo_id":"1338192455","filename":"file1"},{"photo_id":"1338192454","filename":"file0"},{"photo_id":"1338192457","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338192455":["hashtag1","hashtag2"]},{"1338192458":["hashtag1","hashtag2"]},{"1338192460":["hashtag1","hashtag2"]},{"1338192454":["hashtag1","hashtag2"]},{"1338192457":["hashtag1","hashtag2"]},{"1338192456":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338192455, 1338192458, 1338192460, 1338192454, 1338192457, 1338192456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.422258377075195 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:41:02.280265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_58_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_49_10735.jpg', 0), ('/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_38_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_28_9710.jpg', 0), ('/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_19_9673.jpg', 0), ('/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_09_10827.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_58_9698.jpg', '/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_49_10735.jpg', '/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_38_9692.jpg', '/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_28_9710.jpg', '/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_19_9673.jpg', '/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_09_10827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_58_9698.jpg
/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_49_10735.jpg
/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_38_9692.jpg
/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_28_9710.jpg
/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_19_9673.jpg
/home/nano/Desktop/images/10022025/14/09/image_10022025_14_09_09_10827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338192474","1338192582","1338192576","1338192555","1338192558","1338192572"],"photo_ids_order":["1338192474","1338192555","1338192558","1338192572","1338192576","1338192582"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f5dd70b780416fb536c818315df70330.jpg","text":"TemporaryFile(/tmp/multipartBody8856159510930828450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810524365,"filename":"image_10022025_14_09_58_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/36f0eaf3485a194066b46db721236360.jpg","text":"TemporaryFile(/tmp/multipartBody5645956649956301205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810524365,"filename":"image_10022025_14_09_09_10827.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3888e5ed3084256a277593a5659f6968.jpg","text":"TemporaryFile(/tmp/multipartBody1399725801481992777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810524365,"filename":"image_10022025_14_09_19_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/602b11902a973a6e45460b0275b68300.jpg","text":"TemporaryFile(/tmp/multipartBody310832268140225523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810524365,"filename":"image_10022025_14_09_49_10735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1b421594c1333db40157cfe29eb1969.jpg","text":"TemporaryFile(/tmp/multipartBody8192935098615793689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810524365,"filename":"image_10022025_14_09_38_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5192d132ba21bd32bff968c3c617b1a9.jpg","text":"TemporaryFile(/tmp/multipartBody3361861956067470969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810524365,"filename":"image_10022025_14_09_28_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338192558","file1":"1338192555","file0":"1338192474","file4":"1338192576","file5":"1338192582","file3":"1338192572"},"map_files_photo_id_array":[{"photo_id":"1338192582","filename":"file5"},{"photo_id":"1338192558","filename":"file2"},{"photo_id":"1338192576","filename":"file4"},{"photo_id":"1338192555","filename":"file1"},{"photo_id":"1338192474","filename":"file0"},{"photo_id":"1338192572","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338192474":["hashtag1","hashtag2"]},{"1338192582":["hashtag1","hashtag2"]},{"1338192576":["hashtag1","hashtag2"]},{"1338192555":["hashtag1","hashtag2"]},{"1338192558":["hashtag1","hashtag2"]},{"1338192572":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338192474, 1338192582, 1338192576, 1338192555, 1338192558, 1338192572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.842876195907593 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:42:02.242146
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_58_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_48_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_38_9808.jpg', 0), ('/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_29_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_19_10799.jpg', 0), ('/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_08_9804.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_58_9788.jpg', '/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_48_9787.jpg', '/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_38_9808.jpg', '/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_29_9788.jpg', '/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_19_10799.jpg', '/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_08_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_58_9788.jpg
/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_48_9787.jpg
/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_38_9808.jpg
/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_29_9788.jpg
/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_19_10799.jpg
/home/nano/Desktop/images/10022025/14/08/image_10022025_14_08_08_9804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338192602","1338192598","1338192601","1338192597","1338192596","1338192599"],"photo_ids_order":["1338192596","1338192597","1338192598","1338192599","1338192601","1338192602"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/650099220ac044240e58a44b0933a6d5.jpg","text":"TemporaryFile(/tmp/multipartBody2781576299552738468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810585419,"filename":"image_10022025_14_08_08_9804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40270d68ebbf5d0fdbf4e0c778dd68ff.jpg","text":"TemporaryFile(/tmp/multipartBody1719993477854374661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810585419,"filename":"image_10022025_14_08_38_9808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2256d922e5a5d1b98f5643ab64a2feec.jpg","text":"TemporaryFile(/tmp/multipartBody4028854930717940758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810585419,"filename":"image_10022025_14_08_19_10799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6d96c04d01d2a203a1830857063d73d.jpg","text":"TemporaryFile(/tmp/multipartBody1584395454932557340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810585419,"filename":"image_10022025_14_08_48_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c0d34cbc4ad7ff1238bdae9156661dd.jpg","text":"TemporaryFile(/tmp/multipartBody6224081821726871311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810585419,"filename":"image_10022025_14_08_58_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c44a211faf8371426a1fbfcc4cbb291.jpg","text":"TemporaryFile(/tmp/multipartBody215154127564985509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810585419,"filename":"image_10022025_14_08_29_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338192598","file1":"1338192597","file0":"1338192596","file4":"1338192601","file5":"1338192602","file3":"1338192599"},"map_files_photo_id_array":[{"photo_id":"1338192602","filename":"file5"},{"photo_id":"1338192598","filename":"file2"},{"photo_id":"1338192601","filename":"file4"},{"photo_id":"1338192597","filename":"file1"},{"photo_id":"1338192596","filename":"file0"},{"photo_id":"1338192599","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338192602":["hashtag1","hashtag2"]},{"1338192598":["hashtag1","hashtag2"]},{"1338192601":["hashtag1","hashtag2"]},{"1338192597":["hashtag1","hashtag2"]},{"1338192596":["hashtag1","hashtag2"]},{"1338192599":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338192602, 1338192598, 1338192601, 1338192597, 1338192596, 1338192599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84793043136597 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:43:02.656015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_58_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_48_9806.jpg', 0), ('/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_39_10797.jpg', 0), ('/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_28_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_18_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_08_9791.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_58_9788.jpg', '/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_48_9806.jpg', '/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_39_10797.jpg', '/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_28_9785.jpg', '/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_18_9788.jpg', '/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_08_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_58_9788.jpg
/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_48_9806.jpg
/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_39_10797.jpg
/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_28_9785.jpg
/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_18_9788.jpg
/home/nano/Desktop/images/10022025/14/07/image_10022025_14_07_08_9791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338192617","1338192622","1338192616","1338192619","1338192618","1338192615"],"photo_ids_order":["1338192615","1338192616","1338192617","1338192618","1338192619","1338192622"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab2b84fc57e84e4037be9edd38256181.jpg","text":"TemporaryFile(/tmp/multipartBody6362759995719470423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810645054,"filename":"image_10022025_14_07_39_10797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c80923eb2ee037b62facf46fdf35c7cd.jpg","text":"TemporaryFile(/tmp/multipartBody8649167556137879252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810645054,"filename":"image_10022025_14_07_08_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc3b83782aaf397a713e6c6aeda33d69.jpg","text":"TemporaryFile(/tmp/multipartBody5303567275113295259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810645054,"filename":"image_10022025_14_07_48_9806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c73e002b826e9dc8f6f662b260a2b6e8.jpg","text":"TemporaryFile(/tmp/multipartBody4298775703546227690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810645054,"filename":"image_10022025_14_07_18_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea9c4604837c72e859b4d7669b67eadb.jpg","text":"TemporaryFile(/tmp/multipartBody7113620478894163084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810645054,"filename":"image_10022025_14_07_28_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb37ab31f99b9d3bada930527ac0f94e.jpg","text":"TemporaryFile(/tmp/multipartBody4481984111232870472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810645054,"filename":"image_10022025_14_07_58_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338192617","file1":"1338192616","file0":"1338192615","file4":"1338192619","file5":"1338192622","file3":"1338192618"},"map_files_photo_id_array":[{"photo_id":"1338192622","filename":"file5"},{"photo_id":"1338192617","filename":"file2"},{"photo_id":"1338192619","filename":"file4"},{"photo_id":"1338192616","filename":"file1"},{"photo_id":"1338192615","filename":"file0"},{"photo_id":"1338192618","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338192617":["hashtag1","hashtag2"]},{"1338192622":["hashtag1","hashtag2"]},{"1338192616":["hashtag1","hashtag2"]},{"1338192619":["hashtag1","hashtag2"]},{"1338192618":["hashtag1","hashtag2"]},{"1338192615":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338192617, 1338192622, 1338192616, 1338192619, 1338192618, 1338192615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.652430295944214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:44:02.955165
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_59_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_49_10818.jpg', 0), ('/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_38_9806.jpg', 0), ('/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_28_9796.jpg', 0), ('/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_18_9790.jpg', 0), ('/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_09_9813.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_59_9788.jpg', '/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_49_10818.jpg', '/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_38_9806.jpg', '/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_28_9796.jpg', '/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_18_9790.jpg', '/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_09_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_59_9788.jpg
/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_49_10818.jpg
/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_38_9806.jpg
/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_28_9796.jpg
/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_18_9790.jpg
/home/nano/Desktop/images/10022025/14/06/image_10022025_14_06_09_9813.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338192680","1338192688","1338192682","1338192679","1338192684","1338192683"],"photo_ids_order":["1338192679","1338192680","1338192682","1338192683","1338192684","1338192688"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b782b81b28e04a9fdc8726a0d7d79328.jpg","text":"TemporaryFile(/tmp/multipartBody2500092241777602751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810705528,"filename":"image_10022025_14_06_49_10818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db7e4b9982b1b5ae62d695cb292b098a.jpg","text":"TemporaryFile(/tmp/multipartBody1505743591224860142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810705528,"filename":"image_10022025_14_06_09_9813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e220a2da05f67f8950b0c841827e373e.jpg","text":"TemporaryFile(/tmp/multipartBody6174657089330733428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810705528,"filename":"image_10022025_14_06_38_9806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/882e78d439a0e4339c054fa17cfb2215.jpg","text":"TemporaryFile(/tmp/multipartBody3430860594477398608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810705528,"filename":"image_10022025_14_06_59_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a52c1ffaf835c385e472841abcc58fc.jpg","text":"TemporaryFile(/tmp/multipartBody5254991845191677263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810705528,"filename":"image_10022025_14_06_18_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d1cdbfcbc1306399e0107dd843bfcd6.jpg","text":"TemporaryFile(/tmp/multipartBody7841154406370312190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810705528,"filename":"image_10022025_14_06_28_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338192682","file1":"1338192680","file0":"1338192679","file4":"1338192684","file5":"1338192688","file3":"1338192683"},"map_files_photo_id_array":[{"photo_id":"1338192688","filename":"file5"},{"photo_id":"1338192682","filename":"file2"},{"photo_id":"1338192684","filename":"file4"},{"photo_id":"1338192680","filename":"file1"},{"photo_id":"1338192679","filename":"file0"},{"photo_id":"1338192683","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338192680":["hashtag1","hashtag2"]},{"1338192688":["hashtag1","hashtag2"]},{"1338192682":["hashtag1","hashtag2"]},{"1338192679":["hashtag1","hashtag2"]},{"1338192684":["hashtag1","hashtag2"]},{"1338192683":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338192680, 1338192688, 1338192682, 1338192679, 1338192684, 1338192683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59895610809326 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:45:02.881488
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_59_10796.jpg', 0), ('/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_48_9804.jpg', 0), ('/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_38_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_28_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_19_9784.jpg', 0), ('/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_09_10810.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_59_10796.jpg', '/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_48_9804.jpg', '/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_38_9786.jpg', '/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_28_9785.jpg', '/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_19_9784.jpg', '/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_09_10810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_59_10796.jpg
/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_48_9804.jpg
/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_38_9786.jpg
/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_28_9785.jpg
/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_19_9784.jpg
/home/nano/Desktop/images/10022025/14/05/image_10022025_14_05_09_10810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338192821","1338192824","1338192818","1338192793","1338192820","1338192819"],"photo_ids_order":["1338192793","1338192818","1338192819","1338192820","1338192821","1338192824"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/48965bf0770cf612a4d00845a512e65d.jpg","text":"TemporaryFile(/tmp/multipartBody1012228568031277292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810765791,"filename":"image_10022025_14_05_19_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/951ad7409f911c74a4ed939a86b68c03.jpg","text":"TemporaryFile(/tmp/multipartBody3169006922943950360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810765791,"filename":"image_10022025_14_05_09_10810.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9332874c27e15277560db551da326854.jpg","text":"TemporaryFile(/tmp/multipartBody749696487356257824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810765791,"filename":"image_10022025_14_05_48_9804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f2e5850b57542e90690b412ac5c1aeb.jpg","text":"TemporaryFile(/tmp/multipartBody203404664841399359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810765791,"filename":"image_10022025_14_05_59_10796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc919b905f15fc54192a8637ea34b8cb.jpg","text":"TemporaryFile(/tmp/multipartBody8503296585395647754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810765791,"filename":"image_10022025_14_05_28_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/83b26511957f01d6cf155e05815a94cd.jpg","text":"TemporaryFile(/tmp/multipartBody9145597048902682327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810765791,"filename":"image_10022025_14_05_38_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338192819","file1":"1338192818","file0":"1338192793","file4":"1338192821","file5":"1338192824","file3":"1338192820"},"map_files_photo_id_array":[{"photo_id":"1338192824","filename":"file5"},{"photo_id":"1338192819","filename":"file2"},{"photo_id":"1338192821","filename":"file4"},{"photo_id":"1338192818","filename":"file1"},{"photo_id":"1338192793","filename":"file0"},{"photo_id":"1338192820","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338192821":["hashtag1","hashtag2"]},{"1338192824":["hashtag1","hashtag2"]},{"1338192818":["hashtag1","hashtag2"]},{"1338192793":["hashtag1","hashtag2"]},{"1338192820":["hashtag1","hashtag2"]},{"1338192819":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338192821, 1338192824, 1338192818, 1338192793, 1338192820, 1338192819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.973127365112305 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:46:02.825492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_58_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_48_9805.jpg', 0), ('/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_38_9783.jpg', 0), ('/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_29_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_19_10797.jpg', 0), ('/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_08_9791.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_58_9788.jpg', '/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_48_9805.jpg', '/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_38_9783.jpg', '/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_29_9786.jpg', '/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_19_10797.jpg', '/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_08_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_58_9788.jpg
/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_48_9805.jpg
/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_38_9783.jpg
/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_29_9786.jpg
/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_19_10797.jpg
/home/nano/Desktop/images/10022025/14/04/image_10022025_14_04_08_9791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338193060","1338193062","1338193059","1338193061","1338193064","1338193058"],"photo_ids_order":["1338193058","1338193059","1338193060","1338193061","1338193062","1338193064"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2c9a36f1fdf9a233d402114b580e90e.jpg","text":"TemporaryFile(/tmp/multipartBody6254513986557706758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810825648,"filename":"image_10022025_14_04_38_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bd6a23443181294c0900fd437c49f7e5.jpg","text":"TemporaryFile(/tmp/multipartBody5885566256531110306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810825648,"filename":"image_10022025_14_04_19_10797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f5041f124e84be089509ed3bad8bc16d.jpg","text":"TemporaryFile(/tmp/multipartBody8195959340382424019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810825648,"filename":"image_10022025_14_04_48_9805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/100489f575511f9df4b0dc4e45e500a3.jpg","text":"TemporaryFile(/tmp/multipartBody5107330310524093432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810825648,"filename":"image_10022025_14_04_29_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/462963b11a9fec64e3506d47f3a5562f.jpg","text":"TemporaryFile(/tmp/multipartBody3408454668925140399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810825648,"filename":"image_10022025_14_04_08_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76553a7e7750c59625e94a296a8d2262.jpg","text":"TemporaryFile(/tmp/multipartBody6897781128656612701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810825648,"filename":"image_10022025_14_04_58_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338193060","file1":"1338193059","file0":"1338193058","file4":"1338193062","file5":"1338193064","file3":"1338193061"},"map_files_photo_id_array":[{"photo_id":"1338193064","filename":"file5"},{"photo_id":"1338193060","filename":"file2"},{"photo_id":"1338193062","filename":"file4"},{"photo_id":"1338193059","filename":"file1"},{"photo_id":"1338193058","filename":"file0"},{"photo_id":"1338193061","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338193060":["hashtag1","hashtag2"]},{"1338193062":["hashtag1","hashtag2"]},{"1338193059":["hashtag1","hashtag2"]},{"1338193061":["hashtag1","hashtag2"]},{"1338193064":["hashtag1","hashtag2"]},{"1338193058":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338193060, 1338193062, 1338193059, 1338193061, 1338193064, 1338193058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34092354774475 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:47:03.169414
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_58_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_48_9790.jpg', 0), ('/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_39_9784.jpg', 0), ('/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_29_10794.jpg', 0), ('/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_18_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_08_9785.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_58_9788.jpg', '/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_48_9790.jpg', '/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_39_9784.jpg', '/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_29_10794.jpg', '/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_18_9789.jpg', '/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_08_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_58_9788.jpg
/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_48_9790.jpg
/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_39_9784.jpg
/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_29_10794.jpg
/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_18_9789.jpg
/home/nano/Desktop/images/10022025/14/03/image_10022025_14_03_08_9785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338193096","1338193100","1338193099","1338193103","1338193098","1338193097"],"photo_ids_order":["1338193096","1338193097","1338193098","1338193099","1338193100","1338193103"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/789e0fd739e0bfa013b75c01b9301bf1.jpg","text":"TemporaryFile(/tmp/multipartBody5781395584662896565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810886124,"filename":"image_10022025_14_03_58_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ed5d58b24fee67161751d8828944127.jpg","text":"TemporaryFile(/tmp/multipartBody2417817514544938710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810886124,"filename":"image_10022025_14_03_18_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b08cfe6d2b44b47dc64ec76393b1c868.jpg","text":"TemporaryFile(/tmp/multipartBody4958362976533510484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810886124,"filename":"image_10022025_14_03_29_10794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/56d23cd5195a69e2273174b83fc1cc56.jpg","text":"TemporaryFile(/tmp/multipartBody6880987510314474905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810886124,"filename":"image_10022025_14_03_08_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/399e8a79911e9afbdeb38145cd066ecd.jpg","text":"TemporaryFile(/tmp/multipartBody2446552477473743848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810886124,"filename":"image_10022025_14_03_39_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6b2f721a9642384def93db6690355854.jpg","text":"TemporaryFile(/tmp/multipartBody1524545827510827537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810886124,"filename":"image_10022025_14_03_48_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338193098","file1":"1338193097","file0":"1338193096","file4":"1338193100","file5":"1338193103","file3":"1338193099"},"map_files_photo_id_array":[{"photo_id":"1338193103","filename":"file5"},{"photo_id":"1338193098","filename":"file2"},{"photo_id":"1338193100","filename":"file4"},{"photo_id":"1338193097","filename":"file1"},{"photo_id":"1338193096","filename":"file0"},{"photo_id":"1338193099","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338193096":["hashtag1","hashtag2"]},{"1338193100":["hashtag1","hashtag2"]},{"1338193099":["hashtag1","hashtag2"]},{"1338193103":["hashtag1","hashtag2"]},{"1338193098":["hashtag1","hashtag2"]},{"1338193097":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338193096, 1338193100, 1338193099, 1338193103, 1338193098, 1338193097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43015098571777 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:48:02.118165
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_58_9783.jpg', 0), ('/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_49_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_39_10794.jpg', 0), ('/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_28_9784.jpg', 0), ('/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_18_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_09_9792.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_58_9783.jpg', '/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_49_9785.jpg', '/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_39_10794.jpg', '/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_28_9784.jpg', '/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_18_9786.jpg', '/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_09_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_58_9783.jpg
/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_49_9785.jpg
/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_39_10794.jpg
/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_28_9784.jpg
/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_18_9786.jpg
/home/nano/Desktop/images/10022025/14/02/image_10022025_14_02_09_9792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338193186","1338193204","1338193207","1338193199","1338193203","1338193202"],"photo_ids_order":["1338193186","1338193199","1338193202","1338193203","1338193204","1338193207"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97049cf098fc9dff0751443def2ad7f9.jpg","text":"TemporaryFile(/tmp/multipartBody2908095369130824852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810944925,"filename":"image_10022025_14_02_58_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8cac4c4dc794b861fba13087fe91818.jpg","text":"TemporaryFile(/tmp/multipartBody9111393151000573383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810944925,"filename":"image_10022025_14_02_18_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f3e3df93524a04f813a430a966dd173.jpg","text":"TemporaryFile(/tmp/multipartBody935729990009025674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810944925,"filename":"image_10022025_14_02_09_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6b76968fad731275fadd677bde72eed1.jpg","text":"TemporaryFile(/tmp/multipartBody8352491571055539218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810944925,"filename":"image_10022025_14_02_49_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/112f5c831767438eda5ded05187759f7.jpg","text":"TemporaryFile(/tmp/multipartBody7356809182148616703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810944925,"filename":"image_10022025_14_02_28_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9508ca0ced1b2957dab52b2a20bcccd2.jpg","text":"TemporaryFile(/tmp/multipartBody2889485996303214581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739810944925,"filename":"image_10022025_14_02_39_10794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338193202","file1":"1338193199","file0":"1338193186","file4":"1338193204","file5":"1338193207","file3":"1338193203"},"map_files_photo_id_array":[{"photo_id":"1338193207","filename":"file5"},{"photo_id":"1338193202","filename":"file2"},{"photo_id":"1338193204","filename":"file4"},{"photo_id":"1338193199","filename":"file1"},{"photo_id":"1338193186","filename":"file0"},{"photo_id":"1338193203","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338193186":["hashtag1","hashtag2"]},{"1338193204":["hashtag1","hashtag2"]},{"1338193207":["hashtag1","hashtag2"]},{"1338193199":["hashtag1","hashtag2"]},{"1338193203":["hashtag1","hashtag2"]},{"1338193202":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338193186, 1338193204, 1338193207, 1338193199, 1338193203, 1338193202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.078736543655396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:49:02.823134
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_59_10798.jpg', 0), ('/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_48_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_38_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_28_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_19_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_09_10787.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_59_10798.jpg', '/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_48_9787.jpg', '/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_38_9787.jpg', '/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_28_9787.jpg', '/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_19_9787.jpg', '/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_09_10787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_59_10798.jpg
/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_48_9787.jpg
/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_38_9787.jpg
/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_28_9787.jpg
/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_19_9787.jpg
/home/nano/Desktop/images/10022025/14/01/image_10022025_14_01_09_10787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338193249","1338193222","1338193230","1338193224","1338193244","1338193223"],"photo_ids_order":["1338193222","1338193223","1338193224","1338193230","1338193244","1338193249"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9cc94d3e0ba83acae153ce6b7518bbc8.jpg","text":"TemporaryFile(/tmp/multipartBody7273145789670251932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811006116,"filename":"image_10022025_14_01_09_10787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a3b83ca573314a2b5d079d421d6ce18.jpg","text":"TemporaryFile(/tmp/multipartBody4165715600413843894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811006116,"filename":"image_10022025_14_01_59_10798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2fe2b97cedb4c0d8c2234c1f415037f1.jpg","text":"TemporaryFile(/tmp/multipartBody5354113028417255976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811006116,"filename":"image_10022025_14_01_28_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/319f65f68ae695d9dc80c04fad9ac3da.jpg","text":"TemporaryFile(/tmp/multipartBody9201378754923033465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811006116,"filename":"image_10022025_14_01_38_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e59a839c91e771c213810c6cd17c35dc.jpg","text":"TemporaryFile(/tmp/multipartBody7564396055410270750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811006116,"filename":"image_10022025_14_01_19_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c12736d223b2f07bc3ca877dc8073f7.jpg","text":"TemporaryFile(/tmp/multipartBody3307858439089911779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811006116,"filename":"image_10022025_14_01_48_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338193224","file1":"1338193223","file0":"1338193222","file4":"1338193244","file5":"1338193249","file3":"1338193230"},"map_files_photo_id_array":[{"photo_id":"1338193249","filename":"file5"},{"photo_id":"1338193224","filename":"file2"},{"photo_id":"1338193244","filename":"file4"},{"photo_id":"1338193223","filename":"file1"},{"photo_id":"1338193222","filename":"file0"},{"photo_id":"1338193230","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338193249":["hashtag1","hashtag2"]},{"1338193222":["hashtag1","hashtag2"]},{"1338193230":["hashtag1","hashtag2"]},{"1338193224":["hashtag1","hashtag2"]},{"1338193244":["hashtag1","hashtag2"]},{"1338193223":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338193249, 1338193222, 1338193230, 1338193224, 1338193244, 1338193223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73749923706055 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:50:02.486195
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_58_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_48_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_38_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_29_9792.jpg', 0), ('/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_19_10799.jpg', 0), ('/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_08_9733.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_58_9785.jpg', '/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_48_9786.jpg', '/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_38_9789.jpg', '/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_29_9792.jpg', '/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_19_10799.jpg', '/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_08_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_58_9785.jpg
/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_48_9786.jpg
/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_38_9789.jpg
/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_29_9792.jpg
/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_19_10799.jpg
/home/nano/Desktop/images/10022025/14/00/image_10022025_14_00_08_9733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338193315","1338193300","1338193323","1338193317","1338193314","1338193316"],"photo_ids_order":["1338193300","1338193314","1338193315","1338193316","1338193317","1338193323"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/180f698de8d7edf332d7b27461a94d70.jpg","text":"TemporaryFile(/tmp/multipartBody8302538679134076641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811064807,"filename":"image_10022025_14_00_38_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d11596070d6e27c07185853f07ebb51f.jpg","text":"TemporaryFile(/tmp/multipartBody4834655561564721706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811064807,"filename":"image_10022025_14_00_58_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3795cbbfaa112ba0e38215f60eb36e64.jpg","text":"TemporaryFile(/tmp/multipartBody8320076238741343374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811064807,"filename":"image_10022025_14_00_08_9733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8924bd71de34a97ca174833ed0301012.jpg","text":"TemporaryFile(/tmp/multipartBody3007141760683743015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811064807,"filename":"image_10022025_14_00_19_10799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ec5fcc8e0843b19a9f56c3314982f5f.jpg","text":"TemporaryFile(/tmp/multipartBody8380802984077982232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811064807,"filename":"image_10022025_14_00_48_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80e1a1e9f1bfc3047e306a1d4ba0e231.jpg","text":"TemporaryFile(/tmp/multipartBody2105791366339033892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811064807,"filename":"image_10022025_14_00_29_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338193315","file1":"1338193314","file0":"1338193300","file4":"1338193317","file5":"1338193323","file3":"1338193316"},"map_files_photo_id_array":[{"photo_id":"1338193323","filename":"file5"},{"photo_id":"1338193315","filename":"file2"},{"photo_id":"1338193317","filename":"file4"},{"photo_id":"1338193314","filename":"file1"},{"photo_id":"1338193300","filename":"file0"},{"photo_id":"1338193316","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338193315":["hashtag1","hashtag2"]},{"1338193300":["hashtag1","hashtag2"]},{"1338193323":["hashtag1","hashtag2"]},{"1338193317":["hashtag1","hashtag2"]},{"1338193314":["hashtag1","hashtag2"]},{"1338193316":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338193315, 1338193300, 1338193323, 1338193317, 1338193314, 1338193316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41608262062073 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:51:02.753840
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_58_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_49_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_39_10688.jpg', 0), ('/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_28_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_18_9708.jpg', 0), ('/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_09_10726.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_58_9706.jpg', '/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_49_9726.jpg', '/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_39_10688.jpg', '/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_28_9691.jpg', '/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_18_9708.jpg', '/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_09_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_58_9706.jpg
/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_49_9726.jpg
/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_39_10688.jpg
/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_28_9691.jpg
/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_18_9708.jpg
/home/nano/Desktop/images/10022025/13/59/image_10022025_13_59_09_10726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338193424","1338193423","1338193417","1338193425","1338193428","1338193421"],"photo_ids_order":["1338193417","1338193421","1338193423","1338193424","1338193425","1338193428"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c418d5f33c9f2111ccd4821c1b0feea.jpg","text":"TemporaryFile(/tmp/multipartBody1889185478255121657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811125591,"filename":"image_10022025_13_59_28_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fafa32a1b1a8ab7057d8f576094adfad.jpg","text":"TemporaryFile(/tmp/multipartBody2260970692146691835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811125591,"filename":"image_10022025_13_59_39_10688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9416c2de289ca1e357e32c5994b4d3d7.jpg","text":"TemporaryFile(/tmp/multipartBody846090361134387052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811125591,"filename":"image_10022025_13_59_58_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/83e01c6ad9d132e5cb5ae51a7944343b.jpg","text":"TemporaryFile(/tmp/multipartBody2564353286143948262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811125591,"filename":"image_10022025_13_59_18_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c439153847bc6eb1fd6ad45c05cd842b.jpg","text":"TemporaryFile(/tmp/multipartBody3925139645202946796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811125591,"filename":"image_10022025_13_59_09_10726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eaea6949692e8ed893aceb689175ea3d.jpg","text":"TemporaryFile(/tmp/multipartBody1041724140903013863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811125591,"filename":"image_10022025_13_59_49_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338193423","file1":"1338193421","file0":"1338193417","file4":"1338193425","file5":"1338193428","file3":"1338193424"},"map_files_photo_id_array":[{"photo_id":"1338193428","filename":"file5"},{"photo_id":"1338193423","filename":"file2"},{"photo_id":"1338193425","filename":"file4"},{"photo_id":"1338193421","filename":"file1"},{"photo_id":"1338193417","filename":"file0"},{"photo_id":"1338193424","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338193424":["hashtag1","hashtag2"]},{"1338193423":["hashtag1","hashtag2"]},{"1338193417":["hashtag1","hashtag2"]},{"1338193425":["hashtag1","hashtag2"]},{"1338193428":["hashtag1","hashtag2"]},{"1338193421":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338193424, 1338193423, 1338193417, 1338193425, 1338193428, 1338193421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09652256965637 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:52:02.969208
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_58_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_48_9709.jpg', 0), ('/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_39_10711.jpg', 0), ('/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_28_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_18_9720.jpg', 0), ('/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_09_9712.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_58_9716.jpg', '/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_48_9709.jpg', '/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_39_10711.jpg', '/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_28_9698.jpg', '/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_18_9720.jpg', '/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_09_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_58_9716.jpg
/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_48_9709.jpg
/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_39_10711.jpg
/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_28_9698.jpg
/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_18_9720.jpg
/home/nano/Desktop/images/10022025/13/58/image_10022025_13_58_09_9712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338193672","1338193462","1338193525","1338193464","1338193598","1338193463"],"photo_ids_order":["1338193462","1338193463","1338193464","1338193525","1338193598","1338193672"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b2f15e26c97c389d989a7a7be6c482a.jpg","text":"TemporaryFile(/tmp/multipartBody515524146356740714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811188571,"filename":"image_10022025_13_58_09_9712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/11870932ca538cce2169eebf4784ec67.jpg","text":"TemporaryFile(/tmp/multipartBody3253142978645881377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811188571,"filename":"image_10022025_13_58_58_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fd1d423811daee5ec50e02452eb3b5f1.jpg","text":"TemporaryFile(/tmp/multipartBody5528068341180849137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811188571,"filename":"image_10022025_13_58_28_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1fb905bec02183224120fc3d414a3a2d.jpg","text":"TemporaryFile(/tmp/multipartBody825854551286320933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811188571,"filename":"image_10022025_13_58_39_10711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c16b3ca8d7085def1257e56fa4133100.jpg","text":"TemporaryFile(/tmp/multipartBody3665355992907036559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811188571,"filename":"image_10022025_13_58_18_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e04cde2b09f59183b7e9d2bf66781801.jpg","text":"TemporaryFile(/tmp/multipartBody4260937241107537783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811188571,"filename":"image_10022025_13_58_48_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338193464","file1":"1338193463","file0":"1338193462","file4":"1338193598","file5":"1338193672","file3":"1338193525"},"map_files_photo_id_array":[{"photo_id":"1338193672","filename":"file5"},{"photo_id":"1338193464","filename":"file2"},{"photo_id":"1338193598","filename":"file4"},{"photo_id":"1338193463","filename":"file1"},{"photo_id":"1338193462","filename":"file0"},{"photo_id":"1338193525","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338193672":["hashtag1","hashtag2"]},{"1338193462":["hashtag1","hashtag2"]},{"1338193525":["hashtag1","hashtag2"]},{"1338193464":["hashtag1","hashtag2"]},{"1338193598":["hashtag1","hashtag2"]},{"1338193463":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338193672, 1338193462, 1338193525, 1338193464, 1338193598, 1338193463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09992575645447 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:53:03.300999
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_59_10679.jpg', 0), ('/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_48_9715.jpg', 0), ('/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_38_9677.jpg', 0), ('/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_29_10711.jpg', 0), ('/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_18_9704.jpg', 0), ('/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_08_9730.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_59_10679.jpg', '/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_48_9715.jpg', '/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_38_9677.jpg', '/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_29_10711.jpg', '/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_18_9704.jpg', '/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_08_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_59_10679.jpg
/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_48_9715.jpg
/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_38_9677.jpg
/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_29_10711.jpg
/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_18_9704.jpg
/home/nano/Desktop/images/10022025/13/57/image_10022025_13_57_08_9730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338193864","1338193861","1338193860","1338193863","1338193866","1338193862"],"photo_ids_order":["1338193860","1338193861","1338193862","1338193863","1338193864","1338193866"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ee5e6dd35bc9f79d4fef25ab0539e9e.jpg","text":"TemporaryFile(/tmp/multipartBody6388490734129835495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811245492,"filename":"image_10022025_13_57_18_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f60bf33b3275ded8561f9a231304a349.jpg","text":"TemporaryFile(/tmp/multipartBody5622841639504761884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811245492,"filename":"image_10022025_13_57_48_9715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b6b662e5a8fef1d6f0bd53bf4319c0c.jpg","text":"TemporaryFile(/tmp/multipartBody4973081403788346155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811245492,"filename":"image_10022025_13_57_59_10679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d093109c198485670fe92147dbc55cf3.jpg","text":"TemporaryFile(/tmp/multipartBody2567879989630171340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811245492,"filename":"image_10022025_13_57_29_10711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2b31198ae3a11184dfa431345cdff96.jpg","text":"TemporaryFile(/tmp/multipartBody5148285038884878939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811245492,"filename":"image_10022025_13_57_08_9730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8a63814c383b8f1fedb1eb1f69964ae.jpg","text":"TemporaryFile(/tmp/multipartBody4737772143392873758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811245492,"filename":"image_10022025_13_57_38_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338193862","file1":"1338193861","file0":"1338193860","file4":"1338193864","file5":"1338193866","file3":"1338193863"},"map_files_photo_id_array":[{"photo_id":"1338193866","filename":"file5"},{"photo_id":"1338193862","filename":"file2"},{"photo_id":"1338193864","filename":"file4"},{"photo_id":"1338193861","filename":"file1"},{"photo_id":"1338193860","filename":"file0"},{"photo_id":"1338193863","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338193864":["hashtag1","hashtag2"]},{"1338193861":["hashtag1","hashtag2"]},{"1338193860":["hashtag1","hashtag2"]},{"1338193863":["hashtag1","hashtag2"]},{"1338193866":["hashtag1","hashtag2"]},{"1338193862":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338193864, 1338193861, 1338193860, 1338193863, 1338193866, 1338193862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35603952407837 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:54:02.491006
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_59_9686.jpg', 0), ('/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_49_10695.jpg', 0), ('/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_38_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_28_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_19_10654.jpg', 0), ('/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_08_9690.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_59_9686.jpg', '/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_49_10695.jpg', '/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_38_9695.jpg', '/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_28_9706.jpg', '/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_19_10654.jpg', '/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_08_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_59_9686.jpg
/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_49_10695.jpg
/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_38_9695.jpg
/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_28_9706.jpg
/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_19_10654.jpg
/home/nano/Desktop/images/10022025/13/56/image_10022025_13_56_08_9690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338193882","1338193879","1338193881","1338193886","1338193889","1338193883"],"photo_ids_order":["1338193879","1338193881","1338193882","1338193883","1338193886","1338193889"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98e19726ee412f029e2e73e76a471890.jpg","text":"TemporaryFile(/tmp/multipartBody4319230464404292191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811304907,"filename":"image_10022025_13_56_38_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e49274b0e9012b87abc6c367b3113f9.jpg","text":"TemporaryFile(/tmp/multipartBody6555011569024553925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811304907,"filename":"image_10022025_13_56_59_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75f04866a4cd061e978b4c37d73fac53.jpg","text":"TemporaryFile(/tmp/multipartBody6733103791538739227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811304907,"filename":"image_10022025_13_56_49_10695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/25329023e8c2fd5746e6895ddfdda127.jpg","text":"TemporaryFile(/tmp/multipartBody1251506383313510486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811304907,"filename":"image_10022025_13_56_19_10654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/444006957b70b24e4a5ad8885e8da984.jpg","text":"TemporaryFile(/tmp/multipartBody3592057296526700504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811304907,"filename":"image_10022025_13_56_08_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac4022cc1b95c7a021adafc13a12b560.jpg","text":"TemporaryFile(/tmp/multipartBody6543658431061618076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811304907,"filename":"image_10022025_13_56_28_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338193882","file1":"1338193881","file0":"1338193879","file4":"1338193886","file5":"1338193889","file3":"1338193883"},"map_files_photo_id_array":[{"photo_id":"1338193889","filename":"file5"},{"photo_id":"1338193882","filename":"file2"},{"photo_id":"1338193886","filename":"file4"},{"photo_id":"1338193881","filename":"file1"},{"photo_id":"1338193879","filename":"file0"},{"photo_id":"1338193883","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338193882":["hashtag1","hashtag2"]},{"1338193879":["hashtag1","hashtag2"]},{"1338193881":["hashtag1","hashtag2"]},{"1338193886":["hashtag1","hashtag2"]},{"1338193889":["hashtag1","hashtag2"]},{"1338193883":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338193882, 1338193879, 1338193881, 1338193886, 1338193889, 1338193883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0449001789093 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:55:02.279467
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_58_9690.jpg', 0), ('/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_49_10712.jpg', 0), ('/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_38_9720.jpg', 0), ('/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_28_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_19_10716.jpg', 0), ('/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_08_9715.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_58_9690.jpg', '/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_49_10712.jpg', '/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_38_9720.jpg', '/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_28_9697.jpg', '/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_19_10716.jpg', '/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_08_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_58_9690.jpg
/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_49_10712.jpg
/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_38_9720.jpg
/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_28_9697.jpg
/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_19_10716.jpg
/home/nano/Desktop/images/10022025/13/55/image_10022025_13_55_08_9715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338194050","1338194026","1338193966","1338194031","1338194028","1338193967"],"photo_ids_order":["1338193966","1338193967","1338194026","1338194028","1338194031","1338194050"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/730c25d90e3e58775beaac28b7bd1df0.jpg","text":"TemporaryFile(/tmp/multipartBody418535996870055459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811364497,"filename":"image_10022025_13_55_08_9715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aa0ed01c980341fbae10416c77843497.jpg","text":"TemporaryFile(/tmp/multipartBody6079124161021515525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811364497,"filename":"image_10022025_13_55_38_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9574e885fc3e56c7536b267a4fe6f6ab.jpg","text":"TemporaryFile(/tmp/multipartBody8606756807409113746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811364497,"filename":"image_10022025_13_55_58_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2e07e2d6565d421da9f394cdf1a3ac3.jpg","text":"TemporaryFile(/tmp/multipartBody2240101672629604615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811364497,"filename":"image_10022025_13_55_19_10716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e62abe470a0df7db41421024fd8915e.jpg","text":"TemporaryFile(/tmp/multipartBody5199052204236075487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811364497,"filename":"image_10022025_13_55_28_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7dc0b5415b2d5b90871c59772a8f1dc2.jpg","text":"TemporaryFile(/tmp/multipartBody1908347149328444243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811364497,"filename":"image_10022025_13_55_49_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338194026","file1":"1338193967","file0":"1338193966","file4":"1338194031","file5":"1338194050","file3":"1338194028"},"map_files_photo_id_array":[{"photo_id":"1338194050","filename":"file5"},{"photo_id":"1338194026","filename":"file2"},{"photo_id":"1338194031","filename":"file4"},{"photo_id":"1338193967","filename":"file1"},{"photo_id":"1338193966","filename":"file0"},{"photo_id":"1338194028","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338194050":["hashtag1","hashtag2"]},{"1338194026":["hashtag1","hashtag2"]},{"1338193966":["hashtag1","hashtag2"]},{"1338194031":["hashtag1","hashtag2"]},{"1338194028":["hashtag1","hashtag2"]},{"1338193967":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338194050, 1338194026, 1338193966, 1338194031, 1338194028, 1338193967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73897981643677 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:56:02.561848
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_58_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_48_9683.jpg', 0), ('/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_39_10724.jpg', 0), ('/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_28_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_18_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_09_10740.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_58_9721.jpg', '/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_48_9683.jpg', '/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_39_10724.jpg', '/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_28_9693.jpg', '/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_18_9719.jpg', '/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_09_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_58_9721.jpg
/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_48_9683.jpg
/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_39_10724.jpg
/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_28_9693.jpg
/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_18_9719.jpg
/home/nano/Desktop/images/10022025/13/54/image_10022025_13_54_09_10740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338194224","1338194221","1338194229","1338194223","1338194226","1338194225"],"photo_ids_order":["1338194221","1338194223","1338194224","1338194225","1338194226","1338194229"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ea7a34863e623027decf2fbca0c035f.jpg","text":"TemporaryFile(/tmp/multipartBody1294388680363973122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811424770,"filename":"image_10022025_13_54_39_10724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/45630ac634e47a416e1fcdc8eed44fa7.jpg","text":"TemporaryFile(/tmp/multipartBody7239372498233044502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811424770,"filename":"image_10022025_13_54_58_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50142fb5832fcfcfe510f29d49093753.jpg","text":"TemporaryFile(/tmp/multipartBody8210761985902892692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811424770,"filename":"image_10022025_13_54_09_10740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a8b6f3ff9943fc052fc945c7db32606.jpg","text":"TemporaryFile(/tmp/multipartBody4878554975311822493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811424770,"filename":"image_10022025_13_54_48_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99bc56b5c0f1e7972223a9697a78e3ee.jpg","text":"TemporaryFile(/tmp/multipartBody3402230887374947292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811424770,"filename":"image_10022025_13_54_18_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a9b0bf8e420fa8ae22b46c08ee9fbb76.jpg","text":"TemporaryFile(/tmp/multipartBody8043908546680361329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811424770,"filename":"image_10022025_13_54_28_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338194224","file1":"1338194223","file0":"1338194221","file4":"1338194226","file5":"1338194229","file3":"1338194225"},"map_files_photo_id_array":[{"photo_id":"1338194229","filename":"file5"},{"photo_id":"1338194224","filename":"file2"},{"photo_id":"1338194226","filename":"file4"},{"photo_id":"1338194223","filename":"file1"},{"photo_id":"1338194221","filename":"file0"},{"photo_id":"1338194225","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338194224":["hashtag1","hashtag2"]},{"1338194221":["hashtag1","hashtag2"]},{"1338194229":["hashtag1","hashtag2"]},{"1338194223":["hashtag1","hashtag2"]},{"1338194226":["hashtag1","hashtag2"]},{"1338194225":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338194224, 1338194221, 1338194229, 1338194223, 1338194226, 1338194225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59979724884033 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:57:02.708276
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_58_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_48_9685.jpg', 0), ('/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_39_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_29_10705.jpg', 0), ('/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_18_9729.jpg', 0), ('/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_08_9706.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_58_9721.jpg', '/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_48_9685.jpg', '/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_39_9699.jpg', '/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_29_10705.jpg', '/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_18_9729.jpg', '/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_08_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_58_9721.jpg
/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_48_9685.jpg
/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_39_9699.jpg
/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_29_10705.jpg
/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_18_9729.jpg
/home/nano/Desktop/images/10022025/13/53/image_10022025_13_53_08_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338194251","1338194245","1338194248","1338194247","1338194244","1338194246"],"photo_ids_order":["1338194244","1338194245","1338194246","1338194247","1338194248","1338194251"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c856e0272298357633e11078509d093.jpg","text":"TemporaryFile(/tmp/multipartBody2620652552536155950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811485548,"filename":"image_10022025_13_53_08_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21d495db82000477354a189ff368a504.jpg","text":"TemporaryFile(/tmp/multipartBody7920668508915175153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811485548,"filename":"image_10022025_13_53_48_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a9d977e0fe9c3445f6d68bbe0a461ba.jpg","text":"TemporaryFile(/tmp/multipartBody6917075491893075325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811485548,"filename":"image_10022025_13_53_18_9729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a09fed717de4c5bfc937e1ecf2a535b.jpg","text":"TemporaryFile(/tmp/multipartBody4326003383255086121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811485548,"filename":"image_10022025_13_53_29_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac9387031806bb7d9a0245194d79f772.jpg","text":"TemporaryFile(/tmp/multipartBody8492006030194870478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811485548,"filename":"image_10022025_13_53_58_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/47b59af536d0e1c22d4eff2b210b1d0b.jpg","text":"TemporaryFile(/tmp/multipartBody770087265849494909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811485548,"filename":"image_10022025_13_53_39_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338194246","file1":"1338194245","file0":"1338194244","file4":"1338194248","file5":"1338194251","file3":"1338194247"},"map_files_photo_id_array":[{"photo_id":"1338194251","filename":"file5"},{"photo_id":"1338194246","filename":"file2"},{"photo_id":"1338194248","filename":"file4"},{"photo_id":"1338194245","filename":"file1"},{"photo_id":"1338194244","filename":"file0"},{"photo_id":"1338194247","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338194251":["hashtag1","hashtag2"]},{"1338194245":["hashtag1","hashtag2"]},{"1338194248":["hashtag1","hashtag2"]},{"1338194247":["hashtag1","hashtag2"]},{"1338194244":["hashtag1","hashtag2"]},{"1338194246":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338194251, 1338194245, 1338194248, 1338194247, 1338194244, 1338194246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8634078502655 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:58:02.859107
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_59_10664.jpg', 0), ('/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_48_9647.jpg', 0), ('/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_38_9683.jpg', 0), ('/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_29_10722.jpg', 0), ('/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_18_9686.jpg', 0), ('/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_08_9765.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_59_10664.jpg', '/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_48_9647.jpg', '/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_38_9683.jpg', '/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_29_10722.jpg', '/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_18_9686.jpg', '/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_08_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_59_10664.jpg
/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_48_9647.jpg
/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_38_9683.jpg
/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_29_10722.jpg
/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_18_9686.jpg
/home/nano/Desktop/images/10022025/13/52/image_10022025_13_52_08_9765.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338194271","1338194268","1338194270","1338194267","1338194272","1338194269"],"photo_ids_order":["1338194267","1338194268","1338194269","1338194270","1338194271","1338194272"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/144a80f35896cf23a212a5e102273ab3.jpg","text":"TemporaryFile(/tmp/multipartBody5224923693711976279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811546259,"filename":"image_10022025_13_52_18_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/454e16c9ff8db5b6466976d1b7fe0bc1.jpg","text":"TemporaryFile(/tmp/multipartBody5984759804923310273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811546259,"filename":"image_10022025_13_52_48_9647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9630100849820183fc79ee7482b3942d.jpg","text":"TemporaryFile(/tmp/multipartBody8311836602840593008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811546259,"filename":"image_10022025_13_52_29_10722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be10f71f409a4de11c4acf272bd9c48e.jpg","text":"TemporaryFile(/tmp/multipartBody6648948194951644188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811546259,"filename":"image_10022025_13_52_59_10664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e2959e6e9545b9610218d7202fa9bb98.jpg","text":"TemporaryFile(/tmp/multipartBody3745885960604603194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811546259,"filename":"image_10022025_13_52_08_9765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/786714343af94d6a6f6256510d3adfb6.jpg","text":"TemporaryFile(/tmp/multipartBody2000172041733765094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811546259,"filename":"image_10022025_13_52_38_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338194269","file1":"1338194268","file0":"1338194267","file4":"1338194271","file5":"1338194272","file3":"1338194270"},"map_files_photo_id_array":[{"photo_id":"1338194272","filename":"file5"},{"photo_id":"1338194269","filename":"file2"},{"photo_id":"1338194271","filename":"file4"},{"photo_id":"1338194268","filename":"file1"},{"photo_id":"1338194267","filename":"file0"},{"photo_id":"1338194270","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338194271":["hashtag1","hashtag2"]},{"1338194268":["hashtag1","hashtag2"]},{"1338194270":["hashtag1","hashtag2"]},{"1338194267":["hashtag1","hashtag2"]},{"1338194272":["hashtag1","hashtag2"]},{"1338194269":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338194271, 1338194268, 1338194270, 1338194267, 1338194272, 1338194269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85232853889465 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 17:59:02.920570
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_59_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_49_10705.jpg', 0), ('/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_38_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_28_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_19_10700.jpg', 0), ('/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_08_9663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_59_9695.jpg', '/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_49_10705.jpg', '/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_38_9713.jpg', '/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_28_9714.jpg', '/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_19_10700.jpg', '/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_08_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_59_9695.jpg
/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_49_10705.jpg
/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_38_9713.jpg
/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_28_9714.jpg
/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_19_10700.jpg
/home/nano/Desktop/images/10022025/13/51/image_10022025_13_51_08_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338194314","1338194328","1338194322","1338194331","1338194325","1338194318"],"photo_ids_order":["1338194314","1338194318","1338194322","1338194325","1338194328","1338194331"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00f49712238cc0d68f68ef7233991a45.jpg","text":"TemporaryFile(/tmp/multipartBody387971062612939948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811605161,"filename":"image_10022025_13_51_59_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4173e48c091a714805240c2b7a6b1c1.jpg","text":"TemporaryFile(/tmp/multipartBody6625078215729039639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811605161,"filename":"image_10022025_13_51_19_10700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3fd939917a70464794fc29dd41a6aca3.jpg","text":"TemporaryFile(/tmp/multipartBody7579046152627005877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811605161,"filename":"image_10022025_13_51_38_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/20064ef868017402d6072dfb516ccc59.jpg","text":"TemporaryFile(/tmp/multipartBody8783021123876399305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811605161,"filename":"image_10022025_13_51_08_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a34e141d523ddbb7f5f1ad1d154d4f2.jpg","text":"TemporaryFile(/tmp/multipartBody6604188713144224652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811605161,"filename":"image_10022025_13_51_28_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a514842bcd6966b099fc11b9fe9624ac.jpg","text":"TemporaryFile(/tmp/multipartBody4653954431270522265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811605161,"filename":"image_10022025_13_51_49_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338194322","file1":"1338194318","file0":"1338194314","file4":"1338194328","file5":"1338194331","file3":"1338194325"},"map_files_photo_id_array":[{"photo_id":"1338194331","filename":"file5"},{"photo_id":"1338194322","filename":"file2"},{"photo_id":"1338194328","filename":"file4"},{"photo_id":"1338194318","filename":"file1"},{"photo_id":"1338194314","filename":"file0"},{"photo_id":"1338194325","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338194314":["hashtag1","hashtag2"]},{"1338194328":["hashtag1","hashtag2"]},{"1338194322":["hashtag1","hashtag2"]},{"1338194331":["hashtag1","hashtag2"]},{"1338194325":["hashtag1","hashtag2"]},{"1338194318":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338194314, 1338194328, 1338194322, 1338194331, 1338194325, 1338194318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.406267404556274 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:00:02.746448
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_58_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_49_10711.jpg', 0), ('/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_38_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_28_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_18_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_09_10756.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_58_9698.jpg', '/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_49_10711.jpg', '/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_38_9698.jpg', '/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_28_9693.jpg', '/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_18_9692.jpg', '/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_09_10756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_58_9698.jpg
/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_49_10711.jpg
/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_38_9698.jpg
/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_28_9693.jpg
/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_18_9692.jpg
/home/nano/Desktop/images/10022025/13/50/image_10022025_13_50_09_10756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338194356","1338194635","1338194439","1338194357","1338194351","1338194354"],"photo_ids_order":["1338194351","1338194354","1338194356","1338194357","1338194439","1338194635"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6bc4dc7f6a950efe544eb6333e3e3ad5.jpg","text":"TemporaryFile(/tmp/multipartBody6570240787060277862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811664992,"filename":"image_10022025_13_50_38_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dde88c805f1e142b45756dfecc2aaf1d.jpg","text":"TemporaryFile(/tmp/multipartBody4055701715362116852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811664992,"filename":"image_10022025_13_50_09_10756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b037a51dcab5a21bfcd7c1c23beafb5.jpg","text":"TemporaryFile(/tmp/multipartBody7272286587800521393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811664992,"filename":"image_10022025_13_50_18_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8daff34db4c099becf55d8e2fe8233c9.jpg","text":"TemporaryFile(/tmp/multipartBody54974464384147699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811664992,"filename":"image_10022025_13_50_28_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae81e2c07325e17cb6f148f1a8895e7a.jpg","text":"TemporaryFile(/tmp/multipartBody3468617649613620298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811664992,"filename":"image_10022025_13_50_58_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ddc0422441efce0eb34cc2e03544685d.jpg","text":"TemporaryFile(/tmp/multipartBody1890372300537061852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811664992,"filename":"image_10022025_13_50_49_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338194356","file1":"1338194354","file0":"1338194351","file4":"1338194439","file5":"1338194635","file3":"1338194357"},"map_files_photo_id_array":[{"photo_id":"1338194635","filename":"file5"},{"photo_id":"1338194356","filename":"file2"},{"photo_id":"1338194439","filename":"file4"},{"photo_id":"1338194354","filename":"file1"},{"photo_id":"1338194351","filename":"file0"},{"photo_id":"1338194357","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338194356":["hashtag1","hashtag2"]},{"1338194635":["hashtag1","hashtag2"]},{"1338194439":["hashtag1","hashtag2"]},{"1338194357":["hashtag1","hashtag2"]},{"1338194351":["hashtag1","hashtag2"]},{"1338194354":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338194356, 1338194635, 1338194439, 1338194357, 1338194351, 1338194354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.236912965774536 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:01:03.038168
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_58_9678.jpg', 0), ('/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_48_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_39_10686.jpg', 0), ('/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_28_9679.jpg', 0), ('/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_18_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_09_10693.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_58_9678.jpg', '/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_48_9687.jpg', '/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_39_10686.jpg', '/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_28_9679.jpg', '/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_18_9692.jpg', '/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_09_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_58_9678.jpg
/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_48_9687.jpg
/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_39_10686.jpg
/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_28_9679.jpg
/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_18_9692.jpg
/home/nano/Desktop/images/10022025/13/49/image_10022025_13_49_09_10693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338195363","1338195252","1338195398","1338195251","1338195397","1338195401"],"photo_ids_order":["1338195251","1338195252","1338195363","1338195397","1338195398","1338195401"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f7761102f3d779e04f6cbfed0a42cfd.jpg","text":"TemporaryFile(/tmp/multipartBody6286215739448624655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811725925,"filename":"image_10022025_13_49_39_10686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46a304bd1410a915d8fef8c38d679b11.jpg","text":"TemporaryFile(/tmp/multipartBody3987671112310640029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811725925,"filename":"image_10022025_13_49_48_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/077a18718f50d8aa24fba1a05e327859.jpg","text":"TemporaryFile(/tmp/multipartBody4761944033923755237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811725925,"filename":"image_10022025_13_49_18_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ffa035c93465b41a76adaff761c4fc4.jpg","text":"TemporaryFile(/tmp/multipartBody5012464639646166984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811725925,"filename":"image_10022025_13_49_58_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/080afbf6abea8e7fb104000e2e2d754d.jpg","text":"TemporaryFile(/tmp/multipartBody377834683548528063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811725925,"filename":"image_10022025_13_49_28_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1544db8fe3c76194f79f9d5c09b4fc96.jpg","text":"TemporaryFile(/tmp/multipartBody8405355317644116826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811725925,"filename":"image_10022025_13_49_09_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338195363","file1":"1338195252","file0":"1338195251","file4":"1338195398","file5":"1338195401","file3":"1338195397"},"map_files_photo_id_array":[{"photo_id":"1338195401","filename":"file5"},{"photo_id":"1338195363","filename":"file2"},{"photo_id":"1338195398","filename":"file4"},{"photo_id":"1338195252","filename":"file1"},{"photo_id":"1338195251","filename":"file0"},{"photo_id":"1338195397","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338195363":["hashtag1","hashtag2"]},{"1338195252":["hashtag1","hashtag2"]},{"1338195398":["hashtag1","hashtag2"]},{"1338195251":["hashtag1","hashtag2"]},{"1338195397":["hashtag1","hashtag2"]},{"1338195401":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338195363, 1338195252, 1338195398, 1338195251, 1338195397, 1338195401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50505065917969 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:02:03.154611
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_58_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_48_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_39_9739.jpg', 0), ('/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_29_10690.jpg', 0), ('/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_18_9720.jpg', 0), ('/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_08_9689.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_58_9695.jpg', '/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_48_9691.jpg', '/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_39_9739.jpg', '/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_29_10690.jpg', '/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_18_9720.jpg', '/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_08_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_58_9695.jpg
/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_48_9691.jpg
/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_39_9739.jpg
/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_29_10690.jpg
/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_18_9720.jpg
/home/nano/Desktop/images/10022025/13/48/image_10022025_13_48_08_9689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338195519","1338195617","1338195530","1338195518","1338195512","1338195706"],"photo_ids_order":["1338195512","1338195518","1338195519","1338195530","1338195617","1338195706"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87249669b62232682ffdf8e8b451ae75.jpg","text":"TemporaryFile(/tmp/multipartBody6491121374179320585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811786189,"filename":"image_10022025_13_48_39_9739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/61aadef2080c5921e133df62dd0700b3.jpg","text":"TemporaryFile(/tmp/multipartBody1941640307587553520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811786189,"filename":"image_10022025_13_48_18_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab9e4b4dde4013e1340321f46b9c6130.jpg","text":"TemporaryFile(/tmp/multipartBody7606626266608916529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811786189,"filename":"image_10022025_13_48_29_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99cca5c891694958a3be059744af9c07.jpg","text":"TemporaryFile(/tmp/multipartBody7789463705069426566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811786189,"filename":"image_10022025_13_48_48_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/791e0b9fe291861a711725ba94d67088.jpg","text":"TemporaryFile(/tmp/multipartBody6180839383788759125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811786189,"filename":"image_10022025_13_48_58_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eec89fdfd1b41fd7373384b330a3cfe8.jpg","text":"TemporaryFile(/tmp/multipartBody8241090019112006076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811786189,"filename":"image_10022025_13_48_08_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338195519","file1":"1338195518","file0":"1338195512","file4":"1338195617","file5":"1338195706","file3":"1338195530"},"map_files_photo_id_array":[{"photo_id":"1338195706","filename":"file5"},{"photo_id":"1338195519","filename":"file2"},{"photo_id":"1338195617","filename":"file4"},{"photo_id":"1338195518","filename":"file1"},{"photo_id":"1338195512","filename":"file0"},{"photo_id":"1338195530","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338195519":["hashtag1","hashtag2"]},{"1338195617":["hashtag1","hashtag2"]},{"1338195530":["hashtag1","hashtag2"]},{"1338195518":["hashtag1","hashtag2"]},{"1338195512":["hashtag1","hashtag2"]},{"1338195706":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338195519, 1338195617, 1338195530, 1338195518, 1338195512, 1338195706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.758344888687134 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:03:02.325059
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_59_10713.jpg', 0), ('/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_48_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_38_9688.jpg', 0), ('/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_29_9711.jpg', 0), ('/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_19_10728.jpg', 0), ('/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_08_9675.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_59_10713.jpg', '/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_48_9726.jpg', '/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_38_9688.jpg', '/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_29_9711.jpg', '/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_19_10728.jpg', '/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_08_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_59_10713.jpg
/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_48_9726.jpg
/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_38_9688.jpg
/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_29_9711.jpg
/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_19_10728.jpg
/home/nano/Desktop/images/10022025/13/47/image_10022025_13_47_08_9675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338196233","1338196382","1338196235","1338196409","1338196387","1338196386"],"photo_ids_order":["1338196233","1338196235","1338196382","1338196386","1338196387","1338196409"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/110d3fedcab815e234f3c66dfe89d7cc.jpg","text":"TemporaryFile(/tmp/multipartBody953688981154394621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811845038,"filename":"image_10022025_13_47_59_10713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5cbf57a0fdd11c793f9dc11b46bda689.jpg","text":"TemporaryFile(/tmp/multipartBody2898224853631291033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811845038,"filename":"image_10022025_13_47_38_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e88e61ca1a964ed99712bb6ae31cb517.jpg","text":"TemporaryFile(/tmp/multipartBody6715784448432163893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811845038,"filename":"image_10022025_13_47_48_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f68e2d92b361920ec3ab00315e34dfab.jpg","text":"TemporaryFile(/tmp/multipartBody6885615350209860401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811845038,"filename":"image_10022025_13_47_08_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c5a754a4588f49b103d127ac3ad3aeb.jpg","text":"TemporaryFile(/tmp/multipartBody1593108035095566160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811845038,"filename":"image_10022025_13_47_19_10728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cdf496fa1984207b4bf0611f60deca7.jpg","text":"TemporaryFile(/tmp/multipartBody2297497843199489533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811845038,"filename":"image_10022025_13_47_29_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338196382","file1":"1338196235","file0":"1338196233","file4":"1338196387","file5":"1338196409","file3":"1338196386"},"map_files_photo_id_array":[{"photo_id":"1338196409","filename":"file5"},{"photo_id":"1338196382","filename":"file2"},{"photo_id":"1338196387","filename":"file4"},{"photo_id":"1338196235","filename":"file1"},{"photo_id":"1338196233","filename":"file0"},{"photo_id":"1338196386","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338196233":["hashtag1","hashtag2"]},{"1338196382":["hashtag1","hashtag2"]},{"1338196235":["hashtag1","hashtag2"]},{"1338196409":["hashtag1","hashtag2"]},{"1338196387":["hashtag1","hashtag2"]},{"1338196386":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338196233, 1338196382, 1338196235, 1338196409, 1338196387, 1338196386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.476009607315063 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:04:02.602706
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_58_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_49_10733.jpg', 0), ('/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_38_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_28_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_19_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_08_9712.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_58_9718.jpg', '/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_49_10733.jpg', '/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_38_9692.jpg', '/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_28_9687.jpg', '/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_19_10717.jpg', '/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_08_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_58_9718.jpg
/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_49_10733.jpg
/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_38_9692.jpg
/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_28_9687.jpg
/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_19_10717.jpg
/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_08_9712.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3925347328186035 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:04:32.052987
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_58_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_49_10733.jpg', 0), ('/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_38_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_28_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_19_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_08_9712.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_58_9718.jpg', '/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_49_10733.jpg', '/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_38_9692.jpg', '/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_28_9687.jpg', '/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_19_10717.jpg', '/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_08_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_58_9718.jpg
/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_49_10733.jpg
/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_38_9692.jpg
/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_28_9687.jpg
/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_19_10717.jpg
/home/nano/Desktop/images/10022025/13/46/image_10022025_13_46_08_9712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338196500","1338196498","1338196492","1338196495","1338196489","1338196501"],"photo_ids_order":["1338196489","1338196492","1338196495","1338196498","1338196500","1338196501"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0536008612287213494b7e3be235b5f.jpg","text":"TemporaryFile(/tmp/multipartBody433770698800798427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811934677,"filename":"image_10022025_13_46_19_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/637d159ffc2dbd917a7a0f1fa5b161b9.jpg","text":"TemporaryFile(/tmp/multipartBody7694287376782051219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811934677,"filename":"image_10022025_13_46_28_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/516bc8728540f229a0090fef5f441d54.jpg","text":"TemporaryFile(/tmp/multipartBody2305182579374002023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811934677,"filename":"image_10022025_13_46_49_10733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8d4088642735e304fe8769c82bb386a.jpg","text":"TemporaryFile(/tmp/multipartBody465333676522136077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811934677,"filename":"image_10022025_13_46_38_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dae53c3d794576ca977f27333ba16892.jpg","text":"TemporaryFile(/tmp/multipartBody8975755867348085418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811934677,"filename":"image_10022025_13_46_58_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb90d24fc8f00ec797eef8bb2149b2e4.jpg","text":"TemporaryFile(/tmp/multipartBody9109731984928147063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811934677,"filename":"image_10022025_13_46_08_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338196495","file1":"1338196492","file0":"1338196489","file4":"1338196500","file5":"1338196501","file3":"1338196498"},"map_files_photo_id_array":[{"photo_id":"1338196501","filename":"file5"},{"photo_id":"1338196495","filename":"file2"},{"photo_id":"1338196500","filename":"file4"},{"photo_id":"1338196492","filename":"file1"},{"photo_id":"1338196489","filename":"file0"},{"photo_id":"1338196498","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338196500":["hashtag1","hashtag2"]},{"1338196498":["hashtag1","hashtag2"]},{"1338196492":["hashtag1","hashtag2"]},{"1338196495":["hashtag1","hashtag2"]},{"1338196489":["hashtag1","hashtag2"]},{"1338196501":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338196500, 1338196498, 1338196492, 1338196495, 1338196489, 1338196501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.424803733825684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:05:32.205662
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_58_9683.jpg', 0), ('/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_49_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_39_10694.jpg', 0), ('/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_28_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_18_9654.jpg', 0), ('/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_09_10724.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_58_9683.jpg', '/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_49_9714.jpg', '/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_39_10694.jpg', '/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_28_9693.jpg', '/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_18_9654.jpg', '/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_09_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_58_9683.jpg
/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_49_9714.jpg
/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_39_10694.jpg
/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_28_9693.jpg
/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_18_9654.jpg
/home/nano/Desktop/images/10022025/13/45/image_10022025_13_45_09_10724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338197150","1338197153","1338196922","1338197155","1338197148","1338196587"],"photo_ids_order":["1338196587","1338196922","1338197148","1338197150","1338197153","1338197155"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4662b7058dde220a5f07d08e9408fb0e.jpg","text":"TemporaryFile(/tmp/multipartBody1845004534419216341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811994534,"filename":"image_10022025_13_45_28_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed03700d06643289431a38f5ff8d3cf3.jpg","text":"TemporaryFile(/tmp/multipartBody6570030387883511852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811994534,"filename":"image_10022025_13_45_18_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/93388c8357dcb4edaf8f7b6967052181.jpg","text":"TemporaryFile(/tmp/multipartBody9158719895359568108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811994534,"filename":"image_10022025_13_45_49_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a6e87fa18fd51ddb1768d716a820149.jpg","text":"TemporaryFile(/tmp/multipartBody6732590372559780196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811994534,"filename":"image_10022025_13_45_09_10724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26bd67474aa09398b08fa5d17eeff94d.jpg","text":"TemporaryFile(/tmp/multipartBody690557682397632614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811994534,"filename":"image_10022025_13_45_39_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3091c1bfbdfe7d6e793659ec93b7ae27.jpg","text":"TemporaryFile(/tmp/multipartBody119905021711137076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739811994534,"filename":"image_10022025_13_45_58_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338197148","file1":"1338196922","file0":"1338196587","file4":"1338197153","file5":"1338197155","file3":"1338197150"},"map_files_photo_id_array":[{"photo_id":"1338197155","filename":"file5"},{"photo_id":"1338197148","filename":"file2"},{"photo_id":"1338197153","filename":"file4"},{"photo_id":"1338196922","filename":"file1"},{"photo_id":"1338196587","filename":"file0"},{"photo_id":"1338197150","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338197150":["hashtag1","hashtag2"]},{"1338197153":["hashtag1","hashtag2"]},{"1338196922":["hashtag1","hashtag2"]},{"1338197155":["hashtag1","hashtag2"]},{"1338197148":["hashtag1","hashtag2"]},{"1338196587":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338197150, 1338197153, 1338196922, 1338197155, 1338197148, 1338196587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.990768909454346 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:06:32.343039
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_58_9683.jpg', 0), ('/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_48_9746.jpg', 0), ('/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_39_10696.jpg', 0), ('/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_28_9675.jpg', 0), ('/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_18_9731.jpg', 0), ('/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_08_9703.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_58_9683.jpg', '/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_48_9746.jpg', '/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_39_10696.jpg', '/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_28_9675.jpg', '/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_18_9731.jpg', '/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_08_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_58_9683.jpg
/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_48_9746.jpg
/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_39_10696.jpg
/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_28_9675.jpg
/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_18_9731.jpg
/home/nano/Desktop/images/10022025/13/44/image_10022025_13_44_08_9703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338197432","1338197428","1338197359","1338197425","1338197430","1338197421"],"photo_ids_order":["1338197359","1338197421","1338197425","1338197428","1338197430","1338197432"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c0796946990ce4777281a514096f21d.jpg","text":"TemporaryFile(/tmp/multipartBody8275835295062892396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812055277,"filename":"image_10022025_13_44_08_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/37e2d1c0d2ea7de5b94701c3762239e9.jpg","text":"TemporaryFile(/tmp/multipartBody8221122225236683948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812055277,"filename":"image_10022025_13_44_28_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f3f4f3a9eb9f4b39f027a1ab2017e49.jpg","text":"TemporaryFile(/tmp/multipartBody1695813033483700413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812055277,"filename":"image_10022025_13_44_58_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1697ed98317544350bf552605bc15bbb.jpg","text":"TemporaryFile(/tmp/multipartBody1522937101928404854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812055277,"filename":"image_10022025_13_44_39_10696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efe397a6f18685d71b5d7f04e06dd61d.jpg","text":"TemporaryFile(/tmp/multipartBody6238459433465334152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812055277,"filename":"image_10022025_13_44_18_9731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/35ae24fbdb39c143fc7728ef868b246d.jpg","text":"TemporaryFile(/tmp/multipartBody349776983863045804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812055277,"filename":"image_10022025_13_44_48_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338197425","file1":"1338197421","file0":"1338197359","file4":"1338197430","file5":"1338197432","file3":"1338197428"},"map_files_photo_id_array":[{"photo_id":"1338197432","filename":"file5"},{"photo_id":"1338197425","filename":"file2"},{"photo_id":"1338197430","filename":"file4"},{"photo_id":"1338197421","filename":"file1"},{"photo_id":"1338197359","filename":"file0"},{"photo_id":"1338197428","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338197432":["hashtag1","hashtag2"]},{"1338197428":["hashtag1","hashtag2"]},{"1338197359":["hashtag1","hashtag2"]},{"1338197425":["hashtag1","hashtag2"]},{"1338197430":["hashtag1","hashtag2"]},{"1338197421":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338197432, 1338197428, 1338197359, 1338197425, 1338197430, 1338197421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17860674858093 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:07:32.520958
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_59_10736.jpg', 0), ('/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_48_9722.jpg', 0), ('/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_38_9723.jpg', 0), ('/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_29_10680.jpg', 0), ('/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_18_9694.jpg', 0), ('/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_08_9719.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_59_10736.jpg', '/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_48_9722.jpg', '/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_38_9723.jpg', '/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_29_10680.jpg', '/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_18_9694.jpg', '/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_08_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_59_10736.jpg
/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_48_9722.jpg
/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_38_9723.jpg
/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_29_10680.jpg
/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_18_9694.jpg
/home/nano/Desktop/images/10022025/13/43/image_10022025_13_43_08_9719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338197621","1338197645","1338197638","1338197643","1338197631","1338197640"],"photo_ids_order":["1338197621","1338197631","1338197638","1338197640","1338197643","1338197645"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f0dc25bbd1a466bbd30525622a27147.jpg","text":"TemporaryFile(/tmp/multipartBody8960861078800511827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812115924,"filename":"image_10022025_13_43_59_10736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eec8e71d82d0137879dd1d286194c09e.jpg","text":"TemporaryFile(/tmp/multipartBody563460247323492570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812115924,"filename":"image_10022025_13_43_08_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be9759b22978d433c2e71b1c15e924f6.jpg","text":"TemporaryFile(/tmp/multipartBody586066050328670759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812115924,"filename":"image_10022025_13_43_38_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/68e443ee7984a09d7620e717919af0b7.jpg","text":"TemporaryFile(/tmp/multipartBody5952919080879172870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812115924,"filename":"image_10022025_13_43_18_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a8b7069da0eca96cf93af9e2d3bf5bc7.jpg","text":"TemporaryFile(/tmp/multipartBody2050155718657917331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812115924,"filename":"image_10022025_13_43_48_9722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1106359b7614776e9f3b62957fa54013.jpg","text":"TemporaryFile(/tmp/multipartBody3281112559063167868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812115924,"filename":"image_10022025_13_43_29_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338197638","file1":"1338197631","file0":"1338197621","file4":"1338197643","file5":"1338197645","file3":"1338197640"},"map_files_photo_id_array":[{"photo_id":"1338197645","filename":"file5"},{"photo_id":"1338197638","filename":"file2"},{"photo_id":"1338197643","filename":"file4"},{"photo_id":"1338197631","filename":"file1"},{"photo_id":"1338197621","filename":"file0"},{"photo_id":"1338197640","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338197621":["hashtag1","hashtag2"]},{"1338197645":["hashtag1","hashtag2"]},{"1338197638":["hashtag1","hashtag2"]},{"1338197643":["hashtag1","hashtag2"]},{"1338197631":["hashtag1","hashtag2"]},{"1338197640":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338197621, 1338197645, 1338197638, 1338197643, 1338197631, 1338197640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13106179237366 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:08:32.668445
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_59_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_49_10749.jpg', 0), ('/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_38_9674.jpg', 0), ('/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_28_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_19_10708.jpg', 0), ('/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_08_9663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_59_9687.jpg', '/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_49_10749.jpg', '/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_38_9674.jpg', '/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_28_9718.jpg', '/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_19_10708.jpg', '/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_08_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_59_9687.jpg
/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_49_10749.jpg
/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_38_9674.jpg
/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_28_9718.jpg
/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_19_10708.jpg
/home/nano/Desktop/images/10022025/13/42/image_10022025_13_42_08_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338197831","1338197669","1338197660","1338197834","1338197744","1338197674"],"photo_ids_order":["1338197660","1338197669","1338197674","1338197744","1338197831","1338197834"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/23b92811730fa42d1c4c2700327a4061.jpg","text":"TemporaryFile(/tmp/multipartBody8083474577686161762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812174929,"filename":"image_10022025_13_42_19_10708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0820189c2a5775a8dc3b116617253647.jpg","text":"TemporaryFile(/tmp/multipartBody6379127381437917152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812174929,"filename":"image_10022025_13_42_49_10749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/06125026ac3028726f5ddebcc6a5719c.jpg","text":"TemporaryFile(/tmp/multipartBody1189141682082423474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812174929,"filename":"image_10022025_13_42_59_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87ed8885dc17e1ce4c0fe4ead1c3bb3b.jpg","text":"TemporaryFile(/tmp/multipartBody6941192178123739183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812174929,"filename":"image_10022025_13_42_08_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81fc8c46f9a99a514628843ebfc3ae8d.jpg","text":"TemporaryFile(/tmp/multipartBody5427090857031506298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812174929,"filename":"image_10022025_13_42_28_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a9a2d9fb2ee052254f82e3e3e46b524.jpg","text":"TemporaryFile(/tmp/multipartBody6678551454775763202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812174929,"filename":"image_10022025_13_42_38_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338197674","file1":"1338197669","file0":"1338197660","file4":"1338197831","file5":"1338197834","file3":"1338197744"},"map_files_photo_id_array":[{"photo_id":"1338197834","filename":"file5"},{"photo_id":"1338197674","filename":"file2"},{"photo_id":"1338197831","filename":"file4"},{"photo_id":"1338197669","filename":"file1"},{"photo_id":"1338197660","filename":"file0"},{"photo_id":"1338197744","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338197831":["hashtag1","hashtag2"]},{"1338197669":["hashtag1","hashtag2"]},{"1338197660":["hashtag1","hashtag2"]},{"1338197834":["hashtag1","hashtag2"]},{"1338197744":["hashtag1","hashtag2"]},{"1338197674":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338197831, 1338197669, 1338197660, 1338197834, 1338197744, 1338197674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37839674949646 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:09:31.817238
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_58_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_49_10723.jpg', 0), ('/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_38_9679.jpg', 0), ('/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_28_9702.jpg', 0), ('/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_19_9730.jpg', 0), ('/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_09_10754.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_58_9701.jpg', '/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_49_10723.jpg', '/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_38_9679.jpg', '/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_28_9702.jpg', '/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_19_9730.jpg', '/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_09_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_58_9701.jpg
/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_49_10723.jpg
/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_38_9679.jpg
/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_28_9702.jpg
/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_19_9730.jpg
/home/nano/Desktop/images/10022025/13/41/image_10022025_13_41_09_10754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338197873","1338197854","1338197851","1338197871","1338197865","1338197868"],"photo_ids_order":["1338197851","1338197854","1338197865","1338197868","1338197871","1338197873"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7305dd4d948a1a8658648331add8f009.jpg","text":"TemporaryFile(/tmp/multipartBody4209100422069460087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812234778,"filename":"image_10022025_13_41_09_10754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0bad280de2e7e484c60526d1a111072.jpg","text":"TemporaryFile(/tmp/multipartBody2010652616150954842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812234778,"filename":"image_10022025_13_41_49_10723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d34a06ee5f9e0c785bf1934821f7c18a.jpg","text":"TemporaryFile(/tmp/multipartBody8035715745703104208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812234778,"filename":"image_10022025_13_41_58_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3c005d6f21e276f14ec1362adb02d0b.jpg","text":"TemporaryFile(/tmp/multipartBody5764793986429975002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812234778,"filename":"image_10022025_13_41_19_9730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7f091b2bc651b629b9a7aebc4afd0e7.jpg","text":"TemporaryFile(/tmp/multipartBody1738222015352866288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812234778,"filename":"image_10022025_13_41_38_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/62279862a7b8bbdc41c5031e1b49cc95.jpg","text":"TemporaryFile(/tmp/multipartBody8543372348878172296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812234778,"filename":"image_10022025_13_41_28_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338197865","file1":"1338197854","file0":"1338197851","file4":"1338197871","file5":"1338197873","file3":"1338197868"},"map_files_photo_id_array":[{"photo_id":"1338197873","filename":"file5"},{"photo_id":"1338197865","filename":"file2"},{"photo_id":"1338197871","filename":"file4"},{"photo_id":"1338197854","filename":"file1"},{"photo_id":"1338197851","filename":"file0"},{"photo_id":"1338197868","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338197873":["hashtag1","hashtag2"]},{"1338197854":["hashtag1","hashtag2"]},{"1338197851":["hashtag1","hashtag2"]},{"1338197871":["hashtag1","hashtag2"]},{"1338197865":["hashtag1","hashtag2"]},{"1338197868":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338197873, 1338197854, 1338197851, 1338197871, 1338197865, 1338197868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.998188734054565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:10:31.960087
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_58_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_48_9709.jpg', 0), ('/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_39_9738.jpg', 0), ('/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_29_10709.jpg', 0), ('/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_18_9731.jpg', 0), ('/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_08_9706.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_58_9721.jpg', '/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_48_9709.jpg', '/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_39_9738.jpg', '/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_29_10709.jpg', '/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_18_9731.jpg', '/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_08_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_58_9721.jpg
/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_48_9709.jpg
/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_39_9738.jpg
/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_29_10709.jpg
/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_18_9731.jpg
/home/nano/Desktop/images/10022025/13/40/image_10022025_13_40_08_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338197960","1338197970","1338197964","1338197967","1338197949","1338197958"],"photo_ids_order":["1338197949","1338197958","1338197960","1338197964","1338197967","1338197970"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/04d3d0d6b9abd7fe62b1aa9c6e64d249.jpg","text":"TemporaryFile(/tmp/multipartBody1443520217209158465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812294321,"filename":"image_10022025_13_40_39_9738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/471beecbba97ab35e22f4e377499980c.jpg","text":"TemporaryFile(/tmp/multipartBody2667740845205685950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812294321,"filename":"image_10022025_13_40_08_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6517b94474aa43d0dcd25620afaa4e30.jpg","text":"TemporaryFile(/tmp/multipartBody1406790253550687666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812294321,"filename":"image_10022025_13_40_29_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6e8d7740aef52b7aeaae05283dbfbd4.jpg","text":"TemporaryFile(/tmp/multipartBody1004280749657222481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812294321,"filename":"image_10022025_13_40_18_9731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/223d88a69ca2904f6f63f196e8fc3e14.jpg","text":"TemporaryFile(/tmp/multipartBody4644137915228873089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812294321,"filename":"image_10022025_13_40_58_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d617b7cf840690dbf813059ab0e3779c.jpg","text":"TemporaryFile(/tmp/multipartBody3585839935638054101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812294321,"filename":"image_10022025_13_40_48_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338197960","file1":"1338197958","file0":"1338197949","file4":"1338197967","file5":"1338197970","file3":"1338197964"},"map_files_photo_id_array":[{"photo_id":"1338197970","filename":"file5"},{"photo_id":"1338197960","filename":"file2"},{"photo_id":"1338197967","filename":"file4"},{"photo_id":"1338197958","filename":"file1"},{"photo_id":"1338197949","filename":"file0"},{"photo_id":"1338197964","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338197960":["hashtag1","hashtag2"]},{"1338197970":["hashtag1","hashtag2"]},{"1338197964":["hashtag1","hashtag2"]},{"1338197967":["hashtag1","hashtag2"]},{"1338197949":["hashtag1","hashtag2"]},{"1338197958":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338197960, 1338197970, 1338197964, 1338197967, 1338197949, 1338197958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.531848430633545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:11:32.097564
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_59_10722.jpg', 0), ('/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_48_9735.jpg', 0), ('/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_38_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_29_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_19_10667.jpg', 0), ('/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_08_9692.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_59_10722.jpg', '/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_48_9735.jpg', '/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_38_9687.jpg', '/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_29_9695.jpg', '/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_19_10667.jpg', '/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_08_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_59_10722.jpg
/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_48_9735.jpg
/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_38_9687.jpg
/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_29_9695.jpg
/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_19_10667.jpg
/home/nano/Desktop/images/10022025/13/39/image_10022025_13_39_08_9692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338197999","1338198014","1338198022","1338198025","1338197997","1338198027"],"photo_ids_order":["1338197997","1338197999","1338198014","1338198022","1338198025","1338198027"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/48fd15b582fa3661b0c9d198be58ec44.jpg","text":"TemporaryFile(/tmp/multipartBody8606363837350792222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812354469,"filename":"image_10022025_13_39_48_9735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fbb1003c55ac23e174753451e7050b86.jpg","text":"TemporaryFile(/tmp/multipartBody345986268030604588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812354469,"filename":"image_10022025_13_39_38_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5946477146b03b4d949363c655950f0.jpg","text":"TemporaryFile(/tmp/multipartBody2174534371167911075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812354469,"filename":"image_10022025_13_39_29_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c4fad1fde78397d0424a719a20b2e44.jpg","text":"TemporaryFile(/tmp/multipartBody7217882734717130358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812354469,"filename":"image_10022025_13_39_19_10667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/703b3120b1d8ce0af6dafa822f3d3260.jpg","text":"TemporaryFile(/tmp/multipartBody1916594298848028762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812354469,"filename":"image_10022025_13_39_59_10722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ad5936a1f4153027e8f3b38ef64bde1.jpg","text":"TemporaryFile(/tmp/multipartBody8868928990383278141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812354469,"filename":"image_10022025_13_39_08_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338198014","file1":"1338197999","file0":"1338197997","file4":"1338198025","file5":"1338198027","file3":"1338198022"},"map_files_photo_id_array":[{"photo_id":"1338198027","filename":"file5"},{"photo_id":"1338198014","filename":"file2"},{"photo_id":"1338198025","filename":"file4"},{"photo_id":"1338197999","filename":"file1"},{"photo_id":"1338197997","filename":"file0"},{"photo_id":"1338198022","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338197999":["hashtag1","hashtag2"]},{"1338198014":["hashtag1","hashtag2"]},{"1338198022":["hashtag1","hashtag2"]},{"1338198025":["hashtag1","hashtag2"]},{"1338197997":["hashtag1","hashtag2"]},{"1338198027":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338197999, 1338198014, 1338198022, 1338198025, 1338197997, 1338198027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83871126174927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:12:32.246982
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_59_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_49_10719.jpg', 0), ('/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_38_9720.jpg', 0), ('/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_28_9675.jpg', 0), ('/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_19_10749.jpg', 0), ('/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_08_9678.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_59_9701.jpg', '/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_49_10719.jpg', '/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_38_9720.jpg', '/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_28_9675.jpg', '/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_19_10749.jpg', '/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_08_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_59_9701.jpg
/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_49_10719.jpg
/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_38_9720.jpg
/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_28_9675.jpg
/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_19_10749.jpg
/home/nano/Desktop/images/10022025/13/38/image_10022025_13_38_08_9678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338198236","1338198154","1338198241","1338198244","1338198246","1338198062"],"photo_ids_order":["1338198062","1338198154","1338198236","1338198241","1338198244","1338198246"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aee2f1600c2a4a2e7ffd81e335ac6c87.jpg","text":"TemporaryFile(/tmp/multipartBody4939456026454939380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812414553,"filename":"image_10022025_13_38_38_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a26c0296cdbd3c1b8d20b27019dafbfe.jpg","text":"TemporaryFile(/tmp/multipartBody9006104148720280886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812414553,"filename":"image_10022025_13_38_49_10719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bff75e83609c9d1fb7ee4485e567d18d.jpg","text":"TemporaryFile(/tmp/multipartBody6368721140735622332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812414553,"filename":"image_10022025_13_38_28_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed37bb90dcee9492bdab44030bd17f37.jpg","text":"TemporaryFile(/tmp/multipartBody404708571098591752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812414553,"filename":"image_10022025_13_38_19_10749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a95461dd7a179c51512673361d47c13.jpg","text":"TemporaryFile(/tmp/multipartBody5659472427963377147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812414553,"filename":"image_10022025_13_38_08_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a20b0c4feaf8aa83eef6cafed5f9065.jpg","text":"TemporaryFile(/tmp/multipartBody6343447377114012739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812414553,"filename":"image_10022025_13_38_59_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338198236","file1":"1338198154","file0":"1338198062","file4":"1338198244","file5":"1338198246","file3":"1338198241"},"map_files_photo_id_array":[{"photo_id":"1338198246","filename":"file5"},{"photo_id":"1338198236","filename":"file2"},{"photo_id":"1338198244","filename":"file4"},{"photo_id":"1338198154","filename":"file1"},{"photo_id":"1338198062","filename":"file0"},{"photo_id":"1338198241","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338198236":["hashtag1","hashtag2"]},{"1338198154":["hashtag1","hashtag2"]},{"1338198241":["hashtag1","hashtag2"]},{"1338198244":["hashtag1","hashtag2"]},{"1338198246":["hashtag1","hashtag2"]},{"1338198062":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338198236, 1338198154, 1338198241, 1338198244, 1338198246, 1338198062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.843371152877808 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:13:32.381527
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_58_9708.jpg', 0), ('/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_49_9707.jpg', 0), ('/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_39_10731.jpg', 0), ('/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_28_9731.jpg', 0), ('/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_18_9736.jpg', 0), ('/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_09_9769.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_58_9708.jpg', '/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_49_9707.jpg', '/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_39_10731.jpg', '/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_28_9731.jpg', '/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_18_9736.jpg', '/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_09_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_58_9708.jpg
/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_49_9707.jpg
/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_39_10731.jpg
/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_28_9731.jpg
/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_18_9736.jpg
/home/nano/Desktop/images/10022025/13/37/image_10022025_13_37_09_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338198277","1338198271","1338198280","1338198274","1338198282","1338198284"],"photo_ids_order":["1338198271","1338198274","1338198277","1338198280","1338198282","1338198284"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f0db1f12fb12661c6d116898a39b053.jpg","text":"TemporaryFile(/tmp/multipartBody2916312775103192293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812474671,"filename":"image_10022025_13_37_39_10731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21d2e7074cdaaaa608bad48ba4a8d612.jpg","text":"TemporaryFile(/tmp/multipartBody478534004433298608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812474671,"filename":"image_10022025_13_37_58_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/672b09d0807eecba9b426fe1ecede0c5.jpg","text":"TemporaryFile(/tmp/multipartBody8620299726303466607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812474671,"filename":"image_10022025_13_37_28_9731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08fcf82f7a81d3f5ba4e9051d8cdea5f.jpg","text":"TemporaryFile(/tmp/multipartBody2435656973609026684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812474671,"filename":"image_10022025_13_37_49_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3c821aca51ef10f292833756210d797.jpg","text":"TemporaryFile(/tmp/multipartBody7361645505304969872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812474671,"filename":"image_10022025_13_37_18_9736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/30ccd1b6d452e19cf5e513af7ec0e2a3.jpg","text":"TemporaryFile(/tmp/multipartBody6900117530807597487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812474671,"filename":"image_10022025_13_37_09_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338198277","file1":"1338198274","file0":"1338198271","file4":"1338198282","file5":"1338198284","file3":"1338198280"},"map_files_photo_id_array":[{"photo_id":"1338198284","filename":"file5"},{"photo_id":"1338198277","filename":"file2"},{"photo_id":"1338198282","filename":"file4"},{"photo_id":"1338198274","filename":"file1"},{"photo_id":"1338198271","filename":"file0"},{"photo_id":"1338198280","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338198277":["hashtag1","hashtag2"]},{"1338198271":["hashtag1","hashtag2"]},{"1338198280":["hashtag1","hashtag2"]},{"1338198274":["hashtag1","hashtag2"]},{"1338198282":["hashtag1","hashtag2"]},{"1338198284":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338198277, 1338198271, 1338198280, 1338198274, 1338198282, 1338198284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.983062982559204 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:14:32.580044
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_59_10785.jpg', 0), ('/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_48_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_38_9832.jpg', 0), ('/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_29_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_19_10821.jpg', 0), ('/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_08_9854.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_59_10785.jpg', '/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_48_9726.jpg', '/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_38_9832.jpg', '/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_29_9705.jpg', '/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_19_10821.jpg', '/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_08_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_59_10785.jpg
/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_48_9726.jpg
/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_38_9832.jpg
/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_29_9705.jpg
/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_19_10821.jpg
/home/nano/Desktop/images/10022025/13/36/image_10022025_13_36_08_9854.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338198313","1338198301","1338198310","1338198304","1338198307","1338198315"],"photo_ids_order":["1338198301","1338198304","1338198307","1338198310","1338198313","1338198315"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd62090b456020400a66f3f78f40194b.jpg","text":"TemporaryFile(/tmp/multipartBody1232884427284320202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812535156,"filename":"image_10022025_13_36_19_10821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c04ca15c8f134b0c8293e9d46ea7160c.jpg","text":"TemporaryFile(/tmp/multipartBody6413438932946708686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812535156,"filename":"image_10022025_13_36_59_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/beb05f6f1311193574e52bf118d868ef.jpg","text":"TemporaryFile(/tmp/multipartBody2468804150608392370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812535156,"filename":"image_10022025_13_36_29_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2232c958aae5e84e501f948749acdb4f.jpg","text":"TemporaryFile(/tmp/multipartBody4247873554424615846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812535156,"filename":"image_10022025_13_36_48_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1111f222559e01a60b7c00413ee6b815.jpg","text":"TemporaryFile(/tmp/multipartBody6409276679427781610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812535156,"filename":"image_10022025_13_36_38_9832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c124b04800346e5755c6cf9030d88d25.jpg","text":"TemporaryFile(/tmp/multipartBody4092323206734722074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812535156,"filename":"image_10022025_13_36_08_9854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338198307","file1":"1338198304","file0":"1338198301","file4":"1338198313","file5":"1338198315","file3":"1338198310"},"map_files_photo_id_array":[{"photo_id":"1338198315","filename":"file5"},{"photo_id":"1338198307","filename":"file2"},{"photo_id":"1338198313","filename":"file4"},{"photo_id":"1338198304","filename":"file1"},{"photo_id":"1338198301","filename":"file0"},{"photo_id":"1338198310","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338198313":["hashtag1","hashtag2"]},{"1338198301":["hashtag1","hashtag2"]},{"1338198310":["hashtag1","hashtag2"]},{"1338198304":["hashtag1","hashtag2"]},{"1338198307":["hashtag1","hashtag2"]},{"1338198315":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338198313, 1338198301, 1338198310, 1338198304, 1338198307, 1338198315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80471992492676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:15:32.720783
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_58_9818.jpg', 0), ('/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_48_9791.jpg', 0), ('/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_39_10308.jpg', 0), ('/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_28_9757.jpg', 0), ('/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_18_9709.jpg', 0), ('/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_09_10784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_58_9818.jpg', '/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_48_9791.jpg', '/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_39_10308.jpg', '/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_28_9757.jpg', '/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_18_9709.jpg', '/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_09_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_58_9818.jpg
/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_48_9791.jpg
/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_39_10308.jpg
/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_28_9757.jpg
/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_18_9709.jpg
/home/nano/Desktop/images/10022025/13/35/image_10022025_13_35_09_10784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338198344","1338198358","1338198346","1338198340","1338198409","1338198336"],"photo_ids_order":["1338198336","1338198340","1338198344","1338198346","1338198358","1338198409"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1f16eda02b7a646f761e03fdbef02b1.jpg","text":"TemporaryFile(/tmp/multipartBody2170017380244520916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812596662,"filename":"image_10022025_13_35_39_10308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/701aa7f7ca857bd4664ed3d49bb0d0df.jpg","text":"TemporaryFile(/tmp/multipartBody8094509518417614960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812596662,"filename":"image_10022025_13_35_18_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd7f86c3a7a8e6dbf012f27e241a3dd8.jpg","text":"TemporaryFile(/tmp/multipartBody8202303439364947182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812596662,"filename":"image_10022025_13_35_28_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/297303560afe0408b2db58a04ea0d753.jpg","text":"TemporaryFile(/tmp/multipartBody7481156107315206391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812596662,"filename":"image_10022025_13_35_48_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1a0d34d6ca2b494f0ff33680f66308cb.jpg","text":"TemporaryFile(/tmp/multipartBody32622443321608365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812596662,"filename":"image_10022025_13_35_09_10784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/873bdd28331fc76b05bddba1c1272630.jpg","text":"TemporaryFile(/tmp/multipartBody6610270090828265325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812596662,"filename":"image_10022025_13_35_58_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338198344","file1":"1338198340","file0":"1338198336","file4":"1338198358","file5":"1338198409","file3":"1338198346"},"map_files_photo_id_array":[{"photo_id":"1338198409","filename":"file5"},{"photo_id":"1338198344","filename":"file2"},{"photo_id":"1338198358","filename":"file4"},{"photo_id":"1338198340","filename":"file1"},{"photo_id":"1338198336","filename":"file0"},{"photo_id":"1338198346","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338198344":["hashtag1","hashtag2"]},{"1338198358":["hashtag1","hashtag2"]},{"1338198346":["hashtag1","hashtag2"]},{"1338198340":["hashtag1","hashtag2"]},{"1338198409":["hashtag1","hashtag2"]},{"1338198336":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338198344, 1338198358, 1338198346, 1338198340, 1338198409, 1338198336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4625027179718 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:16:31.899517
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_58_9728.jpg', 0), ('/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_48_9747.jpg', 0), ('/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_39_9764.jpg', 0), ('/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_29_10779.jpg', 0), ('/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_18_9755.jpg', 0), ('/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_08_9759.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_58_9728.jpg', '/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_48_9747.jpg', '/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_39_9764.jpg', '/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_29_10779.jpg', '/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_18_9755.jpg', '/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_08_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_58_9728.jpg
/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_48_9747.jpg
/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_39_9764.jpg
/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_29_10779.jpg
/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_18_9755.jpg
/home/nano/Desktop/images/10022025/13/34/image_10022025_13_34_08_9759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338198481","1338198475","1338198484","1338198478","1338198486","1338198473"],"photo_ids_order":["1338198473","1338198475","1338198478","1338198481","1338198484","1338198486"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf3e090cb83afbf51fdc15e89767e684.jpg","text":"TemporaryFile(/tmp/multipartBody1529806694907572915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812654450,"filename":"image_10022025_13_34_29_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81b9ed5fcc9b5ac0946257333f22e911.jpg","text":"TemporaryFile(/tmp/multipartBody784302955857908056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812654450,"filename":"image_10022025_13_34_48_9747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/956fd0554d475f2a4646ed84b5d366f4.jpg","text":"TemporaryFile(/tmp/multipartBody2115030498851040960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812654450,"filename":"image_10022025_13_34_18_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/99d7d79d03813752b3656b5abcbd7910.jpg","text":"TemporaryFile(/tmp/multipartBody337118010272450859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812654450,"filename":"image_10022025_13_34_39_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c75ba6f3d2d25ec3c6b979f15f98636.jpg","text":"TemporaryFile(/tmp/multipartBody857209558023977234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812654450,"filename":"image_10022025_13_34_08_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87bb4f85018c24f26d19197d3f0a9d52.jpg","text":"TemporaryFile(/tmp/multipartBody3514863024210551039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812654450,"filename":"image_10022025_13_34_58_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338198478","file1":"1338198475","file0":"1338198473","file4":"1338198484","file5":"1338198486","file3":"1338198481"},"map_files_photo_id_array":[{"photo_id":"1338198486","filename":"file5"},{"photo_id":"1338198478","filename":"file2"},{"photo_id":"1338198484","filename":"file4"},{"photo_id":"1338198475","filename":"file1"},{"photo_id":"1338198473","filename":"file0"},{"photo_id":"1338198481","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338198481":["hashtag1","hashtag2"]},{"1338198475":["hashtag1","hashtag2"]},{"1338198484":["hashtag1","hashtag2"]},{"1338198478":["hashtag1","hashtag2"]},{"1338198486":["hashtag1","hashtag2"]},{"1338198473":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338198481, 1338198475, 1338198484, 1338198478, 1338198486, 1338198473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.268296003341675 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:17:32.055321
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_58_9707.jpg', 0), ('/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_49_10751.jpg', 0), ('/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_38_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_28_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_19_9748.jpg', 0), ('/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_09_10747.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_58_9707.jpg', '/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_49_10751.jpg', '/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_38_9718.jpg', '/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_28_9726.jpg', '/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_19_9748.jpg', '/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_09_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_58_9707.jpg
/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_49_10751.jpg
/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_38_9718.jpg
/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_28_9726.jpg
/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_19_9748.jpg
/home/nano/Desktop/images/10022025/13/33/image_10022025_13_33_09_10747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338198509","1338198506","1338198511","1338198498","1338198504","1338198501"],"photo_ids_order":["1338198498","1338198501","1338198504","1338198506","1338198509","1338198511"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f03b0a4badcf6ed9dd3f1725b044be4b.jpg","text":"TemporaryFile(/tmp/multipartBody4388968236224333818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812714473,"filename":"image_10022025_13_33_19_9748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0dd49fa40daa43e4edf4e1b0fd205be.jpg","text":"TemporaryFile(/tmp/multipartBody6773765988645227898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812714473,"filename":"image_10022025_13_33_28_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/693f13c75bb2e0e73ec1f928fb0eb043.jpg","text":"TemporaryFile(/tmp/multipartBody7682771843493291078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812714473,"filename":"image_10022025_13_33_09_10747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d95117f46614ca8a509dadc077884df.jpg","text":"TemporaryFile(/tmp/multipartBody2640043067311116960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812714473,"filename":"image_10022025_13_33_58_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4eba042c915abe957559b568e741b77c.jpg","text":"TemporaryFile(/tmp/multipartBody6261386576238759249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812714473,"filename":"image_10022025_13_33_38_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/959198792ec787353942ca992c4d919b.jpg","text":"TemporaryFile(/tmp/multipartBody2188768390603917146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812714473,"filename":"image_10022025_13_33_49_10751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338198504","file1":"1338198501","file0":"1338198498","file4":"1338198509","file5":"1338198511","file3":"1338198506"},"map_files_photo_id_array":[{"photo_id":"1338198511","filename":"file5"},{"photo_id":"1338198504","filename":"file2"},{"photo_id":"1338198509","filename":"file4"},{"photo_id":"1338198501","filename":"file1"},{"photo_id":"1338198498","filename":"file0"},{"photo_id":"1338198506","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338198509":["hashtag1","hashtag2"]},{"1338198506":["hashtag1","hashtag2"]},{"1338198511":["hashtag1","hashtag2"]},{"1338198498":["hashtag1","hashtag2"]},{"1338198504":["hashtag1","hashtag2"]},{"1338198501":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338198509, 1338198506, 1338198511, 1338198498, 1338198504, 1338198501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.779659032821655 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:18:32.212441
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_58_9717.jpg', 0), ('/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_48_9725.jpg', 0), ('/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_39_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_28_9750.jpg', 0), ('/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_18_9774.jpg', 0), ('/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_08_9751.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_58_9717.jpg', '/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_48_9725.jpg', '/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_39_10717.jpg', '/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_28_9750.jpg', '/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_18_9774.jpg', '/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_08_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_58_9717.jpg
/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_48_9725.jpg
/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_39_10717.jpg
/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_28_9750.jpg
/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_18_9774.jpg
/home/nano/Desktop/images/10022025/13/32/image_10022025_13_32_08_9751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338199156","1338199093","1338199153","1338199147","1338199155","1338199097"],"photo_ids_order":["1338199093","1338199097","1338199147","1338199153","1338199155","1338199156"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d28e21c67ef32890a2faf1528fb0e46.jpg","text":"TemporaryFile(/tmp/multipartBody7278704718783638131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812775802,"filename":"image_10022025_13_32_08_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fd0357b92f08bab85b8efcce5c1351ed.jpg","text":"TemporaryFile(/tmp/multipartBody2728770467509715934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812775802,"filename":"image_10022025_13_32_58_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b38fdf83a9303d3f5f16f0448e9dac2.jpg","text":"TemporaryFile(/tmp/multipartBody4347668438846730381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812775802,"filename":"image_10022025_13_32_28_9750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff4277e95e41d96a37fd14a7c57ba658.jpg","text":"TemporaryFile(/tmp/multipartBody5566254587782297812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812775802,"filename":"image_10022025_13_32_39_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ad85fee1608785562b69312f5faf2cd.jpg","text":"TemporaryFile(/tmp/multipartBody3270767534570635399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812775802,"filename":"image_10022025_13_32_18_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2ac0fede69d286aa6e24d9e3039eaf9.jpg","text":"TemporaryFile(/tmp/multipartBody326304182631515930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812775802,"filename":"image_10022025_13_32_48_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338199147","file1":"1338199097","file0":"1338199093","file4":"1338199155","file5":"1338199156","file3":"1338199153"},"map_files_photo_id_array":[{"photo_id":"1338199156","filename":"file5"},{"photo_id":"1338199147","filename":"file2"},{"photo_id":"1338199155","filename":"file4"},{"photo_id":"1338199097","filename":"file1"},{"photo_id":"1338199093","filename":"file0"},{"photo_id":"1338199153","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338199156":["hashtag1","hashtag2"]},{"1338199093":["hashtag1","hashtag2"]},{"1338199153":["hashtag1","hashtag2"]},{"1338199147":["hashtag1","hashtag2"]},{"1338199155":["hashtag1","hashtag2"]},{"1338199097":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338199156, 1338199093, 1338199153, 1338199147, 1338199155, 1338199097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20020341873169 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:19:32.349526
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_59_9729.jpg', 0), ('/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_49_10734.jpg', 0), ('/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_38_9753.jpg', 0), ('/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_28_9737.jpg', 0), ('/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_19_10746.jpg', 0), ('/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_08_9724.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_59_9729.jpg', '/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_49_10734.jpg', '/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_38_9753.jpg', '/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_28_9737.jpg', '/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_19_10746.jpg', '/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_08_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_59_9729.jpg
/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_49_10734.jpg
/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_38_9753.jpg
/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_28_9737.jpg
/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_19_10746.jpg
/home/nano/Desktop/images/10022025/13/31/image_10022025_13_31_08_9724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338199297","1338199300","1338199299","1338199295","1338199289","1338199292"],"photo_ids_order":["1338199289","1338199292","1338199295","1338199297","1338199299","1338199300"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee83d5b0407d663858394a2df0fe6e65.jpg","text":"TemporaryFile(/tmp/multipartBody7535099744977606165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812841229,"filename":"image_10022025_13_31_28_9737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d997b11a7cc90ec06add4836318e41f6.jpg","text":"TemporaryFile(/tmp/multipartBody8511928996292026688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812841229,"filename":"image_10022025_13_31_08_9724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60e9e70a3021262b985b76c64ffddee9.jpg","text":"TemporaryFile(/tmp/multipartBody6893586959661598625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812841229,"filename":"image_10022025_13_31_19_10746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b01dbed21c04b2f8d1baa590c85b6730.jpg","text":"TemporaryFile(/tmp/multipartBody1715317839273907023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812841229,"filename":"image_10022025_13_31_38_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7c67680bea7b86f337e6637b9b0f5fa.jpg","text":"TemporaryFile(/tmp/multipartBody4557089836259559940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812841229,"filename":"image_10022025_13_31_59_9729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c085339dccebe98ea02b0e119c92bae4.jpg","text":"TemporaryFile(/tmp/multipartBody6393643664417385611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812841229,"filename":"image_10022025_13_31_49_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338199295","file1":"1338199292","file0":"1338199289","file4":"1338199299","file5":"1338199300","file3":"1338199297"},"map_files_photo_id_array":[{"photo_id":"1338199300","filename":"file5"},{"photo_id":"1338199295","filename":"file2"},{"photo_id":"1338199299","filename":"file4"},{"photo_id":"1338199292","filename":"file1"},{"photo_id":"1338199289","filename":"file0"},{"photo_id":"1338199297","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338199297":["hashtag1","hashtag2"]},{"1338199300":["hashtag1","hashtag2"]},{"1338199299":["hashtag1","hashtag2"]},{"1338199295":["hashtag1","hashtag2"]},{"1338199289":["hashtag1","hashtag2"]},{"1338199292":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338199297, 1338199300, 1338199299, 1338199295, 1338199289, 1338199292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.034573554992676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:20:32.517618
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_58_9710.jpg', 0), ('/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_48_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_39_10715.jpg', 0), ('/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_28_9759.jpg', 0), ('/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_18_9673.jpg', 0), ('/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_09_9748.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_58_9710.jpg', '/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_48_9713.jpg', '/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_39_10715.jpg', '/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_28_9759.jpg', '/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_18_9673.jpg', '/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_09_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_58_9710.jpg
/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_48_9713.jpg
/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_39_10715.jpg
/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_28_9759.jpg
/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_18_9673.jpg
/home/nano/Desktop/images/10022025/13/30/image_10022025_13_30_09_9748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338199465","1338199312","1338199429","1338199460","1338199463","1338199355"],"photo_ids_order":["1338199312","1338199355","1338199429","1338199460","1338199463","1338199465"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ba0179d558c001b9fcd3f7a50744039.jpg","text":"TemporaryFile(/tmp/multipartBody3465878692295303870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812895255,"filename":"image_10022025_13_30_09_9748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e9ad1a630b401cbe235af2f0475cf56d.jpg","text":"TemporaryFile(/tmp/multipartBody5895966585280376412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812895255,"filename":"image_10022025_13_30_58_9710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/abf2ed1afa251e0769b5fa93412226ed.jpg","text":"TemporaryFile(/tmp/multipartBody5182649564582476321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812895255,"filename":"image_10022025_13_30_39_10715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5cc76f1b4fad816f808c5ea656cc66ee.jpg","text":"TemporaryFile(/tmp/multipartBody2904181721723206917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812895255,"filename":"image_10022025_13_30_28_9759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1cda85fbc0d48c172380db11dfe4d06f.jpg","text":"TemporaryFile(/tmp/multipartBody6482865548900820446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812895255,"filename":"image_10022025_13_30_18_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e27d9275ca2a67c81c9ef252cc6151d.jpg","text":"TemporaryFile(/tmp/multipartBody1770396497187247991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812895255,"filename":"image_10022025_13_30_48_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338199429","file1":"1338199355","file0":"1338199312","file4":"1338199463","file5":"1338199465","file3":"1338199460"},"map_files_photo_id_array":[{"photo_id":"1338199465","filename":"file5"},{"photo_id":"1338199429","filename":"file2"},{"photo_id":"1338199463","filename":"file4"},{"photo_id":"1338199355","filename":"file1"},{"photo_id":"1338199312","filename":"file0"},{"photo_id":"1338199460","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338199465":["hashtag1","hashtag2"]},{"1338199312":["hashtag1","hashtag2"]},{"1338199429":["hashtag1","hashtag2"]},{"1338199460":["hashtag1","hashtag2"]},{"1338199463":["hashtag1","hashtag2"]},{"1338199355":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338199465, 1338199312, 1338199429, 1338199460, 1338199463, 1338199355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35669445991516 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:21:32.670564
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_59_10688.jpg', 0), ('/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_48_9741.jpg', 0), ('/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_38_9762.jpg', 0), ('/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_29_10727.jpg', 0), ('/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_18_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_08_9700.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_59_10688.jpg', '/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_48_9741.jpg', '/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_38_9762.jpg', '/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_29_10727.jpg', '/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_18_9696.jpg', '/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_08_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_59_10688.jpg
/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_48_9741.jpg
/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_38_9762.jpg
/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_29_10727.jpg
/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_18_9696.jpg
/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_08_9700.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.721222400665283 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:22:02.164658
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_59_10688.jpg', 0), ('/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_48_9741.jpg', 0), ('/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_38_9762.jpg', 0), ('/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_29_10727.jpg', 0), ('/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_18_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_08_9700.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_59_10688.jpg', '/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_48_9741.jpg', '/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_38_9762.jpg', '/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_29_10727.jpg', '/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_18_9696.jpg', '/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_08_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_59_10688.jpg
/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_48_9741.jpg
/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_38_9762.jpg
/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_29_10727.jpg
/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_18_9696.jpg
/home/nano/Desktop/images/10022025/13/29/image_10022025_13_29_08_9700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338199630","1338199624","1338199627","1338199632","1338199635","1338199622"],"photo_ids_order":["1338199622","1338199624","1338199627","1338199630","1338199632","1338199635"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5fa4ae0d4122b7b2c926c32f5face854.jpg","text":"TemporaryFile(/tmp/multipartBody612059146377951422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812984250,"filename":"image_10022025_13_29_29_10727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/93d7c2e13871c0c7ba1ce847f82ef3b4.jpg","text":"TemporaryFile(/tmp/multipartBody3950720984008979882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812984250,"filename":"image_10022025_13_29_48_9741.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9039976d428054469ca532ac4dcb453e.jpg","text":"TemporaryFile(/tmp/multipartBody3549786598422789727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812984250,"filename":"image_10022025_13_29_38_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ffb7fc3d645117fabfc196ec48d21a46.jpg","text":"TemporaryFile(/tmp/multipartBody951740278355034945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812984250,"filename":"image_10022025_13_29_18_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/84fea1a141e600010fbd56d585642505.jpg","text":"TemporaryFile(/tmp/multipartBody1883744912511165792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812984250,"filename":"image_10022025_13_29_08_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e063da66b1c6af491ab60b9752bbf22f.jpg","text":"TemporaryFile(/tmp/multipartBody3372843714518392931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739812984250,"filename":"image_10022025_13_29_59_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338199627","file1":"1338199624","file0":"1338199622","file4":"1338199632","file5":"1338199635","file3":"1338199630"},"map_files_photo_id_array":[{"photo_id":"1338199635","filename":"file5"},{"photo_id":"1338199627","filename":"file2"},{"photo_id":"1338199632","filename":"file4"},{"photo_id":"1338199624","filename":"file1"},{"photo_id":"1338199622","filename":"file0"},{"photo_id":"1338199630","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338199630":["hashtag1","hashtag2"]},{"1338199624":["hashtag1","hashtag2"]},{"1338199627":["hashtag1","hashtag2"]},{"1338199632":["hashtag1","hashtag2"]},{"1338199635":["hashtag1","hashtag2"]},{"1338199622":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338199630, 1338199624, 1338199627, 1338199632, 1338199635, 1338199622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05303716659546 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:23:02.313877
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_59_9681.jpg', 0), ('/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_49_10685.jpg', 0), ('/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_38_9686.jpg', 0), ('/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_28_9677.jpg', 0), ('/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_19_10724.jpg', 0), ('/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_08_9696.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_59_9681.jpg', '/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_49_10685.jpg', '/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_38_9686.jpg', '/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_28_9677.jpg', '/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_19_10724.jpg', '/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_08_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_59_9681.jpg
/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_49_10685.jpg
/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_38_9686.jpg
/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_28_9677.jpg
/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_19_10724.jpg
/home/nano/Desktop/images/10022025/13/28/image_10022025_13_28_08_9696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338199669","1338199654","1338199663","1338199656","1338199659","1338199652"],"photo_ids_order":["1338199652","1338199654","1338199656","1338199659","1338199663","1338199669"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e56a6ee008eac5be1ff42ff7d8da0bdf.jpg","text":"TemporaryFile(/tmp/multipartBody4383170382277141752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813044722,"filename":"image_10022025_13_28_08_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b94426b30bf12e1d966e676707c7fb9.jpg","text":"TemporaryFile(/tmp/multipartBody1095509066621209240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813044722,"filename":"image_10022025_13_28_49_10685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a4633d36daf332bb5f59b7880aa5d5c.jpg","text":"TemporaryFile(/tmp/multipartBody5341079110267440751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813044722,"filename":"image_10022025_13_28_19_10724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e569043c59e84eb8ded9fe2d8854cf2.jpg","text":"TemporaryFile(/tmp/multipartBody110972288149937785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813044722,"filename":"image_10022025_13_28_38_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a6c1e1fd5f0b88298e05751cf1f94130.jpg","text":"TemporaryFile(/tmp/multipartBody682335691442505323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813044722,"filename":"image_10022025_13_28_28_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a599023bbe5bf734500b9d17bdce3722.jpg","text":"TemporaryFile(/tmp/multipartBody3491037533936729473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813044722,"filename":"image_10022025_13_28_59_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338199656","file1":"1338199654","file0":"1338199652","file4":"1338199663","file5":"1338199669","file3":"1338199659"},"map_files_photo_id_array":[{"photo_id":"1338199669","filename":"file5"},{"photo_id":"1338199656","filename":"file2"},{"photo_id":"1338199663","filename":"file4"},{"photo_id":"1338199654","filename":"file1"},{"photo_id":"1338199652","filename":"file0"},{"photo_id":"1338199659","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338199669":["hashtag1","hashtag2"]},{"1338199654":["hashtag1","hashtag2"]},{"1338199663":["hashtag1","hashtag2"]},{"1338199656":["hashtag1","hashtag2"]},{"1338199659":["hashtag1","hashtag2"]},{"1338199652":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338199669, 1338199654, 1338199663, 1338199656, 1338199659, 1338199652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18257021903992 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:24:02.654589
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_58_9664.jpg', 0), ('/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_49_10685.jpg', 0), ('/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_38_9703.jpg', 0), ('/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_28_9676.jpg', 0), ('/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_19_10707.jpg', 0), ('/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_08_9684.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_58_9664.jpg', '/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_49_10685.jpg', '/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_38_9703.jpg', '/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_28_9676.jpg', '/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_19_10707.jpg', '/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_08_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_58_9664.jpg
/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_49_10685.jpg
/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_38_9703.jpg
/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_28_9676.jpg
/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_19_10707.jpg
/home/nano/Desktop/images/10022025/13/27/image_10022025_13_27_08_9684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338199698","1338199701","1338199685","1338199694","1338199703","1338199706"],"photo_ids_order":["1338199685","1338199694","1338199698","1338199701","1338199703","1338199706"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/479e9a835e6eee74c7f96fa872062e2d.jpg","text":"TemporaryFile(/tmp/multipartBody464712186070811763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813105068,"filename":"image_10022025_13_27_38_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d713ae2c15c73dcef15cc206c2fcb05a.jpg","text":"TemporaryFile(/tmp/multipartBody2433655634370614188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813105068,"filename":"image_10022025_13_27_28_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e8c432f721949404a5364d8d7e9ed8e.jpg","text":"TemporaryFile(/tmp/multipartBody809933963298910304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813105068,"filename":"image_10022025_13_27_58_9664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d11a98153ae53d41ba168972e1b99c5d.jpg","text":"TemporaryFile(/tmp/multipartBody7829132634458250994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813105068,"filename":"image_10022025_13_27_49_10685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0aa4d6c88b17706a3d6ff44657c57518.jpg","text":"TemporaryFile(/tmp/multipartBody2863167834928585224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813105068,"filename":"image_10022025_13_27_19_10707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7349660de43126f05c5a312eb465cd2.jpg","text":"TemporaryFile(/tmp/multipartBody6846697264535998641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813105068,"filename":"image_10022025_13_27_08_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338199698","file1":"1338199694","file0":"1338199685","file4":"1338199703","file5":"1338199706","file3":"1338199701"},"map_files_photo_id_array":[{"photo_id":"1338199706","filename":"file5"},{"photo_id":"1338199698","filename":"file2"},{"photo_id":"1338199703","filename":"file4"},{"photo_id":"1338199694","filename":"file1"},{"photo_id":"1338199685","filename":"file0"},{"photo_id":"1338199701","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338199698":["hashtag1","hashtag2"]},{"1338199701":["hashtag1","hashtag2"]},{"1338199685":["hashtag1","hashtag2"]},{"1338199694":["hashtag1","hashtag2"]},{"1338199703":["hashtag1","hashtag2"]},{"1338199706":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338199698, 1338199701, 1338199685, 1338199694, 1338199703, 1338199706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78539800643921 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:25:02.828954
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_58_9671.jpg', 0), ('/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_49_10715.jpg', 0), ('/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_38_9700.jpg', 0), ('/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_28_9686.jpg', 0), ('/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_19_9709.jpg', 0), ('/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_09_10704.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_58_9671.jpg', '/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_49_10715.jpg', '/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_38_9700.jpg', '/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_28_9686.jpg', '/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_19_9709.jpg', '/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_09_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_58_9671.jpg
/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_49_10715.jpg
/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_38_9700.jpg
/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_28_9686.jpg
/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_19_9709.jpg
/home/nano/Desktop/images/10022025/13/26/image_10022025_13_26_09_10704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338199759","1338199753","1338199747","1338199756","1338199761","1338199764"],"photo_ids_order":["1338199747","1338199753","1338199756","1338199759","1338199761","1338199764"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aa770a0e374c2d1b1672821789a71b06.jpg","text":"TemporaryFile(/tmp/multipartBody5894676283393872986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813165112,"filename":"image_10022025_13_26_28_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/edcf1aa302a01686ede862d618230f45.jpg","text":"TemporaryFile(/tmp/multipartBody7413510597799305283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813165112,"filename":"image_10022025_13_26_49_10715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b8f9ad7403abf78105886924aabf3e4.jpg","text":"TemporaryFile(/tmp/multipartBody5383140279664215944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813165112,"filename":"image_10022025_13_26_58_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59a0cac2a6b47208102d505a136f4ebf.jpg","text":"TemporaryFile(/tmp/multipartBody3773829442841117409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813165112,"filename":"image_10022025_13_26_38_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6366de0f675a5dfb618755b0fb684a72.jpg","text":"TemporaryFile(/tmp/multipartBody6276584198518487148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813165112,"filename":"image_10022025_13_26_19_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec663769e310956fac31c8d116aedd48.jpg","text":"TemporaryFile(/tmp/multipartBody3086913728442634180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813165112,"filename":"image_10022025_13_26_09_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338199756","file1":"1338199753","file0":"1338199747","file4":"1338199761","file5":"1338199764","file3":"1338199759"},"map_files_photo_id_array":[{"photo_id":"1338199764","filename":"file5"},{"photo_id":"1338199756","filename":"file2"},{"photo_id":"1338199761","filename":"file4"},{"photo_id":"1338199753","filename":"file1"},{"photo_id":"1338199747","filename":"file0"},{"photo_id":"1338199759","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338199759":["hashtag1","hashtag2"]},{"1338199753":["hashtag1","hashtag2"]},{"1338199747":["hashtag1","hashtag2"]},{"1338199756":["hashtag1","hashtag2"]},{"1338199761":["hashtag1","hashtag2"]},{"1338199764":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338199759, 1338199753, 1338199747, 1338199756, 1338199761, 1338199764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.832340717315674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:26:02.790471
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_58_9689.jpg', 0), ('/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_48_9673.jpg', 0), ('/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_39_10678.jpg', 0), ('/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_28_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_18_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_09_10721.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_58_9689.jpg', '/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_48_9673.jpg', '/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_39_10678.jpg', '/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_28_9696.jpg', '/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_18_9701.jpg', '/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_09_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_58_9689.jpg
/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_48_9673.jpg
/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_39_10678.jpg
/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_28_9696.jpg
/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_18_9701.jpg
/home/nano/Desktop/images/10022025/13/25/image_10022025_13_25_09_10721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338199798","1338199777","1338199782","1338199779","1338199784","1338199793"],"photo_ids_order":["1338199777","1338199779","1338199782","1338199784","1338199793","1338199798"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c19eaf46c8c15efe4cc707e7cff4bc43.jpg","text":"TemporaryFile(/tmp/multipartBody1313212267503252580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813224647,"filename":"image_10022025_13_25_09_10721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/636377a92cfafb65118f6b0b51612837.jpg","text":"TemporaryFile(/tmp/multipartBody2632628416076894146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813224647,"filename":"image_10022025_13_25_58_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/639957da3dc6e6e20d64bd8d147be7b5.jpg","text":"TemporaryFile(/tmp/multipartBody2132751134897624408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813224647,"filename":"image_10022025_13_25_39_10678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75a6a9d70592ba5a447aeb738b5853a2.jpg","text":"TemporaryFile(/tmp/multipartBody8257624085805223028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813224647,"filename":"image_10022025_13_25_48_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e988a8bf94f083b9b9d52df879235311.jpg","text":"TemporaryFile(/tmp/multipartBody4966991492309607772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813224647,"filename":"image_10022025_13_25_28_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e62fbe4f7e13e0cb0c4ca899e180c95.jpg","text":"TemporaryFile(/tmp/multipartBody5343570735323698905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813224647,"filename":"image_10022025_13_25_18_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338199782","file1":"1338199779","file0":"1338199777","file4":"1338199793","file5":"1338199798","file3":"1338199784"},"map_files_photo_id_array":[{"photo_id":"1338199798","filename":"file5"},{"photo_id":"1338199782","filename":"file2"},{"photo_id":"1338199793","filename":"file4"},{"photo_id":"1338199779","filename":"file1"},{"photo_id":"1338199777","filename":"file0"},{"photo_id":"1338199784","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338199798":["hashtag1","hashtag2"]},{"1338199777":["hashtag1","hashtag2"]},{"1338199782":["hashtag1","hashtag2"]},{"1338199779":["hashtag1","hashtag2"]},{"1338199784":["hashtag1","hashtag2"]},{"1338199793":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338199798, 1338199777, 1338199782, 1338199779, 1338199784, 1338199793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76199150085449 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:27:03.195006
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_58_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_48_9660.jpg', 0), ('/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_39_10682.jpg', 0), ('/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_28_9679.jpg', 0), ('/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_18_9680.jpg', 0), ('/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_09_9690.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_58_9697.jpg', '/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_48_9660.jpg', '/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_39_10682.jpg', '/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_28_9679.jpg', '/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_18_9680.jpg', '/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_09_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_58_9697.jpg
/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_48_9660.jpg
/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_39_10682.jpg
/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_28_9679.jpg
/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_18_9680.jpg
/home/nano/Desktop/images/10022025/13/24/image_10022025_13_24_09_9690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338200002","1338200007","1338199839","1338199827","1338199853","1338199823"],"photo_ids_order":["1338199823","1338199827","1338199839","1338199853","1338200002","1338200007"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d17fa46db0ef879b30aea7e3e4af9b65.jpg","text":"TemporaryFile(/tmp/multipartBody1600456723150188509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813285267,"filename":"image_10022025_13_24_18_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6da3474cda74c95744893b3cb35cec77.jpg","text":"TemporaryFile(/tmp/multipartBody3731405663561257205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813285267,"filename":"image_10022025_13_24_09_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/203361016dcfd4ad1d28cd32771f01f1.jpg","text":"TemporaryFile(/tmp/multipartBody1853929401531681550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813285267,"filename":"image_10022025_13_24_39_10682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1baeee5a0bbecd28059cabb257bae1e.jpg","text":"TemporaryFile(/tmp/multipartBody6734701451266316779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813285267,"filename":"image_10022025_13_24_48_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54e5283e41c546dd9c040cb0d5e04506.jpg","text":"TemporaryFile(/tmp/multipartBody2825188832412415649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813285267,"filename":"image_10022025_13_24_28_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f76e0f5d152fcb0de94c1e93f4c07029.jpg","text":"TemporaryFile(/tmp/multipartBody7757106852718903105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813285267,"filename":"image_10022025_13_24_58_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338199839","file1":"1338199827","file0":"1338199823","file4":"1338200002","file5":"1338200007","file3":"1338199853"},"map_files_photo_id_array":[{"photo_id":"1338200007","filename":"file5"},{"photo_id":"1338199839","filename":"file2"},{"photo_id":"1338200002","filename":"file4"},{"photo_id":"1338199827","filename":"file1"},{"photo_id":"1338199823","filename":"file0"},{"photo_id":"1338199853","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338200002":["hashtag1","hashtag2"]},{"1338200007":["hashtag1","hashtag2"]},{"1338199839":["hashtag1","hashtag2"]},{"1338199827":["hashtag1","hashtag2"]},{"1338199853":["hashtag1","hashtag2"]},{"1338199823":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338200002, 1338200007, 1338199839, 1338199827, 1338199853, 1338199823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.964210987091064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:28:02.998337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_59_10702.jpg', 0), ('/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_48_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_38_9678.jpg', 0), ('/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_29_10693.jpg', 0), ('/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_18_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_08_9696.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_59_10702.jpg', '/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_48_9687.jpg', '/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_38_9678.jpg', '/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_29_10693.jpg', '/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_18_9682.jpg', '/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_08_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_59_10702.jpg
/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_48_9687.jpg
/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_38_9678.jpg
/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_29_10693.jpg
/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_18_9682.jpg
/home/nano/Desktop/images/10022025/13/23/image_10022025_13_23_08_9696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338200280","1338200291","1338200294","1338200288","1338200281","1338200284"],"photo_ids_order":["1338200280","1338200281","1338200284","1338200288","1338200291","1338200294"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7d0965570676e3ddf0d77a1e3286e30.jpg","text":"TemporaryFile(/tmp/multipartBody1600007424346197008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813345239,"filename":"image_10022025_13_23_59_10702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fcfc57d80bbdaaeb6dd22e5bb489635d.jpg","text":"TemporaryFile(/tmp/multipartBody2078956134351305693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813345239,"filename":"image_10022025_13_23_18_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/584132049c898227f9ae3fc37f985264.jpg","text":"TemporaryFile(/tmp/multipartBody8281560547130906180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813345239,"filename":"image_10022025_13_23_08_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc650a91a8dd596ba71d82f6896284ec.jpg","text":"TemporaryFile(/tmp/multipartBody2142834566142621301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813345239,"filename":"image_10022025_13_23_29_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8cf6e5af3d539a8cf68c45b0764c2a9.jpg","text":"TemporaryFile(/tmp/multipartBody1700115317904801890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813345239,"filename":"image_10022025_13_23_48_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/031650a1924b8e16b230f744084ae44e.jpg","text":"TemporaryFile(/tmp/multipartBody3472763508506837393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813345239,"filename":"image_10022025_13_23_38_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338200284","file1":"1338200281","file0":"1338200280","file4":"1338200291","file5":"1338200294","file3":"1338200288"},"map_files_photo_id_array":[{"photo_id":"1338200294","filename":"file5"},{"photo_id":"1338200284","filename":"file2"},{"photo_id":"1338200291","filename":"file4"},{"photo_id":"1338200281","filename":"file1"},{"photo_id":"1338200280","filename":"file0"},{"photo_id":"1338200288","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338200280":["hashtag1","hashtag2"]},{"1338200291":["hashtag1","hashtag2"]},{"1338200294":["hashtag1","hashtag2"]},{"1338200288":["hashtag1","hashtag2"]},{"1338200281":["hashtag1","hashtag2"]},{"1338200284":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338200280, 1338200291, 1338200294, 1338200288, 1338200281, 1338200284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.621453762054443 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:29:02.656623
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_59_10697.jpg', 0), ('/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_48_9715.jpg', 0), ('/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_38_9686.jpg', 0), ('/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_29_10673.jpg', 0), ('/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_18_9671.jpg', 0), ('/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_08_9676.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_59_10697.jpg', '/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_48_9715.jpg', '/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_38_9686.jpg', '/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_29_10673.jpg', '/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_18_9671.jpg', '/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_08_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_59_10697.jpg
/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_48_9715.jpg
/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_38_9686.jpg
/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_29_10673.jpg
/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_18_9671.jpg
/home/nano/Desktop/images/10022025/13/22/image_10022025_13_22_08_9676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338200338","1338200346","1338200334","1338200351","1338200344","1338200341"],"photo_ids_order":["1338200334","1338200338","1338200341","1338200344","1338200346","1338200351"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f314b29dc5cf7db9892fecc97258236.jpg","text":"TemporaryFile(/tmp/multipartBody5387869285651807360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813405101,"filename":"image_10022025_13_22_48_9715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/163c6a68bb441fc6cc2e7277a05f6e59.jpg","text":"TemporaryFile(/tmp/multipartBody2767846123471995620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813405101,"filename":"image_10022025_13_22_18_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aa856bc361d93136de549ade35cd2ca3.jpg","text":"TemporaryFile(/tmp/multipartBody1532583386427292295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813405101,"filename":"image_10022025_13_22_59_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/876bededbcf83c981801470678fbf1fa.jpg","text":"TemporaryFile(/tmp/multipartBody5987194271627803483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813405101,"filename":"image_10022025_13_22_08_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0bc7ff29344c425f767cb82e95ca294.jpg","text":"TemporaryFile(/tmp/multipartBody6655214964908654931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813405101,"filename":"image_10022025_13_22_29_10673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2946e0c317532bb423eeb16b0180986e.jpg","text":"TemporaryFile(/tmp/multipartBody5407244669718213191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813405101,"filename":"image_10022025_13_22_38_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338200341","file1":"1338200338","file0":"1338200334","file4":"1338200346","file5":"1338200351","file3":"1338200344"},"map_files_photo_id_array":[{"photo_id":"1338200351","filename":"file5"},{"photo_id":"1338200341","filename":"file2"},{"photo_id":"1338200346","filename":"file4"},{"photo_id":"1338200338","filename":"file1"},{"photo_id":"1338200334","filename":"file0"},{"photo_id":"1338200344","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338200338":["hashtag1","hashtag2"]},{"1338200346":["hashtag1","hashtag2"]},{"1338200334":["hashtag1","hashtag2"]},{"1338200351":["hashtag1","hashtag2"]},{"1338200344":["hashtag1","hashtag2"]},{"1338200341":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338200338, 1338200346, 1338200334, 1338200351, 1338200344, 1338200341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.990439891815186 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:30:02.265587
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_59_10679.jpg', 0), ('/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_48_9673.jpg', 0), ('/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_38_9679.jpg', 0), ('/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_29_9703.jpg', 0), ('/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_19_10673.jpg', 0), ('/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_08_9663.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_59_10679.jpg', '/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_48_9673.jpg', '/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_38_9679.jpg', '/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_29_9703.jpg', '/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_19_10673.jpg', '/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_08_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_59_10679.jpg
/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_48_9673.jpg
/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_38_9679.jpg
/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_29_9703.jpg
/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_19_10673.jpg
/home/nano/Desktop/images/10022025/13/21/image_10022025_13_21_08_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338200518","1338200373","1338200370","1338200366","1338200489","1338200368"],"photo_ids_order":["1338200366","1338200368","1338200370","1338200373","1338200489","1338200518"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8988dbf69f42d1d86c95d15697957cf2.jpg","text":"TemporaryFile(/tmp/multipartBody8552128439183719348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813464294,"filename":"image_10022025_13_21_08_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b7e26d8537402769758d684d657f471.jpg","text":"TemporaryFile(/tmp/multipartBody3619036672327726371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813464294,"filename":"image_10022025_13_21_29_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/34d8286489ddc1dbb093b153c2e8ace6.jpg","text":"TemporaryFile(/tmp/multipartBody6922400481545219949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813464294,"filename":"image_10022025_13_21_38_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/644362d926f204342d877493e01be69e.jpg","text":"TemporaryFile(/tmp/multipartBody557664688977916587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813464294,"filename":"image_10022025_13_21_59_10679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49fcb6e6aed069a969e0af1e580d59d6.jpg","text":"TemporaryFile(/tmp/multipartBody3465301851239308058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813464294,"filename":"image_10022025_13_21_19_10673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/34ef75fe39a637fc32a45fd82f63e2b0.jpg","text":"TemporaryFile(/tmp/multipartBody6889820588324887693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813464294,"filename":"image_10022025_13_21_48_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338200370","file1":"1338200368","file0":"1338200366","file4":"1338200489","file5":"1338200518","file3":"1338200373"},"map_files_photo_id_array":[{"photo_id":"1338200518","filename":"file5"},{"photo_id":"1338200370","filename":"file2"},{"photo_id":"1338200489","filename":"file4"},{"photo_id":"1338200368","filename":"file1"},{"photo_id":"1338200366","filename":"file0"},{"photo_id":"1338200373","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338200518":["hashtag1","hashtag2"]},{"1338200373":["hashtag1","hashtag2"]},{"1338200370":["hashtag1","hashtag2"]},{"1338200366":["hashtag1","hashtag2"]},{"1338200489":["hashtag1","hashtag2"]},{"1338200368":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338200518, 1338200373, 1338200370, 1338200366, 1338200489, 1338200368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.106504678726196 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:31:02.751323
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_59_9663.jpg', 0), ('/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_49_10705.jpg', 0), ('/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_38_9643.jpg', 0), ('/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_28_9678.jpg', 0), ('/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_19_10698.jpg', 0), ('/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_08_9695.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_59_9663.jpg', '/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_49_10705.jpg', '/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_38_9643.jpg', '/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_28_9678.jpg', '/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_19_10698.jpg', '/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_08_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_59_9663.jpg
/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_49_10705.jpg
/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_38_9643.jpg
/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_28_9678.jpg
/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_19_10698.jpg
/home/nano/Desktop/images/10022025/13/20/image_10022025_13_20_08_9695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338200577","1338200582","1338200585","1338200579","1338200588","1338200575"],"photo_ids_order":["1338200575","1338200577","1338200579","1338200582","1338200585","1338200588"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38b05862ea1b614a215903ffcfa2bb4c.jpg","text":"TemporaryFile(/tmp/multipartBody4315631619986368857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813524895,"filename":"image_10022025_13_20_49_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/397ab579166fd1f936454ef72df0e7a6.jpg","text":"TemporaryFile(/tmp/multipartBody8436627843629266342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813524895,"filename":"image_10022025_13_20_28_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a1bf2f0af137ef19a53bdecb445c22d0.jpg","text":"TemporaryFile(/tmp/multipartBody4268835916654548213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813524895,"filename":"image_10022025_13_20_19_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87853c782fedab12b087c945d8321cdb.jpg","text":"TemporaryFile(/tmp/multipartBody4831665585074674260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813524895,"filename":"image_10022025_13_20_38_9643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f9ec03137b86d90544617866a663e4c.jpg","text":"TemporaryFile(/tmp/multipartBody3431088496258899310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813524895,"filename":"image_10022025_13_20_08_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71435719a468685db8b36beea1eca5ed.jpg","text":"TemporaryFile(/tmp/multipartBody6692658950097793614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813524895,"filename":"image_10022025_13_20_59_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338200579","file1":"1338200577","file0":"1338200575","file4":"1338200585","file5":"1338200588","file3":"1338200582"},"map_files_photo_id_array":[{"photo_id":"1338200588","filename":"file5"},{"photo_id":"1338200579","filename":"file2"},{"photo_id":"1338200585","filename":"file4"},{"photo_id":"1338200577","filename":"file1"},{"photo_id":"1338200575","filename":"file0"},{"photo_id":"1338200582","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338200577":["hashtag1","hashtag2"]},{"1338200582":["hashtag1","hashtag2"]},{"1338200585":["hashtag1","hashtag2"]},{"1338200579":["hashtag1","hashtag2"]},{"1338200588":["hashtag1","hashtag2"]},{"1338200575":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338200577, 1338200582, 1338200585, 1338200579, 1338200588, 1338200575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90690898895264 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:32:02.664906
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_58_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_49_10695.jpg', 0), ('/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_38_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_28_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_19_10699.jpg', 0), ('/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_08_9682.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_58_9687.jpg', '/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_49_10695.jpg', '/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_38_9693.jpg', '/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_28_9696.jpg', '/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_19_10699.jpg', '/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_08_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_58_9687.jpg
/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_49_10695.jpg
/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_38_9693.jpg
/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_28_9696.jpg
/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_19_10699.jpg
/home/nano/Desktop/images/10022025/13/19/image_10022025_13_19_08_9682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338200620","1338200608","1338200616","1338200610","1338200613","1338200606"],"photo_ids_order":["1338200606","1338200608","1338200610","1338200613","1338200616","1338200620"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7187596b16c4b726ad16fc5a0ba3b965.jpg","text":"TemporaryFile(/tmp/multipartBody8951908204337920726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813584987,"filename":"image_10022025_13_19_08_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e9e2c0924d1e26f45ad12dfa212d06c.jpg","text":"TemporaryFile(/tmp/multipartBody970300155077314016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813584987,"filename":"image_10022025_13_19_49_10695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a6792908667ac3141cf0024d420406b0.jpg","text":"TemporaryFile(/tmp/multipartBody2358568124160791093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813584987,"filename":"image_10022025_13_19_19_10699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/681eedd2d998c77622f43cf7d51aff72.jpg","text":"TemporaryFile(/tmp/multipartBody8752154475494715247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813584987,"filename":"image_10022025_13_19_38_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e60a3003050bd9c72e9bc20a0d1c25a.jpg","text":"TemporaryFile(/tmp/multipartBody394758127143280779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813584987,"filename":"image_10022025_13_19_28_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2946197f5d4a718d80feb59fc328afec.jpg","text":"TemporaryFile(/tmp/multipartBody2989461219850178181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813584987,"filename":"image_10022025_13_19_58_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338200610","file1":"1338200608","file0":"1338200606","file4":"1338200616","file5":"1338200620","file3":"1338200613"},"map_files_photo_id_array":[{"photo_id":"1338200620","filename":"file5"},{"photo_id":"1338200610","filename":"file2"},{"photo_id":"1338200616","filename":"file4"},{"photo_id":"1338200608","filename":"file1"},{"photo_id":"1338200606","filename":"file0"},{"photo_id":"1338200613","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338200620":["hashtag1","hashtag2"]},{"1338200608":["hashtag1","hashtag2"]},{"1338200616":["hashtag1","hashtag2"]},{"1338200610":["hashtag1","hashtag2"]},{"1338200613":["hashtag1","hashtag2"]},{"1338200606":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338200620, 1338200608, 1338200616, 1338200610, 1338200613, 1338200606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17146944999695 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:33:02.737104
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_58_9679.jpg', 0), ('/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_49_10685.jpg', 0), ('/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_38_9664.jpg', 0), ('/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_28_9658.jpg', 0), ('/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_19_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_09_10660.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_58_9679.jpg', '/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_49_10685.jpg', '/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_38_9664.jpg', '/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_28_9658.jpg', '/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_19_9705.jpg', '/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_09_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_58_9679.jpg
/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_49_10685.jpg
/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_38_9664.jpg
/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_28_9658.jpg
/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_19_9705.jpg
/home/nano/Desktop/images/10022025/13/18/image_10022025_13_18_09_10660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338200657","1338200651","1338200645","1338200654","1338200648","1338200671"],"photo_ids_order":["1338200645","1338200648","1338200651","1338200654","1338200657","1338200671"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e1aa15bba0b60d6d4adf45b843f169e4.jpg","text":"TemporaryFile(/tmp/multipartBody5085477244211977254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813646466,"filename":"image_10022025_13_18_19_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f9cf498392f04f5e6a7436ed234e057f.jpg","text":"TemporaryFile(/tmp/multipartBody8566464284055430399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813646466,"filename":"image_10022025_13_18_38_9664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0114b2fbb56191737e8f4cca822a2b85.jpg","text":"TemporaryFile(/tmp/multipartBody6684542253129939854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813646466,"filename":"image_10022025_13_18_58_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fd3f6edb0aae3294b679503d788a5983.jpg","text":"TemporaryFile(/tmp/multipartBody1696208629268167408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813646466,"filename":"image_10022025_13_18_28_9658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1daa841ff853705066042dca56b3de9.jpg","text":"TemporaryFile(/tmp/multipartBody5538575718950917328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813646466,"filename":"image_10022025_13_18_49_10685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31fe6abda84b8b98db9d7bdfa7ba5b5f.jpg","text":"TemporaryFile(/tmp/multipartBody1727330295860347496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813646466,"filename":"image_10022025_13_18_09_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338200651","file1":"1338200648","file0":"1338200645","file4":"1338200657","file5":"1338200671","file3":"1338200654"},"map_files_photo_id_array":[{"photo_id":"1338200671","filename":"file5"},{"photo_id":"1338200651","filename":"file2"},{"photo_id":"1338200657","filename":"file4"},{"photo_id":"1338200648","filename":"file1"},{"photo_id":"1338200645","filename":"file0"},{"photo_id":"1338200654","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338200657":["hashtag1","hashtag2"]},{"1338200651":["hashtag1","hashtag2"]},{"1338200645":["hashtag1","hashtag2"]},{"1338200654":["hashtag1","hashtag2"]},{"1338200648":["hashtag1","hashtag2"]},{"1338200671":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338200657, 1338200651, 1338200645, 1338200654, 1338200648, 1338200671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17168116569519 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:34:03.103502
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_58_9666.jpg', 0), ('/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_49_9669.jpg', 0), ('/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_39_10679.jpg', 0), ('/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_28_9657.jpg', 0), ('/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_19_9658.jpg', 0), ('/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_09_10693.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_58_9666.jpg', '/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_49_9669.jpg', '/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_39_10679.jpg', '/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_28_9657.jpg', '/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_19_9658.jpg', '/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_09_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_58_9666.jpg
/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_49_9669.jpg
/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_39_10679.jpg
/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_28_9657.jpg
/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_19_9658.jpg
/home/nano/Desktop/images/10022025/13/17/image_10022025_13_17_09_10693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338200715","1338200709","1338200768","1338200712","1338200706","1338200764"],"photo_ids_order":["1338200706","1338200709","1338200712","1338200715","1338200764","1338200768"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7356f7dfcbe02656304b9cc3eeb928b9.jpg","text":"TemporaryFile(/tmp/multipartBody3886735076891737115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813705723,"filename":"image_10022025_13_17_28_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4cd48586366526589580859fada78e39.jpg","text":"TemporaryFile(/tmp/multipartBody1689013553513013316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813705723,"filename":"image_10022025_13_17_49_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca23627a0f6280cd0c92059b88af9256.jpg","text":"TemporaryFile(/tmp/multipartBody5592379210895385604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813705723,"filename":"image_10022025_13_17_09_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ae379accfdd2975d1130fc40b7d46ce.jpg","text":"TemporaryFile(/tmp/multipartBody7827100247627750506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813705723,"filename":"image_10022025_13_17_39_10679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e7b2f2ba435da5a87a31aae6e58acae.jpg","text":"TemporaryFile(/tmp/multipartBody3827242150284112829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813705723,"filename":"image_10022025_13_17_58_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f96ff90799a0f9e8e677587e3feabcc.jpg","text":"TemporaryFile(/tmp/multipartBody7422647617404812082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813705723,"filename":"image_10022025_13_17_19_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338200712","file1":"1338200709","file0":"1338200706","file4":"1338200764","file5":"1338200768","file3":"1338200715"},"map_files_photo_id_array":[{"photo_id":"1338200768","filename":"file5"},{"photo_id":"1338200712","filename":"file2"},{"photo_id":"1338200764","filename":"file4"},{"photo_id":"1338200709","filename":"file1"},{"photo_id":"1338200706","filename":"file0"},{"photo_id":"1338200715","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338200715":["hashtag1","hashtag2"]},{"1338200709":["hashtag1","hashtag2"]},{"1338200768":["hashtag1","hashtag2"]},{"1338200712":["hashtag1","hashtag2"]},{"1338200706":["hashtag1","hashtag2"]},{"1338200764":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338200715, 1338200709, 1338200768, 1338200712, 1338200706, 1338200764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06913161277771 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:35:03.283690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_58_9685.jpg', 0), ('/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_48_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_39_10672.jpg', 0), ('/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_28_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_18_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_09_10733.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_58_9685.jpg', '/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_48_9698.jpg', '/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_39_10672.jpg', '/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_28_9697.jpg', '/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_18_9687.jpg', '/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_09_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_58_9685.jpg
/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_48_9698.jpg
/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_39_10672.jpg
/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_28_9697.jpg
/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_18_9687.jpg
/home/nano/Desktop/images/10022025/13/16/image_10022025_13_16_09_10733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338200817","1338200802","1338200828","1338200813","1338200821","1338200824"],"photo_ids_order":["1338200802","1338200813","1338200817","1338200821","1338200824","1338200828"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57636a71a6287c1e604a01c9c4bd3467.jpg","text":"TemporaryFile(/tmp/multipartBody7410604076030766865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813765443,"filename":"image_10022025_13_16_39_10672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3c789375d35bd5095dd7e5594041788.jpg","text":"TemporaryFile(/tmp/multipartBody2703358999568492472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813765443,"filename":"image_10022025_13_16_58_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d79db8463712ab301bf5bf0497c10a2a.jpg","text":"TemporaryFile(/tmp/multipartBody8642547228169742360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813765443,"filename":"image_10022025_13_16_09_10733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f5b4e3a1b6844e5e44ad5d3fa106a048.jpg","text":"TemporaryFile(/tmp/multipartBody4790414894066447146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813765443,"filename":"image_10022025_13_16_48_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ed1947de05f4ff766306e2a456ea092.jpg","text":"TemporaryFile(/tmp/multipartBody5258227846651317484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813765443,"filename":"image_10022025_13_16_28_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/157403a7a21a2ebb6df67e9b9a70e25f.jpg","text":"TemporaryFile(/tmp/multipartBody3923092867324760001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813765443,"filename":"image_10022025_13_16_18_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338200817","file1":"1338200813","file0":"1338200802","file4":"1338200824","file5":"1338200828","file3":"1338200821"},"map_files_photo_id_array":[{"photo_id":"1338200828","filename":"file5"},{"photo_id":"1338200817","filename":"file2"},{"photo_id":"1338200824","filename":"file4"},{"photo_id":"1338200813","filename":"file1"},{"photo_id":"1338200802","filename":"file0"},{"photo_id":"1338200821","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338200817":["hashtag1","hashtag2"]},{"1338200802":["hashtag1","hashtag2"]},{"1338200828":["hashtag1","hashtag2"]},{"1338200813":["hashtag1","hashtag2"]},{"1338200821":["hashtag1","hashtag2"]},{"1338200824":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338200817, 1338200802, 1338200828, 1338200813, 1338200821, 1338200824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68809652328491 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:36:02.251933
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_58_9679.jpg', 0), ('/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_48_9673.jpg', 0), ('/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_39_10681.jpg', 0), ('/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_28_9664.jpg', 0), ('/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_18_9680.jpg', 0), ('/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_09_10688.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_58_9679.jpg', '/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_48_9673.jpg', '/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_39_10681.jpg', '/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_28_9664.jpg', '/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_18_9680.jpg', '/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_09_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_58_9679.jpg
/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_48_9673.jpg
/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_39_10681.jpg
/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_28_9664.jpg
/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_18_9680.jpg
/home/nano/Desktop/images/10022025/13/15/image_10022025_13_15_09_10688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338200874","1338200868","1338200853","1338200864","1338200860","1338200857"],"photo_ids_order":["1338200853","1338200857","1338200860","1338200864","1338200868","1338200874"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c93da514d7bd4566c5e0bf0b5c0ef9b.jpg","text":"TemporaryFile(/tmp/multipartBody4783792221168236873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813824433,"filename":"image_10022025_13_15_09_10688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9057194b376d117e1d6f3c064eeda049.jpg","text":"TemporaryFile(/tmp/multipartBody1323254306163586789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813824433,"filename":"image_10022025_13_15_18_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7292ce5f5281cbdfb67e891c70e657a3.jpg","text":"TemporaryFile(/tmp/multipartBody8802319192701647982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813824433,"filename":"image_10022025_13_15_58_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15fe80625509b9dc04402c83f435e72f.jpg","text":"TemporaryFile(/tmp/multipartBody4133138868285220501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813824433,"filename":"image_10022025_13_15_28_9664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97a3021a0e3c54e9ffe62f0f0eb3eacf.jpg","text":"TemporaryFile(/tmp/multipartBody2074856490820256708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813824433,"filename":"image_10022025_13_15_39_10681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d0dd8d39182dce2a67c03ba2eed54e4.jpg","text":"TemporaryFile(/tmp/multipartBody5196761150834068703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813824433,"filename":"image_10022025_13_15_48_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338200860","file1":"1338200857","file0":"1338200853","file4":"1338200868","file5":"1338200874","file3":"1338200864"},"map_files_photo_id_array":[{"photo_id":"1338200874","filename":"file5"},{"photo_id":"1338200860","filename":"file2"},{"photo_id":"1338200868","filename":"file4"},{"photo_id":"1338200857","filename":"file1"},{"photo_id":"1338200853","filename":"file0"},{"photo_id":"1338200864","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338200874":["hashtag1","hashtag2"]},{"1338200868":["hashtag1","hashtag2"]},{"1338200853":["hashtag1","hashtag2"]},{"1338200864":["hashtag1","hashtag2"]},{"1338200860":["hashtag1","hashtag2"]},{"1338200857":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338200874, 1338200868, 1338200853, 1338200864, 1338200860, 1338200857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86856722831726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:37:02.334917
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_58_9683.jpg', 0), ('/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_48_9676.jpg', 0), ('/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_39_10677.jpg', 0), ('/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_28_9670.jpg', 0), ('/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_18_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_09_9707.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_58_9683.jpg', '/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_48_9676.jpg', '/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_39_10677.jpg', '/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_28_9670.jpg', '/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_18_9701.jpg', '/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_09_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_58_9683.jpg
/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_48_9676.jpg
/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_39_10677.jpg
/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_28_9670.jpg
/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_18_9701.jpg
/home/nano/Desktop/images/10022025/13/14/image_10022025_13_14_09_9707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338200925","1338200919","1338200921","1338200915","1338200929","1338200923"],"photo_ids_order":["1338200915","1338200919","1338200921","1338200923","1338200925","1338200929"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6529677dab012aa3ff47150df08b0076.jpg","text":"TemporaryFile(/tmp/multipartBody6683687921399403580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813885562,"filename":"image_10022025_13_14_18_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4424436aa0062c7d02ba4d7da260cbb3.jpg","text":"TemporaryFile(/tmp/multipartBody8333251581084987935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813885562,"filename":"image_10022025_13_14_48_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/72bfb2827d586ac8e7badc6787fd6592.jpg","text":"TemporaryFile(/tmp/multipartBody7430423429948402969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813885562,"filename":"image_10022025_13_14_39_10677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea297170d3bb2411cf4bf3eaac457201.jpg","text":"TemporaryFile(/tmp/multipartBody1690918373642165756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813885562,"filename":"image_10022025_13_14_58_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57e920c07322d1b0a6860dc917f07a86.jpg","text":"TemporaryFile(/tmp/multipartBody856126001724156363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813885562,"filename":"image_10022025_13_14_09_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/41e177f4d6ab8f6f87e3f06fd4e6d965.jpg","text":"TemporaryFile(/tmp/multipartBody9100195928059740542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813885562,"filename":"image_10022025_13_14_28_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338200921","file1":"1338200919","file0":"1338200915","file4":"1338200925","file5":"1338200929","file3":"1338200923"},"map_files_photo_id_array":[{"photo_id":"1338200929","filename":"file5"},{"photo_id":"1338200921","filename":"file2"},{"photo_id":"1338200925","filename":"file4"},{"photo_id":"1338200919","filename":"file1"},{"photo_id":"1338200915","filename":"file0"},{"photo_id":"1338200923","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338200925":["hashtag1","hashtag2"]},{"1338200919":["hashtag1","hashtag2"]},{"1338200921":["hashtag1","hashtag2"]},{"1338200915":["hashtag1","hashtag2"]},{"1338200929":["hashtag1","hashtag2"]},{"1338200923":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338200925, 1338200919, 1338200921, 1338200915, 1338200929, 1338200923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01302433013916 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:38:02.531105
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_59_10682.jpg', 0), ('/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_48_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_38_9645.jpg', 0), ('/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_29_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_18_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_08_9761.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_59_10682.jpg', '/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_48_9726.jpg', '/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_38_9645.jpg', '/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_29_10717.jpg', '/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_18_9719.jpg', '/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_08_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_59_10682.jpg
/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_48_9726.jpg
/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_38_9645.jpg
/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_29_10717.jpg
/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_18_9719.jpg
/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_08_9761.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1679811477661133 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:38:32.294477
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_59_10682.jpg', 0), ('/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_48_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_38_9645.jpg', 0), ('/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_29_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_18_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_08_9761.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_59_10682.jpg', '/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_48_9726.jpg', '/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_38_9645.jpg', '/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_29_10717.jpg', '/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_18_9719.jpg', '/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_08_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_59_10682.jpg
/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_48_9726.jpg
/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_38_9645.jpg
/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_29_10717.jpg
/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_18_9719.jpg
/home/nano/Desktop/images/10022025/13/13/image_10022025_13_13_08_9761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338200988","1338200997","1338200985","1338200978","1338200992","1338201001"],"photo_ids_order":["1338200978","1338200985","1338200988","1338200992","1338200997","1338201001"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b369d65ab80ba5f1528075fca614d048.jpg","text":"TemporaryFile(/tmp/multipartBody7350110527390285731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813974868,"filename":"image_10022025_13_13_38_9645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eebc1bb0cc01b690cabf9042801a79e2.jpg","text":"TemporaryFile(/tmp/multipartBody655704625583064603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813974868,"filename":"image_10022025_13_13_18_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb4a18fa0e39b44b229ac511a0700a21.jpg","text":"TemporaryFile(/tmp/multipartBody6720431942974912512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813974868,"filename":"image_10022025_13_13_48_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4343ced486730533452196d49ee1375.jpg","text":"TemporaryFile(/tmp/multipartBody693866014713713596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813974868,"filename":"image_10022025_13_13_59_10682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/495e478a4a5fe8d04c00611d16dfad60.jpg","text":"TemporaryFile(/tmp/multipartBody4530096642666741661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813974868,"filename":"image_10022025_13_13_29_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed65fec001b447eeced9e25e52f21f85.jpg","text":"TemporaryFile(/tmp/multipartBody2371595444030240559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739813974868,"filename":"image_10022025_13_13_08_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338200988","file1":"1338200985","file0":"1338200978","file4":"1338200997","file5":"1338201001","file3":"1338200992"},"map_files_photo_id_array":[{"photo_id":"1338201001","filename":"file5"},{"photo_id":"1338200988","filename":"file2"},{"photo_id":"1338200997","filename":"file4"},{"photo_id":"1338200985","filename":"file1"},{"photo_id":"1338200978","filename":"file0"},{"photo_id":"1338200992","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338200988":["hashtag1","hashtag2"]},{"1338200997":["hashtag1","hashtag2"]},{"1338200985":["hashtag1","hashtag2"]},{"1338200978":["hashtag1","hashtag2"]},{"1338200992":["hashtag1","hashtag2"]},{"1338201001":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338200988, 1338200997, 1338200985, 1338200978, 1338200992, 1338201001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.782480716705322 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:39:32.509219
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_59_9751.jpg', 0), ('/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_49_10751.jpg', 0), ('/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_38_9754.jpg', 0), ('/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_28_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_19_9765.jpg', 0), ('/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_09_10813.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_59_9751.jpg', '/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_49_10751.jpg', '/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_38_9754.jpg', '/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_28_9705.jpg', '/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_19_9765.jpg', '/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_09_10813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_59_9751.jpg
/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_49_10751.jpg
/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_38_9754.jpg
/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_28_9705.jpg
/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_19_9765.jpg
/home/nano/Desktop/images/10022025/13/12/image_10022025_13_12_09_10813.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338201027","1338201021","1338201018","1338201053","1338201038","1338201049"],"photo_ids_order":["1338201018","1338201021","1338201027","1338201038","1338201049","1338201053"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1fe3f5037e7da515552f520ccfb80ac4.jpg","text":"TemporaryFile(/tmp/multipartBody910766461066828012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814034817,"filename":"image_10022025_13_12_38_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/768974bf985b7a534bbd0948df3f322b.jpg","text":"TemporaryFile(/tmp/multipartBody1858407671491970688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814034817,"filename":"image_10022025_13_12_49_10751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d9ee3060e80da59775a5ba1726741fc.jpg","text":"TemporaryFile(/tmp/multipartBody3757634758618876294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814034817,"filename":"image_10022025_13_12_59_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fab32c4c8cf0282d1ecd664cfd6ed646.jpg","text":"TemporaryFile(/tmp/multipartBody1707210994654222842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814034817,"filename":"image_10022025_13_12_09_10813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b69b9ab817158d47d5352041d4dacc6d.jpg","text":"TemporaryFile(/tmp/multipartBody2061523699952060261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814034817,"filename":"image_10022025_13_12_28_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f435416229463d4d99d72a246c6637b.jpg","text":"TemporaryFile(/tmp/multipartBody4013715754251881669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814034817,"filename":"image_10022025_13_12_19_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338201027","file1":"1338201021","file0":"1338201018","file4":"1338201049","file5":"1338201053","file3":"1338201038"},"map_files_photo_id_array":[{"photo_id":"1338201053","filename":"file5"},{"photo_id":"1338201027","filename":"file2"},{"photo_id":"1338201049","filename":"file4"},{"photo_id":"1338201021","filename":"file1"},{"photo_id":"1338201018","filename":"file0"},{"photo_id":"1338201038","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338201027":["hashtag1","hashtag2"]},{"1338201021":["hashtag1","hashtag2"]},{"1338201018":["hashtag1","hashtag2"]},{"1338201053":["hashtag1","hashtag2"]},{"1338201038":["hashtag1","hashtag2"]},{"1338201049":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338201027, 1338201021, 1338201018, 1338201053, 1338201038, 1338201049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75367712974548 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:40:32.639309
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_58_9709.jpg', 0), ('/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_48_9747.jpg', 0), ('/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_39_9732.jpg', 0), ('/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_29_10714.jpg', 0), ('/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_18_9792.jpg', 0), ('/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_08_9772.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_58_9709.jpg', '/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_48_9747.jpg', '/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_39_9732.jpg', '/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_29_10714.jpg', '/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_18_9792.jpg', '/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_08_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_58_9709.jpg
/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_48_9747.jpg
/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_39_9732.jpg
/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_29_10714.jpg
/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_18_9792.jpg
/home/nano/Desktop/images/10022025/13/11/image_10022025_13_11_08_9772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338201084","1338201095","1338201091","1338201079","1338201088","1338201075"],"photo_ids_order":["1338201075","1338201079","1338201084","1338201088","1338201091","1338201095"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a4405a19ee489be2180dcf25351d07f.jpg","text":"TemporaryFile(/tmp/multipartBody5412562878450629285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814095980,"filename":"image_10022025_13_11_39_9732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8078958353adeac6fd1cdbe68441cf89.jpg","text":"TemporaryFile(/tmp/multipartBody9124617806397747755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814095980,"filename":"image_10022025_13_11_08_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b9d0509c28688b175d4119f74d392f0.jpg","text":"TemporaryFile(/tmp/multipartBody8709331751473080241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814095980,"filename":"image_10022025_13_11_18_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/920d111d2db8a906e7c4d9159538f35d.jpg","text":"TemporaryFile(/tmp/multipartBody7662773853089691461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814095980,"filename":"image_10022025_13_11_48_9747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/465a7aa5e13c12263edd542adff67ce6.jpg","text":"TemporaryFile(/tmp/multipartBody148345211057932961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814095980,"filename":"image_10022025_13_11_29_10714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e6af623506cd487a88e4239e4de9dcef.jpg","text":"TemporaryFile(/tmp/multipartBody3874663179334421643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814095980,"filename":"image_10022025_13_11_58_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338201084","file1":"1338201079","file0":"1338201075","file4":"1338201091","file5":"1338201095","file3":"1338201088"},"map_files_photo_id_array":[{"photo_id":"1338201095","filename":"file5"},{"photo_id":"1338201084","filename":"file2"},{"photo_id":"1338201091","filename":"file4"},{"photo_id":"1338201079","filename":"file1"},{"photo_id":"1338201075","filename":"file0"},{"photo_id":"1338201088","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338201084":["hashtag1","hashtag2"]},{"1338201095":["hashtag1","hashtag2"]},{"1338201091":["hashtag1","hashtag2"]},{"1338201079":["hashtag1","hashtag2"]},{"1338201088":["hashtag1","hashtag2"]},{"1338201075":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338201084, 1338201095, 1338201091, 1338201079, 1338201088, 1338201075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62643265724182 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:41:32.770064
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_59_9766.jpg', 0), ('/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_49_10720.jpg', 0), ('/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_38_9767.jpg', 0), ('/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_28_9751.jpg', 0), ('/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_19_9684.jpg', 0), ('/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_09_10773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_59_9766.jpg', '/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_49_10720.jpg', '/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_38_9767.jpg', '/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_28_9751.jpg', '/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_19_9684.jpg', '/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_09_10773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_59_9766.jpg
/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_49_10720.jpg
/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_38_9767.jpg
/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_28_9751.jpg
/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_19_9684.jpg
/home/nano/Desktop/images/10022025/13/10/image_10022025_13_10_09_10773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338201188","1338201149","1338201178","1338201157","1338201145","1338201168"],"photo_ids_order":["1338201145","1338201149","1338201157","1338201168","1338201178","1338201188"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b10d68e4234d39342ce689de459ee02.jpg","text":"TemporaryFile(/tmp/multipartBody2963646266820280010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814155364,"filename":"image_10022025_13_10_09_10773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4f4d4282182f7a3813fd3285727de26.jpg","text":"TemporaryFile(/tmp/multipartBody1829688069974220504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814155364,"filename":"image_10022025_13_10_49_10720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a86a0c8ac18acbd2249a2250423e15be.jpg","text":"TemporaryFile(/tmp/multipartBody9092757116652759503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814155364,"filename":"image_10022025_13_10_19_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/859fccf2089b31d46cd3c6a427c6ba32.jpg","text":"TemporaryFile(/tmp/multipartBody8342490933430640743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814155364,"filename":"image_10022025_13_10_38_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79b133dac666749f9e253d4882330f56.jpg","text":"TemporaryFile(/tmp/multipartBody7894741697243381461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814155364,"filename":"image_10022025_13_10_59_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0989b2a78386aac85bba895d958b5ea0.jpg","text":"TemporaryFile(/tmp/multipartBody7121453997892316078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814155364,"filename":"image_10022025_13_10_28_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338201157","file1":"1338201149","file0":"1338201145","file4":"1338201178","file5":"1338201188","file3":"1338201168"},"map_files_photo_id_array":[{"photo_id":"1338201188","filename":"file5"},{"photo_id":"1338201157","filename":"file2"},{"photo_id":"1338201178","filename":"file4"},{"photo_id":"1338201149","filename":"file1"},{"photo_id":"1338201145","filename":"file0"},{"photo_id":"1338201168","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338201188":["hashtag1","hashtag2"]},{"1338201149":["hashtag1","hashtag2"]},{"1338201178":["hashtag1","hashtag2"]},{"1338201157":["hashtag1","hashtag2"]},{"1338201145":["hashtag1","hashtag2"]},{"1338201168":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338201188, 1338201149, 1338201178, 1338201157, 1338201145, 1338201168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1700325012207 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:42:31.945709
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_58_9727.jpg', 0), ('/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_48_9779.jpg', 0), ('/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_39_10690.jpg', 0), ('/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_28_9763.jpg', 0), ('/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_18_9753.jpg', 0), ('/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_08_9752.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_58_9727.jpg', '/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_48_9779.jpg', '/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_39_10690.jpg', '/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_28_9763.jpg', '/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_18_9753.jpg', '/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_08_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_58_9727.jpg
/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_48_9779.jpg
/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_39_10690.jpg
/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_28_9763.jpg
/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_18_9753.jpg
/home/nano/Desktop/images/10022025/13/09/image_10022025_13_09_08_9752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338201219","1338201228","1338201215","1338201209","1338201224","1338201211"],"photo_ids_order":["1338201209","1338201211","1338201215","1338201219","1338201224","1338201228"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a817e6fa48e54c939cdb4ff0a109eb60.jpg","text":"TemporaryFile(/tmp/multipartBody5782605565152052692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814215041,"filename":"image_10022025_13_09_28_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64ae1f3f3d2828cdd4f51ce5115317f8.jpg","text":"TemporaryFile(/tmp/multipartBody7559410293925568767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814215041,"filename":"image_10022025_13_09_08_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/beec0439953e42c139bf6827905223cc.jpg","text":"TemporaryFile(/tmp/multipartBody9122688339207465428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814215041,"filename":"image_10022025_13_09_39_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22c209be5e745d3a45744049bfd9d820.jpg","text":"TemporaryFile(/tmp/multipartBody2370850544088912655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814215041,"filename":"image_10022025_13_09_58_9727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c814edd0ed7e96d508a91c8fcf00ed3.jpg","text":"TemporaryFile(/tmp/multipartBody2087315697098397577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814215041,"filename":"image_10022025_13_09_18_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e867c347240b9f5c623f8c7dd4672df.jpg","text":"TemporaryFile(/tmp/multipartBody5702185654109017111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814215041,"filename":"image_10022025_13_09_48_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338201215","file1":"1338201211","file0":"1338201209","file4":"1338201224","file5":"1338201228","file3":"1338201219"},"map_files_photo_id_array":[{"photo_id":"1338201228","filename":"file5"},{"photo_id":"1338201215","filename":"file2"},{"photo_id":"1338201224","filename":"file4"},{"photo_id":"1338201211","filename":"file1"},{"photo_id":"1338201209","filename":"file0"},{"photo_id":"1338201219","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338201219":["hashtag1","hashtag2"]},{"1338201228":["hashtag1","hashtag2"]},{"1338201215":["hashtag1","hashtag2"]},{"1338201209":["hashtag1","hashtag2"]},{"1338201224":["hashtag1","hashtag2"]},{"1338201211":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338201219, 1338201228, 1338201215, 1338201209, 1338201224, 1338201211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62575674057007 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:43:32.070118
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_59_10712.jpg', 0), ('/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_48_9759.jpg', 0), ('/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_38_9732.jpg', 0), ('/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_28_9734.jpg', 0), ('/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_19_10754.jpg', 0), ('/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_08_9779.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_59_10712.jpg', '/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_48_9759.jpg', '/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_38_9732.jpg', '/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_28_9734.jpg', '/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_19_10754.jpg', '/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_08_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_59_10712.jpg
/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_48_9759.jpg
/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_38_9732.jpg
/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_28_9734.jpg
/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_19_10754.jpg
/home/nano/Desktop/images/10022025/13/08/image_10022025_13_08_08_9779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338201290","1338201293","1338201287","1338201275","1338201283","1338201279"],"photo_ids_order":["1338201275","1338201279","1338201283","1338201287","1338201290","1338201293"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8930dd9a5aa9c7f2c8e92b0d7fcb5f5b.jpg","text":"TemporaryFile(/tmp/multipartBody392885272810659500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814274803,"filename":"image_10022025_13_08_19_10754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f486eeab405119ce81d547fcbd37dc6.jpg","text":"TemporaryFile(/tmp/multipartBody4667176422943162284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814274803,"filename":"image_10022025_13_08_08_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3df94b2596af542d79e90cd361184f8c.jpg","text":"TemporaryFile(/tmp/multipartBody6544738365188684080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814274803,"filename":"image_10022025_13_08_28_9734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3db2b77f26b9f6712efec3cd1bc09eb6.jpg","text":"TemporaryFile(/tmp/multipartBody658383169817897823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814274803,"filename":"image_10022025_13_08_59_10712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea15b719c55b91880b9514fa810c71eb.jpg","text":"TemporaryFile(/tmp/multipartBody6557733492140891015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814274803,"filename":"image_10022025_13_08_38_9732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4415f10808426a0a55706fb5d3669f7.jpg","text":"TemporaryFile(/tmp/multipartBody8863603053402844838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814274803,"filename":"image_10022025_13_08_48_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338201283","file1":"1338201279","file0":"1338201275","file4":"1338201290","file5":"1338201293","file3":"1338201287"},"map_files_photo_id_array":[{"photo_id":"1338201293","filename":"file5"},{"photo_id":"1338201283","filename":"file2"},{"photo_id":"1338201290","filename":"file4"},{"photo_id":"1338201279","filename":"file1"},{"photo_id":"1338201275","filename":"file0"},{"photo_id":"1338201287","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338201290":["hashtag1","hashtag2"]},{"1338201293":["hashtag1","hashtag2"]},{"1338201287":["hashtag1","hashtag2"]},{"1338201275":["hashtag1","hashtag2"]},{"1338201283":["hashtag1","hashtag2"]},{"1338201279":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338201290, 1338201293, 1338201287, 1338201275, 1338201283, 1338201279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76261568069458 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:44:32.211250
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_58_9770.jpg', 0), ('/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_48_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_39_10781.jpg', 0), ('/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_28_9678.jpg', 0), ('/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_18_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_08_9706.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_58_9770.jpg', '/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_48_9692.jpg', '/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_39_10781.jpg', '/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_28_9678.jpg', '/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_18_9788.jpg', '/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_08_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_58_9770.jpg
/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_48_9692.jpg
/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_39_10781.jpg
/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_28_9678.jpg
/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_18_9788.jpg
/home/nano/Desktop/images/10022025/13/07/image_10022025_13_07_08_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338201801","1338201986","1338201893","1338202087","1338201706","1338201607"],"photo_ids_order":["1338201607","1338201706","1338201801","1338201893","1338201986","1338202087"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6418b9e7a6054d744a6634212ae30ea.jpg","text":"TemporaryFile(/tmp/multipartBody91225840657934851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814334728,"filename":"image_10022025_13_07_39_10781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/739456b94831812189295f4810306897.jpg","text":"TemporaryFile(/tmp/multipartBody7770383531836835831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814334728,"filename":"image_10022025_13_07_18_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b68450a688a4e971d5756fccf2f5f952.jpg","text":"TemporaryFile(/tmp/multipartBody2707072477503608088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814334728,"filename":"image_10022025_13_07_28_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c6083ff27dabecc212f373d09d174d6.jpg","text":"TemporaryFile(/tmp/multipartBody6258446415062496304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814334728,"filename":"image_10022025_13_07_08_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8cb4a5d27a798d2d4bb663d867fe003.jpg","text":"TemporaryFile(/tmp/multipartBody2927394835034424097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814334728,"filename":"image_10022025_13_07_48_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/91ce282bb9c48c19d095ea1f502bf814.jpg","text":"TemporaryFile(/tmp/multipartBody3701829376908896644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814334728,"filename":"image_10022025_13_07_58_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338201801","file1":"1338201706","file0":"1338201607","file4":"1338201986","file5":"1338202087","file3":"1338201893"},"map_files_photo_id_array":[{"photo_id":"1338202087","filename":"file5"},{"photo_id":"1338201801","filename":"file2"},{"photo_id":"1338201986","filename":"file4"},{"photo_id":"1338201706","filename":"file1"},{"photo_id":"1338201607","filename":"file0"},{"photo_id":"1338201893","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338201801":["hashtag1","hashtag2"]},{"1338201986":["hashtag1","hashtag2"]},{"1338201893":["hashtag1","hashtag2"]},{"1338202087":["hashtag1","hashtag2"]},{"1338201706":["hashtag1","hashtag2"]},{"1338201607":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338201801, 1338201986, 1338201893, 1338202087, 1338201706, 1338201607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97849988937378 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:45:32.358678
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_59_10775.jpg', 0), ('/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_48_9666.jpg', 0), ('/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_38_9730.jpg', 0), ('/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_29_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_19_10780.jpg', 0), ('/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_08_9747.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_59_10775.jpg', '/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_48_9666.jpg', '/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_38_9730.jpg', '/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_29_9726.jpg', '/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_19_10780.jpg', '/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_08_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_59_10775.jpg
/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_48_9666.jpg
/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_38_9730.jpg
/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_29_9726.jpg
/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_19_10780.jpg
/home/nano/Desktop/images/10022025/13/06/image_10022025_13_06_08_9747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338202707","1338202679","1338202637","1338202699","1338202623","1338202710"],"photo_ids_order":["1338202623","1338202637","1338202679","1338202699","1338202707","1338202710"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60416b418cc01ea55dac85767675f3a4.jpg","text":"TemporaryFile(/tmp/multipartBody5197581515331240085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814394513,"filename":"image_10022025_13_06_19_10780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4fcee633a939d75c3337e1a3999ebff9.jpg","text":"TemporaryFile(/tmp/multipartBody6539222723337249000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814394513,"filename":"image_10022025_13_06_38_9730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b814e96f9499d69f087499eb68d126d.jpg","text":"TemporaryFile(/tmp/multipartBody7595325189453443049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814394513,"filename":"image_10022025_13_06_48_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce923472630cf96cc8ae5e1b5032caf6.jpg","text":"TemporaryFile(/tmp/multipartBody7015296724980278976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814394513,"filename":"image_10022025_13_06_29_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/337c7684c5df1e70d3fcd0b31c74e92c.jpg","text":"TemporaryFile(/tmp/multipartBody5423444431115260547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814394513,"filename":"image_10022025_13_06_59_10775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76cbeb5c6846a5dde78a1ef8d08d0bc3.jpg","text":"TemporaryFile(/tmp/multipartBody4457559833048746999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814394513,"filename":"image_10022025_13_06_08_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338202679","file1":"1338202637","file0":"1338202623","file4":"1338202707","file5":"1338202710","file3":"1338202699"},"map_files_photo_id_array":[{"photo_id":"1338202710","filename":"file5"},{"photo_id":"1338202679","filename":"file2"},{"photo_id":"1338202707","filename":"file4"},{"photo_id":"1338202637","filename":"file1"},{"photo_id":"1338202623","filename":"file0"},{"photo_id":"1338202699","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338202707":["hashtag1","hashtag2"]},{"1338202679":["hashtag1","hashtag2"]},{"1338202637":["hashtag1","hashtag2"]},{"1338202699":["hashtag1","hashtag2"]},{"1338202623":["hashtag1","hashtag2"]},{"1338202710":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338202707, 1338202679, 1338202637, 1338202699, 1338202623, 1338202710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02854585647583 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:46:32.540090
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_58_9747.jpg', 0), ('/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_49_9776.jpg', 0), ('/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_39_10738.jpg', 0), ('/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_28_9775.jpg', 0), ('/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_18_9775.jpg', 0), ('/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_08_9724.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_58_9747.jpg', '/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_49_9776.jpg', '/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_39_10738.jpg', '/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_28_9775.jpg', '/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_18_9775.jpg', '/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_08_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_58_9747.jpg
/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_49_9776.jpg
/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_39_10738.jpg
/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_28_9775.jpg
/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_18_9775.jpg
/home/nano/Desktop/images/10022025/13/05/image_10022025_13_05_08_9724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338202850","1338202861","1338202858","1338202854","1338202842","1338202839"],"photo_ids_order":["1338202839","1338202842","1338202850","1338202854","1338202858","1338202861"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d7f38f432f1ca183d0c1786a4deca33.jpg","text":"TemporaryFile(/tmp/multipartBody3106616536416585456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814455527,"filename":"image_10022025_13_05_39_10738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3efa8b11d8d3c65420514545184ec170.jpg","text":"TemporaryFile(/tmp/multipartBody4976079613774866437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814455527,"filename":"image_10022025_13_05_08_9724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e27d21ad88cde580d766eb095cadac60.jpg","text":"TemporaryFile(/tmp/multipartBody779547741980035902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814455527,"filename":"image_10022025_13_05_18_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/35c5f464c82596fa07871f2e1d852064.jpg","text":"TemporaryFile(/tmp/multipartBody8581325058372980702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814455527,"filename":"image_10022025_13_05_28_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ac99d517e38f7aeb7daf95ef9b325a2.jpg","text":"TemporaryFile(/tmp/multipartBody2612144693951169190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814455527,"filename":"image_10022025_13_05_49_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9153719f8e8b1d0bec50c74f14b59780.jpg","text":"TemporaryFile(/tmp/multipartBody5941813849174767394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814455527,"filename":"image_10022025_13_05_58_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338202850","file1":"1338202842","file0":"1338202839","file4":"1338202858","file5":"1338202861","file3":"1338202854"},"map_files_photo_id_array":[{"photo_id":"1338202861","filename":"file5"},{"photo_id":"1338202850","filename":"file2"},{"photo_id":"1338202858","filename":"file4"},{"photo_id":"1338202842","filename":"file1"},{"photo_id":"1338202839","filename":"file0"},{"photo_id":"1338202854","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338202850":["hashtag1","hashtag2"]},{"1338202861":["hashtag1","hashtag2"]},{"1338202858":["hashtag1","hashtag2"]},{"1338202854":["hashtag1","hashtag2"]},{"1338202842":["hashtag1","hashtag2"]},{"1338202839":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338202850, 1338202861, 1338202858, 1338202854, 1338202842, 1338202839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78322744369507 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:47:32.690265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_59_10751.jpg', 0), ('/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_48_9712.jpg', 0), ('/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_38_9708.jpg', 0), ('/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_29_10707.jpg', 0), ('/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_18_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_08_9696.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_59_10751.jpg', '/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_48_9712.jpg', '/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_38_9708.jpg', '/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_29_10707.jpg', '/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_18_9701.jpg', '/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_08_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_59_10751.jpg
/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_48_9712.jpg
/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_38_9708.jpg
/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_29_10707.jpg
/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_18_9701.jpg
/home/nano/Desktop/images/10022025/13/04/image_10022025_13_04_08_9696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338202905","1338202912","1338202896","1338202915","1338202900","1338202908"],"photo_ids_order":["1338202896","1338202900","1338202905","1338202908","1338202912","1338202915"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/835b9c27fa0f3c3e2aa0184adc052b7f.jpg","text":"TemporaryFile(/tmp/multipartBody1786725046046907879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814515312,"filename":"image_10022025_13_04_38_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/555c8bf8c1d3befeac9433d4d3ac9a87.jpg","text":"TemporaryFile(/tmp/multipartBody4926747882799225509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814515312,"filename":"image_10022025_13_04_18_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba0af57bcfe27a27251abd3b1ecbae78.jpg","text":"TemporaryFile(/tmp/multipartBody8598078789384668445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814515312,"filename":"image_10022025_13_04_59_10751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0e713586d17217d14d03652d04b509a.jpg","text":"TemporaryFile(/tmp/multipartBody57445382311679595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814515312,"filename":"image_10022025_13_04_08_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98cb0de384762633b7167c9a44ccec17.jpg","text":"TemporaryFile(/tmp/multipartBody3841688394532660674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814515312,"filename":"image_10022025_13_04_48_9712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc7b35d8347dbea3417c5487df31c80c.jpg","text":"TemporaryFile(/tmp/multipartBody4557315504071576247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814515312,"filename":"image_10022025_13_04_29_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338202905","file1":"1338202900","file0":"1338202896","file4":"1338202912","file5":"1338202915","file3":"1338202908"},"map_files_photo_id_array":[{"photo_id":"1338202915","filename":"file5"},{"photo_id":"1338202905","filename":"file2"},{"photo_id":"1338202912","filename":"file4"},{"photo_id":"1338202900","filename":"file1"},{"photo_id":"1338202896","filename":"file0"},{"photo_id":"1338202908","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338202905":["hashtag1","hashtag2"]},{"1338202912":["hashtag1","hashtag2"]},{"1338202896":["hashtag1","hashtag2"]},{"1338202915":["hashtag1","hashtag2"]},{"1338202900":["hashtag1","hashtag2"]},{"1338202908":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338202905, 1338202912, 1338202896, 1338202915, 1338202900, 1338202908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04126524925232 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:48:31.907017
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_58_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_49_10702.jpg', 0), ('/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_38_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_28_9704.jpg', 0), ('/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_19_10723.jpg', 0), ('/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_08_9717.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_58_9706.jpg', '/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_49_10702.jpg', '/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_38_9714.jpg', '/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_28_9704.jpg', '/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_19_10723.jpg', '/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_08_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_58_9706.jpg
/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_49_10702.jpg
/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_38_9714.jpg
/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_28_9704.jpg
/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_19_10723.jpg
/home/nano/Desktop/images/10022025/13/03/image_10022025_13_03_08_9717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338202949","1338202957","1338202944","1338202941","1338202935","1338202938"],"photo_ids_order":["1338202935","1338202938","1338202941","1338202944","1338202949","1338202957"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cfb5a12bb061373d71e8e8f670dc2cfc.jpg","text":"TemporaryFile(/tmp/multipartBody7217843381093352245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814574777,"filename":"image_10022025_13_03_19_10723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b358dfbea979c9379b97dfba25d57b86.jpg","text":"TemporaryFile(/tmp/multipartBody421450094787651989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814574777,"filename":"image_10022025_13_03_08_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/daced12db02024d9d9b040b1237c2b1d.jpg","text":"TemporaryFile(/tmp/multipartBody6462043205267097081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814574777,"filename":"image_10022025_13_03_28_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ce5e418007321d902542920a308981e.jpg","text":"TemporaryFile(/tmp/multipartBody2069899887261304218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814574777,"filename":"image_10022025_13_03_38_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a4e514f63e24321eb397f4a01a94f34.jpg","text":"TemporaryFile(/tmp/multipartBody2727864944919263192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814574777,"filename":"image_10022025_13_03_58_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ba86af349faa2994c6f4a4232cea21f.jpg","text":"TemporaryFile(/tmp/multipartBody2331796376343525989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814574777,"filename":"image_10022025_13_03_49_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338202941","file1":"1338202938","file0":"1338202935","file4":"1338202949","file5":"1338202957","file3":"1338202944"},"map_files_photo_id_array":[{"photo_id":"1338202957","filename":"file5"},{"photo_id":"1338202941","filename":"file2"},{"photo_id":"1338202949","filename":"file4"},{"photo_id":"1338202938","filename":"file1"},{"photo_id":"1338202935","filename":"file0"},{"photo_id":"1338202944","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338202949":["hashtag1","hashtag2"]},{"1338202957":["hashtag1","hashtag2"]},{"1338202944":["hashtag1","hashtag2"]},{"1338202941":["hashtag1","hashtag2"]},{"1338202935":["hashtag1","hashtag2"]},{"1338202938":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338202949, 1338202957, 1338202944, 1338202941, 1338202935, 1338202938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.70829963684082 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:49:32.112713
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_58_9715.jpg', 0), ('/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_49_9710.jpg', 0), ('/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_39_10710.jpg', 0), ('/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_28_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_18_9709.jpg', 0), ('/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_09_10699.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_58_9715.jpg', '/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_49_9710.jpg', '/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_39_10710.jpg', '/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_28_9726.jpg', '/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_18_9709.jpg', '/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_09_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_58_9715.jpg
/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_49_9710.jpg
/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_39_10710.jpg
/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_28_9726.jpg
/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_18_9709.jpg
/home/nano/Desktop/images/10022025/13/02/image_10022025_13_02_09_10699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338202994","1338202988","1338202999","1338202978","1338203002","1338202983"],"photo_ids_order":["1338202978","1338202983","1338202988","1338202994","1338202999","1338203002"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a5ab7abebade2085bfdc6f49a708c8cb.jpg","text":"TemporaryFile(/tmp/multipartBody7228428413555456645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814634523,"filename":"image_10022025_13_02_28_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d2769a1c7e64096542c73d88552b533c.jpg","text":"TemporaryFile(/tmp/multipartBody3597067049242331416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814634523,"filename":"image_10022025_13_02_39_10710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ef13ddaa46719156c772724e04e07c02.jpg","text":"TemporaryFile(/tmp/multipartBody3255006900512145313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814634523,"filename":"image_10022025_13_02_18_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5485b7b1d295b83e7f34b4d1d3ce00a4.jpg","text":"TemporaryFile(/tmp/multipartBody2474978434268845712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814634523,"filename":"image_10022025_13_02_58_9715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d37853094c2eb941aded55aa577ee68e.jpg","text":"TemporaryFile(/tmp/multipartBody5966925202051783386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814634523,"filename":"image_10022025_13_02_09_10699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/acca85542e4db9e68f09a7ce84755013.jpg","text":"TemporaryFile(/tmp/multipartBody6623745148460099498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814634523,"filename":"image_10022025_13_02_49_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338202988","file1":"1338202983","file0":"1338202978","file4":"1338202999","file5":"1338203002","file3":"1338202994"},"map_files_photo_id_array":[{"photo_id":"1338203002","filename":"file5"},{"photo_id":"1338202988","filename":"file2"},{"photo_id":"1338202999","filename":"file4"},{"photo_id":"1338202983","filename":"file1"},{"photo_id":"1338202978","filename":"file0"},{"photo_id":"1338202994","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338202994":["hashtag1","hashtag2"]},{"1338202988":["hashtag1","hashtag2"]},{"1338202999":["hashtag1","hashtag2"]},{"1338202978":["hashtag1","hashtag2"]},{"1338203002":["hashtag1","hashtag2"]},{"1338202983":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338202994, 1338202988, 1338202999, 1338202978, 1338203002, 1338202983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49756193161011 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:50:32.278271
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_58_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_48_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_39_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_29_10699.jpg', 0), ('/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_18_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_08_9681.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_58_9714.jpg', '/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_48_9701.jpg', '/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_39_9726.jpg', '/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_29_10699.jpg', '/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_18_9705.jpg', '/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_08_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_58_9714.jpg
/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_48_9701.jpg
/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_39_9726.jpg
/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_29_10699.jpg
/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_18_9705.jpg
/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_08_9681.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3844597339630127 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:51:02.827800
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_58_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_48_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_39_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_29_10699.jpg', 0), ('/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_18_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_08_9681.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_58_9714.jpg', '/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_48_9701.jpg', '/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_39_9726.jpg', '/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_29_10699.jpg', '/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_18_9705.jpg', '/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_08_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_58_9714.jpg
/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_48_9701.jpg
/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_39_9726.jpg
/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_29_10699.jpg
/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_18_9705.jpg
/home/nano/Desktop/images/10022025/13/01/image_10022025_13_01_08_9681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338203063","1338203051","1338203048","1338203053","1338203056","1338203059"],"photo_ids_order":["1338203048","1338203051","1338203053","1338203056","1338203059","1338203063"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae6f240cd33b1316c9e39ed6088fe548.jpg","text":"TemporaryFile(/tmp/multipartBody6697539749259386066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814725468,"filename":"image_10022025_13_01_08_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c08d7c3671631feeff721427f43020cb.jpg","text":"TemporaryFile(/tmp/multipartBody2270643432380007133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814725468,"filename":"image_10022025_13_01_48_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d7c47761e0488d465458a33e76d65820.jpg","text":"TemporaryFile(/tmp/multipartBody205483386774113179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814725468,"filename":"image_10022025_13_01_58_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ddc88735f5619b4146ff90b0926fee2.jpg","text":"TemporaryFile(/tmp/multipartBody5350403507040028087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814725468,"filename":"image_10022025_13_01_39_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/43da2170a86361902a19d7c210210f7a.jpg","text":"TemporaryFile(/tmp/multipartBody6730669377586697659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814725468,"filename":"image_10022025_13_01_29_10699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cdd98da762cdea5dbcd62582ff6c5f35.jpg","text":"TemporaryFile(/tmp/multipartBody6316145476063827743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814725468,"filename":"image_10022025_13_01_18_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338203053","file1":"1338203051","file0":"1338203048","file4":"1338203059","file5":"1338203063","file3":"1338203056"},"map_files_photo_id_array":[{"photo_id":"1338203063","filename":"file5"},{"photo_id":"1338203053","filename":"file2"},{"photo_id":"1338203059","filename":"file4"},{"photo_id":"1338203051","filename":"file1"},{"photo_id":"1338203048","filename":"file0"},{"photo_id":"1338203056","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338203063":["hashtag1","hashtag2"]},{"1338203051":["hashtag1","hashtag2"]},{"1338203048":["hashtag1","hashtag2"]},{"1338203053":["hashtag1","hashtag2"]},{"1338203056":["hashtag1","hashtag2"]},{"1338203059":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338203063, 1338203051, 1338203048, 1338203053, 1338203056, 1338203059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44030809402466 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:52:02.905222
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_59_10715.jpg', 0), ('/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_48_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_38_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_29_10728.jpg', 0), ('/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_18_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_08_9685.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_59_10715.jpg', '/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_48_9692.jpg', '/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_38_9687.jpg', '/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_29_10728.jpg', '/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_18_9701.jpg', '/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_08_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_59_10715.jpg
/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_48_9692.jpg
/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_38_9687.jpg
/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_29_10728.jpg
/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_18_9701.jpg
/home/nano/Desktop/images/10022025/13/00/image_10022025_13_00_08_9685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338203560","1338203584","1338203551","1338203556","1338203591","1338203564"],"photo_ids_order":["1338203551","1338203556","1338203560","1338203564","1338203584","1338203591"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4466bf6a90f87923ddc57f033d6e701a.jpg","text":"TemporaryFile(/tmp/multipartBody5799190103548604850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814785106,"filename":"image_10022025_13_00_38_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/22f502b29710b0d0c8a6bf7608abfd8b.jpg","text":"TemporaryFile(/tmp/multipartBody1340601023014516997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814785106,"filename":"image_10022025_13_00_18_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0284af87f14718834fcb61c9ca19be2a.jpg","text":"TemporaryFile(/tmp/multipartBody2486073482910823021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814785106,"filename":"image_10022025_13_00_59_10715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17011ef049465055481cd2e78db4615c.jpg","text":"TemporaryFile(/tmp/multipartBody8014296584318782851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814785106,"filename":"image_10022025_13_00_48_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dbbfaabbc4b07871acd65efbd474b584.jpg","text":"TemporaryFile(/tmp/multipartBody8698489819931341734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814785106,"filename":"image_10022025_13_00_08_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/696a1dfc713084adeda6bc20cc4f834e.jpg","text":"TemporaryFile(/tmp/multipartBody1630516210253430462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814785106,"filename":"image_10022025_13_00_29_10728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338203560","file1":"1338203556","file0":"1338203551","file4":"1338203584","file5":"1338203591","file3":"1338203564"},"map_files_photo_id_array":[{"photo_id":"1338203591","filename":"file5"},{"photo_id":"1338203560","filename":"file2"},{"photo_id":"1338203584","filename":"file4"},{"photo_id":"1338203556","filename":"file1"},{"photo_id":"1338203551","filename":"file0"},{"photo_id":"1338203564","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338203560":["hashtag1","hashtag2"]},{"1338203584":["hashtag1","hashtag2"]},{"1338203551":["hashtag1","hashtag2"]},{"1338203556":["hashtag1","hashtag2"]},{"1338203591":["hashtag1","hashtag2"]},{"1338203564":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338203560, 1338203584, 1338203551, 1338203556, 1338203591, 1338203564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02361464500427 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:53:03.099823
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_59_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_49_10705.jpg', 0), ('/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_38_9710.jpg', 0), ('/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_28_9681.jpg', 0), ('/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_19_10710.jpg', 0), ('/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_08_9735.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_59_9718.jpg', '/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_49_10705.jpg', '/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_38_9710.jpg', '/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_28_9681.jpg', '/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_19_10710.jpg', '/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_08_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_59_9718.jpg
/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_49_10705.jpg
/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_38_9710.jpg
/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_28_9681.jpg
/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_19_10710.jpg
/home/nano/Desktop/images/10022025/12/59/image_10022025_12_59_08_9735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338203890","1338203878","1338203893","1338203872","1338203875","1338203869"],"photo_ids_order":["1338203869","1338203872","1338203875","1338203878","1338203890","1338203893"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7a5dd0b193b20d011619eed5ef2936c.jpg","text":"TemporaryFile(/tmp/multipartBody7397166353482503748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814845805,"filename":"image_10022025_12_59_19_10710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b7fba326078202bf66c591f73df2290.jpg","text":"TemporaryFile(/tmp/multipartBody258652147802236758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814845805,"filename":"image_10022025_12_59_28_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/298903115be040b6d3d85bdc76f6f6eb.jpg","text":"TemporaryFile(/tmp/multipartBody256814691763313382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814845805,"filename":"image_10022025_12_59_08_9735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8dd0c3e58f74db8170018e194a891bb0.jpg","text":"TemporaryFile(/tmp/multipartBody533340176156130554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814845805,"filename":"image_10022025_12_59_49_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/718922fd92486513d3da146b22998776.jpg","text":"TemporaryFile(/tmp/multipartBody83256165560609783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814845805,"filename":"image_10022025_12_59_38_9710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08379f3dde25d05fef55a24007046282.jpg","text":"TemporaryFile(/tmp/multipartBody4792226853433279168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814845805,"filename":"image_10022025_12_59_59_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338203875","file1":"1338203872","file0":"1338203869","file4":"1338203890","file5":"1338203893","file3":"1338203878"},"map_files_photo_id_array":[{"photo_id":"1338203893","filename":"file5"},{"photo_id":"1338203875","filename":"file2"},{"photo_id":"1338203890","filename":"file4"},{"photo_id":"1338203872","filename":"file1"},{"photo_id":"1338203869","filename":"file0"},{"photo_id":"1338203878","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338203890":["hashtag1","hashtag2"]},{"1338203878":["hashtag1","hashtag2"]},{"1338203893":["hashtag1","hashtag2"]},{"1338203872":["hashtag1","hashtag2"]},{"1338203875":["hashtag1","hashtag2"]},{"1338203869":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338203890, 1338203878, 1338203893, 1338203872, 1338203875, 1338203869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07627081871033 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:54:02.414398
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_58_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_49_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_39_10738.jpg', 0), ('/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_28_9712.jpg', 0), ('/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_18_9708.jpg', 0), ('/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_09_10746.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_58_9701.jpg', '/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_49_9719.jpg', '/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_39_10738.jpg', '/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_28_9712.jpg', '/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_18_9708.jpg', '/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_09_10746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_58_9701.jpg
/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_49_9719.jpg
/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_39_10738.jpg
/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_28_9712.jpg
/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_18_9708.jpg
/home/nano/Desktop/images/10022025/12/58/image_10022025_12_58_09_10746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338203945","1338203956","1338203938","1338203952","1338203931","1338203949"],"photo_ids_order":["1338203931","1338203938","1338203945","1338203949","1338203952","1338203956"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/766b706c50ca529bb4389fc7cc314822.jpg","text":"TemporaryFile(/tmp/multipartBody4858204569828213161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814904859,"filename":"image_10022025_12_58_39_10738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/66d17e1cd83ba0b8b483bdac78e61688.jpg","text":"TemporaryFile(/tmp/multipartBody4630917156230932820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814904859,"filename":"image_10022025_12_58_09_10746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/09e2bebc34acd433a24f04812ebd2ff0.jpg","text":"TemporaryFile(/tmp/multipartBody1138248080963102526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814904859,"filename":"image_10022025_12_58_49_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cc885ae7efafac86238739c6be05b8c.jpg","text":"TemporaryFile(/tmp/multipartBody6159298044657678789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814904859,"filename":"image_10022025_12_58_18_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee91dec2d3ae80d2deb7d24091bd51d9.jpg","text":"TemporaryFile(/tmp/multipartBody8528058063252728207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814904859,"filename":"image_10022025_12_58_58_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13fb9cb9e5b5a75414b1d630feae0a63.jpg","text":"TemporaryFile(/tmp/multipartBody8828435344313822670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814904859,"filename":"image_10022025_12_58_28_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338203945","file1":"1338203938","file0":"1338203931","file4":"1338203952","file5":"1338203956","file3":"1338203949"},"map_files_photo_id_array":[{"photo_id":"1338203956","filename":"file5"},{"photo_id":"1338203945","filename":"file2"},{"photo_id":"1338203952","filename":"file4"},{"photo_id":"1338203938","filename":"file1"},{"photo_id":"1338203931","filename":"file0"},{"photo_id":"1338203949","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338203945":["hashtag1","hashtag2"]},{"1338203956":["hashtag1","hashtag2"]},{"1338203938":["hashtag1","hashtag2"]},{"1338203952":["hashtag1","hashtag2"]},{"1338203931":["hashtag1","hashtag2"]},{"1338203949":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338203945, 1338203956, 1338203938, 1338203952, 1338203931, 1338203949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66644549369812 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:55:02.432334
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_58_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_48_9703.jpg', 0), ('/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_39_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_29_10726.jpg', 0), ('/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_18_9715.jpg', 0), ('/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_08_9710.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_58_9697.jpg', '/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_48_9703.jpg', '/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_39_9719.jpg', '/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_29_10726.jpg', '/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_18_9715.jpg', '/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_08_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_58_9697.jpg
/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_48_9703.jpg
/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_39_9719.jpg
/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_29_10726.jpg
/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_18_9715.jpg
/home/nano/Desktop/images/10022025/12/57/image_10022025_12_57_08_9710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338203995","1338203983","1338203991","1338203999","1338203987","1338203981"],"photo_ids_order":["1338203981","1338203983","1338203987","1338203991","1338203995","1338203999"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/733dc63b400b753944d164d3bfb6f649.jpg","text":"TemporaryFile(/tmp/multipartBody2385352451713970453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814964492,"filename":"image_10022025_12_57_18_9715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ff4c5a69d5f8817253c297697888df3e.jpg","text":"TemporaryFile(/tmp/multipartBody1029041655454151961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814964492,"filename":"image_10022025_12_57_48_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3623de228a14722dc8f9536a1ab38c5.jpg","text":"TemporaryFile(/tmp/multipartBody2241725839430337341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814964492,"filename":"image_10022025_12_57_29_10726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7030a48bdfa2aff348728110f114ae5a.jpg","text":"TemporaryFile(/tmp/multipartBody3194232211845322015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814964492,"filename":"image_10022025_12_57_08_9710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3ea2d9b9e032ed21ea0d6438a96d397.jpg","text":"TemporaryFile(/tmp/multipartBody6762260416735152400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814964492,"filename":"image_10022025_12_57_39_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b32012bbefe4bcea5aaefe3f60d44507.jpg","text":"TemporaryFile(/tmp/multipartBody3160544690341773946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739814964492,"filename":"image_10022025_12_57_58_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338203987","file1":"1338203983","file0":"1338203981","file4":"1338203995","file5":"1338203999","file3":"1338203991"},"map_files_photo_id_array":[{"photo_id":"1338203999","filename":"file5"},{"photo_id":"1338203987","filename":"file2"},{"photo_id":"1338203995","filename":"file4"},{"photo_id":"1338203983","filename":"file1"},{"photo_id":"1338203981","filename":"file0"},{"photo_id":"1338203991","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338203995":["hashtag1","hashtag2"]},{"1338203983":["hashtag1","hashtag2"]},{"1338203991":["hashtag1","hashtag2"]},{"1338203999":["hashtag1","hashtag2"]},{"1338203987":["hashtag1","hashtag2"]},{"1338203981":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338203995, 1338203983, 1338203991, 1338203999, 1338203987, 1338203981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.037105083465576 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:56:02.538535
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_59_10699.jpg', 0), ('/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_48_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_38_9708.jpg', 0), ('/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_29_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_19_10725.jpg', 0), ('/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_08_9723.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_59_10699.jpg', '/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_48_9714.jpg', '/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_38_9708.jpg', '/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_29_9716.jpg', '/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_19_10725.jpg', '/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_08_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_59_10699.jpg
/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_48_9714.jpg
/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_38_9708.jpg
/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_29_9716.jpg
/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_19_10725.jpg
/home/nano/Desktop/images/10022025/12/56/image_10022025_12_56_08_9723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338204259","1338204238","1338204263","1338204257","1338204248","1338204236"],"photo_ids_order":["1338204236","1338204238","1338204248","1338204257","1338204259","1338204263"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e9d0e32b6600d25c60dd4240c1e27dd.jpg","text":"TemporaryFile(/tmp/multipartBody1755588345939806403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815025307,"filename":"image_10022025_12_56_19_10725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fef97ace36d4565e65df995faa228c7f.jpg","text":"TemporaryFile(/tmp/multipartBody2283044270151194581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815025307,"filename":"image_10022025_12_56_48_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60230d0e615549c1766c67ad6a8877e8.jpg","text":"TemporaryFile(/tmp/multipartBody946691774216359774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815025307,"filename":"image_10022025_12_56_08_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5bfd5c3282be855071cb141ece00508d.jpg","text":"TemporaryFile(/tmp/multipartBody5448291440011816403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815025307,"filename":"image_10022025_12_56_29_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/61c67f955ac07f6477a0b28dc7068f98.jpg","text":"TemporaryFile(/tmp/multipartBody47369743961611669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815025307,"filename":"image_10022025_12_56_38_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f08a40d77e78e2975eeab25081a2594.jpg","text":"TemporaryFile(/tmp/multipartBody9201720487233676461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815025307,"filename":"image_10022025_12_56_59_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338204248","file1":"1338204238","file0":"1338204236","file4":"1338204259","file5":"1338204263","file3":"1338204257"},"map_files_photo_id_array":[{"photo_id":"1338204263","filename":"file5"},{"photo_id":"1338204248","filename":"file2"},{"photo_id":"1338204259","filename":"file4"},{"photo_id":"1338204238","filename":"file1"},{"photo_id":"1338204236","filename":"file0"},{"photo_id":"1338204257","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338204259":["hashtag1","hashtag2"]},{"1338204238":["hashtag1","hashtag2"]},{"1338204263":["hashtag1","hashtag2"]},{"1338204257":["hashtag1","hashtag2"]},{"1338204248":["hashtag1","hashtag2"]},{"1338204236":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338204259, 1338204238, 1338204263, 1338204257, 1338204248, 1338204236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.537017822265625 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:57:02.555663
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_58_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_49_9866.jpg', 0), ('/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_39_10710.jpg', 0), ('/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_28_9733.jpg', 0), ('/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_18_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_09_10739.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_58_9699.jpg', '/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_49_9866.jpg', '/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_39_10710.jpg', '/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_28_9733.jpg', '/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_18_9696.jpg', '/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_09_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_58_9699.jpg
/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_49_9866.jpg
/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_39_10710.jpg
/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_28_9733.jpg
/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_18_9696.jpg
/home/nano/Desktop/images/10022025/12/55/image_10022025_12_55_09_10739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338204422","1338204376","1338204415","1338204409","1338204344","1338204341"],"photo_ids_order":["1338204341","1338204344","1338204376","1338204409","1338204415","1338204422"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d290163f05d056d43af3adbd38d4576.jpg","text":"TemporaryFile(/tmp/multipartBody2795624680408814642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815086817,"filename":"image_10022025_12_55_09_10739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/920e965245f9460b4fece3765744f5d8.jpg","text":"TemporaryFile(/tmp/multipartBody5690249085337205144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815086817,"filename":"image_10022025_12_55_39_10710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/23ddb0c5a7d2e7f0f36e8c38b882b90d.jpg","text":"TemporaryFile(/tmp/multipartBody3485238364616681209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815086817,"filename":"image_10022025_12_55_18_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a741ea60266769138d761976fe44cb85.jpg","text":"TemporaryFile(/tmp/multipartBody5877690864725978293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815086817,"filename":"image_10022025_12_55_28_9733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a1344ad84c9a384b022f3c72abf3aff.jpg","text":"TemporaryFile(/tmp/multipartBody6817702061133870874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815086817,"filename":"image_10022025_12_55_49_9866.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/125bc639f3ae2f84a039c1ab9cd7e395.jpg","text":"TemporaryFile(/tmp/multipartBody720905594397222448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815086817,"filename":"image_10022025_12_55_58_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338204376","file1":"1338204344","file0":"1338204341","file4":"1338204415","file5":"1338204422","file3":"1338204409"},"map_files_photo_id_array":[{"photo_id":"1338204422","filename":"file5"},{"photo_id":"1338204376","filename":"file2"},{"photo_id":"1338204415","filename":"file4"},{"photo_id":"1338204344","filename":"file1"},{"photo_id":"1338204341","filename":"file0"},{"photo_id":"1338204409","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338204422":["hashtag1","hashtag2"]},{"1338204376":["hashtag1","hashtag2"]},{"1338204415":["hashtag1","hashtag2"]},{"1338204409":["hashtag1","hashtag2"]},{"1338204344":["hashtag1","hashtag2"]},{"1338204341":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338204422, 1338204376, 1338204415, 1338204409, 1338204344, 1338204341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.019577741622925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:58:02.840412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_58_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_48_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_39_9690.jpg', 0), ('/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_29_10729.jpg', 0), ('/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_18_9702.jpg', 0), ('/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_08_9707.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_58_9682.jpg', '/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_48_9691.jpg', '/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_39_9690.jpg', '/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_29_10729.jpg', '/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_18_9702.jpg', '/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_08_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_58_9682.jpg
/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_48_9691.jpg
/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_39_9690.jpg
/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_29_10729.jpg
/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_18_9702.jpg
/home/nano/Desktop/images/10022025/12/54/image_10022025_12_54_08_9707.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338204472","1338204475","1338204477","1338204471","1338204476","1338204470"],"photo_ids_order":["1338204470","1338204471","1338204472","1338204475","1338204476","1338204477"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f4571867ebeb5077415f9bffdea52b0.jpg","text":"TemporaryFile(/tmp/multipartBody7165575556539029846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815145024,"filename":"image_10022025_12_54_39_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75a7dbd0ffa3bdc737b91be1762f0a2c.jpg","text":"TemporaryFile(/tmp/multipartBody4619014639584118392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815145024,"filename":"image_10022025_12_54_29_10729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/401a065de7089d5b78f81197817e1026.jpg","text":"TemporaryFile(/tmp/multipartBody8814110882480895336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815145024,"filename":"image_10022025_12_54_08_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1ac1f9cae5809c7477178ac2153d158.jpg","text":"TemporaryFile(/tmp/multipartBody980198381497685781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815145024,"filename":"image_10022025_12_54_48_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d36be2f6144269ffa3558b4c2c3b54a.jpg","text":"TemporaryFile(/tmp/multipartBody5022001229760898317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815145024,"filename":"image_10022025_12_54_18_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/171a8c7779128c6fa6b5488151cd018f.jpg","text":"TemporaryFile(/tmp/multipartBody1532997195065154211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815145024,"filename":"image_10022025_12_54_58_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338204472","file1":"1338204471","file0":"1338204470","file4":"1338204476","file5":"1338204477","file3":"1338204475"},"map_files_photo_id_array":[{"photo_id":"1338204477","filename":"file5"},{"photo_id":"1338204472","filename":"file2"},{"photo_id":"1338204476","filename":"file4"},{"photo_id":"1338204471","filename":"file1"},{"photo_id":"1338204470","filename":"file0"},{"photo_id":"1338204475","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338204472":["hashtag1","hashtag2"]},{"1338204475":["hashtag1","hashtag2"]},{"1338204477":["hashtag1","hashtag2"]},{"1338204471":["hashtag1","hashtag2"]},{"1338204476":["hashtag1","hashtag2"]},{"1338204470":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338204472, 1338204475, 1338204477, 1338204471, 1338204476, 1338204470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.776005744934082 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 18:59:03.066220
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_59_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_48_9739.jpg', 0), ('/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_38_9676.jpg', 0), ('/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_29_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_19_10691.jpg', 0), ('/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_08_9685.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_59_10717.jpg', '/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_48_9739.jpg', '/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_38_9676.jpg', '/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_29_9697.jpg', '/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_19_10691.jpg', '/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_08_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_59_10717.jpg
/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_48_9739.jpg
/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_38_9676.jpg
/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_29_9697.jpg
/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_19_10691.jpg
/home/nano/Desktop/images/10022025/12/53/image_10022025_12_53_08_9685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338204543","1338204531","1338204572","1338204557","1338204536","1338204611"],"photo_ids_order":["1338204531","1338204536","1338204543","1338204557","1338204572","1338204611"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0f92b6a3c77b5655e35b31c44dc0803.jpg","text":"TemporaryFile(/tmp/multipartBody5996566005239193194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815205756,"filename":"image_10022025_12_53_38_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39bb871d4b084d9a4e2ba1d98dd79db2.jpg","text":"TemporaryFile(/tmp/multipartBody6264541859482614581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815205756,"filename":"image_10022025_12_53_59_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d24e0b8da6929b3a5a1df576754c8b58.jpg","text":"TemporaryFile(/tmp/multipartBody6947272221062273908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815205756,"filename":"image_10022025_12_53_19_10691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ab7ac2c1e3bb3d92a74552e55c2aea6.jpg","text":"TemporaryFile(/tmp/multipartBody1901751072858856894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815205756,"filename":"image_10022025_12_53_29_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2df107d58ebdbb403207970069ff124.jpg","text":"TemporaryFile(/tmp/multipartBody5938553042592708258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815205756,"filename":"image_10022025_12_53_48_9739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b027b87681e1d68995fd0acee4e0c453.jpg","text":"TemporaryFile(/tmp/multipartBody5479349767621283649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815205756,"filename":"image_10022025_12_53_08_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338204543","file1":"1338204536","file0":"1338204531","file4":"1338204572","file5":"1338204611","file3":"1338204557"},"map_files_photo_id_array":[{"photo_id":"1338204611","filename":"file5"},{"photo_id":"1338204543","filename":"file2"},{"photo_id":"1338204572","filename":"file4"},{"photo_id":"1338204536","filename":"file1"},{"photo_id":"1338204531","filename":"file0"},{"photo_id":"1338204557","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338204543":["hashtag1","hashtag2"]},{"1338204531":["hashtag1","hashtag2"]},{"1338204572":["hashtag1","hashtag2"]},{"1338204557":["hashtag1","hashtag2"]},{"1338204536":["hashtag1","hashtag2"]},{"1338204611":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338204543, 1338204531, 1338204572, 1338204557, 1338204536, 1338204611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90620422363281 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:00:02.743600
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_58_9667.jpg', 0), ('/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_49_10705.jpg', 0), ('/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_38_9671.jpg', 0), ('/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_28_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_19_10705.jpg', 0), ('/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_08_9716.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_58_9667.jpg', '/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_49_10705.jpg', '/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_38_9671.jpg', '/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_28_9706.jpg', '/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_19_10705.jpg', '/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_08_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_58_9667.jpg
/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_49_10705.jpg
/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_38_9671.jpg
/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_28_9706.jpg
/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_19_10705.jpg
/home/nano/Desktop/images/10022025/12/52/image_10022025_12_52_08_9716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338204657","1338204651","1338204654","1338204648","1338204662","1338204659"],"photo_ids_order":["1338204648","1338204651","1338204654","1338204657","1338204659","1338204662"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ae2e074d6861fe72668e6c5a51373ed.jpg","text":"TemporaryFile(/tmp/multipartBody568656180710589128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815265444,"filename":"image_10022025_12_52_28_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/179b383e73845dce8419a70cce8e8aca.jpg","text":"TemporaryFile(/tmp/multipartBody3857351331702450903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815265444,"filename":"image_10022025_12_52_49_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/015d641768fabfb47945cdf296e28788.jpg","text":"TemporaryFile(/tmp/multipartBody698066323215090816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815265444,"filename":"image_10022025_12_52_38_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8eaa45417cb375a690437aefc8c2abaa.jpg","text":"TemporaryFile(/tmp/multipartBody458615659962388147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815265444,"filename":"image_10022025_12_52_58_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60b2f621c416155f256f14844f86520e.jpg","text":"TemporaryFile(/tmp/multipartBody6673565740165553164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815265444,"filename":"image_10022025_12_52_08_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f76caf6962a93da4b633f54a41b82327.jpg","text":"TemporaryFile(/tmp/multipartBody501987837567707773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815265444,"filename":"image_10022025_12_52_19_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338204654","file1":"1338204651","file0":"1338204648","file4":"1338204659","file5":"1338204662","file3":"1338204657"},"map_files_photo_id_array":[{"photo_id":"1338204662","filename":"file5"},{"photo_id":"1338204654","filename":"file2"},{"photo_id":"1338204659","filename":"file4"},{"photo_id":"1338204651","filename":"file1"},{"photo_id":"1338204648","filename":"file0"},{"photo_id":"1338204657","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338204657":["hashtag1","hashtag2"]},{"1338204651":["hashtag1","hashtag2"]},{"1338204654":["hashtag1","hashtag2"]},{"1338204648":["hashtag1","hashtag2"]},{"1338204662":["hashtag1","hashtag2"]},{"1338204659":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338204657, 1338204651, 1338204654, 1338204648, 1338204662, 1338204659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93369722366333 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:01:02.977425
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_58_9683.jpg', 0), ('/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_49_10689.jpg', 0), ('/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_38_9681.jpg', 0), ('/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_28_9685.jpg', 0), ('/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_19_10696.jpg', 0), ('/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_08_9682.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_58_9683.jpg', '/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_49_10689.jpg', '/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_38_9681.jpg', '/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_28_9685.jpg', '/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_19_10696.jpg', '/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_08_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_58_9683.jpg
/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_49_10689.jpg
/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_38_9681.jpg
/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_28_9685.jpg
/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_19_10696.jpg
/home/nano/Desktop/images/10022025/12/51/image_10022025_12_51_08_9682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338204727","1338204709","1338204700","1338204732","1338204729","1338204717"],"photo_ids_order":["1338204700","1338204709","1338204717","1338204727","1338204729","1338204732"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/243f06a317b9fe1bf46a6dde6c8f770e.jpg","text":"TemporaryFile(/tmp/multipartBody50551933932047565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815326250,"filename":"image_10022025_12_51_28_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b2249cb7f2da884acdf61102f59269b.jpg","text":"TemporaryFile(/tmp/multipartBody3693924629651101211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815326250,"filename":"image_10022025_12_51_49_10689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a92ffef8f986ac8e261b4f809dc12b59.jpg","text":"TemporaryFile(/tmp/multipartBody5634854641558792946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815326250,"filename":"image_10022025_12_51_58_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c67594e6ece1f05e210db1b144adae0a.jpg","text":"TemporaryFile(/tmp/multipartBody279358743213219833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815326250,"filename":"image_10022025_12_51_08_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40cacc2841498ccf74d01f7498dd005d.jpg","text":"TemporaryFile(/tmp/multipartBody66379686112520646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815326250,"filename":"image_10022025_12_51_19_10696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6200d1e68d84fc4b087a0e9085dd1e30.jpg","text":"TemporaryFile(/tmp/multipartBody3880020998097958538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815326250,"filename":"image_10022025_12_51_38_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338204717","file1":"1338204709","file0":"1338204700","file4":"1338204729","file5":"1338204732","file3":"1338204727"},"map_files_photo_id_array":[{"photo_id":"1338204732","filename":"file5"},{"photo_id":"1338204717","filename":"file2"},{"photo_id":"1338204729","filename":"file4"},{"photo_id":"1338204709","filename":"file1"},{"photo_id":"1338204700","filename":"file0"},{"photo_id":"1338204727","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338204727":["hashtag1","hashtag2"]},{"1338204709":["hashtag1","hashtag2"]},{"1338204700":["hashtag1","hashtag2"]},{"1338204732":["hashtag1","hashtag2"]},{"1338204729":["hashtag1","hashtag2"]},{"1338204717":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338204727, 1338204709, 1338204700, 1338204732, 1338204729, 1338204717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71882677078247 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:02:02.210712
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_58_9670.jpg', 0), ('/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_49_9683.jpg', 0), ('/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_39_10703.jpg', 0), ('/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_28_9709.jpg', 0), ('/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_18_9683.jpg', 0), ('/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_09_10731.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_58_9670.jpg', '/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_49_9683.jpg', '/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_39_10703.jpg', '/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_28_9709.jpg', '/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_18_9683.jpg', '/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_09_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_58_9670.jpg
/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_49_9683.jpg
/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_39_10703.jpg
/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_28_9709.jpg
/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_18_9683.jpg
/home/nano/Desktop/images/10022025/12/50/image_10022025_12_50_09_10731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338204769","1338204754","1338204762","1338204756","1338204761","1338204758"],"photo_ids_order":["1338204754","1338204756","1338204758","1338204761","1338204762","1338204769"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2e68d5b13dae98050d41d642b817a4f.jpg","text":"TemporaryFile(/tmp/multipartBody2556015857599660162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815384576,"filename":"image_10022025_12_50_09_10731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75e298831e0416829698c8108fda969d.jpg","text":"TemporaryFile(/tmp/multipartBody2815732901713986545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815384576,"filename":"image_10022025_12_50_58_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8adfd3b6b3d87f652be938538ed336ac.jpg","text":"TemporaryFile(/tmp/multipartBody1679228180213045491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815384576,"filename":"image_10022025_12_50_18_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db8a3bbc42c233cec7ca8893deac3331.jpg","text":"TemporaryFile(/tmp/multipartBody5240527630154973626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815384576,"filename":"image_10022025_12_50_49_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80f905ef71185751c8e5e97c31f56640.jpg","text":"TemporaryFile(/tmp/multipartBody4889915063050719969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815384576,"filename":"image_10022025_12_50_28_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/436f162caaaf07dc78ddb90f6cde7a41.jpg","text":"TemporaryFile(/tmp/multipartBody1501264991831345879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815384576,"filename":"image_10022025_12_50_39_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338204758","file1":"1338204756","file0":"1338204754","file4":"1338204762","file5":"1338204769","file3":"1338204761"},"map_files_photo_id_array":[{"photo_id":"1338204769","filename":"file5"},{"photo_id":"1338204758","filename":"file2"},{"photo_id":"1338204762","filename":"file4"},{"photo_id":"1338204756","filename":"file1"},{"photo_id":"1338204754","filename":"file0"},{"photo_id":"1338204761","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338204769":["hashtag1","hashtag2"]},{"1338204754":["hashtag1","hashtag2"]},{"1338204762":["hashtag1","hashtag2"]},{"1338204756":["hashtag1","hashtag2"]},{"1338204761":["hashtag1","hashtag2"]},{"1338204758":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338204769, 1338204754, 1338204762, 1338204756, 1338204761, 1338204758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20101523399353 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:03:02.614972
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_58_9723.jpg', 0), ('/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_48_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_39_9708.jpg', 0), ('/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_29_10779.jpg', 0), ('/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_18_9926.jpg', 0), ('/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_08_9923.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_58_9723.jpg', '/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_48_9718.jpg', '/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_39_9708.jpg', '/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_29_10779.jpg', '/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_18_9926.jpg', '/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_08_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_58_9723.jpg
/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_48_9718.jpg
/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_39_9708.jpg
/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_29_10779.jpg
/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_18_9926.jpg
/home/nano/Desktop/images/10022025/12/49/image_10022025_12_49_08_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338204810","1338204804","1338204807","1338204788","1338204821","1338204793"],"photo_ids_order":["1338204788","1338204793","1338204804","1338204807","1338204810","1338204821"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/657a42bcb0625f1f48912b8c279c7d42.jpg","text":"TemporaryFile(/tmp/multipartBody831952842946840014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815445133,"filename":"image_10022025_12_49_18_9926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8309860068deea0e91d395dea0dec71.jpg","text":"TemporaryFile(/tmp/multipartBody5785352897139739865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815445133,"filename":"image_10022025_12_49_39_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21831d3dae7a7f4ef48bc270d983cb38.jpg","text":"TemporaryFile(/tmp/multipartBody7376433337473160517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815445133,"filename":"image_10022025_12_49_29_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e5f6b9e5ab16c6c21617254dd78bf054.jpg","text":"TemporaryFile(/tmp/multipartBody8274834621252211200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815445133,"filename":"image_10022025_12_49_58_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4bba52b0bff501c01d638506fe59b9e4.jpg","text":"TemporaryFile(/tmp/multipartBody8760928926168573704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815445133,"filename":"image_10022025_12_49_08_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a770c11d4c368a16c737c8d833f022b.jpg","text":"TemporaryFile(/tmp/multipartBody13736990193851842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815445133,"filename":"image_10022025_12_49_48_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338204804","file1":"1338204793","file0":"1338204788","file4":"1338204810","file5":"1338204821","file3":"1338204807"},"map_files_photo_id_array":[{"photo_id":"1338204821","filename":"file5"},{"photo_id":"1338204804","filename":"file2"},{"photo_id":"1338204810","filename":"file4"},{"photo_id":"1338204793","filename":"file1"},{"photo_id":"1338204788","filename":"file0"},{"photo_id":"1338204807","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338204810":["hashtag1","hashtag2"]},{"1338204804":["hashtag1","hashtag2"]},{"1338204807":["hashtag1","hashtag2"]},{"1338204788":["hashtag1","hashtag2"]},{"1338204821":["hashtag1","hashtag2"]},{"1338204793":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338204810, 1338204804, 1338204807, 1338204788, 1338204821, 1338204793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52009344100952 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:04:02.885793
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_58_9766.jpg', 0), ('/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_48_9740.jpg', 0), ('/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_39_10692.jpg', 0), ('/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_28_9791.jpg', 0), ('/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_18_9769.jpg', 0), ('/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_08_9753.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_58_9766.jpg', '/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_48_9740.jpg', '/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_39_10692.jpg', '/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_28_9791.jpg', '/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_18_9769.jpg', '/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_08_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_58_9766.jpg
/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_48_9740.jpg
/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_39_10692.jpg
/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_28_9791.jpg
/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_18_9769.jpg
/home/nano/Desktop/images/10022025/12/48/image_10022025_12_48_08_9753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338205513","1338205501","1338205510","1338205505","1338205508","1338205498"],"photo_ids_order":["1338205498","1338205501","1338205505","1338205508","1338205510","1338205513"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe86f034ec929add9d4b7d1ffea47a80.jpg","text":"TemporaryFile(/tmp/multipartBody1021598354451203569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815505600,"filename":"image_10022025_12_48_08_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ecb71ac72dfc5ccbab87e3aedebe3717.jpg","text":"TemporaryFile(/tmp/multipartBody5705052887107131102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815505600,"filename":"image_10022025_12_48_48_9740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a7b38820fcda3ba83b851dc1694ee7f.jpg","text":"TemporaryFile(/tmp/multipartBody3473851080807727745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815505600,"filename":"image_10022025_12_48_18_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5bc5c6701659c13d90054e543bc15872.jpg","text":"TemporaryFile(/tmp/multipartBody6114997623360265908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815505600,"filename":"image_10022025_12_48_39_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1eefbf338ee16f834bf6fa5381c3b28.jpg","text":"TemporaryFile(/tmp/multipartBody7357190608209526226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815505600,"filename":"image_10022025_12_48_28_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/657c408c472ec3daa424203499fce580.jpg","text":"TemporaryFile(/tmp/multipartBody7588426242632867247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815505600,"filename":"image_10022025_12_48_58_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338205505","file1":"1338205501","file0":"1338205498","file4":"1338205510","file5":"1338205513","file3":"1338205508"},"map_files_photo_id_array":[{"photo_id":"1338205513","filename":"file5"},{"photo_id":"1338205505","filename":"file2"},{"photo_id":"1338205510","filename":"file4"},{"photo_id":"1338205501","filename":"file1"},{"photo_id":"1338205498","filename":"file0"},{"photo_id":"1338205508","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338205513":["hashtag1","hashtag2"]},{"1338205501":["hashtag1","hashtag2"]},{"1338205510":["hashtag1","hashtag2"]},{"1338205505":["hashtag1","hashtag2"]},{"1338205508":["hashtag1","hashtag2"]},{"1338205498":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338205513, 1338205501, 1338205510, 1338205505, 1338205508, 1338205498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1007981300354 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:05:02.807925
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_59_10773.jpg', 0), ('/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_48_9678.jpg', 0), ('/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_38_9781.jpg', 0), ('/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_28_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_19_10860.jpg', 0), ('/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_08_9747.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_59_10773.jpg', '/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_48_9678.jpg', '/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_38_9781.jpg', '/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_28_9721.jpg', '/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_19_10860.jpg', '/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_08_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_59_10773.jpg
/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_48_9678.jpg
/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_38_9781.jpg
/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_28_9721.jpg
/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_19_10860.jpg
/home/nano/Desktop/images/10022025/12/47/image_10022025_12_47_08_9747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338205819","1338205828","1338205827","1338205815","1338205826","1338205823"],"photo_ids_order":["1338205815","1338205819","1338205823","1338205826","1338205827","1338205828"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a9b29da64cde41f487edf06542a06485.jpg","text":"TemporaryFile(/tmp/multipartBody5667792895886443789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815565244,"filename":"image_10022025_12_47_48_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/facba4e4b3448522219becb64a374440.jpg","text":"TemporaryFile(/tmp/multipartBody1490584235539610809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815565244,"filename":"image_10022025_12_47_08_9747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/607d22a4b15560d02cb8e79afa26e5b7.jpg","text":"TemporaryFile(/tmp/multipartBody3207500362546590767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815565244,"filename":"image_10022025_12_47_19_10860.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7ece4e5a0f84a493278434a96af2012.jpg","text":"TemporaryFile(/tmp/multipartBody3039992197011522351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815565244,"filename":"image_10022025_12_47_59_10773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7bdfebb7a14f4d22d0ad3e41844216e.jpg","text":"TemporaryFile(/tmp/multipartBody4086080032224511928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815565244,"filename":"image_10022025_12_47_28_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/939e886652b3972187cf107be2a4a20d.jpg","text":"TemporaryFile(/tmp/multipartBody5113810728931219255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815565244,"filename":"image_10022025_12_47_38_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338205823","file1":"1338205819","file0":"1338205815","file4":"1338205827","file5":"1338205828","file3":"1338205826"},"map_files_photo_id_array":[{"photo_id":"1338205828","filename":"file5"},{"photo_id":"1338205823","filename":"file2"},{"photo_id":"1338205827","filename":"file4"},{"photo_id":"1338205819","filename":"file1"},{"photo_id":"1338205815","filename":"file0"},{"photo_id":"1338205826","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338205819":["hashtag1","hashtag2"]},{"1338205828":["hashtag1","hashtag2"]},{"1338205827":["hashtag1","hashtag2"]},{"1338205815":["hashtag1","hashtag2"]},{"1338205826":["hashtag1","hashtag2"]},{"1338205823":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338205819, 1338205828, 1338205827, 1338205815, 1338205826, 1338205823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.983773708343506 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:06:02.786960
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_58_9862.jpg', 0), ('/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_48_9871.jpg', 0), ('/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_38_9768.jpg', 0), ('/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_29_10752.jpg', 0), ('/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_18_9748.jpg', 0), ('/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_08_9843.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_58_9862.jpg', '/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_48_9871.jpg', '/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_38_9768.jpg', '/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_29_10752.jpg', '/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_18_9748.jpg', '/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_08_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_58_9862.jpg
/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_48_9871.jpg
/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_38_9768.jpg
/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_29_10752.jpg
/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_18_9748.jpg
/home/nano/Desktop/images/10022025/12/46/image_10022025_12_46_08_9843.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338205869","1338205857","1338205862","1338205871","1338205865","1338205859"],"photo_ids_order":["1338205857","1338205859","1338205862","1338205865","1338205869","1338205871"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b52b933a5cb1dc2ee5fecc0c8e734aa7.jpg","text":"TemporaryFile(/tmp/multipartBody664460487996534302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815626127,"filename":"image_10022025_12_46_18_9748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/400d7f37139d1e4525569b23e0a275a0.jpg","text":"TemporaryFile(/tmp/multipartBody4116677938596548615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815626127,"filename":"image_10022025_12_46_58_9862.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/896e57bb8f996649f125c8867a881189.jpg","text":"TemporaryFile(/tmp/multipartBody4196488979659656906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815626127,"filename":"image_10022025_12_46_38_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f006c237ea3ca17b45454c0ea8bbe354.jpg","text":"TemporaryFile(/tmp/multipartBody6993000177693415333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815626127,"filename":"image_10022025_12_46_08_9843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a550e3626c8dd37f4132d54b9e5b7d9.jpg","text":"TemporaryFile(/tmp/multipartBody488359723348079176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815626127,"filename":"image_10022025_12_46_29_10752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/09f8f96b6c82dd89162d4ef07b87973b.jpg","text":"TemporaryFile(/tmp/multipartBody307324752017605211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815626127,"filename":"image_10022025_12_46_48_9871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338205862","file1":"1338205859","file0":"1338205857","file4":"1338205869","file5":"1338205871","file3":"1338205865"},"map_files_photo_id_array":[{"photo_id":"1338205871","filename":"file5"},{"photo_id":"1338205862","filename":"file2"},{"photo_id":"1338205869","filename":"file4"},{"photo_id":"1338205859","filename":"file1"},{"photo_id":"1338205857","filename":"file0"},{"photo_id":"1338205865","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338205869":["hashtag1","hashtag2"]},{"1338205857":["hashtag1","hashtag2"]},{"1338205862":["hashtag1","hashtag2"]},{"1338205871":["hashtag1","hashtag2"]},{"1338205865":["hashtag1","hashtag2"]},{"1338205859":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338205869, 1338205857, 1338205862, 1338205871, 1338205865, 1338205859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84639573097229 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:07:03.096546
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_58_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_48_9959.jpg', 0), ('/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_39_9818.jpg', 0), ('/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_29_10812.jpg', 0), ('/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_18_9733.jpg', 0), ('/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_08_9700.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_58_9825.jpg', '/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_48_9959.jpg', '/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_39_9818.jpg', '/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_29_10812.jpg', '/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_18_9733.jpg', '/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_08_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_58_9825.jpg
/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_48_9959.jpg
/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_39_9818.jpg
/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_29_10812.jpg
/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_18_9733.jpg
/home/nano/Desktop/images/10022025/12/45/image_10022025_12_45_08_9700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338205900","1338205892","1338205886","1338205889","1338205910","1338205907"],"photo_ids_order":["1338205886","1338205889","1338205892","1338205900","1338205907","1338205910"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf78d3d1dca4f07981cbe6cc28d3cae1.jpg","text":"TemporaryFile(/tmp/multipartBody1920867449320766974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815685977,"filename":"image_10022025_12_45_29_10812.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a286eb9cc1f1d87f3cd8aa293e0d37ef.jpg","text":"TemporaryFile(/tmp/multipartBody6999853968776192391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815685977,"filename":"image_10022025_12_45_39_9818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4609ecc85055466e33d378754cd07e86.jpg","text":"TemporaryFile(/tmp/multipartBody3227192194989136295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815685977,"filename":"image_10022025_12_45_58_9825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b265926865fde39463c74b03a6555ca7.jpg","text":"TemporaryFile(/tmp/multipartBody1945666290593567635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815685977,"filename":"image_10022025_12_45_48_9959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4edbbd20444c88d6247af2d3f13b30e1.jpg","text":"TemporaryFile(/tmp/multipartBody2534581853201470674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815685977,"filename":"image_10022025_12_45_08_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac495f6573675d40361aee9665f541ad.jpg","text":"TemporaryFile(/tmp/multipartBody8227243769559964302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815685977,"filename":"image_10022025_12_45_18_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338205892","file1":"1338205889","file0":"1338205886","file4":"1338205907","file5":"1338205910","file3":"1338205900"},"map_files_photo_id_array":[{"photo_id":"1338205910","filename":"file5"},{"photo_id":"1338205892","filename":"file2"},{"photo_id":"1338205907","filename":"file4"},{"photo_id":"1338205889","filename":"file1"},{"photo_id":"1338205886","filename":"file0"},{"photo_id":"1338205900","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338205900":["hashtag1","hashtag2"]},{"1338205892":["hashtag1","hashtag2"]},{"1338205886":["hashtag1","hashtag2"]},{"1338205889":["hashtag1","hashtag2"]},{"1338205910":["hashtag1","hashtag2"]},{"1338205907":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338205900, 1338205892, 1338205886, 1338205889, 1338205910, 1338205907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4960663318634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:08:02.100817
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_58_9715.jpg', 0), ('/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_49_10741.jpg', 0), ('/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_38_9729.jpg', 0), ('/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_28_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_19_9709.jpg', 0), ('/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_09_10739.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_58_9715.jpg', '/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_49_10741.jpg', '/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_38_9729.jpg', '/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_28_9714.jpg', '/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_19_9709.jpg', '/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_09_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_58_9715.jpg
/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_49_10741.jpg
/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_38_9729.jpg
/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_28_9714.jpg
/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_19_9709.jpg
/home/nano/Desktop/images/10022025/12/44/image_10022025_12_44_09_10739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338205924","1338205926","1338205929","1338205922","1338205931","1338205933"],"photo_ids_order":["1338205922","1338205924","1338205926","1338205929","1338205931","1338205933"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60aedba4ee4c826ceb178013e24e231e.jpg","text":"TemporaryFile(/tmp/multipartBody8951763143153237866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815744514,"filename":"image_10022025_12_44_49_10741.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/703b5184e206046ac1bb64a96ad4bee3.jpg","text":"TemporaryFile(/tmp/multipartBody5940919996548534838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815744514,"filename":"image_10022025_12_44_38_9729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53f67caae29553a6891fb61090baed66.jpg","text":"TemporaryFile(/tmp/multipartBody5363153903576332060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815744514,"filename":"image_10022025_12_44_28_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/91250f11d31ebc5e4a80345c18ba2331.jpg","text":"TemporaryFile(/tmp/multipartBody1705479296239435076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815744514,"filename":"image_10022025_12_44_58_9715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07c190aa771ab8c4e2e66c67c4d2677e.jpg","text":"TemporaryFile(/tmp/multipartBody3383214289687367657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815744514,"filename":"image_10022025_12_44_19_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/25db953e711d862ec8b737d3dd7f2cf1.jpg","text":"TemporaryFile(/tmp/multipartBody927143972001945645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815744514,"filename":"image_10022025_12_44_09_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338205926","file1":"1338205924","file0":"1338205922","file4":"1338205931","file5":"1338205933","file3":"1338205929"},"map_files_photo_id_array":[{"photo_id":"1338205933","filename":"file5"},{"photo_id":"1338205926","filename":"file2"},{"photo_id":"1338205931","filename":"file4"},{"photo_id":"1338205924","filename":"file1"},{"photo_id":"1338205922","filename":"file0"},{"photo_id":"1338205929","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338205924":["hashtag1","hashtag2"]},{"1338205926":["hashtag1","hashtag2"]},{"1338205929":["hashtag1","hashtag2"]},{"1338205922":["hashtag1","hashtag2"]},{"1338205931":["hashtag1","hashtag2"]},{"1338205933":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338205924, 1338205926, 1338205929, 1338205922, 1338205931, 1338205933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53219556808472 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:09:02.634047
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_58_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_48_9710.jpg', 0), ('/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_39_10713.jpg', 0), ('/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_28_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_18_9731.jpg', 0), ('/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_09_9702.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_58_9726.jpg', '/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_48_9710.jpg', '/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_39_10713.jpg', '/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_28_9726.jpg', '/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_18_9731.jpg', '/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_09_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_58_9726.jpg
/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_48_9710.jpg
/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_39_10713.jpg
/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_28_9726.jpg
/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_18_9731.jpg
/home/nano/Desktop/images/10022025/12/43/image_10022025_12_43_09_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338205957","1338205971","1338205973","1338205967","1338205955","1338205964"],"photo_ids_order":["1338205955","1338205957","1338205964","1338205967","1338205971","1338205973"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6e8c6293a5c22c7eaeb762a5ff483bb.jpg","text":"TemporaryFile(/tmp/multipartBody4442827786196740172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815805038,"filename":"image_10022025_12_43_48_9710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ffcaf47410765aa988b195f95470a254.jpg","text":"TemporaryFile(/tmp/multipartBody1413706665332835585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815805038,"filename":"image_10022025_12_43_18_9731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26c478aeb4ab4c8036a8313d965b5b69.jpg","text":"TemporaryFile(/tmp/multipartBody3135025200852641018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815805038,"filename":"image_10022025_12_43_09_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f236a247c606edd84aa19ab4f895a52b.jpg","text":"TemporaryFile(/tmp/multipartBody5322832205427142050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815805038,"filename":"image_10022025_12_43_28_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82e9ae5a8331a30841e4f010b1af1c55.jpg","text":"TemporaryFile(/tmp/multipartBody5963876489022217549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815805038,"filename":"image_10022025_12_43_58_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da58ac54bc68c677ca7b35bbef2e4af7.jpg","text":"TemporaryFile(/tmp/multipartBody9054739574458509915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815805038,"filename":"image_10022025_12_43_39_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338205964","file1":"1338205957","file0":"1338205955","file4":"1338205971","file5":"1338205973","file3":"1338205967"},"map_files_photo_id_array":[{"photo_id":"1338205973","filename":"file5"},{"photo_id":"1338205964","filename":"file2"},{"photo_id":"1338205971","filename":"file4"},{"photo_id":"1338205957","filename":"file1"},{"photo_id":"1338205955","filename":"file0"},{"photo_id":"1338205967","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338205957":["hashtag1","hashtag2"]},{"1338205971":["hashtag1","hashtag2"]},{"1338205973":["hashtag1","hashtag2"]},{"1338205967":["hashtag1","hashtag2"]},{"1338205955":["hashtag1","hashtag2"]},{"1338205964":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338205957, 1338205971, 1338205973, 1338205967, 1338205955, 1338205964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91430139541626 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:10:02.473820
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_59_10712.jpg', 0), ('/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_48_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_38_9704.jpg', 0), ('/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_29_10737.jpg', 0), ('/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_18_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_08_9729.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_59_10712.jpg', '/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_48_9726.jpg', '/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_38_9704.jpg', '/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_29_10737.jpg', '/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_18_9718.jpg', '/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_08_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_59_10712.jpg
/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_48_9726.jpg
/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_38_9704.jpg
/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_29_10737.jpg
/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_18_9718.jpg
/home/nano/Desktop/images/10022025/12/42/image_10022025_12_42_08_9729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338205983","1338205985","1338205996","1338205990","1338205993","1338205987"],"photo_ids_order":["1338205983","1338205985","1338205987","1338205990","1338205993","1338205996"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d130c47a991978ac6d96119b840516e2.jpg","text":"TemporaryFile(/tmp/multipartBody1218695774630356319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815864548,"filename":"image_10022025_12_42_59_10712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/60692b9c86027bbfced6c31faddb74a8.jpg","text":"TemporaryFile(/tmp/multipartBody9052752431066746580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815864548,"filename":"image_10022025_12_42_48_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76b6fff82603ce2ac3203ba75cc80598.jpg","text":"TemporaryFile(/tmp/multipartBody814117462409289992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815864548,"filename":"image_10022025_12_42_08_9729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/167226ff203c8a0d18483138d76d70f0.jpg","text":"TemporaryFile(/tmp/multipartBody2615918890289027018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815864548,"filename":"image_10022025_12_42_29_10737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4fc07735164d7289ad78371e31b618c8.jpg","text":"TemporaryFile(/tmp/multipartBody9172550219818781369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815864548,"filename":"image_10022025_12_42_18_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b04556dc62d73be183fb789b906ba05f.jpg","text":"TemporaryFile(/tmp/multipartBody7098526701289943146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815864548,"filename":"image_10022025_12_42_38_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338205987","file1":"1338205985","file0":"1338205983","file4":"1338205993","file5":"1338205996","file3":"1338205990"},"map_files_photo_id_array":[{"photo_id":"1338205996","filename":"file5"},{"photo_id":"1338205987","filename":"file2"},{"photo_id":"1338205993","filename":"file4"},{"photo_id":"1338205985","filename":"file1"},{"photo_id":"1338205983","filename":"file0"},{"photo_id":"1338205990","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338205983":["hashtag1","hashtag2"]},{"1338205985":["hashtag1","hashtag2"]},{"1338205996":["hashtag1","hashtag2"]},{"1338205990":["hashtag1","hashtag2"]},{"1338205993":["hashtag1","hashtag2"]},{"1338205987":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338205983, 1338205985, 1338205996, 1338205990, 1338205993, 1338205987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05208086967468 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:11:02.739105
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_58_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_49_10729.jpg', 0), ('/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_38_9736.jpg', 0), ('/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_28_9723.jpg', 0), ('/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_19_9732.jpg', 0), ('/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_09_10744.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_58_9714.jpg', '/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_49_10729.jpg', '/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_38_9736.jpg', '/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_28_9723.jpg', '/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_19_9732.jpg', '/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_09_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_58_9714.jpg
/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_49_10729.jpg
/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_38_9736.jpg
/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_28_9723.jpg
/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_19_9732.jpg
/home/nano/Desktop/images/10022025/12/41/image_10022025_12_41_09_10744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338206026","1338206018","1338206027","1338206029","1338206020","1338206023"],"photo_ids_order":["1338206018","1338206020","1338206023","1338206026","1338206027","1338206029"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/143f3526223daf80226f81cac42bad97.jpg","text":"TemporaryFile(/tmp/multipartBody3570748515967584143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815925431,"filename":"image_10022025_12_41_28_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d18a2a67239986a39b2b7d72484f9f8.jpg","text":"TemporaryFile(/tmp/multipartBody9061396157432460677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815925431,"filename":"image_10022025_12_41_58_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb57a3551079de75a2687c12ce5c49c4.jpg","text":"TemporaryFile(/tmp/multipartBody7780181744913334076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815925431,"filename":"image_10022025_12_41_19_9732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db832be80d78565c88a2ae6ac0ecf267.jpg","text":"TemporaryFile(/tmp/multipartBody4624372685290617394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815925431,"filename":"image_10022025_12_41_09_10744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ddf2c8920035c76377fe66a2ccfdbd1c.jpg","text":"TemporaryFile(/tmp/multipartBody170743449504832766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815925431,"filename":"image_10022025_12_41_49_10729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f8cb1ae12956a4c8f26af08557931f3.jpg","text":"TemporaryFile(/tmp/multipartBody7184338819694483438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815925431,"filename":"image_10022025_12_41_38_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338206023","file1":"1338206020","file0":"1338206018","file4":"1338206027","file5":"1338206029","file3":"1338206026"},"map_files_photo_id_array":[{"photo_id":"1338206029","filename":"file5"},{"photo_id":"1338206023","filename":"file2"},{"photo_id":"1338206027","filename":"file4"},{"photo_id":"1338206020","filename":"file1"},{"photo_id":"1338206018","filename":"file0"},{"photo_id":"1338206026","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338206026":["hashtag1","hashtag2"]},{"1338206018":["hashtag1","hashtag2"]},{"1338206027":["hashtag1","hashtag2"]},{"1338206029":["hashtag1","hashtag2"]},{"1338206020":["hashtag1","hashtag2"]},{"1338206023":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338206026, 1338206018, 1338206027, 1338206029, 1338206020, 1338206023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7693407535553 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:12:02.748065
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_58_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_48_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_39_10712.jpg', 0), ('/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_28_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_18_9730.jpg', 0), ('/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_09_9711.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_58_9713.jpg', '/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_48_9713.jpg', '/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_39_10712.jpg', '/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_28_9716.jpg', '/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_18_9730.jpg', '/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_09_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_58_9713.jpg
/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_48_9713.jpg
/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_39_10712.jpg
/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_28_9716.jpg
/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_18_9730.jpg
/home/nano/Desktop/images/10022025/12/40/image_10022025_12_40_09_9711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338206061","1338206058","1338206052","1338206055","1338206048","1338206050"],"photo_ids_order":["1338206048","1338206050","1338206052","1338206055","1338206058","1338206061"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb0a1804fdeb421aa1fd34dd2176ff3a.jpg","text":"TemporaryFile(/tmp/multipartBody360313207510234282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815985229,"filename":"image_10022025_12_40_09_9711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e13916dc0171555dae7c19e4e6968bc.jpg","text":"TemporaryFile(/tmp/multipartBody6663544315936554213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815985229,"filename":"image_10022025_12_40_18_9730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/438bcf176446e85366548b0df2882d2b.jpg","text":"TemporaryFile(/tmp/multipartBody2006170617784839223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815985229,"filename":"image_10022025_12_40_39_10712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e6d2be26caff419fc3da5d88c17c35c.jpg","text":"TemporaryFile(/tmp/multipartBody8785023668024836147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815985229,"filename":"image_10022025_12_40_28_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d6bddb6f91b3ab5aabae4ec49bb01bc.jpg","text":"TemporaryFile(/tmp/multipartBody9136777485393682170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815985229,"filename":"image_10022025_12_40_58_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/69161557a4d4132dc0f7b90c5e710bf2.jpg","text":"TemporaryFile(/tmp/multipartBody8403024967591490244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739815985229,"filename":"image_10022025_12_40_48_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338206052","file1":"1338206050","file0":"1338206048","file4":"1338206058","file5":"1338206061","file3":"1338206055"},"map_files_photo_id_array":[{"photo_id":"1338206061","filename":"file5"},{"photo_id":"1338206052","filename":"file2"},{"photo_id":"1338206058","filename":"file4"},{"photo_id":"1338206050","filename":"file1"},{"photo_id":"1338206048","filename":"file0"},{"photo_id":"1338206055","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338206061":["hashtag1","hashtag2"]},{"1338206058":["hashtag1","hashtag2"]},{"1338206052":["hashtag1","hashtag2"]},{"1338206055":["hashtag1","hashtag2"]},{"1338206048":["hashtag1","hashtag2"]},{"1338206050":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338206061, 1338206058, 1338206052, 1338206055, 1338206048, 1338206050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41873288154602 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:13:03.088015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_59_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_48_9728.jpg', 0), ('/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_38_9724.jpg', 0), ('/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_29_10714.jpg', 0), ('/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_18_9694.jpg', 0), ('/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_08_9718.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_59_10717.jpg', '/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_48_9728.jpg', '/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_38_9724.jpg', '/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_29_10714.jpg', '/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_18_9694.jpg', '/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_08_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_59_10717.jpg
/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_48_9728.jpg
/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_38_9724.jpg
/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_29_10714.jpg
/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_18_9694.jpg
/home/nano/Desktop/images/10022025/12/39/image_10022025_12_39_08_9718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338206088","1338206082","1338206091","1338206084","1338206095","1338206086"],"photo_ids_order":["1338206082","1338206084","1338206086","1338206088","1338206091","1338206095"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b6ab5e174cbfb2812f687c0b36ba5bc.jpg","text":"TemporaryFile(/tmp/multipartBody5358657851434571449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816044627,"filename":"image_10022025_12_39_29_10714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ad0aab684c6d52ae40e08d7dcdfdda8.jpg","text":"TemporaryFile(/tmp/multipartBody458896478339190900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816044627,"filename":"image_10022025_12_39_59_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf8e8d3dd9338aaf4b81b03833c2e944.jpg","text":"TemporaryFile(/tmp/multipartBody5991137329593725281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816044627,"filename":"image_10022025_12_39_18_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb3f194caed22314ce65750b21b7ebe9.jpg","text":"TemporaryFile(/tmp/multipartBody8318570365545676645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816044627,"filename":"image_10022025_12_39_48_9728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e48aa42128f63ad301d8c6912ad419f.jpg","text":"TemporaryFile(/tmp/multipartBody5214420422452297588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816044627,"filename":"image_10022025_12_39_08_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3cfae13e22eaa9cf6b16c222708c1707.jpg","text":"TemporaryFile(/tmp/multipartBody6033362046767809029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816044627,"filename":"image_10022025_12_39_38_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338206086","file1":"1338206084","file0":"1338206082","file4":"1338206091","file5":"1338206095","file3":"1338206088"},"map_files_photo_id_array":[{"photo_id":"1338206095","filename":"file5"},{"photo_id":"1338206086","filename":"file2"},{"photo_id":"1338206091","filename":"file4"},{"photo_id":"1338206084","filename":"file1"},{"photo_id":"1338206082","filename":"file0"},{"photo_id":"1338206088","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338206088":["hashtag1","hashtag2"]},{"1338206082":["hashtag1","hashtag2"]},{"1338206091":["hashtag1","hashtag2"]},{"1338206084":["hashtag1","hashtag2"]},{"1338206095":["hashtag1","hashtag2"]},{"1338206086":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338206088, 1338206082, 1338206091, 1338206084, 1338206095, 1338206086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.255059242248535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:14:03.432325
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_58_9685.jpg', 0), ('/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_49_10727.jpg', 0), ('/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_38_9709.jpg', 0), ('/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_28_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_19_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_08_9719.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_58_9685.jpg', '/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_49_10727.jpg', '/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_38_9709.jpg', '/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_28_9698.jpg', '/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_19_10717.jpg', '/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_08_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_58_9685.jpg
/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_49_10727.jpg
/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_38_9709.jpg
/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_28_9698.jpg
/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_19_10717.jpg
/home/nano/Desktop/images/10022025/12/38/image_10022025_12_38_08_9719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338206136","1338206115","1338206120","1338206123","1338206117","1338206128"],"photo_ids_order":["1338206115","1338206117","1338206120","1338206123","1338206128","1338206136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f9526679f927677ecbd7d6e6bc3305c7.jpg","text":"TemporaryFile(/tmp/multipartBody7248707059070006636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816105552,"filename":"image_10022025_12_38_08_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3bf31f5b41e7cfcf83a8af8775030bff.jpg","text":"TemporaryFile(/tmp/multipartBody765476713707075481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816105552,"filename":"image_10022025_12_38_58_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12306567aa51c023a2c91ffbaa95badd.jpg","text":"TemporaryFile(/tmp/multipartBody3492821056109631739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816105552,"filename":"image_10022025_12_38_38_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7544f19a5c806da2fb1ffca70449dad.jpg","text":"TemporaryFile(/tmp/multipartBody8139415214007281672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816105552,"filename":"image_10022025_12_38_28_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92c159fd9dc5be21ceabdfea81aa5681.jpg","text":"TemporaryFile(/tmp/multipartBody7752348093721566170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816105552,"filename":"image_10022025_12_38_49_10727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7adf1c8a3d916f8722e8409974f90ec.jpg","text":"TemporaryFile(/tmp/multipartBody2286787838441218309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816105552,"filename":"image_10022025_12_38_19_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338206120","file1":"1338206117","file0":"1338206115","file4":"1338206128","file5":"1338206136","file3":"1338206123"},"map_files_photo_id_array":[{"photo_id":"1338206136","filename":"file5"},{"photo_id":"1338206120","filename":"file2"},{"photo_id":"1338206128","filename":"file4"},{"photo_id":"1338206117","filename":"file1"},{"photo_id":"1338206115","filename":"file0"},{"photo_id":"1338206123","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338206136":["hashtag1","hashtag2"]},{"1338206115":["hashtag1","hashtag2"]},{"1338206120":["hashtag1","hashtag2"]},{"1338206123":["hashtag1","hashtag2"]},{"1338206117":["hashtag1","hashtag2"]},{"1338206128":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338206136, 1338206115, 1338206120, 1338206123, 1338206117, 1338206128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06751489639282 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:15:02.335454
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_58_9704.jpg', 0), ('/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_49_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_39_10700.jpg', 0), ('/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_28_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_18_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_09_10703.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_58_9704.jpg', '/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_49_9716.jpg', '/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_39_10700.jpg', '/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_28_9701.jpg', '/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_18_9695.jpg', '/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_09_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_58_9704.jpg
/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_49_9716.jpg
/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_39_10700.jpg
/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_28_9701.jpg
/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_18_9695.jpg
/home/nano/Desktop/images/10022025/12/37/image_10022025_12_37_09_10703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338206169","1338206160","1338206162","1338206164","1338206173","1338206167"],"photo_ids_order":["1338206160","1338206162","1338206164","1338206167","1338206169","1338206173"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/367f65f0634d12a8a989697a198bf677.jpg","text":"TemporaryFile(/tmp/multipartBody3465546981731968888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816165033,"filename":"image_10022025_12_37_18_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19256048e324098ab22d648803966b7f.jpg","text":"TemporaryFile(/tmp/multipartBody8247423839071109254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816165033,"filename":"image_10022025_12_37_58_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/850006c33a5fd1f19fd8b6e3e413c139.jpg","text":"TemporaryFile(/tmp/multipartBody3141061580920656541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816165033,"filename":"image_10022025_12_37_49_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/437b21b08273efbd0b2091afdea21d5d.jpg","text":"TemporaryFile(/tmp/multipartBody948723336965309343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816165033,"filename":"image_10022025_12_37_39_10700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/45c3c065e26b9cfb574e145c7ea78a21.jpg","text":"TemporaryFile(/tmp/multipartBody3606801066837613688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816165033,"filename":"image_10022025_12_37_09_10703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f479dfed3852a7b3eb35b0e0daec6542.jpg","text":"TemporaryFile(/tmp/multipartBody69741551679296791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816165033,"filename":"image_10022025_12_37_28_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338206164","file1":"1338206162","file0":"1338206160","file4":"1338206169","file5":"1338206173","file3":"1338206167"},"map_files_photo_id_array":[{"photo_id":"1338206173","filename":"file5"},{"photo_id":"1338206164","filename":"file2"},{"photo_id":"1338206169","filename":"file4"},{"photo_id":"1338206162","filename":"file1"},{"photo_id":"1338206160","filename":"file0"},{"photo_id":"1338206167","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338206169":["hashtag1","hashtag2"]},{"1338206160":["hashtag1","hashtag2"]},{"1338206162":["hashtag1","hashtag2"]},{"1338206164":["hashtag1","hashtag2"]},{"1338206173":["hashtag1","hashtag2"]},{"1338206167":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338206169, 1338206160, 1338206162, 1338206164, 1338206173, 1338206167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09047055244446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:16:02.179232
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_58_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_48_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_39_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_28_9722.jpg', 0), ('/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_18_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_08_9700.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_58_9699.jpg', '/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_48_9714.jpg', '/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_39_10717.jpg', '/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_28_9722.jpg', '/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_18_9698.jpg', '/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_08_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_58_9699.jpg
/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_48_9714.jpg
/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_39_10717.jpg
/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_28_9722.jpg
/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_18_9698.jpg
/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_08_9700.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
'int' object is not iterable
time to upload: 133.12604522705078 secondes ---
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f83f3e9e8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:18:32.343926
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_58_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_48_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_39_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_28_9722.jpg', 0), ('/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_18_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_08_9700.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_58_9699.jpg', '/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_48_9714.jpg', '/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_39_10717.jpg', '/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_28_9722.jpg', '/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_18_9698.jpg', '/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_08_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_58_9699.jpg
/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_48_9714.jpg
/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_39_10717.jpg
/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_28_9722.jpg
/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_18_9698.jpg
/home/nano/Desktop/images/10022025/12/36/image_10022025_12_36_08_9700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338206343","1338206338","1338206332","1338206341","1338206335","1338206329"],"photo_ids_order":["1338206329","1338206332","1338206335","1338206338","1338206341","1338206343"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2559c857958a3543651401f018985a25.jpg","text":"TemporaryFile(/tmp/multipartBody2435696892370079933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816375420,"filename":"image_10022025_12_36_08_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8cf88357ba7d387eff127183b5090d1.jpg","text":"TemporaryFile(/tmp/multipartBody152436102806968084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816375420,"filename":"image_10022025_12_36_28_9722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1487e07009f3064c94adfb7778e1b67.jpg","text":"TemporaryFile(/tmp/multipartBody8023905238417937878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816375420,"filename":"image_10022025_12_36_48_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31b514efcfc1367ac566eba35fb8e6b9.jpg","text":"TemporaryFile(/tmp/multipartBody262285260946278366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816375420,"filename":"image_10022025_12_36_18_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/280c75f9dbd3d375b041f372958fe334.jpg","text":"TemporaryFile(/tmp/multipartBody6155503074604323922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816375420,"filename":"image_10022025_12_36_39_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/28d0821753c94cbc10673075737fb9e1.jpg","text":"TemporaryFile(/tmp/multipartBody479455620132642617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816375420,"filename":"image_10022025_12_36_58_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338206335","file1":"1338206332","file0":"1338206329","file4":"1338206341","file5":"1338206343","file3":"1338206338"},"map_files_photo_id_array":[{"photo_id":"1338206343","filename":"file5"},{"photo_id":"1338206335","filename":"file2"},{"photo_id":"1338206341","filename":"file4"},{"photo_id":"1338206332","filename":"file1"},{"photo_id":"1338206329","filename":"file0"},{"photo_id":"1338206338","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338206343":["hashtag1","hashtag2"]},{"1338206338":["hashtag1","hashtag2"]},{"1338206332":["hashtag1","hashtag2"]},{"1338206341":["hashtag1","hashtag2"]},{"1338206335":["hashtag1","hashtag2"]},{"1338206329":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338206343, 1338206338, 1338206332, 1338206341, 1338206335, 1338206329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56684732437134 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:19:32.502148
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_59_10706.jpg', 0), ('/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_48_9711.jpg', 0), ('/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_38_9725.jpg', 0), ('/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_29_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_18_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_08_9720.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_59_10706.jpg', '/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_48_9711.jpg', '/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_38_9725.jpg', '/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_29_10717.jpg', '/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_18_9705.jpg', '/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_08_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_59_10706.jpg
/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_48_9711.jpg
/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_38_9725.jpg
/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_29_10717.jpg
/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_18_9705.jpg
/home/nano/Desktop/images/10022025/12/35/image_10022025_12_35_08_9720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338207051","1338207077","1338206546","1338206797","1338206402","1338206410"],"photo_ids_order":["1338206402","1338206410","1338206546","1338206797","1338207051","1338207077"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f0d2fdb1565af0fca88cac6a66595636.jpg","text":"TemporaryFile(/tmp/multipartBody7486113118650071465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816434298,"filename":"image_10022025_12_35_18_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98275610426fc1dc54f776e4776d3b80.jpg","text":"TemporaryFile(/tmp/multipartBody7236455295160087639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816434298,"filename":"image_10022025_12_35_08_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f9003586d2585db72c2a97e7ee7af561.jpg","text":"TemporaryFile(/tmp/multipartBody1859072746231099977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816434298,"filename":"image_10022025_12_35_38_9725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2511cb367769f125738f3cc69d2bfb3c.jpg","text":"TemporaryFile(/tmp/multipartBody4101907510621995069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816434298,"filename":"image_10022025_12_35_29_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/804829eaffe1b59d3967730366e98f82.jpg","text":"TemporaryFile(/tmp/multipartBody1752928467180601090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816434298,"filename":"image_10022025_12_35_59_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d3c1729a38894306226a42036af09cf9.jpg","text":"TemporaryFile(/tmp/multipartBody8371632396977296566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816434298,"filename":"image_10022025_12_35_48_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338206546","file1":"1338206410","file0":"1338206402","file4":"1338207051","file5":"1338207077","file3":"1338206797"},"map_files_photo_id_array":[{"photo_id":"1338207077","filename":"file5"},{"photo_id":"1338206546","filename":"file2"},{"photo_id":"1338207051","filename":"file4"},{"photo_id":"1338206410","filename":"file1"},{"photo_id":"1338206402","filename":"file0"},{"photo_id":"1338206797","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338207051":["hashtag1","hashtag2"]},{"1338207077":["hashtag1","hashtag2"]},{"1338206546":["hashtag1","hashtag2"]},{"1338206797":["hashtag1","hashtag2"]},{"1338206402":["hashtag1","hashtag2"]},{"1338206410":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338207051, 1338207077, 1338206546, 1338206797, 1338206402, 1338206410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.621838092803955 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:20:32.644984
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_58_9703.jpg', 0), ('/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_49_10744.jpg', 0), ('/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_38_9711.jpg', 0), ('/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_28_9700.jpg', 0), ('/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_19_10713.jpg', 0), ('/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_08_9709.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_58_9703.jpg', '/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_49_10744.jpg', '/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_38_9711.jpg', '/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_28_9700.jpg', '/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_19_10713.jpg', '/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_08_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_58_9703.jpg
/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_49_10744.jpg
/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_38_9711.jpg
/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_28_9700.jpg
/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_19_10713.jpg
/home/nano/Desktop/images/10022025/12/34/image_10022025_12_34_08_9709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338207261","1338207255","1338207231","1338207271","1338207268","1338207252"],"photo_ids_order":["1338207231","1338207252","1338207255","1338207261","1338207268","1338207271"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c56035385bbd58b59f0050e1a410d02.jpg","text":"TemporaryFile(/tmp/multipartBody5780904145286895583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816494799,"filename":"image_10022025_12_34_28_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/37b71ddd0b518cfc8297f860ff2e75da.jpg","text":"TemporaryFile(/tmp/multipartBody6296280869553993389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816494799,"filename":"image_10022025_12_34_38_9711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5d6693e79ce78dab4a762dc91766ca6.jpg","text":"TemporaryFile(/tmp/multipartBody6151877600508540889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816494799,"filename":"image_10022025_12_34_58_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b88634d69d228207f4fc626dc2d8179f.jpg","text":"TemporaryFile(/tmp/multipartBody8539458776611024084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816494799,"filename":"image_10022025_12_34_08_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3bdc1e3044d0c4454036aa4870b4be1.jpg","text":"TemporaryFile(/tmp/multipartBody5278653430324925567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816494799,"filename":"image_10022025_12_34_19_10713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fab5f6dd9c1777a9f1aa055018132c40.jpg","text":"TemporaryFile(/tmp/multipartBody5663198236416920143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816494799,"filename":"image_10022025_12_34_49_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338207255","file1":"1338207252","file0":"1338207231","file4":"1338207268","file5":"1338207271","file3":"1338207261"},"map_files_photo_id_array":[{"photo_id":"1338207271","filename":"file5"},{"photo_id":"1338207255","filename":"file2"},{"photo_id":"1338207268","filename":"file4"},{"photo_id":"1338207252","filename":"file1"},{"photo_id":"1338207231","filename":"file0"},{"photo_id":"1338207261","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338207261":["hashtag1","hashtag2"]},{"1338207255":["hashtag1","hashtag2"]},{"1338207231":["hashtag1","hashtag2"]},{"1338207271":["hashtag1","hashtag2"]},{"1338207268":["hashtag1","hashtag2"]},{"1338207252":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338207261, 1338207255, 1338207231, 1338207271, 1338207268, 1338207252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.357757568359375 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:21:32.787614
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_58_9702.jpg', 0), ('/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_48_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_39_10711.jpg', 0), ('/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_28_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_18_9702.jpg', 0), ('/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_09_10706.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_58_9702.jpg', '/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_48_9693.jpg', '/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_39_10711.jpg', '/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_28_9716.jpg', '/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_18_9702.jpg', '/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_09_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_58_9702.jpg
/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_48_9693.jpg
/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_39_10711.jpg
/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_28_9716.jpg
/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_18_9702.jpg
/home/nano/Desktop/images/10022025/12/33/image_10022025_12_33_09_10706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338207309","1338207300","1338207303","1338207296","1338207305","1338207292"],"photo_ids_order":["1338207292","1338207296","1338207300","1338207303","1338207305","1338207309"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7ece5f47ca9ebc88146a27bf5b5ad2d.jpg","text":"TemporaryFile(/tmp/multipartBody7411786636295416694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816555878,"filename":"image_10022025_12_33_09_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/beb70e2ea8cfc3cd071c2f358acd6fda.jpg","text":"TemporaryFile(/tmp/multipartBody3690593595906684593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816555878,"filename":"image_10022025_12_33_39_10711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a8ea778952f23ec23c9fbcf8cdf2530.jpg","text":"TemporaryFile(/tmp/multipartBody2945425130756342875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816555878,"filename":"image_10022025_12_33_28_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f66afcf7afc442c14015aac960450d80.jpg","text":"TemporaryFile(/tmp/multipartBody4617927671723634452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816555878,"filename":"image_10022025_12_33_48_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce2c4028cc7e663dc0ea326e1615eee1.jpg","text":"TemporaryFile(/tmp/multipartBody9048603791715303774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816555878,"filename":"image_10022025_12_33_18_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f60151e74ead281ec75e04a3461fc7b1.jpg","text":"TemporaryFile(/tmp/multipartBody2908775149755223717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816555878,"filename":"image_10022025_12_33_58_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338207300","file1":"1338207296","file0":"1338207292","file4":"1338207305","file5":"1338207309","file3":"1338207303"},"map_files_photo_id_array":[{"photo_id":"1338207309","filename":"file5"},{"photo_id":"1338207300","filename":"file2"},{"photo_id":"1338207305","filename":"file4"},{"photo_id":"1338207296","filename":"file1"},{"photo_id":"1338207292","filename":"file0"},{"photo_id":"1338207303","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338207309":["hashtag1","hashtag2"]},{"1338207300":["hashtag1","hashtag2"]},{"1338207303":["hashtag1","hashtag2"]},{"1338207296":["hashtag1","hashtag2"]},{"1338207305":["hashtag1","hashtag2"]},{"1338207292":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338207309, 1338207300, 1338207303, 1338207296, 1338207305, 1338207292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36574578285217 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:22:31.924519
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_58_9684.jpg', 0), ('/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_48_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_39_9685.jpg', 0), ('/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_29_10710.jpg', 0), ('/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_18_9729.jpg', 0), ('/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_08_9725.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_58_9684.jpg', '/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_48_9701.jpg', '/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_39_9685.jpg', '/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_29_10710.jpg', '/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_18_9729.jpg', '/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_08_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_58_9684.jpg
/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_48_9701.jpg
/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_39_9685.jpg
/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_29_10710.jpg
/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_18_9729.jpg
/home/nano/Desktop/images/10022025/12/32/image_10022025_12_32_08_9725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338207344","1338207353","1338207349","1338207340","1338207334","1338207337"],"photo_ids_order":["1338207334","1338207337","1338207340","1338207344","1338207349","1338207353"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86315d85e6cba4acb943ad59cc1d2715.jpg","text":"TemporaryFile(/tmp/multipartBody348508905285515682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816614248,"filename":"image_10022025_12_32_29_10710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e751f2bcaa333b8fe59ae06b624aab7a.jpg","text":"TemporaryFile(/tmp/multipartBody6083267381071217933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816614248,"filename":"image_10022025_12_32_08_9725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb870cbd91d78d03e6c256b680f0faf3.jpg","text":"TemporaryFile(/tmp/multipartBody8914765791475405552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816614248,"filename":"image_10022025_12_32_18_9729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/157cbe6e9dab94096fc28e3b4589a0dc.jpg","text":"TemporaryFile(/tmp/multipartBody6418057832169017217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816614248,"filename":"image_10022025_12_32_39_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/365d039fc502116e8cb0b1770f67c336.jpg","text":"TemporaryFile(/tmp/multipartBody8713205007709591480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816614248,"filename":"image_10022025_12_32_58_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/95073549502683bfcb7926514a2a8831.jpg","text":"TemporaryFile(/tmp/multipartBody6541794322825164357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816614248,"filename":"image_10022025_12_32_48_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338207340","file1":"1338207337","file0":"1338207334","file4":"1338207349","file5":"1338207353","file3":"1338207344"},"map_files_photo_id_array":[{"photo_id":"1338207353","filename":"file5"},{"photo_id":"1338207340","filename":"file2"},{"photo_id":"1338207349","filename":"file4"},{"photo_id":"1338207337","filename":"file1"},{"photo_id":"1338207334","filename":"file0"},{"photo_id":"1338207344","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338207344":["hashtag1","hashtag2"]},{"1338207353":["hashtag1","hashtag2"]},{"1338207349":["hashtag1","hashtag2"]},{"1338207340":["hashtag1","hashtag2"]},{"1338207334":["hashtag1","hashtag2"]},{"1338207337":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338207344, 1338207353, 1338207349, 1338207340, 1338207334, 1338207337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62142586708069 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:23:32.058060
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_59_10713.jpg', 0), ('/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_48_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_38_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_29_10714.jpg', 0), ('/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_18_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_08_9697.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_59_10713.jpg', '/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_48_9699.jpg', '/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_38_9698.jpg', '/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_29_10714.jpg', '/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_18_9698.jpg', '/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_08_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_59_10713.jpg
/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_48_9699.jpg
/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_38_9698.jpg
/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_29_10714.jpg
/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_18_9698.jpg
/home/nano/Desktop/images/10022025/12/31/image_10022025_12_31_08_9697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338207536","1338207521","1338207533","1338207529","1338207514","1338207517"],"photo_ids_order":["1338207514","1338207517","1338207521","1338207529","1338207533","1338207536"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea070547dda61afb18fa7a9ca0f51573.jpg","text":"TemporaryFile(/tmp/multipartBody289441369314807035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816674569,"filename":"image_10022025_12_31_08_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6480e0d728c263f136a8b7d215e561ae.jpg","text":"TemporaryFile(/tmp/multipartBody332815295162280504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816674569,"filename":"image_10022025_12_31_38_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f330a3621f9ec52ca369e1b1dc047ba.jpg","text":"TemporaryFile(/tmp/multipartBody5213305384093139756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816674569,"filename":"image_10022025_12_31_18_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/29df6360b109e765d12256a12ffbf02c.jpg","text":"TemporaryFile(/tmp/multipartBody696381815069671148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816674569,"filename":"image_10022025_12_31_29_10714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6853fc4854d4ac62d7815fcec7a2c882.jpg","text":"TemporaryFile(/tmp/multipartBody6774411974852501562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816674569,"filename":"image_10022025_12_31_59_10713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7b3c2965f9ee32e4dfeee28859d5123.jpg","text":"TemporaryFile(/tmp/multipartBody4826867611781125352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816674569,"filename":"image_10022025_12_31_48_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338207521","file1":"1338207517","file0":"1338207514","file4":"1338207533","file5":"1338207536","file3":"1338207529"},"map_files_photo_id_array":[{"photo_id":"1338207536","filename":"file5"},{"photo_id":"1338207521","filename":"file2"},{"photo_id":"1338207533","filename":"file4"},{"photo_id":"1338207517","filename":"file1"},{"photo_id":"1338207514","filename":"file0"},{"photo_id":"1338207529","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338207536":["hashtag1","hashtag2"]},{"1338207521":["hashtag1","hashtag2"]},{"1338207533":["hashtag1","hashtag2"]},{"1338207529":["hashtag1","hashtag2"]},{"1338207514":["hashtag1","hashtag2"]},{"1338207517":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338207536, 1338207521, 1338207533, 1338207529, 1338207514, 1338207517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.520827531814575 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:24:32.206444
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_59_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_49_10703.jpg', 0), ('/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_38_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_28_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_19_10721.jpg', 0), ('/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_08_9723.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_59_9693.jpg', '/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_49_10703.jpg', '/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_38_9718.jpg', '/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_28_9697.jpg', '/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_19_10721.jpg', '/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_08_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_59_9693.jpg
/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_49_10703.jpg
/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_38_9718.jpg
/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_28_9697.jpg
/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_19_10721.jpg
/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_08_9723.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.501561164855957 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:25:02.791838
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_59_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_49_10703.jpg', 0), ('/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_38_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_28_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_19_10721.jpg', 0), ('/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_08_9723.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_59_9693.jpg', '/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_49_10703.jpg', '/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_38_9718.jpg', '/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_28_9697.jpg', '/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_19_10721.jpg', '/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_08_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_59_9693.jpg
/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_49_10703.jpg
/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_38_9718.jpg
/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_28_9697.jpg
/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_19_10721.jpg
/home/nano/Desktop/images/10022025/12/30/image_10022025_12_30_08_9723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338207651","1338207648","1338207623","1338207660","1338207654","1338207657"],"photo_ids_order":["1338207623","1338207648","1338207651","1338207654","1338207657","1338207660"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9127ce8cc13d8e2967e99cd0ad7f3e78.jpg","text":"TemporaryFile(/tmp/multipartBody6321249141457552723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816765127,"filename":"image_10022025_12_30_38_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/684f869e008798a95af0d8ab1bb5cc3d.jpg","text":"TemporaryFile(/tmp/multipartBody2763255700543457052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816765127,"filename":"image_10022025_12_30_49_10703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/522534901f2f18e40c229d52fe4acc7e.jpg","text":"TemporaryFile(/tmp/multipartBody3025448478031827537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816765127,"filename":"image_10022025_12_30_59_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2441605125bd311de62d78e890f9384b.jpg","text":"TemporaryFile(/tmp/multipartBody3980926628402475382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816765127,"filename":"image_10022025_12_30_08_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e5a8716267542094df81819f737570e.jpg","text":"TemporaryFile(/tmp/multipartBody4154371054015786877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816765127,"filename":"image_10022025_12_30_28_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6013d1ec7140b0706d4ff29407c76cba.jpg","text":"TemporaryFile(/tmp/multipartBody2085571415660367266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816765127,"filename":"image_10022025_12_30_19_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338207651","file1":"1338207648","file0":"1338207623","file4":"1338207657","file5":"1338207660","file3":"1338207654"},"map_files_photo_id_array":[{"photo_id":"1338207660","filename":"file5"},{"photo_id":"1338207651","filename":"file2"},{"photo_id":"1338207657","filename":"file4"},{"photo_id":"1338207648","filename":"file1"},{"photo_id":"1338207623","filename":"file0"},{"photo_id":"1338207654","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338207651":["hashtag1","hashtag2"]},{"1338207648":["hashtag1","hashtag2"]},{"1338207623":["hashtag1","hashtag2"]},{"1338207660":["hashtag1","hashtag2"]},{"1338207654":["hashtag1","hashtag2"]},{"1338207657":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338207651, 1338207648, 1338207623, 1338207660, 1338207654, 1338207657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45099759101868 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:26:02.821019
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_58_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_49_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_39_10722.jpg', 0), ('/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_28_9702.jpg', 0), ('/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_18_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_09_10723.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_58_9697.jpg', '/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_49_9705.jpg', '/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_39_10722.jpg', '/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_28_9702.jpg', '/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_18_9692.jpg', '/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_09_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_58_9697.jpg
/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_49_9705.jpg
/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_39_10722.jpg
/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_28_9702.jpg
/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_18_9692.jpg
/home/nano/Desktop/images/10022025/12/29/image_10022025_12_29_09_10723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338207677","1338207689","1338207688","1338207682","1338207685","1338207679"],"photo_ids_order":["1338207677","1338207679","1338207682","1338207685","1338207688","1338207689"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82cc25204be3825d9e839443fa44b606.jpg","text":"TemporaryFile(/tmp/multipartBody2479683023056251531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816825537,"filename":"image_10022025_12_29_58_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/18eea55bc8ddba39c7439e6031801e3f.jpg","text":"TemporaryFile(/tmp/multipartBody8049508738773225066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816825537,"filename":"image_10022025_12_29_09_10723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4aec6f5b83cde1acc273af7472a92d47.jpg","text":"TemporaryFile(/tmp/multipartBody5840003105620142578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816825537,"filename":"image_10022025_12_29_18_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5fda175d7d048a102ad53af3e1379950.jpg","text":"TemporaryFile(/tmp/multipartBody7617806035836890244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816825537,"filename":"image_10022025_12_29_39_10722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/254365dd142ffc8dc773a086c390a5a0.jpg","text":"TemporaryFile(/tmp/multipartBody4404570886282288983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816825537,"filename":"image_10022025_12_29_28_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/771c63dbbe04248b6e7a567f81686167.jpg","text":"TemporaryFile(/tmp/multipartBody8257531007782520521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816825537,"filename":"image_10022025_12_29_49_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338207682","file1":"1338207679","file0":"1338207677","file4":"1338207688","file5":"1338207689","file3":"1338207685"},"map_files_photo_id_array":[{"photo_id":"1338207689","filename":"file5"},{"photo_id":"1338207682","filename":"file2"},{"photo_id":"1338207688","filename":"file4"},{"photo_id":"1338207679","filename":"file1"},{"photo_id":"1338207677","filename":"file0"},{"photo_id":"1338207685","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338207677":["hashtag1","hashtag2"]},{"1338207689":["hashtag1","hashtag2"]},{"1338207688":["hashtag1","hashtag2"]},{"1338207682":["hashtag1","hashtag2"]},{"1338207685":["hashtag1","hashtag2"]},{"1338207679":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338207677, 1338207689, 1338207688, 1338207682, 1338207685, 1338207679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.583521604537964 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:27:03.094394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_58_9723.jpg', 0), ('/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_48_9700.jpg', 0), ('/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_39_9710.jpg', 0), ('/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_29_10715.jpg', 0), ('/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_18_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_08_9706.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_58_9723.jpg', '/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_48_9700.jpg', '/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_39_9710.jpg', '/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_29_10715.jpg', '/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_18_9698.jpg', '/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_08_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_58_9723.jpg
/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_48_9700.jpg
/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_39_9710.jpg
/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_29_10715.jpg
/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_18_9698.jpg
/home/nano/Desktop/images/10022025/12/28/image_10022025_12_28_08_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338207723","1338207726","1338207712","1338207721","1338207715","1338207718"],"photo_ids_order":["1338207712","1338207715","1338207718","1338207721","1338207723","1338207726"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3cd6840151f186b79605fba696fda653.jpg","text":"TemporaryFile(/tmp/multipartBody914432507759527683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816885370,"filename":"image_10022025_12_28_18_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7957a5650c57f510d950e843ce5f604b.jpg","text":"TemporaryFile(/tmp/multipartBody5964566756783248804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816885370,"filename":"image_10022025_12_28_08_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2fb9530a403edbb0b63b8d07bf4ab360.jpg","text":"TemporaryFile(/tmp/multipartBody438428900226876395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816885370,"filename":"image_10022025_12_28_58_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c664eee57102c676c779a7c045acc3d5.jpg","text":"TemporaryFile(/tmp/multipartBody7804454902351631508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816885370,"filename":"image_10022025_12_28_29_10715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3eeb9b891c892978b1f4640c0996fa2a.jpg","text":"TemporaryFile(/tmp/multipartBody6610197667773429894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816885370,"filename":"image_10022025_12_28_48_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7044796efb02ffe5ed02c5cdd7a0eb65.jpg","text":"TemporaryFile(/tmp/multipartBody3406181389686104707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816885370,"filename":"image_10022025_12_28_39_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338207718","file1":"1338207715","file0":"1338207712","file4":"1338207723","file5":"1338207726","file3":"1338207721"},"map_files_photo_id_array":[{"photo_id":"1338207726","filename":"file5"},{"photo_id":"1338207718","filename":"file2"},{"photo_id":"1338207723","filename":"file4"},{"photo_id":"1338207715","filename":"file1"},{"photo_id":"1338207712","filename":"file0"},{"photo_id":"1338207721","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338207723":["hashtag1","hashtag2"]},{"1338207726":["hashtag1","hashtag2"]},{"1338207712":["hashtag1","hashtag2"]},{"1338207721":["hashtag1","hashtag2"]},{"1338207715":["hashtag1","hashtag2"]},{"1338207718":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338207723, 1338207726, 1338207712, 1338207721, 1338207715, 1338207718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93461012840271 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:28:03.001177
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_59_10697.jpg', 0), ('/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_48_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_38_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_29_10705.jpg', 0), ('/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_18_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_08_9713.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_59_10697.jpg', '/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_48_9701.jpg', '/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_38_9697.jpg', '/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_29_10705.jpg', '/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_18_9698.jpg', '/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_08_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_59_10697.jpg
/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_48_9701.jpg
/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_38_9697.jpg
/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_29_10705.jpg
/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_18_9698.jpg
/home/nano/Desktop/images/10022025/12/27/image_10022025_12_27_08_9713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338207759","1338207744","1338207752","1338207749","1338207745","1338207756"],"photo_ids_order":["1338207744","1338207745","1338207749","1338207752","1338207756","1338207759"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e2b93cc0af7eacb4d70a7d35c80d15d.jpg","text":"TemporaryFile(/tmp/multipartBody5190027396539668518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816945082,"filename":"image_10022025_12_27_08_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c959476b683895672cc9958768ad64d8.jpg","text":"TemporaryFile(/tmp/multipartBody3913183562669758990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816945082,"filename":"image_10022025_12_27_59_10697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9345748070826bb4ff493f8efb88d181.jpg","text":"TemporaryFile(/tmp/multipartBody2645013204858738104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816945082,"filename":"image_10022025_12_27_29_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a779adc220b2dcfb63b4baa46bd0dcd.jpg","text":"TemporaryFile(/tmp/multipartBody4896102882660335817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816945082,"filename":"image_10022025_12_27_38_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c547c8727fd3096aa8d99c085772a48.jpg","text":"TemporaryFile(/tmp/multipartBody3845956044991289133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816945082,"filename":"image_10022025_12_27_48_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d53024ad081d3da8a718fe4c7a236931.jpg","text":"TemporaryFile(/tmp/multipartBody4730582754813562402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739816945082,"filename":"image_10022025_12_27_18_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338207749","file1":"1338207745","file0":"1338207744","file4":"1338207756","file5":"1338207759","file3":"1338207752"},"map_files_photo_id_array":[{"photo_id":"1338207759","filename":"file5"},{"photo_id":"1338207749","filename":"file2"},{"photo_id":"1338207756","filename":"file4"},{"photo_id":"1338207745","filename":"file1"},{"photo_id":"1338207744","filename":"file0"},{"photo_id":"1338207752","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338207759":["hashtag1","hashtag2"]},{"1338207744":["hashtag1","hashtag2"]},{"1338207752":["hashtag1","hashtag2"]},{"1338207749":["hashtag1","hashtag2"]},{"1338207745":["hashtag1","hashtag2"]},{"1338207756":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338207759, 1338207744, 1338207752, 1338207749, 1338207745, 1338207756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.765772342681885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:29:02.689436
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_59_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_49_10712.jpg', 0), ('/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_38_9710.jpg', 0), ('/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_28_9694.jpg', 0), ('/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_19_10710.jpg', 0), ('/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_08_9701.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_59_9693.jpg', '/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_49_10712.jpg', '/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_38_9710.jpg', '/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_28_9694.jpg', '/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_19_10710.jpg', '/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_08_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_59_9693.jpg
/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_49_10712.jpg
/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_38_9710.jpg
/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_28_9694.jpg
/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_19_10710.jpg
/home/nano/Desktop/images/10022025/12/26/image_10022025_12_26_08_9701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338207843","1338207810","1338207794","1338207814","1338207891","1338207817"],"photo_ids_order":["1338207794","1338207810","1338207814","1338207817","1338207843","1338207891"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c07ad26ddc3af2fbeeb697631cdd516d.jpg","text":"TemporaryFile(/tmp/multipartBody6672521804795616178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817005323,"filename":"image_10022025_12_26_19_10710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efdb8c4656a35cb0254fa99ba42b12d3.jpg","text":"TemporaryFile(/tmp/multipartBody7651751360543988771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817005323,"filename":"image_10022025_12_26_49_10712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf0688934e287bf0b8a7e5910fc96823.jpg","text":"TemporaryFile(/tmp/multipartBody4984425339578527519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817005323,"filename":"image_10022025_12_26_59_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5523db15fbb558106ae02f1e586ba415.jpg","text":"TemporaryFile(/tmp/multipartBody2772179361886612411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817005323,"filename":"image_10022025_12_26_38_9710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc55d6be469a1050bff2b175e6d26164.jpg","text":"TemporaryFile(/tmp/multipartBody465112836964770465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817005323,"filename":"image_10022025_12_26_08_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8357b8697c4f7941c12e39bc1369513.jpg","text":"TemporaryFile(/tmp/multipartBody3114229123692112571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817005323,"filename":"image_10022025_12_26_28_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338207814","file1":"1338207810","file0":"1338207794","file4":"1338207843","file5":"1338207891","file3":"1338207817"},"map_files_photo_id_array":[{"photo_id":"1338207891","filename":"file5"},{"photo_id":"1338207814","filename":"file2"},{"photo_id":"1338207843","filename":"file4"},{"photo_id":"1338207810","filename":"file1"},{"photo_id":"1338207794","filename":"file0"},{"photo_id":"1338207817","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338207843":["hashtag1","hashtag2"]},{"1338207810":["hashtag1","hashtag2"]},{"1338207794":["hashtag1","hashtag2"]},{"1338207814":["hashtag1","hashtag2"]},{"1338207891":["hashtag1","hashtag2"]},{"1338207817":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338207843, 1338207810, 1338207794, 1338207814, 1338207891, 1338207817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.447651386260986 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:30:02.338886
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_58_9684.jpg', 0), ('/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_49_10716.jpg', 0), ('/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_38_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_28_9703.jpg', 0), ('/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_19_9674.jpg', 0), ('/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_09_10706.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_58_9684.jpg', '/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_49_10716.jpg', '/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_38_9697.jpg', '/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_28_9703.jpg', '/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_19_9674.jpg', '/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_09_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_58_9684.jpg
/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_49_10716.jpg
/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_38_9697.jpg
/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_28_9703.jpg
/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_19_9674.jpg
/home/nano/Desktop/images/10022025/12/25/image_10022025_12_25_09_10706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338207989","1338207997","1338207991","1338207994","1338208000","1338207999"],"photo_ids_order":["1338207989","1338207991","1338207994","1338207997","1338207999","1338208000"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/42fcaefee6f84ecb12ab2001c3c603f3.jpg","text":"TemporaryFile(/tmp/multipartBody1341616979473670839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817065434,"filename":"image_10022025_12_25_58_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d7773c631f06d596dcb02aa8601dde6.jpg","text":"TemporaryFile(/tmp/multipartBody5185625338700485102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817065434,"filename":"image_10022025_12_25_28_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6861693d4ede681ac556579d521336e7.jpg","text":"TemporaryFile(/tmp/multipartBody3929982189408092658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817065434,"filename":"image_10022025_12_25_49_10716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05bc631197dc80687d5c424660bb95bf.jpg","text":"TemporaryFile(/tmp/multipartBody8925978807151119154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817065434,"filename":"image_10022025_12_25_38_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb6237fb379478b2c203b8a4fa8144a3.jpg","text":"TemporaryFile(/tmp/multipartBody2313161028860723814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817065434,"filename":"image_10022025_12_25_09_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb95cde5e2a6d2b1449e8a23a91bc3ea.jpg","text":"TemporaryFile(/tmp/multipartBody6083407176269085164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817065434,"filename":"image_10022025_12_25_19_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338207994","file1":"1338207991","file0":"1338207989","file4":"1338207999","file5":"1338208000","file3":"1338207997"},"map_files_photo_id_array":[{"photo_id":"1338208000","filename":"file5"},{"photo_id":"1338207994","filename":"file2"},{"photo_id":"1338207999","filename":"file4"},{"photo_id":"1338207991","filename":"file1"},{"photo_id":"1338207989","filename":"file0"},{"photo_id":"1338207997","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338207989":["hashtag1","hashtag2"]},{"1338207997":["hashtag1","hashtag2"]},{"1338207991":["hashtag1","hashtag2"]},{"1338207994":["hashtag1","hashtag2"]},{"1338208000":["hashtag1","hashtag2"]},{"1338207999":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338207989, 1338207997, 1338207991, 1338207994, 1338208000, 1338207999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44714546203613 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:31:02.769665
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_58_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_48_9724.jpg', 0), ('/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_39_10709.jpg', 0), ('/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_28_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_18_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_09_9716.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_58_9719.jpg', '/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_48_9724.jpg', '/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_39_10709.jpg', '/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_28_9699.jpg', '/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_18_9692.jpg', '/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_09_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_58_9719.jpg
/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_48_9724.jpg
/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_39_10709.jpg
/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_28_9699.jpg
/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_18_9692.jpg
/home/nano/Desktop/images/10022025/12/24/image_10022025_12_24_09_9716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338208145","1338208148","1338208141","1338208150","1338208095","1338208131"],"photo_ids_order":["1338208095","1338208131","1338208141","1338208145","1338208148","1338208150"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ca928fead27b208931937238df64aa2.jpg","text":"TemporaryFile(/tmp/multipartBody3229748740102371619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817125700,"filename":"image_10022025_12_24_28_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4dae4a2a460e1bba5f0b788c388ae267.jpg","text":"TemporaryFile(/tmp/multipartBody7281037127203335664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817125700,"filename":"image_10022025_12_24_18_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b123cb197aa11b1071dd8a5c4b12265a.jpg","text":"TemporaryFile(/tmp/multipartBody5525090997252502234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817125700,"filename":"image_10022025_12_24_39_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/983f16a2bf7dbd136c27f4cbaf09880a.jpg","text":"TemporaryFile(/tmp/multipartBody2353559168134358700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817125700,"filename":"image_10022025_12_24_09_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12429e80e12581c4ac4cef4b0c7c25b0.jpg","text":"TemporaryFile(/tmp/multipartBody7894649195486762564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817125700,"filename":"image_10022025_12_24_58_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c4bf81f27f4ad2cb9f3ebd5124f3f91e.jpg","text":"TemporaryFile(/tmp/multipartBody7613906154631174874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817125700,"filename":"image_10022025_12_24_48_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338208141","file1":"1338208131","file0":"1338208095","file4":"1338208148","file5":"1338208150","file3":"1338208145"},"map_files_photo_id_array":[{"photo_id":"1338208150","filename":"file5"},{"photo_id":"1338208141","filename":"file2"},{"photo_id":"1338208148","filename":"file4"},{"photo_id":"1338208131","filename":"file1"},{"photo_id":"1338208095","filename":"file0"},{"photo_id":"1338208145","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338208145":["hashtag1","hashtag2"]},{"1338208148":["hashtag1","hashtag2"]},{"1338208141":["hashtag1","hashtag2"]},{"1338208150":["hashtag1","hashtag2"]},{"1338208095":["hashtag1","hashtag2"]},{"1338208131":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338208145, 1338208148, 1338208141, 1338208150, 1338208095, 1338208131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12152624130249 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:32:02.670823
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_59_10710.jpg', 0), ('/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_48_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_38_9703.jpg', 0), ('/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_29_10721.jpg', 0), ('/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_18_9674.jpg', 0), ('/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_08_9713.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_59_10710.jpg', '/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_48_9698.jpg', '/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_38_9703.jpg', '/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_29_10721.jpg', '/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_18_9674.jpg', '/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_08_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_59_10710.jpg
/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_48_9698.jpg
/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_38_9703.jpg
/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_29_10721.jpg
/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_18_9674.jpg
/home/nano/Desktop/images/10022025/12/23/image_10022025_12_23_08_9713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338208193","1338208187","1338208388","1338208195","1338208183","1338208189"],"photo_ids_order":["1338208183","1338208187","1338208189","1338208193","1338208195","1338208388"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d68bc82c2fcd0696d99bf937b3bb29fd.jpg","text":"TemporaryFile(/tmp/multipartBody6682916433793635435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817184731,"filename":"image_10022025_12_23_29_10721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/51301096ca927e6f30321d4bb294bb19.jpg","text":"TemporaryFile(/tmp/multipartBody8525562829594931263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817184731,"filename":"image_10022025_12_23_48_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24dea355f077cc075a6798d7463b6b8d.jpg","text":"TemporaryFile(/tmp/multipartBody1058501069097766418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817184731,"filename":"image_10022025_12_23_08_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/edf84760531dfeb087dd94c7343c44a1.jpg","text":"TemporaryFile(/tmp/multipartBody7346648162631720203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817184731,"filename":"image_10022025_12_23_18_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/939ac41576428369d80c6c36718fb039.jpg","text":"TemporaryFile(/tmp/multipartBody8191394184396393680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817184731,"filename":"image_10022025_12_23_59_10710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f8d2eb0a9e86597f9b0b9afb9f8fe24.jpg","text":"TemporaryFile(/tmp/multipartBody988360063409781085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817184731,"filename":"image_10022025_12_23_38_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338208189","file1":"1338208187","file0":"1338208183","file4":"1338208195","file5":"1338208388","file3":"1338208193"},"map_files_photo_id_array":[{"photo_id":"1338208388","filename":"file5"},{"photo_id":"1338208189","filename":"file2"},{"photo_id":"1338208195","filename":"file4"},{"photo_id":"1338208187","filename":"file1"},{"photo_id":"1338208183","filename":"file0"},{"photo_id":"1338208193","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338208193":["hashtag1","hashtag2"]},{"1338208187":["hashtag1","hashtag2"]},{"1338208388":["hashtag1","hashtag2"]},{"1338208195":["hashtag1","hashtag2"]},{"1338208183":["hashtag1","hashtag2"]},{"1338208189":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338208193, 1338208187, 1338208388, 1338208195, 1338208183, 1338208189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19428610801697 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:33:03.063729
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_59_10706.jpg', 0), ('/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_48_9707.jpg', 0), ('/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_38_9694.jpg', 0), ('/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_29_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_19_10706.jpg', 0), ('/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_08_9687.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_59_10706.jpg', '/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_48_9707.jpg', '/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_38_9694.jpg', '/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_29_9714.jpg', '/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_19_10706.jpg', '/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_08_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_59_10706.jpg
/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_48_9707.jpg
/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_38_9694.jpg
/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_29_9714.jpg
/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_19_10706.jpg
/home/nano/Desktop/images/10022025/12/22/image_10022025_12_22_08_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338208895","1338208889","1338208891","1338208900","1338208887","1338208908"],"photo_ids_order":["1338208887","1338208889","1338208891","1338208895","1338208900","1338208908"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8323c470949ec47d9d922d1003fa1ea5.jpg","text":"TemporaryFile(/tmp/multipartBody8826174369034957194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817245296,"filename":"image_10022025_12_22_29_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e91d0b83d89433e3a197cd08e9f1b06b.jpg","text":"TemporaryFile(/tmp/multipartBody5411600951796813365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817245296,"filename":"image_10022025_12_22_48_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/506020eec13ca5a64836c37b53dd1ce0.jpg","text":"TemporaryFile(/tmp/multipartBody4640484943692650988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817245296,"filename":"image_10022025_12_22_38_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24ae0f799b7cc3e10c949cb8ab8951ea.jpg","text":"TemporaryFile(/tmp/multipartBody8081918374683859934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817245296,"filename":"image_10022025_12_22_19_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc8f7a02b1f9132747883ddb7f140a6b.jpg","text":"TemporaryFile(/tmp/multipartBody96150475143662747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817245296,"filename":"image_10022025_12_22_59_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/688084378a113e961e956eb21757ccb5.jpg","text":"TemporaryFile(/tmp/multipartBody5184500218601114571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817245296,"filename":"image_10022025_12_22_08_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338208891","file1":"1338208889","file0":"1338208887","file4":"1338208900","file5":"1338208908","file3":"1338208895"},"map_files_photo_id_array":[{"photo_id":"1338208908","filename":"file5"},{"photo_id":"1338208891","filename":"file2"},{"photo_id":"1338208900","filename":"file4"},{"photo_id":"1338208889","filename":"file1"},{"photo_id":"1338208887","filename":"file0"},{"photo_id":"1338208895","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338208895":["hashtag1","hashtag2"]},{"1338208889":["hashtag1","hashtag2"]},{"1338208891":["hashtag1","hashtag2"]},{"1338208900":["hashtag1","hashtag2"]},{"1338208887":["hashtag1","hashtag2"]},{"1338208908":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338208895, 1338208889, 1338208891, 1338208900, 1338208887, 1338208908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.154279708862305 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:34:03.323742
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_58_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_49_10731.jpg', 0), ('/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_38_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_28_9690.jpg', 0), ('/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_19_10712.jpg', 0), ('/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_08_9682.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_58_9706.jpg', '/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_49_10731.jpg', '/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_38_9699.jpg', '/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_28_9690.jpg', '/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_19_10712.jpg', '/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_08_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_58_9706.jpg
/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_49_10731.jpg
/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_38_9699.jpg
/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_28_9690.jpg
/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_19_10712.jpg
/home/nano/Desktop/images/10022025/12/21/image_10022025_12_21_08_9682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338208949","1338208954","1338208957","1338208942","1338209016","1338208991"],"photo_ids_order":["1338208942","1338208949","1338208954","1338208957","1338208991","1338209016"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d07a0080190013eefb1ce947c6fda323.jpg","text":"TemporaryFile(/tmp/multipartBody8017107100666829131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817305282,"filename":"image_10022025_12_21_49_10731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2aeac02579bf9b7ff276ed12c6313d68.jpg","text":"TemporaryFile(/tmp/multipartBody2044284750976992237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817305282,"filename":"image_10022025_12_21_38_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b4a18597355c18f042e5112f311d08d.jpg","text":"TemporaryFile(/tmp/multipartBody6573363325179421525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817305282,"filename":"image_10022025_12_21_28_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/540574de39054c0b2c3889712e348da3.jpg","text":"TemporaryFile(/tmp/multipartBody4076230375678334062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817305282,"filename":"image_10022025_12_21_58_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0492952424f17bea3c315910bc8ffc64.jpg","text":"TemporaryFile(/tmp/multipartBody1234683401861985305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817305282,"filename":"image_10022025_12_21_08_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5fc5ed0de0584bcf23ae3db8c6f5418a.jpg","text":"TemporaryFile(/tmp/multipartBody6127446440436236404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817305282,"filename":"image_10022025_12_21_19_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338208954","file1":"1338208949","file0":"1338208942","file4":"1338208991","file5":"1338209016","file3":"1338208957"},"map_files_photo_id_array":[{"photo_id":"1338209016","filename":"file5"},{"photo_id":"1338208954","filename":"file2"},{"photo_id":"1338208991","filename":"file4"},{"photo_id":"1338208949","filename":"file1"},{"photo_id":"1338208942","filename":"file0"},{"photo_id":"1338208957","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338208949":["hashtag1","hashtag2"]},{"1338208954":["hashtag1","hashtag2"]},{"1338208957":["hashtag1","hashtag2"]},{"1338208942":["hashtag1","hashtag2"]},{"1338209016":["hashtag1","hashtag2"]},{"1338208991":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338208949, 1338208954, 1338208957, 1338208942, 1338209016, 1338208991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.630287647247314 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:35:02.087148
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_58_9702.jpg', 0), ('/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_49_9704.jpg', 0), ('/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_39_10693.jpg', 0), ('/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_28_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_18_9676.jpg', 0), ('/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_09_10711.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_58_9702.jpg', '/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_49_9704.jpg', '/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_39_10693.jpg', '/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_28_9698.jpg', '/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_18_9676.jpg', '/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_09_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_58_9702.jpg
/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_49_9704.jpg
/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_39_10693.jpg
/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_28_9698.jpg
/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_18_9676.jpg
/home/nano/Desktop/images/10022025/12/20/image_10022025_12_20_09_10711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209108","1338209098","1338209106","1338209096","1338209100","1338209103"],"photo_ids_order":["1338209096","1338209098","1338209100","1338209103","1338209106","1338209108"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a4a95f251827b9339dc6bf000bf4a84.jpg","text":"TemporaryFile(/tmp/multipartBody3612660475949281016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817364371,"filename":"image_10022025_12_20_09_10711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a94472bbea05ae8497ed85d7d1fa35cf.jpg","text":"TemporaryFile(/tmp/multipartBody5628312459170695197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817364371,"filename":"image_10022025_12_20_49_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c4ceda2b2940d5b174bc58e503c78e52.jpg","text":"TemporaryFile(/tmp/multipartBody5004688451970281969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817364371,"filename":"image_10022025_12_20_18_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c914710d5efdd5725ef3ed72b56e8f7e.jpg","text":"TemporaryFile(/tmp/multipartBody8772668620217623947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817364371,"filename":"image_10022025_12_20_58_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/809c4c092c0dc622304f7186a00c2c65.jpg","text":"TemporaryFile(/tmp/multipartBody431556115739308575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817364371,"filename":"image_10022025_12_20_39_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14eae2d657bd0f27568c4d197611faeb.jpg","text":"TemporaryFile(/tmp/multipartBody3189280039614354775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817364371,"filename":"image_10022025_12_20_28_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209100","file1":"1338209098","file0":"1338209096","file4":"1338209106","file5":"1338209108","file3":"1338209103"},"map_files_photo_id_array":[{"photo_id":"1338209108","filename":"file5"},{"photo_id":"1338209100","filename":"file2"},{"photo_id":"1338209106","filename":"file4"},{"photo_id":"1338209098","filename":"file1"},{"photo_id":"1338209096","filename":"file0"},{"photo_id":"1338209103","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209108":["hashtag1","hashtag2"]},{"1338209098":["hashtag1","hashtag2"]},{"1338209106":["hashtag1","hashtag2"]},{"1338209096":["hashtag1","hashtag2"]},{"1338209100":["hashtag1","hashtag2"]},{"1338209103":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209108, 1338209098, 1338209106, 1338209096, 1338209100, 1338209103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85164260864258 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:36:02.259553
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_58_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_48_9707.jpg', 0), ('/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_39_10703.jpg', 0), ('/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_28_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_18_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_09_9715.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_58_9698.jpg', '/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_48_9707.jpg', '/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_39_10703.jpg', '/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_28_9706.jpg', '/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_18_9699.jpg', '/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_09_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_58_9698.jpg
/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_48_9707.jpg
/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_39_10703.jpg
/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_28_9706.jpg
/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_18_9699.jpg
/home/nano/Desktop/images/10022025/12/19/image_10022025_12_19_09_9715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209141","1338209135","1338209146","1338209140","1338209137","1338209133"],"photo_ids_order":["1338209133","1338209135","1338209137","1338209140","1338209141","1338209146"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9564b4a083513955771dcb3e69d8ac8e.jpg","text":"TemporaryFile(/tmp/multipartBody3924956555221409381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817424389,"filename":"image_10022025_12_19_18_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3eeedaea84633ca9cba6e026829233c.jpg","text":"TemporaryFile(/tmp/multipartBody4541192755508412332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817424389,"filename":"image_10022025_12_19_48_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b7c3e69fb045923bf574003ed702585.jpg","text":"TemporaryFile(/tmp/multipartBody9090742837536937364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817424389,"filename":"image_10022025_12_19_09_9715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c04258a6089ed9e2123f3feca98a6de.jpg","text":"TemporaryFile(/tmp/multipartBody5426850691219243232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817424389,"filename":"image_10022025_12_19_28_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc81a0f053b88886ec90d27c6955790d.jpg","text":"TemporaryFile(/tmp/multipartBody1578638537034455318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817424389,"filename":"image_10022025_12_19_39_10703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b52a7b859803ccb47ec1ff8b438dd466.jpg","text":"TemporaryFile(/tmp/multipartBody6763008722915720490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817424389,"filename":"image_10022025_12_19_58_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209137","file1":"1338209135","file0":"1338209133","file4":"1338209141","file5":"1338209146","file3":"1338209140"},"map_files_photo_id_array":[{"photo_id":"1338209146","filename":"file5"},{"photo_id":"1338209137","filename":"file2"},{"photo_id":"1338209141","filename":"file4"},{"photo_id":"1338209135","filename":"file1"},{"photo_id":"1338209133","filename":"file0"},{"photo_id":"1338209140","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209141":["hashtag1","hashtag2"]},{"1338209135":["hashtag1","hashtag2"]},{"1338209146":["hashtag1","hashtag2"]},{"1338209140":["hashtag1","hashtag2"]},{"1338209137":["hashtag1","hashtag2"]},{"1338209133":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209141, 1338209135, 1338209146, 1338209140, 1338209137, 1338209133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44352436065674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:37:02.473979
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_59_10713.jpg', 0), ('/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_48_9728.jpg', 0), ('/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_38_9707.jpg', 0), ('/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_29_10706.jpg', 0), ('/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_18_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_08_9702.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_59_10713.jpg', '/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_48_9728.jpg', '/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_38_9707.jpg', '/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_29_10706.jpg', '/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_18_9691.jpg', '/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_08_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_59_10713.jpg
/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_48_9728.jpg
/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_38_9707.jpg
/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_29_10706.jpg
/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_18_9691.jpg
/home/nano/Desktop/images/10022025/12/18/image_10022025_12_18_08_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209197","1338209200","1338209193","1338209205","1338209202","1338209180"],"photo_ids_order":["1338209180","1338209193","1338209197","1338209200","1338209202","1338209205"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a15aa02a82eab7a01fee30f86a656c1.jpg","text":"TemporaryFile(/tmp/multipartBody8032992123138712305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817485279,"filename":"image_10022025_12_18_38_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/45589434a940d360d43f265cc5412330.jpg","text":"TemporaryFile(/tmp/multipartBody3034682967092092014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817485279,"filename":"image_10022025_12_18_29_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e6f00eabdac3ee8f5ab3dee2fd863195.jpg","text":"TemporaryFile(/tmp/multipartBody6295900328542917749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817485279,"filename":"image_10022025_12_18_48_9728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5861ca0b61b8c74cb3ed9e6e2660b386.jpg","text":"TemporaryFile(/tmp/multipartBody5640134943690629571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817485279,"filename":"image_10022025_12_18_08_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b243e7656e14eeb6e549db41479fe4b7.jpg","text":"TemporaryFile(/tmp/multipartBody447062972156428988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817485279,"filename":"image_10022025_12_18_18_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bbf6b7ef2aaa307857a4be4db042cf2b.jpg","text":"TemporaryFile(/tmp/multipartBody3115358783731661187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817485279,"filename":"image_10022025_12_18_59_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209197","file1":"1338209193","file0":"1338209180","file4":"1338209202","file5":"1338209205","file3":"1338209200"},"map_files_photo_id_array":[{"photo_id":"1338209205","filename":"file5"},{"photo_id":"1338209197","filename":"file2"},{"photo_id":"1338209202","filename":"file4"},{"photo_id":"1338209193","filename":"file1"},{"photo_id":"1338209180","filename":"file0"},{"photo_id":"1338209200","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209197":["hashtag1","hashtag2"]},{"1338209200":["hashtag1","hashtag2"]},{"1338209193":["hashtag1","hashtag2"]},{"1338209205":["hashtag1","hashtag2"]},{"1338209202":["hashtag1","hashtag2"]},{"1338209180":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209197, 1338209200, 1338209193, 1338209205, 1338209202, 1338209180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.354766845703125 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:38:02.645273
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_59_9700.jpg', 0), ('/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_49_10700.jpg', 0), ('/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_38_9717.jpg', 0), ('/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_28_9685.jpg', 0), ('/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_19_10712.jpg', 0), ('/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_08_9679.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_59_9700.jpg', '/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_49_10700.jpg', '/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_38_9717.jpg', '/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_28_9685.jpg', '/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_19_10712.jpg', '/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_08_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_59_9700.jpg
/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_49_10700.jpg
/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_38_9717.jpg
/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_28_9685.jpg
/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_19_10712.jpg
/home/nano/Desktop/images/10022025/12/17/image_10022025_12_17_08_9679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209234","1338209245","1338209230","1338209227","1338209241","1338209238"],"photo_ids_order":["1338209227","1338209230","1338209234","1338209238","1338209241","1338209245"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c3bac987355182bed93efbfd97c0723.jpg","text":"TemporaryFile(/tmp/multipartBody4188654804650320691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817545435,"filename":"image_10022025_12_17_38_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a6bebe2f1008e7d22ff75d03f46b2e3.jpg","text":"TemporaryFile(/tmp/multipartBody4895789077595395765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817545435,"filename":"image_10022025_12_17_08_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0df5b69b41c8ab3aff9f8c9b0a0cd04.jpg","text":"TemporaryFile(/tmp/multipartBody1646837517989535893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817545435,"filename":"image_10022025_12_17_49_10700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e19907501996992d5a7a7d914cebed6b.jpg","text":"TemporaryFile(/tmp/multipartBody3881073354305488900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817545435,"filename":"image_10022025_12_17_59_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0590f0cad7a4c445db34dedc19a7fcec.jpg","text":"TemporaryFile(/tmp/multipartBody37252485114665535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817545435,"filename":"image_10022025_12_17_19_10712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/85aa6086afef98f6537533cf864ad5f0.jpg","text":"TemporaryFile(/tmp/multipartBody6344925940053995393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817545435,"filename":"image_10022025_12_17_28_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209234","file1":"1338209230","file0":"1338209227","file4":"1338209241","file5":"1338209245","file3":"1338209238"},"map_files_photo_id_array":[{"photo_id":"1338209245","filename":"file5"},{"photo_id":"1338209234","filename":"file2"},{"photo_id":"1338209241","filename":"file4"},{"photo_id":"1338209230","filename":"file1"},{"photo_id":"1338209227","filename":"file0"},{"photo_id":"1338209238","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209234":["hashtag1","hashtag2"]},{"1338209245":["hashtag1","hashtag2"]},{"1338209230":["hashtag1","hashtag2"]},{"1338209227":["hashtag1","hashtag2"]},{"1338209241":["hashtag1","hashtag2"]},{"1338209238":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209234, 1338209245, 1338209230, 1338209227, 1338209241, 1338209238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95187163352966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:39:03.191759
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_58_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_49_10707.jpg', 0), ('/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_38_9710.jpg', 0), ('/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_28_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_18_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_09_10722.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_58_9719.jpg', '/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_49_10707.jpg', '/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_38_9710.jpg', '/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_28_9706.jpg', '/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_18_9698.jpg', '/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_09_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_58_9719.jpg
/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_49_10707.jpg
/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_38_9710.jpg
/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_28_9706.jpg
/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_18_9698.jpg
/home/nano/Desktop/images/10022025/12/16/image_10022025_12_16_09_10722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209269","1338209266","1338209277","1338209276","1338209279","1338209273"],"photo_ids_order":["1338209266","1338209269","1338209273","1338209276","1338209277","1338209279"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f638c70d2ef686226a5800aa8b813391.jpg","text":"TemporaryFile(/tmp/multipartBody4690553044398295203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817607700,"filename":"image_10022025_12_16_49_10707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4c493e84d3b47d9e90aae5273ba2185.jpg","text":"TemporaryFile(/tmp/multipartBody8259378550208354655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817607700,"filename":"image_10022025_12_16_58_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03d31170536da0fda9a4420335325a02.jpg","text":"TemporaryFile(/tmp/multipartBody5439362276523561624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817607700,"filename":"image_10022025_12_16_18_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8410cf7ee7a9121bce36ffabcc4ea8f7.jpg","text":"TemporaryFile(/tmp/multipartBody1176324836526439648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817607700,"filename":"image_10022025_12_16_28_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57edd4cd91a8d4458d780db48f6a65d6.jpg","text":"TemporaryFile(/tmp/multipartBody1630934329291070291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817607700,"filename":"image_10022025_12_16_09_10722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c3d69fbe555e584779aef07b638867c.jpg","text":"TemporaryFile(/tmp/multipartBody6739353674008086816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817607700,"filename":"image_10022025_12_16_38_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209273","file1":"1338209269","file0":"1338209266","file4":"1338209277","file5":"1338209279","file3":"1338209276"},"map_files_photo_id_array":[{"photo_id":"1338209279","filename":"file5"},{"photo_id":"1338209273","filename":"file2"},{"photo_id":"1338209277","filename":"file4"},{"photo_id":"1338209269","filename":"file1"},{"photo_id":"1338209266","filename":"file0"},{"photo_id":"1338209276","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209269":["hashtag1","hashtag2"]},{"1338209266":["hashtag1","hashtag2"]},{"1338209277":["hashtag1","hashtag2"]},{"1338209276":["hashtag1","hashtag2"]},{"1338209279":["hashtag1","hashtag2"]},{"1338209273":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209269, 1338209266, 1338209277, 1338209276, 1338209279, 1338209273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40244913101196 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:40:02.859539
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_58_9717.jpg', 0), ('/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_48_9707.jpg', 0), ('/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_39_10709.jpg', 0), ('/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_28_9672.jpg', 0), ('/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_18_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_09_9715.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_58_9717.jpg', '/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_48_9707.jpg', '/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_39_10709.jpg', '/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_28_9672.jpg', '/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_18_9682.jpg', '/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_09_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_58_9717.jpg
/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_48_9707.jpg
/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_39_10709.jpg
/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_28_9672.jpg
/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_18_9682.jpg
/home/nano/Desktop/images/10022025/12/15/image_10022025_12_15_09_9715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209293","1338209299","1338209329","1338209308","1338209295","1338209291"],"photo_ids_order":["1338209291","1338209293","1338209295","1338209299","1338209308","1338209329"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb410e97865eb51879adb429f7001149.jpg","text":"TemporaryFile(/tmp/multipartBody7129664250179949679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817665284,"filename":"image_10022025_12_15_48_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a4bc6615dd95d1af547cdc5eeb4dc9d.jpg","text":"TemporaryFile(/tmp/multipartBody6282582070201318587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817665284,"filename":"image_10022025_12_15_28_9672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/acd227e1328d00416377d92422b5bfb4.jpg","text":"TemporaryFile(/tmp/multipartBody2460471060725119760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817665284,"filename":"image_10022025_12_15_09_9715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14045e68c1f7f3117095e5f744de3aea.jpg","text":"TemporaryFile(/tmp/multipartBody6622850703772248421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817665284,"filename":"image_10022025_12_15_18_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/454e6cc44dae8320aa263b66878b2fe8.jpg","text":"TemporaryFile(/tmp/multipartBody5094511277486903782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817665284,"filename":"image_10022025_12_15_39_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c105f70a3bfe695330cd2e864fa35152.jpg","text":"TemporaryFile(/tmp/multipartBody7456735252529033796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817665284,"filename":"image_10022025_12_15_58_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209295","file1":"1338209293","file0":"1338209291","file4":"1338209308","file5":"1338209329","file3":"1338209299"},"map_files_photo_id_array":[{"photo_id":"1338209329","filename":"file5"},{"photo_id":"1338209295","filename":"file2"},{"photo_id":"1338209308","filename":"file4"},{"photo_id":"1338209293","filename":"file1"},{"photo_id":"1338209291","filename":"file0"},{"photo_id":"1338209299","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209293":["hashtag1","hashtag2"]},{"1338209299":["hashtag1","hashtag2"]},{"1338209329":["hashtag1","hashtag2"]},{"1338209308":["hashtag1","hashtag2"]},{"1338209295":["hashtag1","hashtag2"]},{"1338209291":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209293, 1338209299, 1338209329, 1338209308, 1338209295, 1338209291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45473074913025 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:41:03.233608
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_59_10722.jpg', 0), ('/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_48_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_38_9684.jpg', 0), ('/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_29_10690.jpg', 0), ('/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_18_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_08_9683.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_59_10722.jpg', '/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_48_9695.jpg', '/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_38_9684.jpg', '/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_29_10690.jpg', '/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_18_9716.jpg', '/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_08_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_59_10722.jpg
/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_48_9695.jpg
/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_38_9684.jpg
/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_29_10690.jpg
/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_18_9716.jpg
/home/nano/Desktop/images/10022025/12/14/image_10022025_12_14_08_9683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209411","1338209408","1338209405","1338209356","1338209359","1338209355"],"photo_ids_order":["1338209355","1338209356","1338209359","1338209405","1338209408","1338209411"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5106391ba621473d90701ff49e1b0a4b.jpg","text":"TemporaryFile(/tmp/multipartBody3020004131740422130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817725285,"filename":"image_10022025_12_14_08_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae4a555c0ff3c7bfe60f0d81f0f0ccdf.jpg","text":"TemporaryFile(/tmp/multipartBody4633761987195886708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817725285,"filename":"image_10022025_12_14_18_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e9f8bb9d44fc9b28387d77182cf67ac.jpg","text":"TemporaryFile(/tmp/multipartBody8359445118012412269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817725285,"filename":"image_10022025_12_14_29_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/608833f53f9789e8badf403812dc76a7.jpg","text":"TemporaryFile(/tmp/multipartBody2541569454442415750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817725285,"filename":"image_10022025_12_14_48_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0ef9c74c3f4532a20c32a08788ac52d.jpg","text":"TemporaryFile(/tmp/multipartBody3222480224657910854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817725285,"filename":"image_10022025_12_14_38_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/41e46598b82cf12da3a5543b848f618d.jpg","text":"TemporaryFile(/tmp/multipartBody4190708912669525420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817725285,"filename":"image_10022025_12_14_59_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209359","file1":"1338209356","file0":"1338209355","file4":"1338209408","file5":"1338209411","file3":"1338209405"},"map_files_photo_id_array":[{"photo_id":"1338209411","filename":"file5"},{"photo_id":"1338209359","filename":"file2"},{"photo_id":"1338209408","filename":"file4"},{"photo_id":"1338209356","filename":"file1"},{"photo_id":"1338209355","filename":"file0"},{"photo_id":"1338209405","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209411":["hashtag1","hashtag2"]},{"1338209408":["hashtag1","hashtag2"]},{"1338209405":["hashtag1","hashtag2"]},{"1338209356":["hashtag1","hashtag2"]},{"1338209359":["hashtag1","hashtag2"]},{"1338209355":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209411, 1338209408, 1338209405, 1338209356, 1338209359, 1338209355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05854654312134 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:42:02.173535
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_59_10700.jpg', 0), ('/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_48_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_38_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_29_10708.jpg', 0), ('/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_18_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_08_9713.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_59_10700.jpg', '/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_48_9687.jpg', '/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_38_9692.jpg', '/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_29_10708.jpg', '/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_18_9698.jpg', '/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_08_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_59_10700.jpg
/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_48_9687.jpg
/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_38_9692.jpg
/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_29_10708.jpg
/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_18_9698.jpg
/home/nano/Desktop/images/10022025/12/13/image_10022025_12_13_08_9713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209453","1338209455","1338209515","1338209446","1338209463","1338209439"],"photo_ids_order":["1338209439","1338209446","1338209453","1338209455","1338209463","1338209515"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/43539f0ec3e1de9ee0c6cf44746a2edb.jpg","text":"TemporaryFile(/tmp/multipartBody7269904507339183194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817784345,"filename":"image_10022025_12_13_38_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3529556f90f463789439ebf4306b048a.jpg","text":"TemporaryFile(/tmp/multipartBody7042720364757959129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817784345,"filename":"image_10022025_12_13_29_10708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/019da5a5fe277e5dbc576c9e85120da5.jpg","text":"TemporaryFile(/tmp/multipartBody573397873142210973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817784345,"filename":"image_10022025_12_13_08_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16d3c1e6fa3de29e1b140b738d8e5b61.jpg","text":"TemporaryFile(/tmp/multipartBody7755012929904494235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817784345,"filename":"image_10022025_12_13_48_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d9722b363e7f3f068742bd36ed504f5.jpg","text":"TemporaryFile(/tmp/multipartBody9132057015122630323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817784345,"filename":"image_10022025_12_13_18_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/395a0bced7588753d91d57e9a635817f.jpg","text":"TemporaryFile(/tmp/multipartBody2324930198593922993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817784345,"filename":"image_10022025_12_13_59_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209453","file1":"1338209446","file0":"1338209439","file4":"1338209463","file5":"1338209515","file3":"1338209455"},"map_files_photo_id_array":[{"photo_id":"1338209515","filename":"file5"},{"photo_id":"1338209453","filename":"file2"},{"photo_id":"1338209463","filename":"file4"},{"photo_id":"1338209446","filename":"file1"},{"photo_id":"1338209439","filename":"file0"},{"photo_id":"1338209455","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209453":["hashtag1","hashtag2"]},{"1338209455":["hashtag1","hashtag2"]},{"1338209515":["hashtag1","hashtag2"]},{"1338209446":["hashtag1","hashtag2"]},{"1338209463":["hashtag1","hashtag2"]},{"1338209439":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209453, 1338209455, 1338209515, 1338209446, 1338209463, 1338209439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.341637134552002 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:43:02.586106
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_58_9702.jpg', 0), ('/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_49_10694.jpg', 0), ('/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_38_9688.jpg', 0), ('/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_28_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_19_10705.jpg', 0), ('/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_08_9681.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_58_9702.jpg', '/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_49_10694.jpg', '/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_38_9688.jpg', '/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_28_9687.jpg', '/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_19_10705.jpg', '/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_08_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_58_9702.jpg
/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_49_10694.jpg
/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_38_9688.jpg
/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_28_9687.jpg
/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_19_10705.jpg
/home/nano/Desktop/images/10022025/12/12/image_10022025_12_12_08_9681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209528","1338209595","1338209589","1338209583","1338209586","1338209601"],"photo_ids_order":["1338209528","1338209583","1338209586","1338209589","1338209595","1338209601"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b394cd1a2766ae430f309401d2873674.jpg","text":"TemporaryFile(/tmp/multipartBody2546824131078540269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817844722,"filename":"image_10022025_12_12_58_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dfc01e219110ca512d3fb09855f12460.jpg","text":"TemporaryFile(/tmp/multipartBody4109816003401096838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817844722,"filename":"image_10022025_12_12_19_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d938c306063840bb6fd48569d4373c0d.jpg","text":"TemporaryFile(/tmp/multipartBody1676607318180131062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817844722,"filename":"image_10022025_12_12_28_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1b95eafbcc922377d1fb19a71fd9ff0.jpg","text":"TemporaryFile(/tmp/multipartBody3202420680355758908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817844722,"filename":"image_10022025_12_12_49_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aec018bb1bcf60700103762cba5f81a2.jpg","text":"TemporaryFile(/tmp/multipartBody9191847709123392283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817844722,"filename":"image_10022025_12_12_38_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/267796311e2e165f1f44c06859b1ab09.jpg","text":"TemporaryFile(/tmp/multipartBody5868780799625189122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817844722,"filename":"image_10022025_12_12_08_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209586","file1":"1338209583","file0":"1338209528","file4":"1338209595","file5":"1338209601","file3":"1338209589"},"map_files_photo_id_array":[{"photo_id":"1338209601","filename":"file5"},{"photo_id":"1338209586","filename":"file2"},{"photo_id":"1338209595","filename":"file4"},{"photo_id":"1338209583","filename":"file1"},{"photo_id":"1338209528","filename":"file0"},{"photo_id":"1338209589","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209528":["hashtag1","hashtag2"]},{"1338209595":["hashtag1","hashtag2"]},{"1338209589":["hashtag1","hashtag2"]},{"1338209583":["hashtag1","hashtag2"]},{"1338209586":["hashtag1","hashtag2"]},{"1338209601":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209528, 1338209595, 1338209589, 1338209583, 1338209586, 1338209601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86572003364563 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:44:02.850515
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_58_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_49_10713.jpg', 0), ('/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_38_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_28_9711.jpg', 0), ('/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_18_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_09_10696.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_58_9713.jpg', '/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_49_10713.jpg', '/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_38_9691.jpg', '/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_28_9711.jpg', '/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_18_9705.jpg', '/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_09_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_58_9713.jpg
/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_49_10713.jpg
/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_38_9691.jpg
/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_28_9711.jpg
/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_18_9705.jpg
/home/nano/Desktop/images/10022025/12/11/image_10022025_12_11_09_10696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209732","1338209635","1338209625","1338209628","1338209735","1338209729"],"photo_ids_order":["1338209625","1338209628","1338209635","1338209729","1338209732","1338209735"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92a42c3c3a0d9e1300d261e741817910.jpg","text":"TemporaryFile(/tmp/multipartBody1622646023046188956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817905556,"filename":"image_10022025_12_11_18_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ddaa2db7f31eae9bd08cb3ef8da7b94d.jpg","text":"TemporaryFile(/tmp/multipartBody4416023408664361010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817905556,"filename":"image_10022025_12_11_38_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bba5da692ffda9c5e9641644bcb1fb80.jpg","text":"TemporaryFile(/tmp/multipartBody5222979852213595631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817905556,"filename":"image_10022025_12_11_58_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/69d8848ff56a5fdb36a7d2c9cc60a7f1.jpg","text":"TemporaryFile(/tmp/multipartBody3055057588840436897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817905556,"filename":"image_10022025_12_11_49_10713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a72e7064f6b28c689a0c348ac82310fe.jpg","text":"TemporaryFile(/tmp/multipartBody3144340471156457427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817905556,"filename":"image_10022025_12_11_09_10696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/acc0b3a715aa746aa2ce5e2350408023.jpg","text":"TemporaryFile(/tmp/multipartBody5611303801267361341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817905556,"filename":"image_10022025_12_11_28_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209635","file1":"1338209628","file0":"1338209625","file4":"1338209732","file5":"1338209735","file3":"1338209729"},"map_files_photo_id_array":[{"photo_id":"1338209735","filename":"file5"},{"photo_id":"1338209635","filename":"file2"},{"photo_id":"1338209732","filename":"file4"},{"photo_id":"1338209628","filename":"file1"},{"photo_id":"1338209625","filename":"file0"},{"photo_id":"1338209729","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209732":["hashtag1","hashtag2"]},{"1338209635":["hashtag1","hashtag2"]},{"1338209625":["hashtag1","hashtag2"]},{"1338209628":["hashtag1","hashtag2"]},{"1338209735":["hashtag1","hashtag2"]},{"1338209729":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209732, 1338209635, 1338209625, 1338209628, 1338209735, 1338209729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.631385803222656 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:45:02.787670
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_58_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_48_9678.jpg', 0), ('/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_39_9830.jpg', 0), ('/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_29_10749.jpg', 0), ('/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_18_9868.jpg', 0), ('/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_08_9901.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_58_9695.jpg', '/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_48_9678.jpg', '/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_39_9830.jpg', '/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_29_10749.jpg', '/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_18_9868.jpg', '/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_08_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_58_9695.jpg
/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_48_9678.jpg
/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_39_9830.jpg
/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_29_10749.jpg
/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_18_9868.jpg
/home/nano/Desktop/images/10022025/12/10/image_10022025_12_10_08_9901.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209764","1338209758","1338209767","1338209761","1338209755","1338209769"],"photo_ids_order":["1338209755","1338209758","1338209761","1338209764","1338209767","1338209769"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4166909ee44d10d38516c497a32c549e.jpg","text":"TemporaryFile(/tmp/multipartBody6160402489200770158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817965362,"filename":"image_10022025_12_10_29_10749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/01884f9857c05f70cb954aeb6dc1ba24.jpg","text":"TemporaryFile(/tmp/multipartBody5885170817546321033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817965362,"filename":"image_10022025_12_10_48_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a10485ba05a944de6d71858d468c890.jpg","text":"TemporaryFile(/tmp/multipartBody6938215470187464014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817965362,"filename":"image_10022025_12_10_18_9868.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e2938b4615d12d973c0136c80f61ec8.jpg","text":"TemporaryFile(/tmp/multipartBody3548557057322137676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817965362,"filename":"image_10022025_12_10_39_9830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac6d511e03ffb3cf8b132a5fb82619e3.jpg","text":"TemporaryFile(/tmp/multipartBody8640129452531447129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817965362,"filename":"image_10022025_12_10_58_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2f8809b56205dd807d66647a391cd18.jpg","text":"TemporaryFile(/tmp/multipartBody3989730153911888338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739817965362,"filename":"image_10022025_12_10_08_9901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209761","file1":"1338209758","file0":"1338209755","file4":"1338209767","file5":"1338209769","file3":"1338209764"},"map_files_photo_id_array":[{"photo_id":"1338209769","filename":"file5"},{"photo_id":"1338209761","filename":"file2"},{"photo_id":"1338209767","filename":"file4"},{"photo_id":"1338209758","filename":"file1"},{"photo_id":"1338209755","filename":"file0"},{"photo_id":"1338209764","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209764":["hashtag1","hashtag2"]},{"1338209758":["hashtag1","hashtag2"]},{"1338209767":["hashtag1","hashtag2"]},{"1338209761":["hashtag1","hashtag2"]},{"1338209755":["hashtag1","hashtag2"]},{"1338209769":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209764, 1338209758, 1338209767, 1338209761, 1338209755, 1338209769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04455256462097 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:46:02.838744
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_58_9852.jpg', 0), ('/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_49_9853.jpg', 0), ('/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_39_10741.jpg', 0), ('/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_28_9835.jpg', 0), ('/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_18_9762.jpg', 0), ('/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_08_9784.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_58_9852.jpg', '/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_49_9853.jpg', '/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_39_10741.jpg', '/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_28_9835.jpg', '/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_18_9762.jpg', '/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_08_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_58_9852.jpg
/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_49_9853.jpg
/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_39_10741.jpg
/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_28_9835.jpg
/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_18_9762.jpg
/home/nano/Desktop/images/10022025/12/09/image_10022025_12_09_08_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209807","1338209809","1338209800","1338209803","1338209811","1338209814"],"photo_ids_order":["1338209800","1338209803","1338209807","1338209809","1338209811","1338209814"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/583e25e3c7051a59f5ea5ad5c8d99c41.jpg","text":"TemporaryFile(/tmp/multipartBody914799408037326671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818026064,"filename":"image_10022025_12_09_39_10741.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8a8a5cbdfd997beedb938de115739ca.jpg","text":"TemporaryFile(/tmp/multipartBody1421361847411975641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818026064,"filename":"image_10022025_12_09_28_9835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b33acb223a08349e15ff34e69b0ea89.jpg","text":"TemporaryFile(/tmp/multipartBody852222409727202027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818026064,"filename":"image_10022025_12_09_58_9852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be78912bc15e9bc48a889f47e20c7008.jpg","text":"TemporaryFile(/tmp/multipartBody5420200842294179322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818026064,"filename":"image_10022025_12_09_49_9853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0fece3e94355cb01cad2c52334ae88f.jpg","text":"TemporaryFile(/tmp/multipartBody6511149089040294658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818026064,"filename":"image_10022025_12_09_18_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/18eccfebcdb3ebeab0364dd41b64459c.jpg","text":"TemporaryFile(/tmp/multipartBody4897133322666723413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818026064,"filename":"image_10022025_12_09_08_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209807","file1":"1338209803","file0":"1338209800","file4":"1338209811","file5":"1338209814","file3":"1338209809"},"map_files_photo_id_array":[{"photo_id":"1338209814","filename":"file5"},{"photo_id":"1338209807","filename":"file2"},{"photo_id":"1338209811","filename":"file4"},{"photo_id":"1338209803","filename":"file1"},{"photo_id":"1338209800","filename":"file0"},{"photo_id":"1338209809","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209807":["hashtag1","hashtag2"]},{"1338209809":["hashtag1","hashtag2"]},{"1338209800":["hashtag1","hashtag2"]},{"1338209803":["hashtag1","hashtag2"]},{"1338209811":["hashtag1","hashtag2"]},{"1338209814":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209807, 1338209809, 1338209800, 1338209803, 1338209811, 1338209814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89957404136658 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:47:03.155760
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_59_9762.jpg', 0), ('/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_49_10860.jpg', 0), ('/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_38_9832.jpg', 0), ('/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_28_9800.jpg', 0), ('/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_18_9924.jpg', 0), ('/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_08_9758.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_59_9762.jpg', '/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_49_10860.jpg', '/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_38_9832.jpg', '/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_28_9800.jpg', '/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_18_9924.jpg', '/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_08_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_59_9762.jpg
/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_49_10860.jpg
/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_38_9832.jpg
/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_28_9800.jpg
/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_18_9924.jpg
/home/nano/Desktop/images/10022025/12/08/image_10022025_12_08_08_9758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209843","1338209837","1338209831","1338209845","1338209842","1338209841"],"photo_ids_order":["1338209831","1338209837","1338209841","1338209842","1338209843","1338209845"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/043cc15e6e52152964c1b5f808421fe2.jpg","text":"TemporaryFile(/tmp/multipartBody3512007520679153550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818085721,"filename":"image_10022025_12_08_18_9924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6fa538a5eb64a37b06809eaac5feff4.jpg","text":"TemporaryFile(/tmp/multipartBody3003137059988849758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818085721,"filename":"image_10022025_12_08_49_10860.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/65e2dd5e41cd57747094f50b0c91fe00.jpg","text":"TemporaryFile(/tmp/multipartBody5708863690378293817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818085721,"filename":"image_10022025_12_08_59_9762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00cd8e1653b47d49cbae894264096768.jpg","text":"TemporaryFile(/tmp/multipartBody1233581863975846878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818085721,"filename":"image_10022025_12_08_08_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b806c6fafcf1922aa9b7af5c8d70331.jpg","text":"TemporaryFile(/tmp/multipartBody2552605462496316779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818085721,"filename":"image_10022025_12_08_28_9800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5037a48169520eccfc4353e25d71ebe9.jpg","text":"TemporaryFile(/tmp/multipartBody530260634545181748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818085721,"filename":"image_10022025_12_08_38_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209841","file1":"1338209837","file0":"1338209831","file4":"1338209843","file5":"1338209845","file3":"1338209842"},"map_files_photo_id_array":[{"photo_id":"1338209845","filename":"file5"},{"photo_id":"1338209841","filename":"file2"},{"photo_id":"1338209843","filename":"file4"},{"photo_id":"1338209837","filename":"file1"},{"photo_id":"1338209831","filename":"file0"},{"photo_id":"1338209842","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209843":["hashtag1","hashtag2"]},{"1338209837":["hashtag1","hashtag2"]},{"1338209831":["hashtag1","hashtag2"]},{"1338209845":["hashtag1","hashtag2"]},{"1338209842":["hashtag1","hashtag2"]},{"1338209841":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209843, 1338209837, 1338209831, 1338209845, 1338209842, 1338209841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48863172531128 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:48:02.127082
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_59_9774.jpg', 0), ('/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_49_10752.jpg', 0), ('/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_38_9839.jpg', 0), ('/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_28_9895.jpg', 0), ('/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_18_9872.jpg', 0), ('/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_08_9767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_59_9774.jpg', '/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_49_10752.jpg', '/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_38_9839.jpg', '/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_28_9895.jpg', '/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_18_9872.jpg', '/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_08_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_59_9774.jpg
/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_49_10752.jpg
/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_38_9839.jpg
/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_28_9895.jpg
/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_18_9872.jpg
/home/nano/Desktop/images/10022025/12/07/image_10022025_12_07_08_9767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209912","1338209906","1338209884","1338209886","1338209910","1338209891"],"photo_ids_order":["1338209884","1338209886","1338209891","1338209906","1338209910","1338209912"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc399a85f2a5199ca755277e6934a6b5.jpg","text":"TemporaryFile(/tmp/multipartBody6929413061186742150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818144648,"filename":"image_10022025_12_07_08_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d613bf4837f8ddff1abbb7d07341e3e.jpg","text":"TemporaryFile(/tmp/multipartBody316890278140736310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818144648,"filename":"image_10022025_12_07_28_9895.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba302bf5bc5e5d63da5d26cc63a54927.jpg","text":"TemporaryFile(/tmp/multipartBody7761931931323330376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818144648,"filename":"image_10022025_12_07_59_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0252e7cb2b2deedb3cf469b046a1efe.jpg","text":"TemporaryFile(/tmp/multipartBody7206797473345602655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818144648,"filename":"image_10022025_12_07_49_10752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5398fda1e0b411a2f786b54d03da3c59.jpg","text":"TemporaryFile(/tmp/multipartBody4464148215918798467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818144648,"filename":"image_10022025_12_07_18_9872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cf7a355836205878f824582c98e5582.jpg","text":"TemporaryFile(/tmp/multipartBody4044277395181547075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818144648,"filename":"image_10022025_12_07_38_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209891","file1":"1338209886","file0":"1338209884","file4":"1338209910","file5":"1338209912","file3":"1338209906"},"map_files_photo_id_array":[{"photo_id":"1338209912","filename":"file5"},{"photo_id":"1338209891","filename":"file2"},{"photo_id":"1338209910","filename":"file4"},{"photo_id":"1338209886","filename":"file1"},{"photo_id":"1338209884","filename":"file0"},{"photo_id":"1338209906","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209912":["hashtag1","hashtag2"]},{"1338209906":["hashtag1","hashtag2"]},{"1338209884":["hashtag1","hashtag2"]},{"1338209886":["hashtag1","hashtag2"]},{"1338209910":["hashtag1","hashtag2"]},{"1338209891":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209912, 1338209906, 1338209884, 1338209886, 1338209910, 1338209891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52802491188049 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:49:02.777658
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_59_9915.jpg', 0), ('/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_49_10686.jpg', 0), ('/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_38_9937.jpg', 0), ('/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_28_9921.jpg', 0), ('/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_18_9763.jpg', 0), ('/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_08_9753.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_59_9915.jpg', '/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_49_10686.jpg', '/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_38_9937.jpg', '/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_28_9921.jpg', '/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_18_9763.jpg', '/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_08_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_59_9915.jpg
/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_49_10686.jpg
/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_38_9937.jpg
/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_28_9921.jpg
/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_18_9763.jpg
/home/nano/Desktop/images/10022025/12/06/image_10022025_12_06_08_9753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338209939","1338209929","1338209923","1338209937","1338209925","1338209927"],"photo_ids_order":["1338209923","1338209925","1338209927","1338209929","1338209937","1338209939"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7845630d28b631151d1fda61eeb27cee.jpg","text":"TemporaryFile(/tmp/multipartBody2580048437390478376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818205861,"filename":"image_10022025_12_06_08_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6dc2dedc7d021771183ce5f354bb4037.jpg","text":"TemporaryFile(/tmp/multipartBody1701223705499982289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818205861,"filename":"image_10022025_12_06_28_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df1a73c7b5dbc546b116d2bc3dbeaa61.jpg","text":"TemporaryFile(/tmp/multipartBody2829108341908855812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818205861,"filename":"image_10022025_12_06_59_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9cfc44f12f153c3e57677fb08594ce1b.jpg","text":"TemporaryFile(/tmp/multipartBody2187943969408700458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818205861,"filename":"image_10022025_12_06_18_9763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/876f59a12c77e057b15afa64c5412f29.jpg","text":"TemporaryFile(/tmp/multipartBody8127757940098739964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818205861,"filename":"image_10022025_12_06_49_10686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a2d61c019d9b5aeafa1895e1b4f8d08.jpg","text":"TemporaryFile(/tmp/multipartBody3587695662197667416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818205861,"filename":"image_10022025_12_06_38_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338209927","file1":"1338209925","file0":"1338209923","file4":"1338209937","file5":"1338209939","file3":"1338209929"},"map_files_photo_id_array":[{"photo_id":"1338209939","filename":"file5"},{"photo_id":"1338209927","filename":"file2"},{"photo_id":"1338209937","filename":"file4"},{"photo_id":"1338209925","filename":"file1"},{"photo_id":"1338209923","filename":"file0"},{"photo_id":"1338209929","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338209939":["hashtag1","hashtag2"]},{"1338209929":["hashtag1","hashtag2"]},{"1338209923":["hashtag1","hashtag2"]},{"1338209937":["hashtag1","hashtag2"]},{"1338209925":["hashtag1","hashtag2"]},{"1338209927":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338209939, 1338209929, 1338209923, 1338209937, 1338209925, 1338209927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52767276763916 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:50:02.404226
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_59_10716.jpg', 0), ('/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_48_9667.jpg', 0), ('/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_38_9703.jpg', 0), ('/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_29_10699.jpg', 0), ('/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_18_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_08_9687.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_59_10716.jpg', '/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_48_9667.jpg', '/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_38_9703.jpg', '/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_29_10699.jpg', '/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_18_9692.jpg', '/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_08_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_59_10716.jpg
/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_48_9667.jpg
/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_38_9703.jpg
/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_29_10699.jpg
/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_18_9692.jpg
/home/nano/Desktop/images/10022025/12/05/image_10022025_12_05_08_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338210722","1338210716","1338210719","1338210710","1338210742","1338210861"],"photo_ids_order":["1338210710","1338210716","1338210719","1338210722","1338210742","1338210861"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ccdcdc85164fb69d546284c741b47477.jpg","text":"TemporaryFile(/tmp/multipartBody3322018695273458412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818264631,"filename":"image_10022025_12_05_29_10699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da5f6829e60205c83e8008e47986fe03.jpg","text":"TemporaryFile(/tmp/multipartBody3677901582011822868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818264631,"filename":"image_10022025_12_05_48_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ab9cf7860fa70e431eca009963a3798.jpg","text":"TemporaryFile(/tmp/multipartBody7482238818371419681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818264631,"filename":"image_10022025_12_05_38_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9599af7ed1832b25cbef8dd30c267c6f.jpg","text":"TemporaryFile(/tmp/multipartBody1671274145486754177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818264631,"filename":"image_10022025_12_05_59_10716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e91c45afde73caf9178c75356739e243.jpg","text":"TemporaryFile(/tmp/multipartBody6250866327857068616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818264631,"filename":"image_10022025_12_05_18_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e03acb98daa7c0dc61699750e458d5d.jpg","text":"TemporaryFile(/tmp/multipartBody7975584914428639200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818264631,"filename":"image_10022025_12_05_08_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338210719","file1":"1338210716","file0":"1338210710","file4":"1338210742","file5":"1338210861","file3":"1338210722"},"map_files_photo_id_array":[{"photo_id":"1338210861","filename":"file5"},{"photo_id":"1338210719","filename":"file2"},{"photo_id":"1338210742","filename":"file4"},{"photo_id":"1338210716","filename":"file1"},{"photo_id":"1338210710","filename":"file0"},{"photo_id":"1338210722","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338210722":["hashtag1","hashtag2"]},{"1338210716":["hashtag1","hashtag2"]},{"1338210719":["hashtag1","hashtag2"]},{"1338210710":["hashtag1","hashtag2"]},{"1338210742":["hashtag1","hashtag2"]},{"1338210861":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338210722, 1338210716, 1338210719, 1338210710, 1338210742, 1338210861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.199981689453125 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:51:02.767031
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_59_9715.jpg', 0), ('/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_49_10710.jpg', 0), ('/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_38_9717.jpg', 0), ('/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_28_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_19_10731.jpg', 0), ('/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_08_9730.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_59_9715.jpg', '/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_49_10710.jpg', '/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_38_9717.jpg', '/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_28_9691.jpg', '/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_19_10731.jpg', '/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_08_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_59_9715.jpg
/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_49_10710.jpg
/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_38_9717.jpg
/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_28_9691.jpg
/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_19_10731.jpg
/home/nano/Desktop/images/10022025/12/04/image_10022025_12_04_08_9730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338211019","1338211013","1338211016","1338211010","1338211003","1338211008"],"photo_ids_order":["1338211003","1338211008","1338211010","1338211013","1338211016","1338211019"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ccc6113f4b902969055895212f919ee.jpg","text":"TemporaryFile(/tmp/multipartBody5134969763468617023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818324706,"filename":"image_10022025_12_04_08_9730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/522563e2d3f4a20d6bf373c70ae1d604.jpg","text":"TemporaryFile(/tmp/multipartBody9110101739407432556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818324706,"filename":"image_10022025_12_04_28_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/434cbfb9604cb62a09fd284813b8b3b1.jpg","text":"TemporaryFile(/tmp/multipartBody3633683253172829813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818324706,"filename":"image_10022025_12_04_19_10731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d93d22faa134f11e86cadb653120d70f.jpg","text":"TemporaryFile(/tmp/multipartBody6388564274894518266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818324706,"filename":"image_10022025_12_04_38_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b11a0faa8580fa4c53d8e961cd5c376b.jpg","text":"TemporaryFile(/tmp/multipartBody8715327896766778749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818324706,"filename":"image_10022025_12_04_59_9715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ea9e31a83546fdcced07ae8fc69796f.jpg","text":"TemporaryFile(/tmp/multipartBody3995641660041391459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818324706,"filename":"image_10022025_12_04_49_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338211010","file1":"1338211008","file0":"1338211003","file4":"1338211016","file5":"1338211019","file3":"1338211013"},"map_files_photo_id_array":[{"photo_id":"1338211019","filename":"file5"},{"photo_id":"1338211010","filename":"file2"},{"photo_id":"1338211016","filename":"file4"},{"photo_id":"1338211008","filename":"file1"},{"photo_id":"1338211003","filename":"file0"},{"photo_id":"1338211013","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338211019":["hashtag1","hashtag2"]},{"1338211013":["hashtag1","hashtag2"]},{"1338211016":["hashtag1","hashtag2"]},{"1338211010":["hashtag1","hashtag2"]},{"1338211003":["hashtag1","hashtag2"]},{"1338211008":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338211019, 1338211013, 1338211016, 1338211010, 1338211003, 1338211008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45539617538452 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:52:02.802026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_58_9749.jpg', 0), ('/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_49_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_39_10724.jpg', 0), ('/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_28_9703.jpg', 0), ('/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_18_9700.jpg', 0), ('/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_09_9826.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_58_9749.jpg', '/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_49_9714.jpg', '/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_39_10724.jpg', '/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_28_9703.jpg', '/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_18_9700.jpg', '/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_09_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_58_9749.jpg
/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_49_9714.jpg
/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_39_10724.jpg
/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_28_9703.jpg
/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_18_9700.jpg
/home/nano/Desktop/images/10022025/12/03/image_10022025_12_03_09_9826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338211121","1338211141","1338211144","1338211138","1338211146","1338211149"],"photo_ids_order":["1338211121","1338211138","1338211141","1338211144","1338211146","1338211149"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ffac4a207da49a899bab58e29af679d.jpg","text":"TemporaryFile(/tmp/multipartBody5634945849898804471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818385327,"filename":"image_10022025_12_03_58_9749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ca03acf892cdcd57e73495cc00a2fbe.jpg","text":"TemporaryFile(/tmp/multipartBody164881329527451362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818385327,"filename":"image_10022025_12_03_39_10724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d46d32bd10082128ee43ab2a9813d927.jpg","text":"TemporaryFile(/tmp/multipartBody5097283136715127287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818385327,"filename":"image_10022025_12_03_28_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/390a5710a0e2c3ccb56e90afdf03bd4b.jpg","text":"TemporaryFile(/tmp/multipartBody7141134586585507539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818385327,"filename":"image_10022025_12_03_49_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ed43a29ef43a50d2ff5c2b666e46351e.jpg","text":"TemporaryFile(/tmp/multipartBody6433666553618509411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818385327,"filename":"image_10022025_12_03_18_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa0415307374de2c61415f04aa4f0b49.jpg","text":"TemporaryFile(/tmp/multipartBody1037383444823538954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818385327,"filename":"image_10022025_12_03_09_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338211141","file1":"1338211138","file0":"1338211121","file4":"1338211146","file5":"1338211149","file3":"1338211144"},"map_files_photo_id_array":[{"photo_id":"1338211149","filename":"file5"},{"photo_id":"1338211141","filename":"file2"},{"photo_id":"1338211146","filename":"file4"},{"photo_id":"1338211138","filename":"file1"},{"photo_id":"1338211121","filename":"file0"},{"photo_id":"1338211144","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338211121":["hashtag1","hashtag2"]},{"1338211141":["hashtag1","hashtag2"]},{"1338211144":["hashtag1","hashtag2"]},{"1338211138":["hashtag1","hashtag2"]},{"1338211146":["hashtag1","hashtag2"]},{"1338211149":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338211121, 1338211141, 1338211144, 1338211138, 1338211146, 1338211149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.737552642822266 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:53:03.015215
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_59_10773.jpg', 0), ('/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_48_9764.jpg', 0), ('/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_38_9757.jpg', 0), ('/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_29_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_19_10705.jpg', 0), ('/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_08_9716.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_59_10773.jpg', '/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_48_9764.jpg', '/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_38_9757.jpg', '/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_29_9825.jpg', '/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_19_10705.jpg', '/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_08_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_59_10773.jpg
/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_48_9764.jpg
/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_38_9757.jpg
/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_29_9825.jpg
/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_19_10705.jpg
/home/nano/Desktop/images/10022025/12/02/image_10022025_12_02_08_9716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338211198","1338211192","1338211195","1338211189","1338211201","1338211185"],"photo_ids_order":["1338211185","1338211189","1338211192","1338211195","1338211198","1338211201"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fcf77324c83c1402cbe19ee803bbf5e4.jpg","text":"TemporaryFile(/tmp/multipartBody2449914414232423008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818445924,"filename":"image_10022025_12_02_19_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e7ed2fac3079b2e81a09ece54a4555df.jpg","text":"TemporaryFile(/tmp/multipartBody7788903782423629921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818445924,"filename":"image_10022025_12_02_38_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/403adb82e6b4e1f919ba59f6f0f7b143.jpg","text":"TemporaryFile(/tmp/multipartBody6874050101064255006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818445924,"filename":"image_10022025_12_02_29_9825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/beae8ecd1ef3b972ce8b068b03c0c79b.jpg","text":"TemporaryFile(/tmp/multipartBody879684582310200122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818445924,"filename":"image_10022025_12_02_48_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78f06882e03385abf2360105a4c2f074.jpg","text":"TemporaryFile(/tmp/multipartBody7516666047128329505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818445924,"filename":"image_10022025_12_02_08_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2e7892f4690edac773fb22c277f9e1a.jpg","text":"TemporaryFile(/tmp/multipartBody1525718901827249070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818445924,"filename":"image_10022025_12_02_59_10773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338211192","file1":"1338211189","file0":"1338211185","file4":"1338211198","file5":"1338211201","file3":"1338211195"},"map_files_photo_id_array":[{"photo_id":"1338211201","filename":"file5"},{"photo_id":"1338211192","filename":"file2"},{"photo_id":"1338211198","filename":"file4"},{"photo_id":"1338211189","filename":"file1"},{"photo_id":"1338211185","filename":"file0"},{"photo_id":"1338211195","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338211198":["hashtag1","hashtag2"]},{"1338211192":["hashtag1","hashtag2"]},{"1338211195":["hashtag1","hashtag2"]},{"1338211189":["hashtag1","hashtag2"]},{"1338211201":["hashtag1","hashtag2"]},{"1338211185":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338211198, 1338211192, 1338211195, 1338211189, 1338211201, 1338211185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70402216911316 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:54:02.453673
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_58_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_49_10702.jpg', 0), ('/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_38_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_28_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_18_9723.jpg', 0), ('/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_09_10698.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_58_9693.jpg', '/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_49_10702.jpg', '/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_38_9716.jpg', '/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_28_9693.jpg', '/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_18_9723.jpg', '/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_09_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_58_9693.jpg
/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_49_10702.jpg
/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_38_9716.jpg
/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_28_9693.jpg
/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_18_9723.jpg
/home/nano/Desktop/images/10022025/12/01/image_10022025_12_01_09_10698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338211214","1338211222","1338211216","1338211225","1338211219","1338211212"],"photo_ids_order":["1338211212","1338211214","1338211216","1338211219","1338211222","1338211225"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c02d214f05b91d719b25ca8cc43d4ef3.jpg","text":"TemporaryFile(/tmp/multipartBody2593749592210812167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818504828,"filename":"image_10022025_12_01_49_10702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/73eb46e16155a65bccba6d45bac6e55a.jpg","text":"TemporaryFile(/tmp/multipartBody7609610952471953135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818504828,"filename":"image_10022025_12_01_18_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/719a9c3d3204373e83a5d8c76a0bb506.jpg","text":"TemporaryFile(/tmp/multipartBody9124018642327742238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818504828,"filename":"image_10022025_12_01_38_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e760d11b4e16679bac279ccc16140add.jpg","text":"TemporaryFile(/tmp/multipartBody5737114961350293800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818504828,"filename":"image_10022025_12_01_09_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/41025caac57652b74faf8bfb03293c35.jpg","text":"TemporaryFile(/tmp/multipartBody2960811561870294208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818504828,"filename":"image_10022025_12_01_28_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7078766e4467833777040dd026849e11.jpg","text":"TemporaryFile(/tmp/multipartBody2953573945462585338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818504828,"filename":"image_10022025_12_01_58_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338211216","file1":"1338211214","file0":"1338211212","file4":"1338211222","file5":"1338211225","file3":"1338211219"},"map_files_photo_id_array":[{"photo_id":"1338211225","filename":"file5"},{"photo_id":"1338211216","filename":"file2"},{"photo_id":"1338211222","filename":"file4"},{"photo_id":"1338211214","filename":"file1"},{"photo_id":"1338211212","filename":"file0"},{"photo_id":"1338211219","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338211214":["hashtag1","hashtag2"]},{"1338211222":["hashtag1","hashtag2"]},{"1338211216":["hashtag1","hashtag2"]},{"1338211225":["hashtag1","hashtag2"]},{"1338211219":["hashtag1","hashtag2"]},{"1338211212":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338211214, 1338211222, 1338211216, 1338211225, 1338211219, 1338211212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.031389236450195 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:55:02.395457
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_58_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_48_9810.jpg', 0), ('/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_39_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_29_10820.jpg', 0), ('/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_18_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_08_9808.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_58_9697.jpg', '/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_48_9810.jpg', '/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_39_9825.jpg', '/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_29_10820.jpg', '/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_18_9825.jpg', '/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_08_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_58_9697.jpg
/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_48_9810.jpg
/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_39_9825.jpg
/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_29_10820.jpg
/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_18_9825.jpg
/home/nano/Desktop/images/10022025/12/00/image_10022025_12_00_08_9808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338211356","1338211359","1338211350","1338211338","1338211367","1338211361"],"photo_ids_order":["1338211338","1338211350","1338211356","1338211359","1338211361","1338211367"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0fe1a3f16b7f852b3ac83eb5c5626c42.jpg","text":"TemporaryFile(/tmp/multipartBody3346875275672582716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818565031,"filename":"image_10022025_12_00_39_9825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17ad3cf999ab7c51eb3a11b3875ef6b4.jpg","text":"TemporaryFile(/tmp/multipartBody1333098665282915150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818565031,"filename":"image_10022025_12_00_29_10820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03763c93e857c6b98896d73fdba1e085.jpg","text":"TemporaryFile(/tmp/multipartBody4149463896522212198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818565031,"filename":"image_10022025_12_00_48_9810.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cfb168e67eff0a19eee95f13727aba65.jpg","text":"TemporaryFile(/tmp/multipartBody943005095846048460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818565031,"filename":"image_10022025_12_00_58_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4fb9ad8a93bb44b2ed84b706d01ac276.jpg","text":"TemporaryFile(/tmp/multipartBody8099723638921772402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818565031,"filename":"image_10022025_12_00_08_9808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/536a3a5782e60cb3e1150869249d4d69.jpg","text":"TemporaryFile(/tmp/multipartBody1240001754220606379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818565031,"filename":"image_10022025_12_00_18_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338211356","file1":"1338211350","file0":"1338211338","file4":"1338211361","file5":"1338211367","file3":"1338211359"},"map_files_photo_id_array":[{"photo_id":"1338211367","filename":"file5"},{"photo_id":"1338211356","filename":"file2"},{"photo_id":"1338211361","filename":"file4"},{"photo_id":"1338211350","filename":"file1"},{"photo_id":"1338211338","filename":"file0"},{"photo_id":"1338211359","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338211356":["hashtag1","hashtag2"]},{"1338211359":["hashtag1","hashtag2"]},{"1338211350":["hashtag1","hashtag2"]},{"1338211338":["hashtag1","hashtag2"]},{"1338211367":["hashtag1","hashtag2"]},{"1338211361":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338211356, 1338211359, 1338211350, 1338211338, 1338211367, 1338211361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54981517791748 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:56:02.457725
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_58_9805.jpg', 0), ('/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_48_9700.jpg', 0), ('/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_39_10721.jpg', 0), ('/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_28_9700.jpg', 0), ('/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_18_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_09_10715.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_58_9805.jpg', '/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_48_9700.jpg', '/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_39_10721.jpg', '/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_28_9700.jpg', '/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_18_9714.jpg', '/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_09_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_58_9805.jpg
/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_48_9700.jpg
/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_39_10721.jpg
/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_28_9700.jpg
/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_18_9714.jpg
/home/nano/Desktop/images/10022025/11/59/image_10022025_11_59_09_10715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338211406","1338211396","1338211408","1338211398","1338211404","1338211401"],"photo_ids_order":["1338211396","1338211398","1338211401","1338211404","1338211406","1338211408"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8427252451d226f34c66cf9a9c1843d2.jpg","text":"TemporaryFile(/tmp/multipartBody5768863376362781785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818625484,"filename":"image_10022025_11_59_18_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eac7f3d7062372b82da3454905c2fdcd.jpg","text":"TemporaryFile(/tmp/multipartBody3622957119176020391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818625484,"filename":"image_10022025_11_59_58_9805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ca39261bc5896adef879860687bf850.jpg","text":"TemporaryFile(/tmp/multipartBody2305441427639711683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818625484,"filename":"image_10022025_11_59_09_10715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/565d485726092e9e738ade2b193813b6.jpg","text":"TemporaryFile(/tmp/multipartBody2719617943404907370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818625484,"filename":"image_10022025_11_59_48_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ff39c5e4cfee707b8d083c8ebc65c6a.jpg","text":"TemporaryFile(/tmp/multipartBody6246937087325816562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818625484,"filename":"image_10022025_11_59_28_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa5259ae8e84334736fb6188c69a87c2.jpg","text":"TemporaryFile(/tmp/multipartBody1882262673878425929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818625484,"filename":"image_10022025_11_59_39_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338211401","file1":"1338211398","file0":"1338211396","file4":"1338211406","file5":"1338211408","file3":"1338211404"},"map_files_photo_id_array":[{"photo_id":"1338211408","filename":"file5"},{"photo_id":"1338211401","filename":"file2"},{"photo_id":"1338211406","filename":"file4"},{"photo_id":"1338211398","filename":"file1"},{"photo_id":"1338211396","filename":"file0"},{"photo_id":"1338211404","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338211406":["hashtag1","hashtag2"]},{"1338211396":["hashtag1","hashtag2"]},{"1338211408":["hashtag1","hashtag2"]},{"1338211398":["hashtag1","hashtag2"]},{"1338211404":["hashtag1","hashtag2"]},{"1338211401":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338211406, 1338211396, 1338211408, 1338211398, 1338211404, 1338211401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04850625991821 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:57:02.794903
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_58_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_48_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_39_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_29_10716.jpg', 0), ('/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_18_9684.jpg', 0), ('/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_08_9716.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_58_9699.jpg', '/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_48_9701.jpg', '/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_39_9718.jpg', '/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_29_10716.jpg', '/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_18_9684.jpg', '/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_08_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_58_9699.jpg
/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_48_9701.jpg
/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_39_9718.jpg
/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_29_10716.jpg
/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_18_9684.jpg
/home/nano/Desktop/images/10022025/11/58/image_10022025_11_58_08_9716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338211424","1338211426","1338211455","1338211449","1338211422","1338211434"],"photo_ids_order":["1338211422","1338211424","1338211426","1338211434","1338211449","1338211455"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce2b88ceecf6ab3c03c9a09cbc0ef9e3.jpg","text":"TemporaryFile(/tmp/multipartBody2232778823800344543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818684781,"filename":"image_10022025_11_58_48_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1532b95cb14195b6e766c4fe9ce0e775.jpg","text":"TemporaryFile(/tmp/multipartBody6966863284033507576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818684781,"filename":"image_10022025_11_58_39_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/760287048f0a610e87ab01736703ea22.jpg","text":"TemporaryFile(/tmp/multipartBody1692084575096708813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818684781,"filename":"image_10022025_11_58_08_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aab55a799b15802e32154798bc43ff6f.jpg","text":"TemporaryFile(/tmp/multipartBody1346358692668164519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818684781,"filename":"image_10022025_11_58_18_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a7f97a6e4893b55f26aae0dc24175a1d.jpg","text":"TemporaryFile(/tmp/multipartBody645231891609019473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818684781,"filename":"image_10022025_11_58_58_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba9d3e6ca681f56166ab5c9aaa823a49.jpg","text":"TemporaryFile(/tmp/multipartBody4648123346002298792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818684781,"filename":"image_10022025_11_58_29_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338211426","file1":"1338211424","file0":"1338211422","file4":"1338211449","file5":"1338211455","file3":"1338211434"},"map_files_photo_id_array":[{"photo_id":"1338211455","filename":"file5"},{"photo_id":"1338211426","filename":"file2"},{"photo_id":"1338211449","filename":"file4"},{"photo_id":"1338211424","filename":"file1"},{"photo_id":"1338211422","filename":"file0"},{"photo_id":"1338211434","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338211424":["hashtag1","hashtag2"]},{"1338211426":["hashtag1","hashtag2"]},{"1338211455":["hashtag1","hashtag2"]},{"1338211449":["hashtag1","hashtag2"]},{"1338211422":["hashtag1","hashtag2"]},{"1338211434":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338211424, 1338211426, 1338211455, 1338211449, 1338211422, 1338211434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.88851761817932 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:58:02.812583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_59_10722.jpg', 0), ('/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_48_9678.jpg', 0), ('/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_38_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_29_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_19_10690.jpg', 0), ('/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_08_9666.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_59_10722.jpg', '/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_48_9678.jpg', '/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_38_9693.jpg', '/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_29_9698.jpg', '/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_19_10690.jpg', '/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_08_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_59_10722.jpg
/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_48_9678.jpg
/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_38_9693.jpg
/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_29_9698.jpg
/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_19_10690.jpg
/home/nano/Desktop/images/10022025/11/57/image_10022025_11_57_08_9666.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338211474","1338211471","1338211468","1338211467","1338211470","1338211472"],"photo_ids_order":["1338211467","1338211468","1338211470","1338211471","1338211472","1338211474"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/91c3208725a68c0e0cbf316332efc255.jpg","text":"TemporaryFile(/tmp/multipartBody6384005325702721566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818744852,"filename":"image_10022025_11_57_08_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f97c79db0d7f76450af0b8c34a6b1c0.jpg","text":"TemporaryFile(/tmp/multipartBody130758057582154060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818744852,"filename":"image_10022025_11_57_29_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ffbfa0c99d92e005d9c2c0db6ad745e2.jpg","text":"TemporaryFile(/tmp/multipartBody8443139041052564351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818744852,"filename":"image_10022025_11_57_48_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d209cc90241f5628415f06b8ed46b5a.jpg","text":"TemporaryFile(/tmp/multipartBody3425656774965441774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818744852,"filename":"image_10022025_11_57_59_10722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0f4c629453a2bd2d4b93b53b6888818.jpg","text":"TemporaryFile(/tmp/multipartBody4019835989266662333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818744852,"filename":"image_10022025_11_57_38_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/52c8bf836dbcc21b27800b1e7b303da2.jpg","text":"TemporaryFile(/tmp/multipartBody3883621991667459225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818744852,"filename":"image_10022025_11_57_19_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338211470","file1":"1338211468","file0":"1338211467","file4":"1338211472","file5":"1338211474","file3":"1338211471"},"map_files_photo_id_array":[{"photo_id":"1338211474","filename":"file5"},{"photo_id":"1338211470","filename":"file2"},{"photo_id":"1338211472","filename":"file4"},{"photo_id":"1338211468","filename":"file1"},{"photo_id":"1338211467","filename":"file0"},{"photo_id":"1338211471","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338211474":["hashtag1","hashtag2"]},{"1338211471":["hashtag1","hashtag2"]},{"1338211468":["hashtag1","hashtag2"]},{"1338211467":["hashtag1","hashtag2"]},{"1338211470":["hashtag1","hashtag2"]},{"1338211472":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338211474, 1338211471, 1338211468, 1338211467, 1338211470, 1338211472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56465125083923 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 19:59:03.067930
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_59_9683.jpg', 0), ('/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_49_10689.jpg', 0), ('/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_38_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_28_9676.jpg', 0), ('/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_19_10685.jpg', 0), ('/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_08_9684.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_59_9683.jpg', '/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_49_10689.jpg', '/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_38_9695.jpg', '/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_28_9676.jpg', '/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_19_10685.jpg', '/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_08_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_59_9683.jpg
/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_49_10689.jpg
/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_38_9695.jpg
/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_28_9676.jpg
/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_19_10685.jpg
/home/nano/Desktop/images/10022025/11/56/image_10022025_11_56_08_9684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338211640","1338211669","1338211663","1338211666","1338211659","1338211629"],"photo_ids_order":["1338211629","1338211640","1338211659","1338211663","1338211666","1338211669"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ab966995767b01098ff5ec0337b56fd.jpg","text":"TemporaryFile(/tmp/multipartBody929840316523013668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818805245,"filename":"image_10022025_11_56_49_10689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d26b175a5f4d5ff95aa67457253cd314.jpg","text":"TemporaryFile(/tmp/multipartBody3603481453242023629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818805245,"filename":"image_10022025_11_56_08_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9aebf5ffca22ac77f02d45cb2f15fa80.jpg","text":"TemporaryFile(/tmp/multipartBody4759841180237912934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818805245,"filename":"image_10022025_11_56_28_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c806f0ec0635ef7060561e8499344b1.jpg","text":"TemporaryFile(/tmp/multipartBody4645870156843579232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818805245,"filename":"image_10022025_11_56_19_10685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dacbcc59e43e69187d47f7741c2b8a04.jpg","text":"TemporaryFile(/tmp/multipartBody487957592128262477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818805245,"filename":"image_10022025_11_56_38_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16b60b602db79e5dbf3095114d75e706.jpg","text":"TemporaryFile(/tmp/multipartBody5238748763496142181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818805245,"filename":"image_10022025_11_56_59_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338211659","file1":"1338211640","file0":"1338211629","file4":"1338211666","file5":"1338211669","file3":"1338211663"},"map_files_photo_id_array":[{"photo_id":"1338211669","filename":"file5"},{"photo_id":"1338211659","filename":"file2"},{"photo_id":"1338211666","filename":"file4"},{"photo_id":"1338211640","filename":"file1"},{"photo_id":"1338211629","filename":"file0"},{"photo_id":"1338211663","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338211640":["hashtag1","hashtag2"]},{"1338211669":["hashtag1","hashtag2"]},{"1338211663":["hashtag1","hashtag2"]},{"1338211666":["hashtag1","hashtag2"]},{"1338211659":["hashtag1","hashtag2"]},{"1338211629":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338211640, 1338211669, 1338211663, 1338211666, 1338211659, 1338211629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93823575973511 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:00:02.719209
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_58_9663.jpg', 0), ('/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_49_10749.jpg', 0), ('/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_38_9665.jpg', 0), ('/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_28_9740.jpg', 0), ('/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_19_9837.jpg', 0), ('/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_09_10776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_58_9663.jpg', '/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_49_10749.jpg', '/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_38_9665.jpg', '/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_28_9740.jpg', '/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_19_9837.jpg', '/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_09_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_58_9663.jpg
/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_49_10749.jpg
/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_38_9665.jpg
/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_28_9740.jpg
/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_19_9837.jpg
/home/nano/Desktop/images/10022025/11/55/image_10022025_11_55_09_10776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338211696","1338211683","1338211692","1338211686","1338211689","1338211694"],"photo_ids_order":["1338211683","1338211686","1338211689","1338211692","1338211694","1338211696"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/630d0f58664f90d2e795a86758d9cff1.jpg","text":"TemporaryFile(/tmp/multipartBody4825089636043161373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818865137,"filename":"image_10022025_11_55_09_10776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3377c120c38db7e633d537b1f343f82.jpg","text":"TemporaryFile(/tmp/multipartBody4854606861909154443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818865137,"filename":"image_10022025_11_55_58_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e62b30fed0a1c54995f34c188a5ca686.jpg","text":"TemporaryFile(/tmp/multipartBody8448707802628981645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818865137,"filename":"image_10022025_11_55_28_9740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2482cfe4b6b7ef7c8ea5d33e0e3613b8.jpg","text":"TemporaryFile(/tmp/multipartBody3773445714513833079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818865137,"filename":"image_10022025_11_55_49_10749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8bb9499012f4a9aa044ce5ab82667e5e.jpg","text":"TemporaryFile(/tmp/multipartBody5178627387585093569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818865137,"filename":"image_10022025_11_55_38_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a8ad539ad2121acca9c1a584e85d532.jpg","text":"TemporaryFile(/tmp/multipartBody1146620452959317686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818865137,"filename":"image_10022025_11_55_19_9837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338211689","file1":"1338211686","file0":"1338211683","file4":"1338211694","file5":"1338211696","file3":"1338211692"},"map_files_photo_id_array":[{"photo_id":"1338211696","filename":"file5"},{"photo_id":"1338211689","filename":"file2"},{"photo_id":"1338211694","filename":"file4"},{"photo_id":"1338211686","filename":"file1"},{"photo_id":"1338211683","filename":"file0"},{"photo_id":"1338211692","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338211696":["hashtag1","hashtag2"]},{"1338211683":["hashtag1","hashtag2"]},{"1338211692":["hashtag1","hashtag2"]},{"1338211686":["hashtag1","hashtag2"]},{"1338211689":["hashtag1","hashtag2"]},{"1338211694":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338211696, 1338211683, 1338211692, 1338211686, 1338211689, 1338211694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28923797607422 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:01:03.069345
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_58_9689.jpg', 0), ('/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_48_9717.jpg', 0), ('/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_39_9741.jpg', 0), ('/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_29_10686.jpg', 0), ('/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_18_9681.jpg', 0), ('/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_08_9666.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_58_9689.jpg', '/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_48_9717.jpg', '/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_39_9741.jpg', '/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_29_10686.jpg', '/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_18_9681.jpg', '/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_08_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_58_9689.jpg
/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_48_9717.jpg
/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_39_9741.jpg
/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_29_10686.jpg
/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_18_9681.jpg
/home/nano/Desktop/images/10022025/11/54/image_10022025_11_54_08_9666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338211816","1338211819","1338211810","1338211830","1338211827","1338211799"],"photo_ids_order":["1338211799","1338211810","1338211816","1338211819","1338211827","1338211830"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8daf3d32635db49032870421f706ed20.jpg","text":"TemporaryFile(/tmp/multipartBody5485212291985502541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818927009,"filename":"image_10022025_11_54_39_9741.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e766d70add1a55edd31c518dd3445de3.jpg","text":"TemporaryFile(/tmp/multipartBody3936060191720238372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818927009,"filename":"image_10022025_11_54_29_10686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8e0156c0cdd1ef372e0c8559250f6ec.jpg","text":"TemporaryFile(/tmp/multipartBody6955524404653042961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818927009,"filename":"image_10022025_11_54_48_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3e3a8b9d5d251628e2a2d4989e6e0e4.jpg","text":"TemporaryFile(/tmp/multipartBody9054912993987022976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818927009,"filename":"image_10022025_11_54_08_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9076673966eda6016f128dd4a27a7f3a.jpg","text":"TemporaryFile(/tmp/multipartBody1005584655087188186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818927009,"filename":"image_10022025_11_54_18_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e065341fde1c79736457276d8fd60f09.jpg","text":"TemporaryFile(/tmp/multipartBody1935906613732749543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818927009,"filename":"image_10022025_11_54_58_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338211816","file1":"1338211810","file0":"1338211799","file4":"1338211827","file5":"1338211830","file3":"1338211819"},"map_files_photo_id_array":[{"photo_id":"1338211830","filename":"file5"},{"photo_id":"1338211816","filename":"file2"},{"photo_id":"1338211827","filename":"file4"},{"photo_id":"1338211810","filename":"file1"},{"photo_id":"1338211799","filename":"file0"},{"photo_id":"1338211819","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338211816":["hashtag1","hashtag2"]},{"1338211819":["hashtag1","hashtag2"]},{"1338211810":["hashtag1","hashtag2"]},{"1338211830":["hashtag1","hashtag2"]},{"1338211827":["hashtag1","hashtag2"]},{"1338211799":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338211816, 1338211819, 1338211810, 1338211830, 1338211827, 1338211799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.501672983169556 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:02:03.032744
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_59_10698.jpg', 0), ('/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_48_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_38_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_29_9752.jpg', 0), ('/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_19_10758.jpg', 0), ('/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_08_9692.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_59_10698.jpg', '/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_48_9788.jpg', '/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_38_9785.jpg', '/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_29_9752.jpg', '/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_19_10758.jpg', '/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_08_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_59_10698.jpg
/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_48_9788.jpg
/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_38_9785.jpg
/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_29_9752.jpg
/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_19_10758.jpg
/home/nano/Desktop/images/10022025/11/53/image_10022025_11_53_08_9692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338211867","1338211875","1338211878","1338211872","1338211869","1338211865"],"photo_ids_order":["1338211865","1338211867","1338211869","1338211872","1338211875","1338211878"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2d1e5cf0402dff8b2ecedcc8bf7b3fd.jpg","text":"TemporaryFile(/tmp/multipartBody9012708705226029916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818985175,"filename":"image_10022025_11_53_48_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0952be170a10f05f5b8c6bc4b52b03b.jpg","text":"TemporaryFile(/tmp/multipartBody5631853520255296408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818985175,"filename":"image_10022025_11_53_19_10758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57a39e6f9c9a8ed6506df1679d61f728.jpg","text":"TemporaryFile(/tmp/multipartBody8044978500860855813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818985175,"filename":"image_10022025_11_53_08_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d3517aa51fe2bb7dfaacacb5c98d4307.jpg","text":"TemporaryFile(/tmp/multipartBody9142557325458484179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818985175,"filename":"image_10022025_11_53_29_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/761c46d4aa0068f570bb74499e2bade5.jpg","text":"TemporaryFile(/tmp/multipartBody3774055030580530062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818985175,"filename":"image_10022025_11_53_38_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d80e43b2c737afb64e4e4915614346c.jpg","text":"TemporaryFile(/tmp/multipartBody378074593136512046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739818985175,"filename":"image_10022025_11_53_59_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338211869","file1":"1338211867","file0":"1338211865","file4":"1338211875","file5":"1338211878","file3":"1338211872"},"map_files_photo_id_array":[{"photo_id":"1338211878","filename":"file5"},{"photo_id":"1338211869","filename":"file2"},{"photo_id":"1338211875","filename":"file4"},{"photo_id":"1338211867","filename":"file1"},{"photo_id":"1338211865","filename":"file0"},{"photo_id":"1338211872","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338211867":["hashtag1","hashtag2"]},{"1338211875":["hashtag1","hashtag2"]},{"1338211878":["hashtag1","hashtag2"]},{"1338211872":["hashtag1","hashtag2"]},{"1338211869":["hashtag1","hashtag2"]},{"1338211865":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338211867, 1338211875, 1338211878, 1338211872, 1338211869, 1338211865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.851760625839233 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:03:02.342874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_58_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_49_10683.jpg', 0), ('/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_38_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_28_9756.jpg', 0), ('/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_18_9708.jpg', 0), ('/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_09_10719.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_58_9698.jpg', '/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_49_10683.jpg', '/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_38_9682.jpg', '/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_28_9756.jpg', '/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_18_9708.jpg', '/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_09_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_58_9698.jpg
/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_49_10683.jpg
/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_38_9682.jpg
/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_28_9756.jpg
/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_18_9708.jpg
/home/nano/Desktop/images/10022025/11/52/image_10022025_11_52_09_10719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338211901","1338211894","1338211896","1338212084","1338211994","1338211898"],"photo_ids_order":["1338211894","1338211896","1338211898","1338211901","1338211994","1338212084"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2aa722a01888e88ea8e7f262e2db3812.jpg","text":"TemporaryFile(/tmp/multipartBody1252358111251243704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819044759,"filename":"image_10022025_11_52_28_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e5e492b5015a4cfb0711cc3ea54a4d9.jpg","text":"TemporaryFile(/tmp/multipartBody2822843816511136518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819044759,"filename":"image_10022025_11_52_58_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d96b3884a66080d5883610d990102ba.jpg","text":"TemporaryFile(/tmp/multipartBody5437491641270471116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819044759,"filename":"image_10022025_11_52_49_10683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd4a664e664248e1d46194e6f8a98d04.jpg","text":"TemporaryFile(/tmp/multipartBody3534117967229514109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819044759,"filename":"image_10022025_11_52_09_10719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21788ba9e3e4509f19dac251af32b86a.jpg","text":"TemporaryFile(/tmp/multipartBody2337404479789268969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819044759,"filename":"image_10022025_11_52_18_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1560916466488e9aec968fe769484aa4.jpg","text":"TemporaryFile(/tmp/multipartBody7215317833831445258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819044759,"filename":"image_10022025_11_52_38_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338211898","file1":"1338211896","file0":"1338211894","file4":"1338211994","file5":"1338212084","file3":"1338211901"},"map_files_photo_id_array":[{"photo_id":"1338212084","filename":"file5"},{"photo_id":"1338211898","filename":"file2"},{"photo_id":"1338211994","filename":"file4"},{"photo_id":"1338211896","filename":"file1"},{"photo_id":"1338211894","filename":"file0"},{"photo_id":"1338211901","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338211901":["hashtag1","hashtag2"]},{"1338211894":["hashtag1","hashtag2"]},{"1338211896":["hashtag1","hashtag2"]},{"1338212084":["hashtag1","hashtag2"]},{"1338211994":["hashtag1","hashtag2"]},{"1338211898":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338211901, 1338211894, 1338211896, 1338212084, 1338211994, 1338211898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.613545417785645 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:04:02.645095
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_58_9751.jpg', 0), ('/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_48_9704.jpg', 0), ('/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_39_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_28_9704.jpg', 0), ('/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_18_9694.jpg', 0), ('/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_08_9695.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_58_9751.jpg', '/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_48_9704.jpg', '/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_39_10717.jpg', '/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_28_9704.jpg', '/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_18_9694.jpg', '/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_08_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_58_9751.jpg
/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_48_9704.jpg
/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_39_10717.jpg
/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_28_9704.jpg
/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_18_9694.jpg
/home/nano/Desktop/images/10022025/11/51/image_10022025_11_51_08_9695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338213019","1338212879","1338212987","1338212873","1338212876","1338212881"],"photo_ids_order":["1338212873","1338212876","1338212879","1338212881","1338212987","1338213019"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/18e4a66de613752bbf448b4d55ea6352.jpg","text":"TemporaryFile(/tmp/multipartBody9075187492234809884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819104691,"filename":"image_10022025_11_51_08_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dad174b4adbb7847d4256450c83c05c5.jpg","text":"TemporaryFile(/tmp/multipartBody574933412525703805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819104691,"filename":"image_10022025_11_51_39_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c1de396b20cf13290509571dc5bffbc.jpg","text":"TemporaryFile(/tmp/multipartBody4935401727021266368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819104691,"filename":"image_10022025_11_51_18_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2168f931e77d5b5626889508f6f7d7d4.jpg","text":"TemporaryFile(/tmp/multipartBody4643032120154460050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819104691,"filename":"image_10022025_11_51_58_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38b23bd4b00a6727baffa2a398e4c478.jpg","text":"TemporaryFile(/tmp/multipartBody4037131008739812404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819104691,"filename":"image_10022025_11_51_48_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3fdc57aa0bd1623e042df16f176df52.jpg","text":"TemporaryFile(/tmp/multipartBody2315103147903695315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819104691,"filename":"image_10022025_11_51_28_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338212879","file1":"1338212876","file0":"1338212873","file4":"1338212987","file5":"1338213019","file3":"1338212881"},"map_files_photo_id_array":[{"photo_id":"1338213019","filename":"file5"},{"photo_id":"1338212879","filename":"file2"},{"photo_id":"1338212987","filename":"file4"},{"photo_id":"1338212876","filename":"file1"},{"photo_id":"1338212873","filename":"file0"},{"photo_id":"1338212881","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338213019":["hashtag1","hashtag2"]},{"1338212879":["hashtag1","hashtag2"]},{"1338212987":["hashtag1","hashtag2"]},{"1338212873":["hashtag1","hashtag2"]},{"1338212876":["hashtag1","hashtag2"]},{"1338212881":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338213019, 1338212879, 1338212987, 1338212873, 1338212876, 1338212881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.539074182510376 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:05:02.628203
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_59_10683.jpg', 0), ('/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_48_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_38_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_29_10705.jpg', 0), ('/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_18_9688.jpg', 0), ('/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_08_9695.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_59_10683.jpg', '/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_48_9699.jpg', '/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_38_9705.jpg', '/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_29_10705.jpg', '/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_18_9688.jpg', '/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_08_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_59_10683.jpg
/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_48_9699.jpg
/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_38_9705.jpg
/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_29_10705.jpg
/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_18_9688.jpg
/home/nano/Desktop/images/10022025/11/50/image_10022025_11_50_08_9695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338213139","1338213130","1338213132","1338213143","1338213134","1338213136"],"photo_ids_order":["1338213130","1338213132","1338213134","1338213136","1338213139","1338213143"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4fd36cf69d9adcc18e114e95c95187a8.jpg","text":"TemporaryFile(/tmp/multipartBody631071246347094337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819164655,"filename":"image_10022025_11_50_18_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f6b15877226943f6ef851e8b1cab35d.jpg","text":"TemporaryFile(/tmp/multipartBody5672089225405071080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819164655,"filename":"image_10022025_11_50_59_10683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2011a28d1a8427613e001cf5d860bed6.jpg","text":"TemporaryFile(/tmp/multipartBody9048527777297364586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819164655,"filename":"image_10022025_11_50_48_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab0a852ab7306a06fb6bfc8d6ddeee77.jpg","text":"TemporaryFile(/tmp/multipartBody5634631672572043560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819164655,"filename":"image_10022025_11_50_08_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4dc1336513596691c0b303e2b4e96c5.jpg","text":"TemporaryFile(/tmp/multipartBody6869219397614464392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819164655,"filename":"image_10022025_11_50_38_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/405fa57fd582601ad7e5b755d47e88db.jpg","text":"TemporaryFile(/tmp/multipartBody5753909900211083032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819164655,"filename":"image_10022025_11_50_29_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338213134","file1":"1338213132","file0":"1338213130","file4":"1338213139","file5":"1338213143","file3":"1338213136"},"map_files_photo_id_array":[{"photo_id":"1338213143","filename":"file5"},{"photo_id":"1338213134","filename":"file2"},{"photo_id":"1338213139","filename":"file4"},{"photo_id":"1338213132","filename":"file1"},{"photo_id":"1338213130","filename":"file0"},{"photo_id":"1338213136","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338213139":["hashtag1","hashtag2"]},{"1338213130":["hashtag1","hashtag2"]},{"1338213132":["hashtag1","hashtag2"]},{"1338213143":["hashtag1","hashtag2"]},{"1338213134":["hashtag1","hashtag2"]},{"1338213136":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338213139, 1338213130, 1338213132, 1338213143, 1338213134, 1338213136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00366520881653 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:06:02.600345
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_59_10681.jpg', 0), ('/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_48_9674.jpg', 0), ('/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_38_9694.jpg', 0), ('/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_29_9686.jpg', 0), ('/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_19_10698.jpg', 0), ('/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_08_9691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_59_10681.jpg', '/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_48_9674.jpg', '/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_38_9694.jpg', '/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_29_9686.jpg', '/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_19_10698.jpg', '/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_08_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_59_10681.jpg
/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_48_9674.jpg
/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_38_9694.jpg
/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_29_9686.jpg
/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_19_10698.jpg
/home/nano/Desktop/images/10022025/11/49/image_10022025_11_49_08_9691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338213171","1338213159","1338213162","1338213164","1338213167","1338213157"],"photo_ids_order":["1338213157","1338213159","1338213162","1338213164","1338213167","1338213171"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f58fbffdd30937bf3c03485df59e3868.jpg","text":"TemporaryFile(/tmp/multipartBody5670271612389578974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819225270,"filename":"image_10022025_11_49_08_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c4bfd36b4e984e0c589e67343809bd73.jpg","text":"TemporaryFile(/tmp/multipartBody9091791809935378925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819225270,"filename":"image_10022025_11_49_48_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0371f3e7f0a1fc7ded0c0609e7305286.jpg","text":"TemporaryFile(/tmp/multipartBody7951848454177585907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819225270,"filename":"image_10022025_11_49_38_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/631ec907e428acac4c220593b160730f.jpg","text":"TemporaryFile(/tmp/multipartBody3903386382814926382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819225270,"filename":"image_10022025_11_49_29_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/320be88ddbcadb0fcfb543447dc8ff40.jpg","text":"TemporaryFile(/tmp/multipartBody558563985950043901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819225270,"filename":"image_10022025_11_49_19_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f900c0e147242c1d374bebc5cb62903b.jpg","text":"TemporaryFile(/tmp/multipartBody1783565948232220335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819225270,"filename":"image_10022025_11_49_59_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338213162","file1":"1338213159","file0":"1338213157","file4":"1338213167","file5":"1338213171","file3":"1338213164"},"map_files_photo_id_array":[{"photo_id":"1338213171","filename":"file5"},{"photo_id":"1338213162","filename":"file2"},{"photo_id":"1338213167","filename":"file4"},{"photo_id":"1338213159","filename":"file1"},{"photo_id":"1338213157","filename":"file0"},{"photo_id":"1338213164","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338213171":["hashtag1","hashtag2"]},{"1338213159":["hashtag1","hashtag2"]},{"1338213162":["hashtag1","hashtag2"]},{"1338213164":["hashtag1","hashtag2"]},{"1338213167":["hashtag1","hashtag2"]},{"1338213157":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338213171, 1338213159, 1338213162, 1338213164, 1338213167, 1338213157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56952714920044 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:07:02.874436
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_58_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_49_10729.jpg', 0), ('/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_38_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_28_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_19_10722.jpg', 0), ('/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_08_9775.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_58_9696.jpg', '/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_49_10729.jpg', '/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_38_9682.jpg', '/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_28_9696.jpg', '/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_19_10722.jpg', '/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_08_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_58_9696.jpg
/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_49_10729.jpg
/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_38_9682.jpg
/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_28_9696.jpg
/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_19_10722.jpg
/home/nano/Desktop/images/10022025/11/48/image_10022025_11_48_08_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338213217","1338213228","1338213222","1338213225","1338213219","1338213215"],"photo_ids_order":["1338213215","1338213217","1338213219","1338213222","1338213225","1338213228"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9a32ec9ba9c1fa74bbc4bc562880a82a.jpg","text":"TemporaryFile(/tmp/multipartBody3378828750454209337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819284857,"filename":"image_10022025_11_48_49_10729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/419443db05cee622155f2a389d339d52.jpg","text":"TemporaryFile(/tmp/multipartBody7332630362777554197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819284857,"filename":"image_10022025_11_48_08_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/73095463e62b470d45db0a9db18e263e.jpg","text":"TemporaryFile(/tmp/multipartBody7529947427148100561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819284857,"filename":"image_10022025_11_48_28_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16e41133cbe397e1e2e06a58c559e7c5.jpg","text":"TemporaryFile(/tmp/multipartBody7750987542189729809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819284857,"filename":"image_10022025_11_48_19_10722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8cc1aa7d5dc714d670c67381daa49054.jpg","text":"TemporaryFile(/tmp/multipartBody2014775161096007542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819284857,"filename":"image_10022025_11_48_38_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3b1cce0416ccbb96b22f10608e193e6.jpg","text":"TemporaryFile(/tmp/multipartBody7032705085597689013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819284857,"filename":"image_10022025_11_48_58_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338213219","file1":"1338213217","file0":"1338213215","file4":"1338213225","file5":"1338213228","file3":"1338213222"},"map_files_photo_id_array":[{"photo_id":"1338213228","filename":"file5"},{"photo_id":"1338213219","filename":"file2"},{"photo_id":"1338213225","filename":"file4"},{"photo_id":"1338213217","filename":"file1"},{"photo_id":"1338213215","filename":"file0"},{"photo_id":"1338213222","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338213217":["hashtag1","hashtag2"]},{"1338213228":["hashtag1","hashtag2"]},{"1338213222":["hashtag1","hashtag2"]},{"1338213225":["hashtag1","hashtag2"]},{"1338213219":["hashtag1","hashtag2"]},{"1338213215":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338213217, 1338213228, 1338213222, 1338213225, 1338213219, 1338213215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.847376823425293 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:08:02.997578
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_58_9804.jpg', 0), ('/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_48_9822.jpg', 0), ('/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_39_9843.jpg', 0), ('/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_29_10792.jpg', 0), ('/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_18_9745.jpg', 0), ('/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_08_9866.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_58_9804.jpg', '/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_48_9822.jpg', '/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_39_9843.jpg', '/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_29_10792.jpg', '/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_18_9745.jpg', '/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_08_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_58_9804.jpg
/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_48_9822.jpg
/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_39_9843.jpg
/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_29_10792.jpg
/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_18_9745.jpg
/home/nano/Desktop/images/10022025/11/47/image_10022025_11_47_08_9866.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338213250","1338213252","1338213240","1338213242","1338213245","1338213247"],"photo_ids_order":["1338213240","1338213242","1338213245","1338213247","1338213250","1338213252"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ef3a38805fd321d1cfaa54aa2a6100fc.jpg","text":"TemporaryFile(/tmp/multipartBody4260497139542499861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819345527,"filename":"image_10022025_11_47_18_9745.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ee2e23c2c8941b279e2bb6fac6815bb.jpg","text":"TemporaryFile(/tmp/multipartBody8171886639158449247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819345527,"filename":"image_10022025_11_47_08_9866.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b95f8f9cab7114f5566c12a338e8d935.jpg","text":"TemporaryFile(/tmp/multipartBody3685891164927594661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819345527,"filename":"image_10022025_11_47_58_9804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1f1600e0b4b0d80dbcd2ffbf45c233c.jpg","text":"TemporaryFile(/tmp/multipartBody6148955744950594186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819345527,"filename":"image_10022025_11_47_48_9822.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f98792efa3cf3ab6e4d00eff4a490c36.jpg","text":"TemporaryFile(/tmp/multipartBody2147209359356590254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819345527,"filename":"image_10022025_11_47_39_9843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b2746f27edef5cee2fe9958c3c91ab2.jpg","text":"TemporaryFile(/tmp/multipartBody5076862918474547787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819345527,"filename":"image_10022025_11_47_29_10792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338213245","file1":"1338213242","file0":"1338213240","file4":"1338213250","file5":"1338213252","file3":"1338213247"},"map_files_photo_id_array":[{"photo_id":"1338213252","filename":"file5"},{"photo_id":"1338213245","filename":"file2"},{"photo_id":"1338213250","filename":"file4"},{"photo_id":"1338213242","filename":"file1"},{"photo_id":"1338213240","filename":"file0"},{"photo_id":"1338213247","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338213250":["hashtag1","hashtag2"]},{"1338213252":["hashtag1","hashtag2"]},{"1338213240":["hashtag1","hashtag2"]},{"1338213242":["hashtag1","hashtag2"]},{"1338213245":["hashtag1","hashtag2"]},{"1338213247":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338213250, 1338213252, 1338213240, 1338213242, 1338213245, 1338213247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.839375495910645 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:09:03.509151
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_58_9741.jpg', 0), ('/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_49_9864.jpg', 0), ('/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_39_9863.jpg', 0), ('/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_29_10817.jpg', 0), ('/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_18_9778.jpg', 0), ('/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_08_9897.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_58_9741.jpg', '/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_49_9864.jpg', '/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_39_9863.jpg', '/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_29_10817.jpg', '/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_18_9778.jpg', '/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_08_9897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_58_9741.jpg
/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_49_9864.jpg
/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_39_9863.jpg
/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_29_10817.jpg
/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_18_9778.jpg
/home/nano/Desktop/images/10022025/11/46/image_10022025_11_46_08_9897.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338213316","1338213301","1338213312","1338213305","1338213314","1338213308"],"photo_ids_order":["1338213301","1338213305","1338213308","1338213312","1338213314","1338213316"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b2d9ae3adfeef5d4c3e58a79ea62b7e.jpg","text":"TemporaryFile(/tmp/multipartBody7060355459114563417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819406191,"filename":"image_10022025_11_46_08_9897.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6d4dc6f739147104714af7026bb719a.jpg","text":"TemporaryFile(/tmp/multipartBody6308331748733554766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819406191,"filename":"image_10022025_11_46_58_9741.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/62aea4d88fc211e7406d00e0848be3f2.jpg","text":"TemporaryFile(/tmp/multipartBody4805936534465281381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819406191,"filename":"image_10022025_11_46_29_10817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/215c960d97e26402f4c445680c7b3135.jpg","text":"TemporaryFile(/tmp/multipartBody1483423292038221961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819406191,"filename":"image_10022025_11_46_49_9864.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea53c01ac50695286b62476c8be33f40.jpg","text":"TemporaryFile(/tmp/multipartBody8323640876721844933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819406191,"filename":"image_10022025_11_46_18_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c246e86b93a52559edb05c7e4888724.jpg","text":"TemporaryFile(/tmp/multipartBody6357863087323242781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819406191,"filename":"image_10022025_11_46_39_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338213308","file1":"1338213305","file0":"1338213301","file4":"1338213314","file5":"1338213316","file3":"1338213312"},"map_files_photo_id_array":[{"photo_id":"1338213316","filename":"file5"},{"photo_id":"1338213308","filename":"file2"},{"photo_id":"1338213314","filename":"file4"},{"photo_id":"1338213305","filename":"file1"},{"photo_id":"1338213301","filename":"file0"},{"photo_id":"1338213312","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338213316":["hashtag1","hashtag2"]},{"1338213301":["hashtag1","hashtag2"]},{"1338213312":["hashtag1","hashtag2"]},{"1338213305":["hashtag1","hashtag2"]},{"1338213314":["hashtag1","hashtag2"]},{"1338213308":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338213316, 1338213301, 1338213312, 1338213305, 1338213314, 1338213308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.705918312072754 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:10:02.233426
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_58_9819.jpg', 0), ('/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_49_9722.jpg', 0), ('/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_39_10688.jpg', 0), ('/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_28_9724.jpg', 0), ('/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_18_9738.jpg', 0), ('/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_09_10716.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_58_9819.jpg', '/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_49_9722.jpg', '/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_39_10688.jpg', '/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_28_9724.jpg', '/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_18_9738.jpg', '/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_09_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_58_9819.jpg
/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_49_9722.jpg
/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_39_10688.jpg
/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_28_9724.jpg
/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_18_9738.jpg
/home/nano/Desktop/images/10022025/11/45/image_10022025_11_45_09_10716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338213327","1338213342","1338213338","1338213332","1338213335","1338213329"],"photo_ids_order":["1338213327","1338213329","1338213332","1338213335","1338213338","1338213342"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aef75b39c9fe1f6a288ad47b1d70788a.jpg","text":"TemporaryFile(/tmp/multipartBody6080516993491597406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819465092,"filename":"image_10022025_11_45_58_9819.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e45a70b11f91bb1d68e0ccac81a830bb.jpg","text":"TemporaryFile(/tmp/multipartBody1325805396950103696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819465092,"filename":"image_10022025_11_45_09_10716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b5522752b605a186441f580a0060f5b.jpg","text":"TemporaryFile(/tmp/multipartBody3663097882204057733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819465092,"filename":"image_10022025_11_45_18_9738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0388616c2de6562d7f81d31c39d5ff2a.jpg","text":"TemporaryFile(/tmp/multipartBody2501543811206970187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819465092,"filename":"image_10022025_11_45_39_10688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b815f8d063320fc8e541f4561ee39de9.jpg","text":"TemporaryFile(/tmp/multipartBody827045343707808014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819465092,"filename":"image_10022025_11_45_28_9724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/25c5de7f733c09c8e33ccf83f712c5c4.jpg","text":"TemporaryFile(/tmp/multipartBody5641388061108953670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819465092,"filename":"image_10022025_11_45_49_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338213332","file1":"1338213329","file0":"1338213327","file4":"1338213338","file5":"1338213342","file3":"1338213335"},"map_files_photo_id_array":[{"photo_id":"1338213342","filename":"file5"},{"photo_id":"1338213332","filename":"file2"},{"photo_id":"1338213338","filename":"file4"},{"photo_id":"1338213329","filename":"file1"},{"photo_id":"1338213327","filename":"file0"},{"photo_id":"1338213335","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338213327":["hashtag1","hashtag2"]},{"1338213342":["hashtag1","hashtag2"]},{"1338213338":["hashtag1","hashtag2"]},{"1338213332":["hashtag1","hashtag2"]},{"1338213335":["hashtag1","hashtag2"]},{"1338213329":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338213327, 1338213342, 1338213338, 1338213332, 1338213335, 1338213329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52331018447876 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:11:02.412058
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_58_9712.jpg', 0), ('/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_48_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_39_9734.jpg', 0), ('/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_29_10719.jpg', 0), ('/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_18_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_08_9711.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_58_9712.jpg', '/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_48_9693.jpg', '/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_39_9734.jpg', '/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_29_10719.jpg', '/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_18_9714.jpg', '/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_08_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_58_9712.jpg
/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_48_9693.jpg
/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_39_9734.jpg
/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_29_10719.jpg
/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_18_9714.jpg
/home/nano/Desktop/images/10022025/11/44/image_10022025_11_44_08_9711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338213538","1338213549","1338213522","1338213545","1338213524","1338213526"],"photo_ids_order":["1338213522","1338213524","1338213526","1338213538","1338213545","1338213549"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d23518583ae6c0ca4963ba90350f3af.jpg","text":"TemporaryFile(/tmp/multipartBody5787807821765833082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819524870,"filename":"image_10022025_11_44_29_10719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/30ffb34c4010daaf7c96663ea5e3f490.jpg","text":"TemporaryFile(/tmp/multipartBody2141650936769949854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819524870,"filename":"image_10022025_11_44_08_9711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19abcc370f3c20ee09c89aa2415e63b6.jpg","text":"TemporaryFile(/tmp/multipartBody1647632722326342877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819524870,"filename":"image_10022025_11_44_58_9712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f854ad2a309387125c0fd7a569e9bd5.jpg","text":"TemporaryFile(/tmp/multipartBody235713868287221925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819524870,"filename":"image_10022025_11_44_18_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39e2878c747bb55fa5a904e0ff9b2ab0.jpg","text":"TemporaryFile(/tmp/multipartBody6716370848678553210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819524870,"filename":"image_10022025_11_44_48_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f98ec94d7fd0041aba119b8ede2267e4.jpg","text":"TemporaryFile(/tmp/multipartBody8282998930702060884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819524870,"filename":"image_10022025_11_44_39_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338213526","file1":"1338213524","file0":"1338213522","file4":"1338213545","file5":"1338213549","file3":"1338213538"},"map_files_photo_id_array":[{"photo_id":"1338213549","filename":"file5"},{"photo_id":"1338213526","filename":"file2"},{"photo_id":"1338213545","filename":"file4"},{"photo_id":"1338213524","filename":"file1"},{"photo_id":"1338213522","filename":"file0"},{"photo_id":"1338213538","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338213538":["hashtag1","hashtag2"]},{"1338213549":["hashtag1","hashtag2"]},{"1338213522":["hashtag1","hashtag2"]},{"1338213545":["hashtag1","hashtag2"]},{"1338213524":["hashtag1","hashtag2"]},{"1338213526":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338213538, 1338213549, 1338213522, 1338213545, 1338213524, 1338213526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62384223937988 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:12:02.506697
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_59_10702.jpg', 0), ('/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_48_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_38_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_29_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_19_10722.jpg', 0), ('/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_08_9691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_59_10702.jpg', '/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_48_9699.jpg', '/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_38_9718.jpg', '/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_29_9705.jpg', '/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_19_10722.jpg', '/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_08_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_59_10702.jpg
/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_48_9699.jpg
/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_38_9718.jpg
/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_29_9705.jpg
/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_19_10722.jpg
/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_08_9691.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.500023126602173 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:12:32.238730
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_59_10702.jpg', 0), ('/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_48_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_38_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_29_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_19_10722.jpg', 0), ('/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_08_9691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_59_10702.jpg', '/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_48_9699.jpg', '/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_38_9718.jpg', '/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_29_9705.jpg', '/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_19_10722.jpg', '/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_08_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_59_10702.jpg
/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_48_9699.jpg
/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_38_9718.jpg
/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_29_9705.jpg
/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_19_10722.jpg
/home/nano/Desktop/images/10022025/11/43/image_10022025_11_43_08_9691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338213613","1338213601","1338213603","1338213605","1338213595","1338213598"],"photo_ids_order":["1338213595","1338213598","1338213601","1338213603","1338213605","1338213613"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba9153e0ccd0300843a82eb4cf12bf90.jpg","text":"TemporaryFile(/tmp/multipartBody3612676082100756374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819614462,"filename":"image_10022025_11_43_08_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e036d7ebe52900ad2f7ec50ed5922c7.jpg","text":"TemporaryFile(/tmp/multipartBody6165325005419658853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819614462,"filename":"image_10022025_11_43_38_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5dfc82c88d70e104c91f20e500b07677.jpg","text":"TemporaryFile(/tmp/multipartBody4503750090140116577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819614462,"filename":"image_10022025_11_43_29_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6fd442fc940d9419e387aa21665e6fdf.jpg","text":"TemporaryFile(/tmp/multipartBody2248440533319300378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819614462,"filename":"image_10022025_11_43_19_10722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5021e887c5d3ec0964b6c48c1bbc5721.jpg","text":"TemporaryFile(/tmp/multipartBody4609576741704358327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819614462,"filename":"image_10022025_11_43_59_10702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e2b2530545652f3959c8d72855a5c1a.jpg","text":"TemporaryFile(/tmp/multipartBody6810546367761012146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819614462,"filename":"image_10022025_11_43_48_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338213601","file1":"1338213598","file0":"1338213595","file4":"1338213605","file5":"1338213613","file3":"1338213603"},"map_files_photo_id_array":[{"photo_id":"1338213613","filename":"file5"},{"photo_id":"1338213601","filename":"file2"},{"photo_id":"1338213605","filename":"file4"},{"photo_id":"1338213598","filename":"file1"},{"photo_id":"1338213595","filename":"file0"},{"photo_id":"1338213603","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338213613":["hashtag1","hashtag2"]},{"1338213601":["hashtag1","hashtag2"]},{"1338213603":["hashtag1","hashtag2"]},{"1338213605":["hashtag1","hashtag2"]},{"1338213595":["hashtag1","hashtag2"]},{"1338213598":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338213613, 1338213601, 1338213603, 1338213605, 1338213595, 1338213598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.5557382106781 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:13:32.385263
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_58_9723.jpg', 0), ('/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_49_10725.jpg', 0), ('/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_38_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_28_9673.jpg', 0), ('/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_19_10720.jpg', 0), ('/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_08_9834.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_58_9723.jpg', '/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_49_10725.jpg', '/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_38_9692.jpg', '/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_28_9673.jpg', '/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_19_10720.jpg', '/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_08_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_58_9723.jpg
/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_49_10725.jpg
/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_38_9692.jpg
/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_28_9673.jpg
/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_19_10720.jpg
/home/nano/Desktop/images/10022025/11/42/image_10022025_11_42_08_9834.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338213660","1338213654","1338213650","1338213656","1338213658","1338213652"],"photo_ids_order":["1338213650","1338213652","1338213654","1338213656","1338213658","1338213660"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ade4d4e1b9147c191fd95e4fad05197.jpg","text":"TemporaryFile(/tmp/multipartBody7231005396284012002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819674620,"filename":"image_10022025_11_42_08_9834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9eb3f0763db8016607f922a607abd946.jpg","text":"TemporaryFile(/tmp/multipartBody341443050542147057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819674620,"filename":"image_10022025_11_42_38_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87af1898cf53eaaa75e18ce976982b20.jpg","text":"TemporaryFile(/tmp/multipartBody3106320114338972506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819674620,"filename":"image_10022025_11_42_58_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c70a4228a7902d562847fbf3e5c1181a.jpg","text":"TemporaryFile(/tmp/multipartBody6492072724583225713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819674620,"filename":"image_10022025_11_42_28_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9241aa82e62b12a93cc61fe98703e6d7.jpg","text":"TemporaryFile(/tmp/multipartBody1233352996450686172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819674620,"filename":"image_10022025_11_42_19_10720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4599a21e959ff0c93594f8d419ae163e.jpg","text":"TemporaryFile(/tmp/multipartBody407319914001800624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819674620,"filename":"image_10022025_11_42_49_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338213654","file1":"1338213652","file0":"1338213650","file4":"1338213658","file5":"1338213660","file3":"1338213656"},"map_files_photo_id_array":[{"photo_id":"1338213660","filename":"file5"},{"photo_id":"1338213654","filename":"file2"},{"photo_id":"1338213658","filename":"file4"},{"photo_id":"1338213652","filename":"file1"},{"photo_id":"1338213650","filename":"file0"},{"photo_id":"1338213656","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338213660":["hashtag1","hashtag2"]},{"1338213654":["hashtag1","hashtag2"]},{"1338213650":["hashtag1","hashtag2"]},{"1338213656":["hashtag1","hashtag2"]},{"1338213658":["hashtag1","hashtag2"]},{"1338213652":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338213660, 1338213654, 1338213650, 1338213656, 1338213658, 1338213652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25939702987671 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:14:32.538679
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_58_9833.jpg', 0), ('/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_48_9831.jpg', 0), ('/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_38_9833.jpg', 0), ('/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_29_9838.jpg', 0), ('/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_19_9833.jpg', 0), ('/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_09_10836.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_58_9833.jpg', '/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_48_9831.jpg', '/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_38_9833.jpg', '/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_29_9838.jpg', '/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_19_9833.jpg', '/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_09_10836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_58_9833.jpg
/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_48_9831.jpg
/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_38_9833.jpg
/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_29_9838.jpg
/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_19_9833.jpg
/home/nano/Desktop/images/10022025/11/41/image_10022025_11_41_09_10836.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338213687","1338213677","1338213689","1338213682","1338213685","1338213679"],"photo_ids_order":["1338213677","1338213679","1338213682","1338213685","1338213687","1338213689"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8856cdee5b1c431c8ec5abc5aa984f8a.jpg","text":"TemporaryFile(/tmp/multipartBody1451965165910433007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819735284,"filename":"image_10022025_11_41_19_9833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4b2a2ae82740ba89fbe415a66e569283.jpg","text":"TemporaryFile(/tmp/multipartBody6236949132815505180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819735284,"filename":"image_10022025_11_41_58_9833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f68741cc1aa9aca951ae9a79ba30193c.jpg","text":"TemporaryFile(/tmp/multipartBody1487167113935655832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819735284,"filename":"image_10022025_11_41_09_10836.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3dd41268c63a8d3b45646f5de46bc528.jpg","text":"TemporaryFile(/tmp/multipartBody6908232967557983581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819735284,"filename":"image_10022025_11_41_38_9833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a66a2bd2d185cfa7764dcb160008b5eb.jpg","text":"TemporaryFile(/tmp/multipartBody3976866399326783256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819735284,"filename":"image_10022025_11_41_29_9838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87a1298321c18811347113240371140d.jpg","text":"TemporaryFile(/tmp/multipartBody3648314833611080740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819735284,"filename":"image_10022025_11_41_48_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338213682","file1":"1338213679","file0":"1338213677","file4":"1338213687","file5":"1338213689","file3":"1338213685"},"map_files_photo_id_array":[{"photo_id":"1338213689","filename":"file5"},{"photo_id":"1338213682","filename":"file2"},{"photo_id":"1338213687","filename":"file4"},{"photo_id":"1338213679","filename":"file1"},{"photo_id":"1338213677","filename":"file0"},{"photo_id":"1338213685","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338213687":["hashtag1","hashtag2"]},{"1338213677":["hashtag1","hashtag2"]},{"1338213689":["hashtag1","hashtag2"]},{"1338213682":["hashtag1","hashtag2"]},{"1338213685":["hashtag1","hashtag2"]},{"1338213679":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338213687, 1338213677, 1338213689, 1338213682, 1338213685, 1338213679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19613718986511 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:15:32.667323
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_58_9855.jpg', 0), ('/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_48_9834.jpg', 0), ('/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_38_9833.jpg', 0), ('/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_29_9833.jpg', 0), ('/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_19_9832.jpg', 0), ('/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_09_10710.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_58_9855.jpg', '/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_48_9834.jpg', '/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_38_9833.jpg', '/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_29_9833.jpg', '/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_19_9832.jpg', '/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_09_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_58_9855.jpg
/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_48_9834.jpg
/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_38_9833.jpg
/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_29_9833.jpg
/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_19_9832.jpg
/home/nano/Desktop/images/10022025/11/40/image_10022025_11_40_09_10710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338213957","1338213723","1338213939","1338213893","1338213932","1338213895"],"photo_ids_order":["1338213723","1338213893","1338213895","1338213932","1338213939","1338213957"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/330ec11d4b4b3c4232513ea5840ea23f.jpg","text":"TemporaryFile(/tmp/multipartBody8375423069151525059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819795521,"filename":"image_10022025_11_40_09_10710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e30df505c2d2a5a76c4a52ebbbe2811.jpg","text":"TemporaryFile(/tmp/multipartBody6352240904296331972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819795521,"filename":"image_10022025_11_40_58_9855.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d5371f60910f3c7bd9ab68259449e88.jpg","text":"TemporaryFile(/tmp/multipartBody7049306742474759259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819795521,"filename":"image_10022025_11_40_19_9832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/42e2f6164a03eeceff3ada619138419e.jpg","text":"TemporaryFile(/tmp/multipartBody1229775173323537105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819795521,"filename":"image_10022025_11_40_48_9834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4cdc1400bddeaa7dd6ba0039bfa3e19d.jpg","text":"TemporaryFile(/tmp/multipartBody8785048221329632639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819795521,"filename":"image_10022025_11_40_29_9833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f07ad8d7f2bc3b4017427a5008d9ec8.jpg","text":"TemporaryFile(/tmp/multipartBody2847535431444279008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819795521,"filename":"image_10022025_11_40_38_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338213895","file1":"1338213893","file0":"1338213723","file4":"1338213939","file5":"1338213957","file3":"1338213932"},"map_files_photo_id_array":[{"photo_id":"1338213957","filename":"file5"},{"photo_id":"1338213895","filename":"file2"},{"photo_id":"1338213939","filename":"file4"},{"photo_id":"1338213893","filename":"file1"},{"photo_id":"1338213723","filename":"file0"},{"photo_id":"1338213932","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338213957":["hashtag1","hashtag2"]},{"1338213723":["hashtag1","hashtag2"]},{"1338213939":["hashtag1","hashtag2"]},{"1338213893":["hashtag1","hashtag2"]},{"1338213932":["hashtag1","hashtag2"]},{"1338213895":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338213957, 1338213723, 1338213939, 1338213893, 1338213932, 1338213895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.014270305633545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:16:31.826132
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_58_9722.jpg', 0), ('/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_48_9722.jpg', 0), ('/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_39_10732.jpg', 0), ('/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_28_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_18_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_09_9727.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_58_9722.jpg', '/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_48_9722.jpg', '/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_39_10732.jpg', '/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_28_9691.jpg', '/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_18_9721.jpg', '/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_09_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_58_9722.jpg
/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_48_9722.jpg
/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_39_10732.jpg
/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_28_9691.jpg
/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_18_9721.jpg
/home/nano/Desktop/images/10022025/11/39/image_10022025_11_39_09_9727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338213996","1338213990","1338213992","1338213986","1338213998","1338213994"],"photo_ids_order":["1338213986","1338213990","1338213992","1338213994","1338213996","1338213998"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/62c3bad5a65f16659a835f1160d6559b.jpg","text":"TemporaryFile(/tmp/multipartBody7391518366487077845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819853983,"filename":"image_10022025_11_39_18_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4108c5b1da8da7bfb5614740bd3d632e.jpg","text":"TemporaryFile(/tmp/multipartBody5543371505724538944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819853983,"filename":"image_10022025_11_39_48_9722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ade0bd7b1dab509e300c5f426cc43d4.jpg","text":"TemporaryFile(/tmp/multipartBody4714546568985186571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819853983,"filename":"image_10022025_11_39_39_10732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75033f9026a338210cb8cba3b1f36e34.jpg","text":"TemporaryFile(/tmp/multipartBody902329246762240734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819853983,"filename":"image_10022025_11_39_58_9722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/110b9522b5221d480e65e9b44a337a30.jpg","text":"TemporaryFile(/tmp/multipartBody3239945038135395598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819853983,"filename":"image_10022025_11_39_09_9727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/59463185d0c2fd090dbeea897bda7823.jpg","text":"TemporaryFile(/tmp/multipartBody2742489607236527784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819853983,"filename":"image_10022025_11_39_28_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338213992","file1":"1338213990","file0":"1338213986","file4":"1338213996","file5":"1338213998","file3":"1338213994"},"map_files_photo_id_array":[{"photo_id":"1338213998","filename":"file5"},{"photo_id":"1338213992","filename":"file2"},{"photo_id":"1338213996","filename":"file4"},{"photo_id":"1338213990","filename":"file1"},{"photo_id":"1338213986","filename":"file0"},{"photo_id":"1338213994","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338213996":["hashtag1","hashtag2"]},{"1338213990":["hashtag1","hashtag2"]},{"1338213992":["hashtag1","hashtag2"]},{"1338213986":["hashtag1","hashtag2"]},{"1338213998":["hashtag1","hashtag2"]},{"1338213994":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338213996, 1338213990, 1338213992, 1338213986, 1338213998, 1338213994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.520240545272827 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:17:31.972885
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_59_10729.jpg', 0), ('/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_48_9702.jpg', 0), ('/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_38_9702.jpg', 0), ('/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_29_10716.jpg', 0), ('/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_18_9722.jpg', 0), ('/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_08_9708.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_59_10729.jpg', '/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_48_9702.jpg', '/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_38_9702.jpg', '/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_29_10716.jpg', '/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_18_9722.jpg', '/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_08_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_59_10729.jpg
/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_48_9702.jpg
/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_38_9702.jpg
/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_29_10716.jpg
/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_18_9722.jpg
/home/nano/Desktop/images/10022025/11/38/image_10022025_11_38_08_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338214026","1338214028","1338214015","1338214030","1338214024","1338214018"],"photo_ids_order":["1338214015","1338214018","1338214024","1338214026","1338214028","1338214030"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aabb35fe7f7200778ca9a60540b68913.jpg","text":"TemporaryFile(/tmp/multipartBody4855453023549184104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819914089,"filename":"image_10022025_11_38_29_10716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/371fe90ea82a010b3404418b8696e7ff.jpg","text":"TemporaryFile(/tmp/multipartBody8083694726764187967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819914089,"filename":"image_10022025_11_38_18_9722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c96f1a33b0278534d0bf71a12ee9566.jpg","text":"TemporaryFile(/tmp/multipartBody6132625130976513470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819914089,"filename":"image_10022025_11_38_59_10729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4d3cea32f0d023f4b30d6607efdce4fb.jpg","text":"TemporaryFile(/tmp/multipartBody6496663087286989660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819914089,"filename":"image_10022025_11_38_08_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/554f94e16c1c279022fa629144c938df.jpg","text":"TemporaryFile(/tmp/multipartBody2540148786821895429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819914089,"filename":"image_10022025_11_38_38_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7cc7334d560ac3271080d54dda6d76d9.jpg","text":"TemporaryFile(/tmp/multipartBody4895239709260230755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819914089,"filename":"image_10022025_11_38_48_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338214024","file1":"1338214018","file0":"1338214015","file4":"1338214028","file5":"1338214030","file3":"1338214026"},"map_files_photo_id_array":[{"photo_id":"1338214030","filename":"file5"},{"photo_id":"1338214024","filename":"file2"},{"photo_id":"1338214028","filename":"file4"},{"photo_id":"1338214018","filename":"file1"},{"photo_id":"1338214015","filename":"file0"},{"photo_id":"1338214026","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338214026":["hashtag1","hashtag2"]},{"1338214028":["hashtag1","hashtag2"]},{"1338214015":["hashtag1","hashtag2"]},{"1338214030":["hashtag1","hashtag2"]},{"1338214024":["hashtag1","hashtag2"]},{"1338214018":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338214026, 1338214028, 1338214015, 1338214030, 1338214024, 1338214018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57006072998047 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:18:32.121179
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_59_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_49_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_38_9720.jpg', 0), ('/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_28_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_19_10733.jpg', 0), ('/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_08_9693.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_59_9721.jpg', '/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_49_10717.jpg', '/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_38_9720.jpg', '/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_28_9697.jpg', '/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_19_10733.jpg', '/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_08_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_59_9721.jpg
/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_49_10717.jpg
/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_38_9720.jpg
/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_28_9697.jpg
/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_19_10733.jpg
/home/nano/Desktop/images/10022025/11/37/image_10022025_11_37_08_9693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338214065","1338214050","1338214068","1338214070","1338214060","1338214048"],"photo_ids_order":["1338214048","1338214050","1338214060","1338214065","1338214068","1338214070"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d76b62c029ddc05646dba725becf2715.jpg","text":"TemporaryFile(/tmp/multipartBody1557579319096623776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819975410,"filename":"image_10022025_11_37_28_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e4d9f263aed7030dd1523eaaf08cc14.jpg","text":"TemporaryFile(/tmp/multipartBody3078993370658239071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819975410,"filename":"image_10022025_11_37_49_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57b44281428766503c823f85d55f5b07.jpg","text":"TemporaryFile(/tmp/multipartBody8181873298647416072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819975410,"filename":"image_10022025_11_37_19_10733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/11d33d5f0a3caaac96f9bcf03c18fa80.jpg","text":"TemporaryFile(/tmp/multipartBody5925869689788259116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819975410,"filename":"image_10022025_11_37_08_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c90037aa8e7af99c86921854e1a94a8.jpg","text":"TemporaryFile(/tmp/multipartBody7908519123793870989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819975410,"filename":"image_10022025_11_37_38_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/48a4051624e9006348b861a08454c859.jpg","text":"TemporaryFile(/tmp/multipartBody7436987203222671990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739819975410,"filename":"image_10022025_11_37_59_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338214060","file1":"1338214050","file0":"1338214048","file4":"1338214068","file5":"1338214070","file3":"1338214065"},"map_files_photo_id_array":[{"photo_id":"1338214070","filename":"file5"},{"photo_id":"1338214060","filename":"file2"},{"photo_id":"1338214068","filename":"file4"},{"photo_id":"1338214050","filename":"file1"},{"photo_id":"1338214048","filename":"file0"},{"photo_id":"1338214065","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338214065":["hashtag1","hashtag2"]},{"1338214050":["hashtag1","hashtag2"]},{"1338214068":["hashtag1","hashtag2"]},{"1338214070":["hashtag1","hashtag2"]},{"1338214060":["hashtag1","hashtag2"]},{"1338214048":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338214065, 1338214050, 1338214068, 1338214070, 1338214060, 1338214048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57303977012634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:19:32.266924
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_58_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_49_9694.jpg', 0), ('/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_39_10713.jpg', 0), ('/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_28_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_18_9723.jpg', 0), ('/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_09_10714.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_58_9706.jpg', '/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_49_9694.jpg', '/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_39_10713.jpg', '/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_28_9693.jpg', '/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_18_9723.jpg', '/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_09_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_58_9706.jpg
/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_49_9694.jpg
/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_39_10713.jpg
/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_28_9693.jpg
/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_18_9723.jpg
/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_09_10714.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5290346145629883 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:20:02.693697
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_58_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_49_9694.jpg', 0), ('/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_39_10713.jpg', 0), ('/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_28_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_18_9723.jpg', 0), ('/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_09_10714.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_58_9706.jpg', '/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_49_9694.jpg', '/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_39_10713.jpg', '/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_28_9693.jpg', '/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_18_9723.jpg', '/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_09_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_58_9706.jpg
/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_49_9694.jpg
/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_39_10713.jpg
/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_28_9693.jpg
/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_18_9723.jpg
/home/nano/Desktop/images/10022025/11/36/image_10022025_11_36_09_10714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338214122","1338214136","1338214130","1338214133","1338214120","1338214126"],"photo_ids_order":["1338214120","1338214122","1338214126","1338214130","1338214133","1338214136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b688652b1c0fb5fde7de516ed143d16b.jpg","text":"TemporaryFile(/tmp/multipartBody7623447615261787255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820065672,"filename":"image_10022025_11_36_49_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5dbd15193f193b714c83b52294f97be.jpg","text":"TemporaryFile(/tmp/multipartBody2714291244641795845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820065672,"filename":"image_10022025_11_36_09_10714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e24aef0d6f2b0f1cd7e0965dab9fe60a.jpg","text":"TemporaryFile(/tmp/multipartBody7940991470054010091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820065672,"filename":"image_10022025_11_36_28_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d02dc1c3d79fa3e8c7a8bd5135dd6506.jpg","text":"TemporaryFile(/tmp/multipartBody3658298768030402725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820065672,"filename":"image_10022025_11_36_18_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c36038076816387599c11eb4c3822c76.jpg","text":"TemporaryFile(/tmp/multipartBody6559670799666004590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820065672,"filename":"image_10022025_11_36_58_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e7e78ed5c7ea59618733ef3fd2a43e33.jpg","text":"TemporaryFile(/tmp/multipartBody913636653543569006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820065672,"filename":"image_10022025_11_36_39_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338214126","file1":"1338214122","file0":"1338214120","file4":"1338214133","file5":"1338214136","file3":"1338214130"},"map_files_photo_id_array":[{"photo_id":"1338214136","filename":"file5"},{"photo_id":"1338214126","filename":"file2"},{"photo_id":"1338214133","filename":"file4"},{"photo_id":"1338214122","filename":"file1"},{"photo_id":"1338214120","filename":"file0"},{"photo_id":"1338214130","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338214122":["hashtag1","hashtag2"]},{"1338214136":["hashtag1","hashtag2"]},{"1338214130":["hashtag1","hashtag2"]},{"1338214133":["hashtag1","hashtag2"]},{"1338214120":["hashtag1","hashtag2"]},{"1338214126":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338214122, 1338214136, 1338214130, 1338214133, 1338214120, 1338214126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.368932008743286 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:21:02.941035
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_58_9712.jpg', 0), ('/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_48_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_39_9728.jpg', 0), ('/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_29_10709.jpg', 0), ('/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_18_9671.jpg', 0), ('/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_08_9692.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_58_9712.jpg', '/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_48_9706.jpg', '/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_39_9728.jpg', '/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_29_10709.jpg', '/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_18_9671.jpg', '/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_08_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_58_9712.jpg
/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_48_9706.jpg
/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_39_9728.jpg
/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_29_10709.jpg
/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_18_9671.jpg
/home/nano/Desktop/images/10022025/11/35/image_10022025_11_35_08_9692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338214179","1338214175","1338214183","1338214171","1338214165","1338214168"],"photo_ids_order":["1338214165","1338214168","1338214171","1338214175","1338214179","1338214183"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6fe04461b46eb995e2a680dcf4b29a27.jpg","text":"TemporaryFile(/tmp/multipartBody2142636361021264003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820124922,"filename":"image_10022025_11_35_18_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/42dc15f75c64563f9cc6652389e64810.jpg","text":"TemporaryFile(/tmp/multipartBody5159239569362001702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820124922,"filename":"image_10022025_11_35_29_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e5d37136223679b3eb23014f8ab7b6e9.jpg","text":"TemporaryFile(/tmp/multipartBody6363634606705299180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820124922,"filename":"image_10022025_11_35_08_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c00cbd8cdd8355e4082f9731651566a8.jpg","text":"TemporaryFile(/tmp/multipartBody3923299059809753935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820124922,"filename":"image_10022025_11_35_39_9728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/61aaef7ffcd81e5faabd11de12094ef8.jpg","text":"TemporaryFile(/tmp/multipartBody3114902174661185881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820124922,"filename":"image_10022025_11_35_58_9712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3243aad9b7dcadd5a62b0aa5d0188238.jpg","text":"TemporaryFile(/tmp/multipartBody1640793483219649601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820124922,"filename":"image_10022025_11_35_48_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338214171","file1":"1338214168","file0":"1338214165","file4":"1338214179","file5":"1338214183","file3":"1338214175"},"map_files_photo_id_array":[{"photo_id":"1338214183","filename":"file5"},{"photo_id":"1338214171","filename":"file2"},{"photo_id":"1338214179","filename":"file4"},{"photo_id":"1338214168","filename":"file1"},{"photo_id":"1338214165","filename":"file0"},{"photo_id":"1338214175","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338214179":["hashtag1","hashtag2"]},{"1338214175":["hashtag1","hashtag2"]},{"1338214183":["hashtag1","hashtag2"]},{"1338214171":["hashtag1","hashtag2"]},{"1338214165":["hashtag1","hashtag2"]},{"1338214168":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338214179, 1338214175, 1338214183, 1338214171, 1338214165, 1338214168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13602161407471 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:22:02.913597
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_59_10704.jpg', 0), ('/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_48_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_38_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_29_10708.jpg', 0), ('/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_18_9723.jpg', 0), ('/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_08_9698.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_59_10704.jpg', '/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_48_9696.jpg', '/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_38_9716.jpg', '/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_29_10708.jpg', '/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_18_9723.jpg', '/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_08_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_59_10704.jpg
/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_48_9696.jpg
/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_38_9716.jpg
/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_29_10708.jpg
/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_18_9723.jpg
/home/nano/Desktop/images/10022025/11/34/image_10022025_11_34_08_9698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338214212","1338214206","1338214199","1338214202","1338214216","1338214210"],"photo_ids_order":["1338214199","1338214202","1338214206","1338214210","1338214212","1338214216"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6369157989b0b6a2aa6b0c2a1b886c4d.jpg","text":"TemporaryFile(/tmp/multipartBody1476151221122604810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820185404,"filename":"image_10022025_11_34_18_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70b6ba8e1706693879e74dadbab68593.jpg","text":"TemporaryFile(/tmp/multipartBody5296889748022962011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820185404,"filename":"image_10022025_11_34_38_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/367653b79352cf8d43def84f0dadd078.jpg","text":"TemporaryFile(/tmp/multipartBody8118260205074338332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820185404,"filename":"image_10022025_11_34_59_10704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e0745a4880196a22db470be826f7f3c5.jpg","text":"TemporaryFile(/tmp/multipartBody6875434172430810107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820185404,"filename":"image_10022025_11_34_48_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d66cc76a43712b59ea414ad9e52b43b6.jpg","text":"TemporaryFile(/tmp/multipartBody5344058634358693423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820185404,"filename":"image_10022025_11_34_08_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/231bf04ce0e32ebe6935e8e3698403d6.jpg","text":"TemporaryFile(/tmp/multipartBody8311198979397835573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820185404,"filename":"image_10022025_11_34_29_10708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338214206","file1":"1338214202","file0":"1338214199","file4":"1338214212","file5":"1338214216","file3":"1338214210"},"map_files_photo_id_array":[{"photo_id":"1338214216","filename":"file5"},{"photo_id":"1338214206","filename":"file2"},{"photo_id":"1338214212","filename":"file4"},{"photo_id":"1338214202","filename":"file1"},{"photo_id":"1338214199","filename":"file0"},{"photo_id":"1338214210","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338214212":["hashtag1","hashtag2"]},{"1338214206":["hashtag1","hashtag2"]},{"1338214199":["hashtag1","hashtag2"]},{"1338214202":["hashtag1","hashtag2"]},{"1338214216":["hashtag1","hashtag2"]},{"1338214210":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338214212, 1338214206, 1338214199, 1338214202, 1338214216, 1338214210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36197757720947 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:23:02.243745
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_59_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_49_10686.jpg', 0), ('/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_38_9700.jpg', 0), ('/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_28_9740.jpg', 0), ('/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_19_10710.jpg', 0), ('/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_08_9687.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_59_9716.jpg', '/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_49_10686.jpg', '/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_38_9700.jpg', '/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_28_9740.jpg', '/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_19_10710.jpg', '/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_08_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_59_9716.jpg
/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_49_10686.jpg
/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_38_9700.jpg
/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_28_9740.jpg
/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_19_10710.jpg
/home/nano/Desktop/images/10022025/11/33/image_10022025_11_33_08_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338214286","1338214271","1338214265","1338214291","1338214279","1338214288"],"photo_ids_order":["1338214265","1338214271","1338214279","1338214286","1338214288","1338214291"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ab222be23d519c28b100c7fbfe84016.jpg","text":"TemporaryFile(/tmp/multipartBody5317556801363057541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820244391,"filename":"image_10022025_11_33_28_9740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6635e3c35daf4ab570ed97f41a0338d5.jpg","text":"TemporaryFile(/tmp/multipartBody6352392120671258635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820244391,"filename":"image_10022025_11_33_49_10686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/72238ba5e731f56fd928f58054090cc2.jpg","text":"TemporaryFile(/tmp/multipartBody4432920833888367890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820244391,"filename":"image_10022025_11_33_59_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15eb0f0414bd75aeb95d09734fabbe2b.jpg","text":"TemporaryFile(/tmp/multipartBody1093203728080607948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820244391,"filename":"image_10022025_11_33_08_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ed635635a3c915df39c2d0f7b162594.jpg","text":"TemporaryFile(/tmp/multipartBody3561029589871176454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820244391,"filename":"image_10022025_11_33_38_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cba400ab7be91fa3f6a544d9f59d9764.jpg","text":"TemporaryFile(/tmp/multipartBody4392784693443928818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820244391,"filename":"image_10022025_11_33_19_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338214279","file1":"1338214271","file0":"1338214265","file4":"1338214288","file5":"1338214291","file3":"1338214286"},"map_files_photo_id_array":[{"photo_id":"1338214291","filename":"file5"},{"photo_id":"1338214279","filename":"file2"},{"photo_id":"1338214288","filename":"file4"},{"photo_id":"1338214271","filename":"file1"},{"photo_id":"1338214265","filename":"file0"},{"photo_id":"1338214286","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338214286":["hashtag1","hashtag2"]},{"1338214271":["hashtag1","hashtag2"]},{"1338214265":["hashtag1","hashtag2"]},{"1338214291":["hashtag1","hashtag2"]},{"1338214279":["hashtag1","hashtag2"]},{"1338214288":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338214286, 1338214271, 1338214265, 1338214291, 1338214279, 1338214288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81687045097351 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:24:02.527271
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_58_9688.jpg', 0), ('/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_49_10703.jpg', 0), ('/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_38_9700.jpg', 0), ('/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_28_9671.jpg', 0), ('/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_19_9681.jpg', 0), ('/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_09_10728.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_58_9688.jpg', '/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_49_10703.jpg', '/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_38_9700.jpg', '/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_28_9671.jpg', '/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_19_9681.jpg', '/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_09_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_58_9688.jpg
/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_49_10703.jpg
/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_38_9700.jpg
/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_28_9671.jpg
/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_19_9681.jpg
/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_09_10728.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.75242018699646 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:24:31.981462
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_58_9688.jpg', 0), ('/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_49_10703.jpg', 0), ('/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_38_9700.jpg', 0), ('/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_28_9671.jpg', 0), ('/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_19_9681.jpg', 0), ('/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_09_10728.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_58_9688.jpg', '/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_49_10703.jpg', '/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_38_9700.jpg', '/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_28_9671.jpg', '/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_19_9681.jpg', '/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_09_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_58_9688.jpg
/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_49_10703.jpg
/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_38_9700.jpg
/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_28_9671.jpg
/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_19_9681.jpg
/home/nano/Desktop/images/10022025/11/32/image_10022025_11_32_09_10728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338214353","1338214350","1338214347","1338214355","1338214345","1338214342"],"photo_ids_order":["1338214342","1338214345","1338214347","1338214350","1338214353","1338214355"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77d99dbdb870b09f4c490b77f803805f.jpg","text":"TemporaryFile(/tmp/multipartBody1154165728310306705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820334226,"filename":"image_10022025_11_32_19_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c4466495cd9153e36b07da235db5b626.jpg","text":"TemporaryFile(/tmp/multipartBody1269856510338024334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820334226,"filename":"image_10022025_11_32_28_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a9f5cc2531e4623031b161b68d5f5486.jpg","text":"TemporaryFile(/tmp/multipartBody6210868804161918749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820334226,"filename":"image_10022025_11_32_38_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7dc64d2ddbcdaaca4100ed7703b657fb.jpg","text":"TemporaryFile(/tmp/multipartBody6265623025466117525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820334226,"filename":"image_10022025_11_32_09_10728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1478bca4952a93400ab134745ec3657.jpg","text":"TemporaryFile(/tmp/multipartBody2942854282179423276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820334226,"filename":"image_10022025_11_32_49_10703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d61cb4cff5709242a854ff9e8c71ed7.jpg","text":"TemporaryFile(/tmp/multipartBody8971680726355423844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820334226,"filename":"image_10022025_11_32_58_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338214347","file1":"1338214345","file0":"1338214342","file4":"1338214353","file5":"1338214355","file3":"1338214350"},"map_files_photo_id_array":[{"photo_id":"1338214355","filename":"file5"},{"photo_id":"1338214347","filename":"file2"},{"photo_id":"1338214353","filename":"file4"},{"photo_id":"1338214345","filename":"file1"},{"photo_id":"1338214342","filename":"file0"},{"photo_id":"1338214350","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338214353":["hashtag1","hashtag2"]},{"1338214350":["hashtag1","hashtag2"]},{"1338214347":["hashtag1","hashtag2"]},{"1338214355":["hashtag1","hashtag2"]},{"1338214345":["hashtag1","hashtag2"]},{"1338214342":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338214353, 1338214350, 1338214347, 1338214355, 1338214345, 1338214342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40271043777466 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:25:32.146918
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_58_9666.jpg', 0), ('/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_48_9784.jpg', 0), ('/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_39_9793.jpg', 0), ('/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_29_10877.jpg', 0), ('/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_18_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_08_9702.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_58_9666.jpg', '/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_48_9784.jpg', '/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_39_9793.jpg', '/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_29_10877.jpg', '/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_18_9786.jpg', '/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_08_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_58_9666.jpg
/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_48_9784.jpg
/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_39_9793.jpg
/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_29_10877.jpg
/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_18_9786.jpg
/home/nano/Desktop/images/10022025/11/31/image_10022025_11_31_08_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338214536","1338214526","1338214541","1338214510","1338214513","1338214516"],"photo_ids_order":["1338214510","1338214513","1338214516","1338214526","1338214536","1338214541"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b8550f30e67772dd0c5c0f5c0f11e05.jpg","text":"TemporaryFile(/tmp/multipartBody2437003039651746898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820394468,"filename":"image_10022025_11_31_18_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3b3b55fd4b0bf654f37cbf46c0fb089.jpg","text":"TemporaryFile(/tmp/multipartBody8241297731684716725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820394468,"filename":"image_10022025_11_31_29_10877.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a946bb2f5426880097bd56062876b79.jpg","text":"TemporaryFile(/tmp/multipartBody8014276510405333062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820394468,"filename":"image_10022025_11_31_08_9702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5773f15e93e528d11716e8cdf24acdc0.jpg","text":"TemporaryFile(/tmp/multipartBody7530635640419655399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820394468,"filename":"image_10022025_11_31_58_9666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f7104983ef040fd565b961da140f150.jpg","text":"TemporaryFile(/tmp/multipartBody8780601830267871321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820394468,"filename":"image_10022025_11_31_48_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6cb0d58b443760e0b80617fe8a54ac6c.jpg","text":"TemporaryFile(/tmp/multipartBody6605199953797223463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820394468,"filename":"image_10022025_11_31_39_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338214516","file1":"1338214513","file0":"1338214510","file4":"1338214536","file5":"1338214541","file3":"1338214526"},"map_files_photo_id_array":[{"photo_id":"1338214541","filename":"file5"},{"photo_id":"1338214516","filename":"file2"},{"photo_id":"1338214536","filename":"file4"},{"photo_id":"1338214513","filename":"file1"},{"photo_id":"1338214510","filename":"file0"},{"photo_id":"1338214526","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338214536":["hashtag1","hashtag2"]},{"1338214526":["hashtag1","hashtag2"]},{"1338214541":["hashtag1","hashtag2"]},{"1338214510":["hashtag1","hashtag2"]},{"1338214513":["hashtag1","hashtag2"]},{"1338214516":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338214536, 1338214526, 1338214541, 1338214510, 1338214513, 1338214516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41647243499756 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:26:32.285350
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_59_9686.jpg', 0), ('/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_49_10687.jpg', 0), ('/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_38_9710.jpg', 0), ('/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_28_9711.jpg', 0), ('/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_19_10728.jpg', 0), ('/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_08_9691.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_59_9686.jpg', '/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_49_10687.jpg', '/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_38_9710.jpg', '/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_28_9711.jpg', '/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_19_10728.jpg', '/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_08_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_59_9686.jpg
/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_49_10687.jpg
/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_38_9710.jpg
/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_28_9711.jpg
/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_19_10728.jpg
/home/nano/Desktop/images/10022025/11/30/image_10022025_11_30_08_9691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338214580","1338214577","1338214571","1338214574","1338214582","1338214584"],"photo_ids_order":["1338214571","1338214574","1338214577","1338214580","1338214582","1338214584"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/515da53f6ccd3d75705409223957d70f.jpg","text":"TemporaryFile(/tmp/multipartBody6069037209586516344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820454502,"filename":"image_10022025_11_30_28_9711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54d3acf72a6f60e7b9429a69b52b1002.jpg","text":"TemporaryFile(/tmp/multipartBody6964005194221524023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820454502,"filename":"image_10022025_11_30_38_9710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cde91195936dad1c21b18431e9d75867.jpg","text":"TemporaryFile(/tmp/multipartBody592088287028426981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820454502,"filename":"image_10022025_11_30_59_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a21e6f6a9cb9958d0fc0ce787c6fe99.jpg","text":"TemporaryFile(/tmp/multipartBody7517669174927409463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820454502,"filename":"image_10022025_11_30_49_10687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dac669595858a6c953d9654ab49ace50.jpg","text":"TemporaryFile(/tmp/multipartBody7850067145358335438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820454502,"filename":"image_10022025_11_30_19_10728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a740c9183eda774e76f670a9637b62f.jpg","text":"TemporaryFile(/tmp/multipartBody5345628838317396567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820454502,"filename":"image_10022025_11_30_08_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338214577","file1":"1338214574","file0":"1338214571","file4":"1338214582","file5":"1338214584","file3":"1338214580"},"map_files_photo_id_array":[{"photo_id":"1338214584","filename":"file5"},{"photo_id":"1338214577","filename":"file2"},{"photo_id":"1338214582","filename":"file4"},{"photo_id":"1338214574","filename":"file1"},{"photo_id":"1338214571","filename":"file0"},{"photo_id":"1338214580","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338214580":["hashtag1","hashtag2"]},{"1338214577":["hashtag1","hashtag2"]},{"1338214571":["hashtag1","hashtag2"]},{"1338214574":["hashtag1","hashtag2"]},{"1338214582":["hashtag1","hashtag2"]},{"1338214584":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338214580, 1338214577, 1338214571, 1338214574, 1338214582, 1338214584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.665916442871094 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:27:32.463219
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_58_9700.jpg', 0), ('/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_49_10693.jpg', 0), ('/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_38_9678.jpg', 0), ('/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_28_9740.jpg', 0), ('/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_18_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_09_10718.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_58_9700.jpg', '/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_49_10693.jpg', '/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_38_9678.jpg', '/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_28_9740.jpg', '/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_18_9721.jpg', '/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_09_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_58_9700.jpg
/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_49_10693.jpg
/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_38_9678.jpg
/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_28_9740.jpg
/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_18_9721.jpg
/home/nano/Desktop/images/10022025/11/29/image_10022025_11_29_09_10718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338214614","1338214617","1338214611","1338214608","1338214619","1338214621"],"photo_ids_order":["1338214608","1338214611","1338214614","1338214617","1338214619","1338214621"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/95caaea1d8ba4f47818f445f3ba63c46.jpg","text":"TemporaryFile(/tmp/multipartBody882984033336208629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820515419,"filename":"image_10022025_11_29_38_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/719b475fcb3605aec39551e85ad6dc80.jpg","text":"TemporaryFile(/tmp/multipartBody4332608548431342239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820515419,"filename":"image_10022025_11_29_28_9740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4005141c796b82b93ceace9f98d01eb8.jpg","text":"TemporaryFile(/tmp/multipartBody765480300742812600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820515419,"filename":"image_10022025_11_29_49_10693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7db580f0db3dc5d831b0e51a13739bec.jpg","text":"TemporaryFile(/tmp/multipartBody8860600216462855396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820515419,"filename":"image_10022025_11_29_58_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aaa8081369de3161dedd757a1ddfa7bb.jpg","text":"TemporaryFile(/tmp/multipartBody3540148266599382148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820515419,"filename":"image_10022025_11_29_18_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46ae1f3b684cfa330f1f71231153437c.jpg","text":"TemporaryFile(/tmp/multipartBody4141555122736144123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820515419,"filename":"image_10022025_11_29_09_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338214614","file1":"1338214611","file0":"1338214608","file4":"1338214619","file5":"1338214621","file3":"1338214617"},"map_files_photo_id_array":[{"photo_id":"1338214621","filename":"file5"},{"photo_id":"1338214614","filename":"file2"},{"photo_id":"1338214619","filename":"file4"},{"photo_id":"1338214611","filename":"file1"},{"photo_id":"1338214608","filename":"file0"},{"photo_id":"1338214617","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338214614":["hashtag1","hashtag2"]},{"1338214617":["hashtag1","hashtag2"]},{"1338214611":["hashtag1","hashtag2"]},{"1338214608":["hashtag1","hashtag2"]},{"1338214619":["hashtag1","hashtag2"]},{"1338214621":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338214614, 1338214617, 1338214611, 1338214608, 1338214619, 1338214621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65694212913513 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:28:32.607309
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_58_9734.jpg', 0), ('/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_48_9712.jpg', 0), ('/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_39_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_29_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_18_9727.jpg', 0), ('/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_08_9679.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_58_9734.jpg', '/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_48_9712.jpg', '/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_39_9718.jpg', '/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_29_10717.jpg', '/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_18_9727.jpg', '/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_08_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_58_9734.jpg
/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_48_9712.jpg
/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_39_9718.jpg
/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_29_10717.jpg
/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_18_9727.jpg
/home/nano/Desktop/images/10022025/11/28/image_10022025_11_28_08_9679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338214653","1338214635","1338214638","1338214643","1338214652","1338214645"],"photo_ids_order":["1338214635","1338214638","1338214643","1338214645","1338214652","1338214653"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5212575ac088a77a6d5ffde3dd72b146.jpg","text":"TemporaryFile(/tmp/multipartBody6908131679630401128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820576019,"filename":"image_10022025_11_28_08_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13d98ff216eda754a5102fde51ccbc4d.jpg","text":"TemporaryFile(/tmp/multipartBody1235921265522073667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820576019,"filename":"image_10022025_11_28_58_9734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bd9e1e2f75a03534311cc414b2712385.jpg","text":"TemporaryFile(/tmp/multipartBody123300137391813966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820576019,"filename":"image_10022025_11_28_48_9712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f86e89c9cb56cfe9c8839a9aa2734441.jpg","text":"TemporaryFile(/tmp/multipartBody3591673224707263943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820576019,"filename":"image_10022025_11_28_39_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/788e13490933f624fff299200537ebaf.jpg","text":"TemporaryFile(/tmp/multipartBody3906997315747117687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820576019,"filename":"image_10022025_11_28_18_9727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc10e8c21f4eb5fb6a3800737b5805dd.jpg","text":"TemporaryFile(/tmp/multipartBody1080902365237653223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820576019,"filename":"image_10022025_11_28_29_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338214643","file1":"1338214638","file0":"1338214635","file4":"1338214652","file5":"1338214653","file3":"1338214645"},"map_files_photo_id_array":[{"photo_id":"1338214653","filename":"file5"},{"photo_id":"1338214643","filename":"file2"},{"photo_id":"1338214652","filename":"file4"},{"photo_id":"1338214638","filename":"file1"},{"photo_id":"1338214635","filename":"file0"},{"photo_id":"1338214645","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338214653":["hashtag1","hashtag2"]},{"1338214635":["hashtag1","hashtag2"]},{"1338214638":["hashtag1","hashtag2"]},{"1338214643":["hashtag1","hashtag2"]},{"1338214652":["hashtag1","hashtag2"]},{"1338214645":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338214653, 1338214635, 1338214638, 1338214643, 1338214652, 1338214645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18634080886841 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:29:32.743190
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_59_10709.jpg', 0), ('/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_48_9758.jpg', 0), ('/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_38_9671.jpg', 0), ('/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_29_10703.jpg', 0), ('/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_18_9665.jpg', 0), ('/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_08_9680.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_59_10709.jpg', '/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_48_9758.jpg', '/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_38_9671.jpg', '/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_29_10703.jpg', '/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_18_9665.jpg', '/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_08_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_59_10709.jpg
/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_48_9758.jpg
/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_38_9671.jpg
/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_29_10703.jpg
/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_18_9665.jpg
/home/nano/Desktop/images/10022025/11/27/image_10022025_11_27_08_9680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338214671","1338214674","1338214679","1338214667","1338214681","1338214677"],"photo_ids_order":["1338214667","1338214671","1338214674","1338214677","1338214679","1338214681"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d52cc2a4b23cb688c4f7579ed0867e20.jpg","text":"TemporaryFile(/tmp/multipartBody8813397941681770535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820635913,"filename":"image_10022025_11_27_48_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e758ff1cf5786f4981a3559bfabaac98.jpg","text":"TemporaryFile(/tmp/multipartBody6209057341128855635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820635913,"filename":"image_10022025_11_27_38_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e7bebe018bf9110ed4ef1b7def3492d.jpg","text":"TemporaryFile(/tmp/multipartBody1142831066898473209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820635913,"filename":"image_10022025_11_27_18_9665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a990187d95d2151e09e367fcd3a1e8e7.jpg","text":"TemporaryFile(/tmp/multipartBody7864487425431781802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820635913,"filename":"image_10022025_11_27_59_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f02e252879f94c9cdf82d7404195958.jpg","text":"TemporaryFile(/tmp/multipartBody3131536989519346495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820635913,"filename":"image_10022025_11_27_08_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/65dad9989d1f78a8c50ada9a72aa5149.jpg","text":"TemporaryFile(/tmp/multipartBody969874583149517064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820635913,"filename":"image_10022025_11_27_29_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338214674","file1":"1338214671","file0":"1338214667","file4":"1338214679","file5":"1338214681","file3":"1338214677"},"map_files_photo_id_array":[{"photo_id":"1338214681","filename":"file5"},{"photo_id":"1338214674","filename":"file2"},{"photo_id":"1338214679","filename":"file4"},{"photo_id":"1338214671","filename":"file1"},{"photo_id":"1338214667","filename":"file0"},{"photo_id":"1338214677","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338214671":["hashtag1","hashtag2"]},{"1338214674":["hashtag1","hashtag2"]},{"1338214679":["hashtag1","hashtag2"]},{"1338214667":["hashtag1","hashtag2"]},{"1338214681":["hashtag1","hashtag2"]},{"1338214677":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338214671, 1338214674, 1338214679, 1338214667, 1338214681, 1338214677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77277493476868 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:30:31.872837
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_59_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_49_10699.jpg', 0), ('/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_38_9661.jpg', 0), ('/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_28_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_19_10704.jpg', 0), ('/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_08_9688.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_59_9713.jpg', '/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_49_10699.jpg', '/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_38_9661.jpg', '/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_28_9682.jpg', '/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_19_10704.jpg', '/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_08_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_59_9713.jpg
/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_49_10699.jpg
/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_38_9661.jpg
/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_28_9682.jpg
/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_19_10704.jpg
/home/nano/Desktop/images/10022025/11/26/image_10022025_11_26_08_9688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338214713","1338214701","1338214706","1338214715","1338214709","1338214711"],"photo_ids_order":["1338214701","1338214706","1338214709","1338214711","1338214713","1338214715"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d7997b9f808a2722c34140f588aaefd.jpg","text":"TemporaryFile(/tmp/multipartBody4628512048227602106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820694522,"filename":"image_10022025_11_26_19_10704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9885b19c16164d32d6bebb62f1009b6d.jpg","text":"TemporaryFile(/tmp/multipartBody6985686633856760767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820694522,"filename":"image_10022025_11_26_59_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a8adbe2727c4716b420e6d293919b243.jpg","text":"TemporaryFile(/tmp/multipartBody6318180661451004572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820694522,"filename":"image_10022025_11_26_49_10699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e1f3456841363d733405e98d2380c511.jpg","text":"TemporaryFile(/tmp/multipartBody5934488501902626980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820694522,"filename":"image_10022025_11_26_08_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c5879e40502b8ef4d967ae0b6143924c.jpg","text":"TemporaryFile(/tmp/multipartBody5358203987033086663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820694522,"filename":"image_10022025_11_26_38_9661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/871eb2c9e4db6a560280cfa7400eb1c0.jpg","text":"TemporaryFile(/tmp/multipartBody5409406265765955069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820694522,"filename":"image_10022025_11_26_28_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338214709","file1":"1338214706","file0":"1338214701","file4":"1338214713","file5":"1338214715","file3":"1338214711"},"map_files_photo_id_array":[{"photo_id":"1338214715","filename":"file5"},{"photo_id":"1338214709","filename":"file2"},{"photo_id":"1338214713","filename":"file4"},{"photo_id":"1338214706","filename":"file1"},{"photo_id":"1338214701","filename":"file0"},{"photo_id":"1338214711","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338214713":["hashtag1","hashtag2"]},{"1338214701":["hashtag1","hashtag2"]},{"1338214706":["hashtag1","hashtag2"]},{"1338214715":["hashtag1","hashtag2"]},{"1338214709":["hashtag1","hashtag2"]},{"1338214711":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338214713, 1338214701, 1338214706, 1338214715, 1338214709, 1338214711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44140863418579 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:31:32.025753
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_58_9676.jpg', 0), ('/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_49_10706.jpg', 0), ('/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_38_9680.jpg', 0), ('/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_28_9675.jpg', 0), ('/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_19_10699.jpg', 0), ('/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_08_9683.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_58_9676.jpg', '/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_49_10706.jpg', '/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_38_9680.jpg', '/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_28_9675.jpg', '/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_19_10699.jpg', '/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_08_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_58_9676.jpg
/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_49_10706.jpg
/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_38_9680.jpg
/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_28_9675.jpg
/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_19_10699.jpg
/home/nano/Desktop/images/10022025/11/25/image_10022025_11_25_08_9683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215168","1338215191","1338215095","1338215098","1338215083","1338215164"],"photo_ids_order":["1338215083","1338215095","1338215098","1338215164","1338215168","1338215191"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57fdcf4c1505b0ee2c4ca1fe245b6865.jpg","text":"TemporaryFile(/tmp/multipartBody766318935730743602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820754622,"filename":"image_10022025_11_25_19_10699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1744b368abc164078ab128fb81d6ccf5.jpg","text":"TemporaryFile(/tmp/multipartBody1402720394931626920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820754622,"filename":"image_10022025_11_25_08_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3d2ff42330f739549fdaaff9dbdc573.jpg","text":"TemporaryFile(/tmp/multipartBody1729892607773033459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820754622,"filename":"image_10022025_11_25_49_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d6c8969e2e1922723c99c33b720fb84.jpg","text":"TemporaryFile(/tmp/multipartBody5088447459937829079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820754622,"filename":"image_10022025_11_25_38_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4252f1b5b626cc185531421dff12dd8.jpg","text":"TemporaryFile(/tmp/multipartBody7351210552856158316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820754622,"filename":"image_10022025_11_25_58_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3eddd6abac503109758059930f5713ce.jpg","text":"TemporaryFile(/tmp/multipartBody2955078805436773954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820754622,"filename":"image_10022025_11_25_28_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215098","file1":"1338215095","file0":"1338215083","file4":"1338215168","file5":"1338215191","file3":"1338215164"},"map_files_photo_id_array":[{"photo_id":"1338215191","filename":"file5"},{"photo_id":"1338215098","filename":"file2"},{"photo_id":"1338215168","filename":"file4"},{"photo_id":"1338215095","filename":"file1"},{"photo_id":"1338215083","filename":"file0"},{"photo_id":"1338215164","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215168":["hashtag1","hashtag2"]},{"1338215191":["hashtag1","hashtag2"]},{"1338215095":["hashtag1","hashtag2"]},{"1338215098":["hashtag1","hashtag2"]},{"1338215083":["hashtag1","hashtag2"]},{"1338215164":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215168, 1338215191, 1338215095, 1338215098, 1338215083, 1338215164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.914198637008667 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:32:32.180343
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_58_9723.jpg', 0), ('/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_49_9769.jpg', 0), ('/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_39_10739.jpg', 0), ('/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_28_9809.jpg', 0), ('/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_18_9806.jpg', 0), ('/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_08_9818.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_58_9723.jpg', '/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_49_9769.jpg', '/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_39_10739.jpg', '/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_28_9809.jpg', '/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_18_9806.jpg', '/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_08_9818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_58_9723.jpg
/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_49_9769.jpg
/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_39_10739.jpg
/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_28_9809.jpg
/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_18_9806.jpg
/home/nano/Desktop/images/10022025/11/24/image_10022025_11_24_08_9818.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215250","1338215240","1338215234","1338215243","1338215237","1338215245"],"photo_ids_order":["1338215234","1338215237","1338215240","1338215243","1338215245","1338215250"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17311dd2fbb886e671c398d9d136d0de.jpg","text":"TemporaryFile(/tmp/multipartBody932477853078209374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820815067,"filename":"image_10022025_11_24_08_9818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b9a3b7869dbaa9bba0d1b407ac93eb4.jpg","text":"TemporaryFile(/tmp/multipartBody1702293278373453111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820815067,"filename":"image_10022025_11_24_39_10739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab005e473d9cda7a90c63457d3994510.jpg","text":"TemporaryFile(/tmp/multipartBody4348614253817394992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820815067,"filename":"image_10022025_11_24_58_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16d88d45fab70b03b969149475e88e5c.jpg","text":"TemporaryFile(/tmp/multipartBody3121852057098187272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820815067,"filename":"image_10022025_11_24_28_9809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc75f1b3cdc95accb0f77e5d92281399.jpg","text":"TemporaryFile(/tmp/multipartBody264749327866286422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820815067,"filename":"image_10022025_11_24_49_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bbb3f91d8e129dce7b5749a08be92c7c.jpg","text":"TemporaryFile(/tmp/multipartBody1735811053802160463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820815067,"filename":"image_10022025_11_24_18_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215240","file1":"1338215237","file0":"1338215234","file4":"1338215245","file5":"1338215250","file3":"1338215243"},"map_files_photo_id_array":[{"photo_id":"1338215250","filename":"file5"},{"photo_id":"1338215240","filename":"file2"},{"photo_id":"1338215245","filename":"file4"},{"photo_id":"1338215237","filename":"file1"},{"photo_id":"1338215234","filename":"file0"},{"photo_id":"1338215243","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215250":["hashtag1","hashtag2"]},{"1338215240":["hashtag1","hashtag2"]},{"1338215234":["hashtag1","hashtag2"]},{"1338215243":["hashtag1","hashtag2"]},{"1338215237":["hashtag1","hashtag2"]},{"1338215245":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215250, 1338215240, 1338215234, 1338215243, 1338215237, 1338215245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65067434310913 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:33:32.323944
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_59_9795.jpg', 0), ('/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_49_10705.jpg', 0), ('/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_38_9821.jpg', 0), ('/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_28_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_19_9815.jpg', 0), ('/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_09_10733.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_59_9795.jpg', '/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_49_10705.jpg', '/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_38_9821.jpg', '/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_28_9713.jpg', '/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_19_9815.jpg', '/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_09_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_59_9795.jpg
/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_49_10705.jpg
/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_38_9821.jpg
/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_28_9713.jpg
/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_19_9815.jpg
/home/nano/Desktop/images/10022025/11/23/image_10022025_11_23_09_10733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215411","1338215420","1338215414","1338215417","1338215428","1338215433"],"photo_ids_order":["1338215411","1338215414","1338215417","1338215420","1338215428","1338215433"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97e9aef75205ca484297dcb280026499.jpg","text":"TemporaryFile(/tmp/multipartBody7778383725151396568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820875786,"filename":"image_10022025_11_23_59_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2dfd04a9975b11873e91aa1c75a699d.jpg","text":"TemporaryFile(/tmp/multipartBody4112416492581741290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820875786,"filename":"image_10022025_11_23_28_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb40e0173b5633cc88eeae89f103ab55.jpg","text":"TemporaryFile(/tmp/multipartBody4545339827751008770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820875786,"filename":"image_10022025_11_23_49_10705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cc9b927d11d2c64f4e656b40fb30e1a7.jpg","text":"TemporaryFile(/tmp/multipartBody8079789378504557011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820875786,"filename":"image_10022025_11_23_38_9821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/62c31ad348ef6c68785d1ec94570cacf.jpg","text":"TemporaryFile(/tmp/multipartBody123086184530668136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820875786,"filename":"image_10022025_11_23_19_9815.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4e8e7680a0691cc39a7756d0d78da724.jpg","text":"TemporaryFile(/tmp/multipartBody150143863843292321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820875786,"filename":"image_10022025_11_23_09_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215417","file1":"1338215414","file0":"1338215411","file4":"1338215428","file5":"1338215433","file3":"1338215420"},"map_files_photo_id_array":[{"photo_id":"1338215433","filename":"file5"},{"photo_id":"1338215417","filename":"file2"},{"photo_id":"1338215428","filename":"file4"},{"photo_id":"1338215414","filename":"file1"},{"photo_id":"1338215411","filename":"file0"},{"photo_id":"1338215420","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215411":["hashtag1","hashtag2"]},{"1338215420":["hashtag1","hashtag2"]},{"1338215414":["hashtag1","hashtag2"]},{"1338215417":["hashtag1","hashtag2"]},{"1338215428":["hashtag1","hashtag2"]},{"1338215433":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215411, 1338215420, 1338215414, 1338215417, 1338215428, 1338215433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88236856460571 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:34:32.464325
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_58_9742.jpg', 0), ('/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_48_9773.jpg', 0), ('/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_39_9772.jpg', 0), ('/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_29_10798.jpg', 0), ('/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_18_9728.jpg', 0), ('/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_08_9828.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_58_9742.jpg', '/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_48_9773.jpg', '/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_39_9772.jpg', '/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_29_10798.jpg', '/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_18_9728.jpg', '/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_08_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_58_9742.jpg
/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_48_9773.jpg
/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_39_9772.jpg
/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_29_10798.jpg
/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_18_9728.jpg
/home/nano/Desktop/images/10022025/11/22/image_10022025_11_22_08_9828.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215468","1338215462","1338215465","1338215470","1338215473","1338215472"],"photo_ids_order":["1338215462","1338215465","1338215468","1338215470","1338215472","1338215473"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f78fd0f42a101f9f86f2d6e13d2a456.jpg","text":"TemporaryFile(/tmp/multipartBody3010705863217822512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820934565,"filename":"image_10022025_11_22_39_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f6986e0560e27f82a226aa252f3ac93.jpg","text":"TemporaryFile(/tmp/multipartBody7854350348671774437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820934565,"filename":"image_10022025_11_22_58_9742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a79b2a36238e563ed74e29637b0c0f33.jpg","text":"TemporaryFile(/tmp/multipartBody4574893515672647646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820934565,"filename":"image_10022025_11_22_48_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5997212db4e82a97ce96b74ab04b1a0.jpg","text":"TemporaryFile(/tmp/multipartBody8558024733903947562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820934565,"filename":"image_10022025_11_22_29_10798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e0ae5b321a6eebc718a57fde10ca1d17.jpg","text":"TemporaryFile(/tmp/multipartBody7355154834942997550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820934565,"filename":"image_10022025_11_22_08_9828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a824893a33eedb20f15069126f0653d8.jpg","text":"TemporaryFile(/tmp/multipartBody6588639119563473123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820934565,"filename":"image_10022025_11_22_18_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215468","file1":"1338215465","file0":"1338215462","file4":"1338215472","file5":"1338215473","file3":"1338215470"},"map_files_photo_id_array":[{"photo_id":"1338215473","filename":"file5"},{"photo_id":"1338215468","filename":"file2"},{"photo_id":"1338215472","filename":"file4"},{"photo_id":"1338215465","filename":"file1"},{"photo_id":"1338215462","filename":"file0"},{"photo_id":"1338215470","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215468":["hashtag1","hashtag2"]},{"1338215462":["hashtag1","hashtag2"]},{"1338215465":["hashtag1","hashtag2"]},{"1338215470":["hashtag1","hashtag2"]},{"1338215473":["hashtag1","hashtag2"]},{"1338215472":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215468, 1338215462, 1338215465, 1338215470, 1338215473, 1338215472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.898752212524414 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:35:32.610174
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_58_9956.jpg', 0), ('/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_48_9724.jpg', 0), ('/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_39_10653.jpg', 0), ('/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_28_9780.jpg', 0), ('/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_18_9733.jpg', 0), ('/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_09_9733.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_58_9956.jpg', '/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_48_9724.jpg', '/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_39_10653.jpg', '/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_28_9780.jpg', '/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_18_9733.jpg', '/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_09_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_58_9956.jpg
/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_48_9724.jpg
/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_39_10653.jpg
/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_28_9780.jpg
/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_18_9733.jpg
/home/nano/Desktop/images/10022025/11/21/image_10022025_11_21_09_9733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215514","1338215511","1338215522","1338215519","1338215516","1338215521"],"photo_ids_order":["1338215511","1338215514","1338215516","1338215519","1338215521","1338215522"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e557e4f6abf03635544f0ffa86c9df87.jpg","text":"TemporaryFile(/tmp/multipartBody4291284945742347314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820996402,"filename":"image_10022025_11_21_48_9724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f60da7313c29232b87f1f260ab05fcb0.jpg","text":"TemporaryFile(/tmp/multipartBody5307212849353841245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820996402,"filename":"image_10022025_11_21_58_9956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c309ba5f6d17dee963ddcc6af658b55.jpg","text":"TemporaryFile(/tmp/multipartBody3747352788673317435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820996402,"filename":"image_10022025_11_21_09_9733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/123fc3f57f33b2a2815500b2bd3716ed.jpg","text":"TemporaryFile(/tmp/multipartBody2202994401176037665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820996402,"filename":"image_10022025_11_21_28_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f6f4a96655c65a7cc98972e20a4a076.jpg","text":"TemporaryFile(/tmp/multipartBody4966814216896489571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820996402,"filename":"image_10022025_11_21_39_10653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12c0e5764a212cbafa2ba8990f284f64.jpg","text":"TemporaryFile(/tmp/multipartBody2008595942561469108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739820996402,"filename":"image_10022025_11_21_18_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215516","file1":"1338215514","file0":"1338215511","file4":"1338215521","file5":"1338215522","file3":"1338215519"},"map_files_photo_id_array":[{"photo_id":"1338215522","filename":"file5"},{"photo_id":"1338215516","filename":"file2"},{"photo_id":"1338215521","filename":"file4"},{"photo_id":"1338215514","filename":"file1"},{"photo_id":"1338215511","filename":"file0"},{"photo_id":"1338215519","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215514":["hashtag1","hashtag2"]},{"1338215511":["hashtag1","hashtag2"]},{"1338215522":["hashtag1","hashtag2"]},{"1338215519":["hashtag1","hashtag2"]},{"1338215516":["hashtag1","hashtag2"]},{"1338215521":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215514, 1338215511, 1338215522, 1338215519, 1338215516, 1338215521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7454195022583 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:36:32.775268
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_59_10682.jpg', 0), ('/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_48_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_38_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_29_10725.jpg', 0), ('/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_18_9730.jpg', 0), ('/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_08_9749.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_59_10682.jpg', '/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_48_9719.jpg', '/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_38_9701.jpg', '/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_29_10725.jpg', '/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_18_9730.jpg', '/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_08_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_59_10682.jpg
/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_48_9719.jpg
/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_38_9701.jpg
/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_29_10725.jpg
/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_18_9730.jpg
/home/nano/Desktop/images/10022025/11/20/image_10022025_11_20_08_9749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215535","1338215546","1338215563","1338215557","1338215568","1338215553"],"photo_ids_order":["1338215535","1338215546","1338215553","1338215557","1338215563","1338215568"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eb4e8752f2f3ef4cd685e957685eca8a.jpg","text":"TemporaryFile(/tmp/multipartBody1212115961688201188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821055565,"filename":"image_10022025_11_20_59_10682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1fd45def95b799ddebaecf7b9e87b2ab.jpg","text":"TemporaryFile(/tmp/multipartBody8103392679967858457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821055565,"filename":"image_10022025_11_20_48_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d024cbb10639394fdebbc13707f68a3.jpg","text":"TemporaryFile(/tmp/multipartBody8381203615950970564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821055565,"filename":"image_10022025_11_20_18_9730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/83ed2bf640a0e5699f7f08a0e6a0ba00.jpg","text":"TemporaryFile(/tmp/multipartBody7969452005176934223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821055565,"filename":"image_10022025_11_20_29_10725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efacbfcf6c450a163d55606064c408c8.jpg","text":"TemporaryFile(/tmp/multipartBody1819851956419498237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821055565,"filename":"image_10022025_11_20_08_9749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/97159737346f0a7d6141481e9484da2f.jpg","text":"TemporaryFile(/tmp/multipartBody1042663098554554361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821055565,"filename":"image_10022025_11_20_38_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215553","file1":"1338215546","file0":"1338215535","file4":"1338215563","file5":"1338215568","file3":"1338215557"},"map_files_photo_id_array":[{"photo_id":"1338215568","filename":"file5"},{"photo_id":"1338215553","filename":"file2"},{"photo_id":"1338215563","filename":"file4"},{"photo_id":"1338215546","filename":"file1"},{"photo_id":"1338215535","filename":"file0"},{"photo_id":"1338215557","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215535":["hashtag1","hashtag2"]},{"1338215546":["hashtag1","hashtag2"]},{"1338215563":["hashtag1","hashtag2"]},{"1338215557":["hashtag1","hashtag2"]},{"1338215568":["hashtag1","hashtag2"]},{"1338215553":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215535, 1338215546, 1338215563, 1338215557, 1338215568, 1338215553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.243999004364014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:37:31.920749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_59_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_49_10723.jpg', 0), ('/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_38_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_28_9728.jpg', 0), ('/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_19_9771.jpg', 0), ('/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_09_10755.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_59_9716.jpg', '/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_49_10723.jpg', '/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_38_9697.jpg', '/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_28_9728.jpg', '/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_19_9771.jpg', '/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_09_10755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_59_9716.jpg
/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_49_10723.jpg
/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_38_9697.jpg
/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_28_9728.jpg
/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_19_9771.jpg
/home/nano/Desktop/images/10022025/11/19/image_10022025_11_19_09_10755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215588","1338215590","1338215589","1338215580","1338215583","1338215586"],"photo_ids_order":["1338215580","1338215583","1338215586","1338215588","1338215589","1338215590"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/104ad4ba70378eab5709eb1cd518736c.jpg","text":"TemporaryFile(/tmp/multipartBody4695355151332639227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821114413,"filename":"image_10022025_11_19_28_9728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2eadeb736e563209b2d6f617159b3e54.jpg","text":"TemporaryFile(/tmp/multipartBody248225393438942242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821114413,"filename":"image_10022025_11_19_09_10755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd3d60cca933ffdc5513a2570ff5a959.jpg","text":"TemporaryFile(/tmp/multipartBody3008303952828784889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821114413,"filename":"image_10022025_11_19_19_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4cc2944d9281e5966a2a36b06f5ab3b.jpg","text":"TemporaryFile(/tmp/multipartBody7435223190941264881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821114413,"filename":"image_10022025_11_19_59_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cda0176b217401322f9dd2087e56e019.jpg","text":"TemporaryFile(/tmp/multipartBody769283908951744688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821114413,"filename":"image_10022025_11_19_49_10723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/363d72c6ce21e8bf5c48f8874f4174e5.jpg","text":"TemporaryFile(/tmp/multipartBody3503277776737727443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821114413,"filename":"image_10022025_11_19_38_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215586","file1":"1338215583","file0":"1338215580","file4":"1338215589","file5":"1338215590","file3":"1338215588"},"map_files_photo_id_array":[{"photo_id":"1338215590","filename":"file5"},{"photo_id":"1338215586","filename":"file2"},{"photo_id":"1338215589","filename":"file4"},{"photo_id":"1338215583","filename":"file1"},{"photo_id":"1338215580","filename":"file0"},{"photo_id":"1338215588","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215588":["hashtag1","hashtag2"]},{"1338215590":["hashtag1","hashtag2"]},{"1338215589":["hashtag1","hashtag2"]},{"1338215580":["hashtag1","hashtag2"]},{"1338215583":["hashtag1","hashtag2"]},{"1338215586":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215588, 1338215590, 1338215589, 1338215580, 1338215583, 1338215586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79525375366211 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:38:32.090124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_58_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_48_9742.jpg', 0), ('/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_39_10738.jpg', 0), ('/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_28_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_18_9761.jpg', 0), ('/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_08_9743.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_58_9716.jpg', '/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_48_9742.jpg', '/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_39_10738.jpg', '/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_28_9726.jpg', '/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_18_9761.jpg', '/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_08_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_58_9716.jpg
/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_48_9742.jpg
/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_39_10738.jpg
/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_28_9726.jpg
/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_18_9761.jpg
/home/nano/Desktop/images/10022025/11/18/image_10022025_11_18_08_9743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215616","1338215610","1338215612","1338215614","1338215605","1338215608"],"photo_ids_order":["1338215605","1338215608","1338215610","1338215612","1338215614","1338215616"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e416f8f26804fc6105cd3d52195e1b7e.jpg","text":"TemporaryFile(/tmp/multipartBody732337828213877554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821174648,"filename":"image_10022025_11_18_08_9743.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b7a99818f041ee1dbec8a310a4abf91.jpg","text":"TemporaryFile(/tmp/multipartBody4843253073861767336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821174648,"filename":"image_10022025_11_18_39_10738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ccc4302cf609a504793effa594f3fd7b.jpg","text":"TemporaryFile(/tmp/multipartBody8291956661715983470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821174648,"filename":"image_10022025_11_18_28_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efe2ce17818f54e705b4a3a3a4a38794.jpg","text":"TemporaryFile(/tmp/multipartBody1840575172228277745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821174648,"filename":"image_10022025_11_18_18_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d87b5d76d1bee4089c83528946bdcee.jpg","text":"TemporaryFile(/tmp/multipartBody6922276968421783368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821174648,"filename":"image_10022025_11_18_58_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ab1189aa6d2bd7a9c40d19c95ea07dd.jpg","text":"TemporaryFile(/tmp/multipartBody1563893130361540923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821174648,"filename":"image_10022025_11_18_48_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215610","file1":"1338215608","file0":"1338215605","file4":"1338215614","file5":"1338215616","file3":"1338215612"},"map_files_photo_id_array":[{"photo_id":"1338215616","filename":"file5"},{"photo_id":"1338215610","filename":"file2"},{"photo_id":"1338215614","filename":"file4"},{"photo_id":"1338215608","filename":"file1"},{"photo_id":"1338215605","filename":"file0"},{"photo_id":"1338215612","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215616":["hashtag1","hashtag2"]},{"1338215610":["hashtag1","hashtag2"]},{"1338215612":["hashtag1","hashtag2"]},{"1338215614":["hashtag1","hashtag2"]},{"1338215605":["hashtag1","hashtag2"]},{"1338215608":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215616, 1338215610, 1338215612, 1338215614, 1338215605, 1338215608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97744178771973 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:39:32.223195
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_59_10745.jpg', 0), ('/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_48_9761.jpg', 0), ('/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_38_9736.jpg', 0), ('/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_28_9743.jpg', 0), ('/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_19_10732.jpg', 0), ('/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_08_9747.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_59_10745.jpg', '/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_48_9761.jpg', '/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_38_9736.jpg', '/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_28_9743.jpg', '/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_19_10732.jpg', '/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_08_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_59_10745.jpg
/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_48_9761.jpg
/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_38_9736.jpg
/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_28_9743.jpg
/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_19_10732.jpg
/home/nano/Desktop/images/10022025/11/17/image_10022025_11_17_08_9747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215651","1338215650","1338215647","1338215641","1338215644","1338215652"],"photo_ids_order":["1338215641","1338215644","1338215647","1338215650","1338215651","1338215652"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ef41d8bc375de2e15ed6ac58899c95e.jpg","text":"TemporaryFile(/tmp/multipartBody9188583135544121310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821235497,"filename":"image_10022025_11_17_19_10732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57f483fcea4cdb428c0f81a8203cad07.jpg","text":"TemporaryFile(/tmp/multipartBody139830386123334808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821235497,"filename":"image_10022025_11_17_28_9743.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0dbc0b5e68a72f84f4c4affa1fcd0e5a.jpg","text":"TemporaryFile(/tmp/multipartBody262240621667177649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821235497,"filename":"image_10022025_11_17_38_9736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46ca7dd97b500110494a8b66ddb26275.jpg","text":"TemporaryFile(/tmp/multipartBody3308157549455832185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821235497,"filename":"image_10022025_11_17_59_10745.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c512fe4228b73b16ea62b7c11de3ded4.jpg","text":"TemporaryFile(/tmp/multipartBody6877378958066311789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821235497,"filename":"image_10022025_11_17_48_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/298867f1b5d4525b1ddbe618e4d3584b.jpg","text":"TemporaryFile(/tmp/multipartBody2727891617540127158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821235497,"filename":"image_10022025_11_17_08_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215647","file1":"1338215644","file0":"1338215641","file4":"1338215651","file5":"1338215652","file3":"1338215650"},"map_files_photo_id_array":[{"photo_id":"1338215652","filename":"file5"},{"photo_id":"1338215647","filename":"file2"},{"photo_id":"1338215651","filename":"file4"},{"photo_id":"1338215644","filename":"file1"},{"photo_id":"1338215641","filename":"file0"},{"photo_id":"1338215650","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215651":["hashtag1","hashtag2"]},{"1338215650":["hashtag1","hashtag2"]},{"1338215647":["hashtag1","hashtag2"]},{"1338215641":["hashtag1","hashtag2"]},{"1338215644":["hashtag1","hashtag2"]},{"1338215652":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215651, 1338215650, 1338215647, 1338215641, 1338215644, 1338215652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.459449768066406 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:40:32.378095
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_58_9764.jpg', 0), ('/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_48_9744.jpg', 0), ('/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_39_10733.jpg', 0), ('/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_28_9773.jpg', 0), ('/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_18_9775.jpg', 0), ('/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_08_9761.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_58_9764.jpg', '/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_48_9744.jpg', '/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_39_10733.jpg', '/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_28_9773.jpg', '/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_18_9775.jpg', '/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_08_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_58_9764.jpg
/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_48_9744.jpg
/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_39_10733.jpg
/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_28_9773.jpg
/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_18_9775.jpg
/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_08_9761.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.325918436050415 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:41:03.042598
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_58_9764.jpg', 0), ('/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_48_9744.jpg', 0), ('/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_39_10733.jpg', 0), ('/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_28_9773.jpg', 0), ('/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_18_9775.jpg', 0), ('/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_08_9761.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_58_9764.jpg', '/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_48_9744.jpg', '/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_39_10733.jpg', '/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_28_9773.jpg', '/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_18_9775.jpg', '/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_08_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_58_9764.jpg
/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_48_9744.jpg
/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_39_10733.jpg
/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_28_9773.jpg
/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_18_9775.jpg
/home/nano/Desktop/images/10022025/11/16/image_10022025_11_16_08_9761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215693","1338215695","1338215689","1338215692","1338215691","1338215688"],"photo_ids_order":["1338215688","1338215689","1338215691","1338215692","1338215693","1338215695"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b363f33f1d3d3b7e335f68265a5df8d.jpg","text":"TemporaryFile(/tmp/multipartBody3973501146557412767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821325465,"filename":"image_10022025_11_16_18_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2560bdae11cfc0c473aed439c004dee1.jpg","text":"TemporaryFile(/tmp/multipartBody2518823882294082721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821325465,"filename":"image_10022025_11_16_08_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c08a4a69584a929e76f9349438d03933.jpg","text":"TemporaryFile(/tmp/multipartBody5744897605667239147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821325465,"filename":"image_10022025_11_16_48_9744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9078cd4d08911d33e01f9065ad39f06d.jpg","text":"TemporaryFile(/tmp/multipartBody1125495626713732133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821325465,"filename":"image_10022025_11_16_28_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ef59add0c2bb2a520fdd28032977d808.jpg","text":"TemporaryFile(/tmp/multipartBody2876575575089578214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821325465,"filename":"image_10022025_11_16_39_10733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/feb7d449ab8b5e9f5411dd0e64a59806.jpg","text":"TemporaryFile(/tmp/multipartBody9058141173717222812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821325465,"filename":"image_10022025_11_16_58_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215691","file1":"1338215689","file0":"1338215688","file4":"1338215693","file5":"1338215695","file3":"1338215692"},"map_files_photo_id_array":[{"photo_id":"1338215695","filename":"file5"},{"photo_id":"1338215691","filename":"file2"},{"photo_id":"1338215693","filename":"file4"},{"photo_id":"1338215689","filename":"file1"},{"photo_id":"1338215688","filename":"file0"},{"photo_id":"1338215692","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215693":["hashtag1","hashtag2"]},{"1338215695":["hashtag1","hashtag2"]},{"1338215689":["hashtag1","hashtag2"]},{"1338215692":["hashtag1","hashtag2"]},{"1338215691":["hashtag1","hashtag2"]},{"1338215688":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215693, 1338215695, 1338215689, 1338215692, 1338215691, 1338215688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.798696517944336 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:42:03.003640
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_59_10764.jpg', 0), ('/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_48_9729.jpg', 0), ('/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_38_9783.jpg', 0), ('/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_28_9758.jpg', 0), ('/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_19_9802.jpg', 0), ('/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_09_10778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_59_10764.jpg', '/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_48_9729.jpg', '/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_38_9783.jpg', '/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_28_9758.jpg', '/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_19_9802.jpg', '/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_09_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_59_10764.jpg
/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_48_9729.jpg
/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_38_9783.jpg
/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_28_9758.jpg
/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_19_9802.jpg
/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_09_10778.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.677971839904785 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:42:32.659513
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_59_10764.jpg', 0), ('/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_48_9729.jpg', 0), ('/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_38_9783.jpg', 0), ('/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_28_9758.jpg', 0), ('/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_19_9802.jpg', 0), ('/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_09_10778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_59_10764.jpg', '/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_48_9729.jpg', '/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_38_9783.jpg', '/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_28_9758.jpg', '/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_19_9802.jpg', '/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_09_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_59_10764.jpg
/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_48_9729.jpg
/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_38_9783.jpg
/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_28_9758.jpg
/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_19_9802.jpg
/home/nano/Desktop/images/10022025/11/15/image_10022025_11_15_09_10778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215727","1338215721","1338215729","1338215731","1338215724","1338215718"],"photo_ids_order":["1338215718","1338215721","1338215724","1338215727","1338215729","1338215731"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/68d4935ec8cf5632319d788ba58af200.jpg","text":"TemporaryFile(/tmp/multipartBody6853309441672308782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821415559,"filename":"image_10022025_11_15_28_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57db1d8036d85afbc0292ccb9faac422.jpg","text":"TemporaryFile(/tmp/multipartBody1087138939422811751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821415559,"filename":"image_10022025_11_15_48_9729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79521d74746920f218a6d46f76b415aa.jpg","text":"TemporaryFile(/tmp/multipartBody2248105735170123040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821415559,"filename":"image_10022025_11_15_19_9802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c4cfabbfff9aee4ef5539436bd83ced.jpg","text":"TemporaryFile(/tmp/multipartBody4115032637463742520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821415559,"filename":"image_10022025_11_15_09_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c20d742626ddd7860d76c86a366d353d.jpg","text":"TemporaryFile(/tmp/multipartBody6866597083703914034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821415559,"filename":"image_10022025_11_15_38_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76dd3abcae2f4ec99da14f0053406d3d.jpg","text":"TemporaryFile(/tmp/multipartBody8495940251979121890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821415559,"filename":"image_10022025_11_15_59_10764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215724","file1":"1338215721","file0":"1338215718","file4":"1338215729","file5":"1338215731","file3":"1338215727"},"map_files_photo_id_array":[{"photo_id":"1338215731","filename":"file5"},{"photo_id":"1338215724","filename":"file2"},{"photo_id":"1338215729","filename":"file4"},{"photo_id":"1338215721","filename":"file1"},{"photo_id":"1338215718","filename":"file0"},{"photo_id":"1338215727","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215727":["hashtag1","hashtag2"]},{"1338215721":["hashtag1","hashtag2"]},{"1338215729":["hashtag1","hashtag2"]},{"1338215731":["hashtag1","hashtag2"]},{"1338215724":["hashtag1","hashtag2"]},{"1338215718":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215727, 1338215721, 1338215729, 1338215731, 1338215724, 1338215718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48400950431824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:43:31.815014
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_58_9782.jpg', 0), ('/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_48_9743.jpg', 0), ('/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_39_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_29_10779.jpg', 0), ('/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_18_9749.jpg', 0), ('/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_08_9864.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_58_9782.jpg', '/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_48_9743.jpg', '/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_39_9721.jpg', '/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_29_10779.jpg', '/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_18_9749.jpg', '/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_08_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_58_9782.jpg
/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_48_9743.jpg
/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_39_9721.jpg
/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_29_10779.jpg
/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_18_9749.jpg
/home/nano/Desktop/images/10022025/11/14/image_10022025_11_14_08_9864.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215748","1338215750","1338215743","1338215740","1338215751","1338215745"],"photo_ids_order":["1338215740","1338215743","1338215745","1338215748","1338215750","1338215751"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cda10ed32836a32ad1c129320fda188d.jpg","text":"TemporaryFile(/tmp/multipartBody8601676787005573742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821474147,"filename":"image_10022025_11_14_29_10779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/25d3e924c7518c43dafc59fde02a517d.jpg","text":"TemporaryFile(/tmp/multipartBody1760844043285894595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821474147,"filename":"image_10022025_11_14_18_9749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f67641c67b7f5ec05ab00a2776924b3.jpg","text":"TemporaryFile(/tmp/multipartBody2569710255970023195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821474147,"filename":"image_10022025_11_14_48_9743.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f22048744a7630c43b949a2b6ac0d94.jpg","text":"TemporaryFile(/tmp/multipartBody8329203296249904398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821474147,"filename":"image_10022025_11_14_58_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a1e246e5ce41b2316c4861fb9a7ad33a.jpg","text":"TemporaryFile(/tmp/multipartBody3243293252169555503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821474147,"filename":"image_10022025_11_14_08_9864.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3490311bfc7716c419c858a6a517b97.jpg","text":"TemporaryFile(/tmp/multipartBody799074936056590120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821474147,"filename":"image_10022025_11_14_39_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215745","file1":"1338215743","file0":"1338215740","file4":"1338215750","file5":"1338215751","file3":"1338215748"},"map_files_photo_id_array":[{"photo_id":"1338215751","filename":"file5"},{"photo_id":"1338215745","filename":"file2"},{"photo_id":"1338215750","filename":"file4"},{"photo_id":"1338215743","filename":"file1"},{"photo_id":"1338215740","filename":"file0"},{"photo_id":"1338215748","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215748":["hashtag1","hashtag2"]},{"1338215750":["hashtag1","hashtag2"]},{"1338215743":["hashtag1","hashtag2"]},{"1338215740":["hashtag1","hashtag2"]},{"1338215751":["hashtag1","hashtag2"]},{"1338215745":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215748, 1338215750, 1338215743, 1338215740, 1338215751, 1338215745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12699222564697 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:44:31.960143
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_58_9855.jpg', 0), ('/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_49_9776.jpg', 0), ('/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_39_10730.jpg', 0), ('/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_28_9828.jpg', 0), ('/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_18_9738.jpg', 0), ('/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_08_9803.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_58_9855.jpg', '/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_49_9776.jpg', '/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_39_10730.jpg', '/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_28_9828.jpg', '/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_18_9738.jpg', '/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_08_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_58_9855.jpg
/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_49_9776.jpg
/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_39_10730.jpg
/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_28_9828.jpg
/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_18_9738.jpg
/home/nano/Desktop/images/10022025/11/13/image_10022025_11_13_08_9803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215774","1338215776","1338215772","1338215775","1338215769","1338215766"],"photo_ids_order":["1338215766","1338215769","1338215772","1338215774","1338215775","1338215776"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/929b315950cc7b5e609d12faeacf31df.jpg","text":"TemporaryFile(/tmp/multipartBody1549967110615720969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821534791,"filename":"image_10022025_11_13_28_9828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad30bd2ab6e35fefee1e378c9b3644da.jpg","text":"TemporaryFile(/tmp/multipartBody8858920915334902898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821534791,"filename":"image_10022025_11_13_08_9803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c11fa06f068ab89262b7a20426a64d6e.jpg","text":"TemporaryFile(/tmp/multipartBody4058978001674642287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821534791,"filename":"image_10022025_11_13_39_10730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/49459f7c83e67cbb474c069adeaf93b0.jpg","text":"TemporaryFile(/tmp/multipartBody8478226195600701915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821534791,"filename":"image_10022025_11_13_18_9738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87332a7c27ee36ea984da4fad6d38159.jpg","text":"TemporaryFile(/tmp/multipartBody8333202485356301389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821534791,"filename":"image_10022025_11_13_49_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e45f2211195383fcecdf8c60e467e26d.jpg","text":"TemporaryFile(/tmp/multipartBody8760972527716682252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821534791,"filename":"image_10022025_11_13_58_9855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215772","file1":"1338215769","file0":"1338215766","file4":"1338215775","file5":"1338215776","file3":"1338215774"},"map_files_photo_id_array":[{"photo_id":"1338215776","filename":"file5"},{"photo_id":"1338215772","filename":"file2"},{"photo_id":"1338215775","filename":"file4"},{"photo_id":"1338215769","filename":"file1"},{"photo_id":"1338215766","filename":"file0"},{"photo_id":"1338215774","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215774":["hashtag1","hashtag2"]},{"1338215776":["hashtag1","hashtag2"]},{"1338215772":["hashtag1","hashtag2"]},{"1338215775":["hashtag1","hashtag2"]},{"1338215769":["hashtag1","hashtag2"]},{"1338215766":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215774, 1338215776, 1338215772, 1338215775, 1338215769, 1338215766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53691244125366 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:45:32.118372
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_59_10783.jpg', 0), ('/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_48_9924.jpg', 0), ('/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_38_9902.jpg', 0), ('/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_28_9904.jpg', 0), ('/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_18_9905.jpg', 0), ('/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_08_9921.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_59_10783.jpg', '/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_48_9924.jpg', '/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_38_9902.jpg', '/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_28_9904.jpg', '/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_18_9905.jpg', '/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_08_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_59_10783.jpg
/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_48_9924.jpg
/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_38_9902.jpg
/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_28_9904.jpg
/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_18_9905.jpg
/home/nano/Desktop/images/10022025/11/12/image_10022025_11_12_08_9921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215792","1338215790","1338215793","1338215787","1338215781","1338215784"],"photo_ids_order":["1338215781","1338215784","1338215787","1338215790","1338215792","1338215793"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2bb5450907a38ad360cbc8451696e1b5.jpg","text":"TemporaryFile(/tmp/multipartBody3209147853737896570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821595123,"filename":"image_10022025_11_12_18_9905.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ff0d2739b623b0ab015ad91c1bd8d30.jpg","text":"TemporaryFile(/tmp/multipartBody3727152350147296882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821595123,"filename":"image_10022025_11_12_28_9904.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75bbf3093af396feb87a8d1b5f1a907f.jpg","text":"TemporaryFile(/tmp/multipartBody320332727478556224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821595123,"filename":"image_10022025_11_12_08_9921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/18936e830d0006cf0206331d782c819e.jpg","text":"TemporaryFile(/tmp/multipartBody6081098888449395425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821595123,"filename":"image_10022025_11_12_38_9902.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d9b28a41dc1befca539f73e6672205bb.jpg","text":"TemporaryFile(/tmp/multipartBody269273464831835263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821595123,"filename":"image_10022025_11_12_59_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/baf662220b2b30e7986e58c978f75c43.jpg","text":"TemporaryFile(/tmp/multipartBody4535060670714975517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821595123,"filename":"image_10022025_11_12_48_9924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215787","file1":"1338215784","file0":"1338215781","file4":"1338215792","file5":"1338215793","file3":"1338215790"},"map_files_photo_id_array":[{"photo_id":"1338215793","filename":"file5"},{"photo_id":"1338215787","filename":"file2"},{"photo_id":"1338215792","filename":"file4"},{"photo_id":"1338215784","filename":"file1"},{"photo_id":"1338215781","filename":"file0"},{"photo_id":"1338215790","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215792":["hashtag1","hashtag2"]},{"1338215790":["hashtag1","hashtag2"]},{"1338215793":["hashtag1","hashtag2"]},{"1338215787":["hashtag1","hashtag2"]},{"1338215781":["hashtag1","hashtag2"]},{"1338215784":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215792, 1338215790, 1338215793, 1338215787, 1338215781, 1338215784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11594104766846 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:46:32.274173
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_58_9903.jpg', 0), ('/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_48_9904.jpg', 0), ('/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_39_9928.jpg', 0), ('/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_29_9907.jpg', 0), ('/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_19_9899.jpg', 0), ('/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_09_9916.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_58_9903.jpg', '/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_48_9904.jpg', '/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_39_9928.jpg', '/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_29_9907.jpg', '/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_19_9899.jpg', '/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_09_9916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_58_9903.jpg
/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_48_9904.jpg
/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_39_9928.jpg
/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_29_9907.jpg
/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_19_9899.jpg
/home/nano/Desktop/images/10022025/11/11/image_10022025_11_11_09_9916.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215811","1338215829","1338215808","1338215825","1338215824","1338215818"],"photo_ids_order":["1338215808","1338215811","1338215818","1338215824","1338215825","1338215829"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a1cff0d3192d92689603402f10db9710.jpg","text":"TemporaryFile(/tmp/multipartBody2467054696002247972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821655946,"filename":"image_10022025_11_11_48_9904.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/55d6d1e9d8bd1c335dbc6f733fcf4b37.jpg","text":"TemporaryFile(/tmp/multipartBody7738164085634475100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821655946,"filename":"image_10022025_11_11_09_9916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e6edbda7c8c6bf53574909053d43b894.jpg","text":"TemporaryFile(/tmp/multipartBody3529963525885501370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821655946,"filename":"image_10022025_11_11_58_9903.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5380d3aa5557bba38246e799d746610d.jpg","text":"TemporaryFile(/tmp/multipartBody4920437720142331246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821655946,"filename":"image_10022025_11_11_19_9899.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1dca0460173308b4a9c6f0bf2656c2fb.jpg","text":"TemporaryFile(/tmp/multipartBody1204480014083283391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821655946,"filename":"image_10022025_11_11_29_9907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/782e4ca78382168ae6a13ed6e096a92a.jpg","text":"TemporaryFile(/tmp/multipartBody7445759749756367084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821655946,"filename":"image_10022025_11_11_39_9928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215818","file1":"1338215811","file0":"1338215808","file4":"1338215825","file5":"1338215829","file3":"1338215824"},"map_files_photo_id_array":[{"photo_id":"1338215829","filename":"file5"},{"photo_id":"1338215818","filename":"file2"},{"photo_id":"1338215825","filename":"file4"},{"photo_id":"1338215811","filename":"file1"},{"photo_id":"1338215808","filename":"file0"},{"photo_id":"1338215824","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215811":["hashtag1","hashtag2"]},{"1338215829":["hashtag1","hashtag2"]},{"1338215808":["hashtag1","hashtag2"]},{"1338215825":["hashtag1","hashtag2"]},{"1338215824":["hashtag1","hashtag2"]},{"1338215818":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215811, 1338215829, 1338215808, 1338215825, 1338215824, 1338215818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.331156492233276 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:47:32.429021
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_59_10936.jpg', 0), ('/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_48_9933.jpg', 0), ('/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_38_9905.jpg', 0), ('/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_28_9930.jpg', 0), ('/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_18_9907.jpg', 0), ('/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_08_9923.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_59_10936.jpg', '/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_48_9933.jpg', '/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_38_9905.jpg', '/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_28_9930.jpg', '/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_18_9907.jpg', '/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_08_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_59_10936.jpg
/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_48_9933.jpg
/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_38_9905.jpg
/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_28_9930.jpg
/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_18_9907.jpg
/home/nano/Desktop/images/10022025/11/10/image_10022025_11_10_08_9923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215870","1338215873","1338215875","1338215878","1338215868","1338215877"],"photo_ids_order":["1338215868","1338215870","1338215873","1338215875","1338215877","1338215878"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/749f7724ebbc13491d957e97a9959e55.jpg","text":"TemporaryFile(/tmp/multipartBody7484867998045723555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821715573,"filename":"image_10022025_11_10_48_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70ef91a539764b2fd595d88646708981.jpg","text":"TemporaryFile(/tmp/multipartBody8107403382360694122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821715573,"filename":"image_10022025_11_10_38_9905.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/44aa96059e7d626673563530089e1f67.jpg","text":"TemporaryFile(/tmp/multipartBody3721667813097951585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821715573,"filename":"image_10022025_11_10_28_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7baf289457ac571cdcb11075a1765900.jpg","text":"TemporaryFile(/tmp/multipartBody8784379765239199675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821715573,"filename":"image_10022025_11_10_08_9923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/06a808ddb9ddde32a8408575e42437cb.jpg","text":"TemporaryFile(/tmp/multipartBody4693604642672804192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821715573,"filename":"image_10022025_11_10_59_10936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6f5e547e5a22bda1b18376f67bd41ab.jpg","text":"TemporaryFile(/tmp/multipartBody8773896980304701588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821715573,"filename":"image_10022025_11_10_18_9907.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215873","file1":"1338215870","file0":"1338215868","file4":"1338215877","file5":"1338215878","file3":"1338215875"},"map_files_photo_id_array":[{"photo_id":"1338215878","filename":"file5"},{"photo_id":"1338215873","filename":"file2"},{"photo_id":"1338215877","filename":"file4"},{"photo_id":"1338215870","filename":"file1"},{"photo_id":"1338215868","filename":"file0"},{"photo_id":"1338215875","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215870":["hashtag1","hashtag2"]},{"1338215873":["hashtag1","hashtag2"]},{"1338215875":["hashtag1","hashtag2"]},{"1338215878":["hashtag1","hashtag2"]},{"1338215868":["hashtag1","hashtag2"]},{"1338215877":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215870, 1338215873, 1338215875, 1338215878, 1338215868, 1338215877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93365025520325 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:48:32.585344
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_58_9907.jpg', 0), ('/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_48_9908.jpg', 0), ('/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_39_9906.jpg', 0), ('/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_29_9907.jpg', 0), ('/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_19_9907.jpg', 0), ('/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_09_9914.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_58_9907.jpg', '/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_48_9908.jpg', '/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_39_9906.jpg', '/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_29_9907.jpg', '/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_19_9907.jpg', '/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_09_9914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_58_9907.jpg
/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_48_9908.jpg
/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_39_9906.jpg
/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_29_9907.jpg
/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_19_9907.jpg
/home/nano/Desktop/images/10022025/11/09/image_10022025_11_09_09_9914.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215913","1338215918","1338215926","1338215905","1338215902","1338215937"],"photo_ids_order":["1338215902","1338215905","1338215913","1338215918","1338215926","1338215937"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4d7f11d51424deb10bd004f917151f7.jpg","text":"TemporaryFile(/tmp/multipartBody5246850816450580615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821775567,"filename":"image_10022025_11_09_39_9906.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/046220e34ca5339a0ba2a3ca867d9973.jpg","text":"TemporaryFile(/tmp/multipartBody4885055428183986292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821775567,"filename":"image_10022025_11_09_29_9907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b893110eb7b266df52d1ef2ad8cfa30b.jpg","text":"TemporaryFile(/tmp/multipartBody6399750802224799727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821775567,"filename":"image_10022025_11_09_19_9907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2c7d962b7c8a1ff7757a5afa8753913.jpg","text":"TemporaryFile(/tmp/multipartBody7704149069521952912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821775567,"filename":"image_10022025_11_09_48_9908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b251a79f70d9795d56673902f15cc703.jpg","text":"TemporaryFile(/tmp/multipartBody3366793018678843793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821775567,"filename":"image_10022025_11_09_58_9907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1dcaa6576269aed52e0117f8aeadbfa5.jpg","text":"TemporaryFile(/tmp/multipartBody1674427043331629924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821775567,"filename":"image_10022025_11_09_09_9914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215913","file1":"1338215905","file0":"1338215902","file4":"1338215926","file5":"1338215937","file3":"1338215918"},"map_files_photo_id_array":[{"photo_id":"1338215937","filename":"file5"},{"photo_id":"1338215913","filename":"file2"},{"photo_id":"1338215926","filename":"file4"},{"photo_id":"1338215905","filename":"file1"},{"photo_id":"1338215902","filename":"file0"},{"photo_id":"1338215918","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215913":["hashtag1","hashtag2"]},{"1338215918":["hashtag1","hashtag2"]},{"1338215926":["hashtag1","hashtag2"]},{"1338215905":["hashtag1","hashtag2"]},{"1338215902":["hashtag1","hashtag2"]},{"1338215937":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215913, 1338215918, 1338215926, 1338215905, 1338215902, 1338215937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43829822540283 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:49:32.728348
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_59_10914.jpg', 0), ('/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_48_9906.jpg', 0), ('/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_38_9910.jpg', 0), ('/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_28_9907.jpg', 0), ('/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_18_9908.jpg', 0), ('/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_08_9903.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_59_10914.jpg', '/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_48_9906.jpg', '/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_38_9910.jpg', '/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_28_9907.jpg', '/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_18_9908.jpg', '/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_08_9903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_59_10914.jpg
/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_48_9906.jpg
/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_38_9910.jpg
/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_28_9907.jpg
/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_18_9908.jpg
/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_08_9903.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 5.226179122924805 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:50:02.223530
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_59_10914.jpg', 0), ('/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_48_9906.jpg', 0), ('/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_38_9910.jpg', 0), ('/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_28_9907.jpg', 0), ('/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_18_9908.jpg', 0), ('/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_08_9903.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_59_10914.jpg', '/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_48_9906.jpg', '/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_38_9910.jpg', '/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_28_9907.jpg', '/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_18_9908.jpg', '/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_08_9903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_59_10914.jpg
/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_48_9906.jpg
/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_38_9910.jpg
/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_28_9907.jpg
/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_18_9908.jpg
/home/nano/Desktop/images/10022025/11/08/image_10022025_11_08_08_9903.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338215996","1338215999","1338215995","1338215998","1338216001","1338215997"],"photo_ids_order":["1338215995","1338215996","1338215997","1338215998","1338215999","1338216001"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8b959678f830d9ca8ffe1454368a51f.jpg","text":"TemporaryFile(/tmp/multipartBody2381118348533528738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821865514,"filename":"image_10022025_11_08_48_9906.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b2f68b0dcfb8077dd13dd687de1990eb.jpg","text":"TemporaryFile(/tmp/multipartBody2775455064454884989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821865514,"filename":"image_10022025_11_08_18_9908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31133f8c96f8be34c6654238e9fb324e.jpg","text":"TemporaryFile(/tmp/multipartBody8280548962438869194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821865514,"filename":"image_10022025_11_08_59_10914.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0476b1a497508dd9faaad26a915fdbfe.jpg","text":"TemporaryFile(/tmp/multipartBody2221573813834321364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821865514,"filename":"image_10022025_11_08_28_9907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d86857d52877c9ade40a95aa52035fd.jpg","text":"TemporaryFile(/tmp/multipartBody6845138017266653844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821865514,"filename":"image_10022025_11_08_08_9903.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5657f9a7aba576ec2b3f1a657e69db5c.jpg","text":"TemporaryFile(/tmp/multipartBody8506795404183198642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821865514,"filename":"image_10022025_11_08_38_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338215997","file1":"1338215996","file0":"1338215995","file4":"1338215999","file5":"1338216001","file3":"1338215998"},"map_files_photo_id_array":[{"photo_id":"1338216001","filename":"file5"},{"photo_id":"1338215997","filename":"file2"},{"photo_id":"1338215999","filename":"file4"},{"photo_id":"1338215996","filename":"file1"},{"photo_id":"1338215995","filename":"file0"},{"photo_id":"1338215998","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338215996":["hashtag1","hashtag2"]},{"1338215999":["hashtag1","hashtag2"]},{"1338215995":["hashtag1","hashtag2"]},{"1338215998":["hashtag1","hashtag2"]},{"1338216001":["hashtag1","hashtag2"]},{"1338215997":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338215996, 1338215999, 1338215995, 1338215998, 1338216001, 1338215997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84710144996643 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:51:02.458373
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_58_9907.jpg', 0), ('/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_49_9907.jpg', 0), ('/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_39_9909.jpg', 0), ('/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_29_9910.jpg', 0), ('/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_19_9934.jpg', 0), ('/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_09_10926.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_58_9907.jpg', '/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_49_9907.jpg', '/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_39_9909.jpg', '/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_29_9910.jpg', '/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_19_9934.jpg', '/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_09_10926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_58_9907.jpg
/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_49_9907.jpg
/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_39_9909.jpg
/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_29_9910.jpg
/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_19_9934.jpg
/home/nano/Desktop/images/10022025/11/07/image_10022025_11_07_09_10926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338216071","1338216073","1338216076","1338216070","1338216072","1338216074"],"photo_ids_order":["1338216070","1338216071","1338216072","1338216073","1338216074","1338216076"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50f28fa419501d4eea2d49768a81500f.jpg","text":"TemporaryFile(/tmp/multipartBody4232579727830333664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821926165,"filename":"image_10022025_11_07_49_9907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58b30d55157ed193bf2e3ab613fc3c93.jpg","text":"TemporaryFile(/tmp/multipartBody4288690098759474044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821926165,"filename":"image_10022025_11_07_29_9910.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d33b54bb7b2241b99174bb3bc67cb1a7.jpg","text":"TemporaryFile(/tmp/multipartBody7257365268184360166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821926165,"filename":"image_10022025_11_07_09_10926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2d8c1974c3257425edeada45cc724dfb.jpg","text":"TemporaryFile(/tmp/multipartBody552506029158581476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821926165,"filename":"image_10022025_11_07_58_9907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2bb820a56f95b78929a7cbb57f36fd3f.jpg","text":"TemporaryFile(/tmp/multipartBody7586619436562516987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821926165,"filename":"image_10022025_11_07_39_9909.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/899ed3790e4b447dbe9b3b9399523ecc.jpg","text":"TemporaryFile(/tmp/multipartBody7857240997479757177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821926165,"filename":"image_10022025_11_07_19_9934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338216072","file1":"1338216071","file0":"1338216070","file4":"1338216074","file5":"1338216076","file3":"1338216073"},"map_files_photo_id_array":[{"photo_id":"1338216076","filename":"file5"},{"photo_id":"1338216072","filename":"file2"},{"photo_id":"1338216074","filename":"file4"},{"photo_id":"1338216071","filename":"file1"},{"photo_id":"1338216070","filename":"file0"},{"photo_id":"1338216073","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338216071":["hashtag1","hashtag2"]},{"1338216073":["hashtag1","hashtag2"]},{"1338216076":["hashtag1","hashtag2"]},{"1338216070":["hashtag1","hashtag2"]},{"1338216072":["hashtag1","hashtag2"]},{"1338216074":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338216071, 1338216073, 1338216076, 1338216070, 1338216072, 1338216074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.207332611083984 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:52:02.535923
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_58_9933.jpg', 0), ('/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_48_9927.jpg', 0), ('/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_38_9909.jpg', 0), ('/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_28_9930.jpg', 0), ('/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_18_9913.jpg', 0), ('/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_08_9930.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_58_9933.jpg', '/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_48_9927.jpg', '/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_38_9909.jpg', '/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_28_9930.jpg', '/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_18_9913.jpg', '/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_08_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_58_9933.jpg
/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_48_9927.jpg
/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_38_9909.jpg
/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_28_9930.jpg
/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_18_9913.jpg
/home/nano/Desktop/images/10022025/11/06/image_10022025_11_06_08_9930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338216284","1338216086","1338216282","1338216279","1338216087","1338216207"],"photo_ids_order":["1338216086","1338216087","1338216207","1338216279","1338216282","1338216284"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/957c35a026c30ddac5fa22d5f40a0d4f.jpg","text":"TemporaryFile(/tmp/multipartBody2380801374487722692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821985590,"filename":"image_10022025_11_06_08_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8cb465cd047ae5d8c6734185287cac83.jpg","text":"TemporaryFile(/tmp/multipartBody8436104585449818394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821985590,"filename":"image_10022025_11_06_58_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f045ff22463cb39ed0a99dad329e31fb.jpg","text":"TemporaryFile(/tmp/multipartBody2111322060328215764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821985590,"filename":"image_10022025_11_06_18_9913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6c8c052c2dc79b20360a2ae451dc8ce.jpg","text":"TemporaryFile(/tmp/multipartBody5919232772903381978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821985590,"filename":"image_10022025_11_06_28_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba04966511d157bc6c85d12322df5942.jpg","text":"TemporaryFile(/tmp/multipartBody2919562034785006161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821985590,"filename":"image_10022025_11_06_48_9927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8637b07d249f31a94e96f60ec0a7f708.jpg","text":"TemporaryFile(/tmp/multipartBody6215852646985524209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739821985590,"filename":"image_10022025_11_06_38_9909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338216207","file1":"1338216087","file0":"1338216086","file4":"1338216282","file5":"1338216284","file3":"1338216279"},"map_files_photo_id_array":[{"photo_id":"1338216284","filename":"file5"},{"photo_id":"1338216207","filename":"file2"},{"photo_id":"1338216282","filename":"file4"},{"photo_id":"1338216087","filename":"file1"},{"photo_id":"1338216086","filename":"file0"},{"photo_id":"1338216279","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338216284":["hashtag1","hashtag2"]},{"1338216086":["hashtag1","hashtag2"]},{"1338216282":["hashtag1","hashtag2"]},{"1338216279":["hashtag1","hashtag2"]},{"1338216087":["hashtag1","hashtag2"]},{"1338216207":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338216284, 1338216086, 1338216282, 1338216279, 1338216087, 1338216207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.862457275390625 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:53:02.752622
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_58_9933.jpg', 0), ('/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_48_9915.jpg', 0), ('/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_39_9912.jpg', 0), ('/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_29_9912.jpg', 0), ('/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_19_9913.jpg', 0), ('/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_09_9928.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_58_9933.jpg', '/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_48_9915.jpg', '/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_39_9912.jpg', '/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_29_9912.jpg', '/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_19_9913.jpg', '/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_09_9928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_58_9933.jpg
/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_48_9915.jpg
/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_39_9912.jpg
/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_29_9912.jpg
/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_19_9913.jpg
/home/nano/Desktop/images/10022025/11/05/image_10022025_11_05_09_9928.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338216292","1338216295","1338216294","1338216297","1338216299","1338216293"],"photo_ids_order":["1338216292","1338216293","1338216294","1338216295","1338216297","1338216299"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9fa4ff06f8d1170d60d2d35e39c9c66f.jpg","text":"TemporaryFile(/tmp/multipartBody1024686517140736239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822046234,"filename":"image_10022025_11_05_58_9933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71238f0bcfdbea479c1438082f679d42.jpg","text":"TemporaryFile(/tmp/multipartBody7929373153483757666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822046234,"filename":"image_10022025_11_05_29_9912.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6bbdfd71070ec8379c262361a3576a2c.jpg","text":"TemporaryFile(/tmp/multipartBody6547991788665087753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822046234,"filename":"image_10022025_11_05_39_9912.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78c70966df587315400ad5c8b5a9f2da.jpg","text":"TemporaryFile(/tmp/multipartBody6800668557671468319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822046234,"filename":"image_10022025_11_05_19_9913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b105d57e738dd3a06b2f1cb5f9b001d2.jpg","text":"TemporaryFile(/tmp/multipartBody4497551686793863869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822046234,"filename":"image_10022025_11_05_09_9928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0408e58f0de44fbb6145a0827c8f2ed1.jpg","text":"TemporaryFile(/tmp/multipartBody6931921781475732096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822046234,"filename":"image_10022025_11_05_48_9915.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338216294","file1":"1338216293","file0":"1338216292","file4":"1338216297","file5":"1338216299","file3":"1338216295"},"map_files_photo_id_array":[{"photo_id":"1338216299","filename":"file5"},{"photo_id":"1338216294","filename":"file2"},{"photo_id":"1338216297","filename":"file4"},{"photo_id":"1338216293","filename":"file1"},{"photo_id":"1338216292","filename":"file0"},{"photo_id":"1338216295","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338216292":["hashtag1","hashtag2"]},{"1338216295":["hashtag1","hashtag2"]},{"1338216294":["hashtag1","hashtag2"]},{"1338216297":["hashtag1","hashtag2"]},{"1338216299":["hashtag1","hashtag2"]},{"1338216293":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338216292, 1338216295, 1338216294, 1338216297, 1338216299, 1338216293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.592111110687256 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:54:03.066173
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_59_10920.jpg', 0), ('/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_48_9913.jpg', 0), ('/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_38_9913.jpg', 0), ('/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_28_9911.jpg', 0), ('/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_18_9915.jpg', 0), ('/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_08_9901.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_59_10920.jpg', '/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_48_9913.jpg', '/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_38_9913.jpg', '/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_28_9911.jpg', '/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_18_9915.jpg', '/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_08_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_59_10920.jpg
/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_48_9913.jpg
/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_38_9913.jpg
/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_28_9911.jpg
/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_18_9915.jpg
/home/nano/Desktop/images/10022025/11/04/image_10022025_11_04_08_9901.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338216332","1338216326","1338216329","1338216328","1338216330","1338216327"],"photo_ids_order":["1338216326","1338216327","1338216328","1338216329","1338216330","1338216332"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de3c009ecac680fad65852ab8af46099.jpg","text":"TemporaryFile(/tmp/multipartBody931218711787920921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822106365,"filename":"image_10022025_11_04_08_9901.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a38c00f5e43b495b9746f4f21eb9ae5.jpg","text":"TemporaryFile(/tmp/multipartBody4245577617118802559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822106365,"filename":"image_10022025_11_04_59_10920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a00ee1f353e93534bd2d4273e71007a.jpg","text":"TemporaryFile(/tmp/multipartBody8908608674255954831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822106365,"filename":"image_10022025_11_04_28_9911.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c98cd653faeaff8273eff784e68bdf4.jpg","text":"TemporaryFile(/tmp/multipartBody5608731644111255211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822106365,"filename":"image_10022025_11_04_38_9913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/65cefe3a65c0a2d4db938fd2c6caa3be.jpg","text":"TemporaryFile(/tmp/multipartBody840289093919326938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822106365,"filename":"image_10022025_11_04_18_9915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78e1a0ac7f46b3f20a2e2039b737e094.jpg","text":"TemporaryFile(/tmp/multipartBody7723249149925429521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822106365,"filename":"image_10022025_11_04_48_9913.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338216328","file1":"1338216327","file0":"1338216326","file4":"1338216330","file5":"1338216332","file3":"1338216329"},"map_files_photo_id_array":[{"photo_id":"1338216332","filename":"file5"},{"photo_id":"1338216328","filename":"file2"},{"photo_id":"1338216330","filename":"file4"},{"photo_id":"1338216327","filename":"file1"},{"photo_id":"1338216326","filename":"file0"},{"photo_id":"1338216329","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338216332":["hashtag1","hashtag2"]},{"1338216326":["hashtag1","hashtag2"]},{"1338216329":["hashtag1","hashtag2"]},{"1338216328":["hashtag1","hashtag2"]},{"1338216330":["hashtag1","hashtag2"]},{"1338216327":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338216332, 1338216326, 1338216329, 1338216328, 1338216330, 1338216327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.570231437683105 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:55:03.079304
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_58_9909.jpg', 0), ('/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_48_9908.jpg', 0), ('/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_39_9908.jpg', 0), ('/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_29_9908.jpg', 0), ('/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_19_9908.jpg', 0), ('/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_09_10923.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_58_9909.jpg', '/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_48_9908.jpg', '/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_39_9908.jpg', '/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_29_9908.jpg', '/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_19_9908.jpg', '/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_09_10923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_58_9909.jpg
/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_48_9908.jpg
/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_39_9908.jpg
/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_29_9908.jpg
/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_19_9908.jpg
/home/nano/Desktop/images/10022025/11/03/image_10022025_11_03_09_10923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338216353","1338216344","1338216355","1338216357","1338216339","1338216354"],"photo_ids_order":["1338216339","1338216344","1338216353","1338216354","1338216355","1338216357"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd15c60e7fdab9fa02575c2186d7372c.jpg","text":"TemporaryFile(/tmp/multipartBody6434871695576451932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822166363,"filename":"image_10022025_11_03_39_9908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dee8654905fd9aade6004726ce27bb03.jpg","text":"TemporaryFile(/tmp/multipartBody5238441819626075971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822166363,"filename":"image_10022025_11_03_48_9908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/95015bd55aca7935054265cc1467caa4.jpg","text":"TemporaryFile(/tmp/multipartBody3130768409924110264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822166363,"filename":"image_10022025_11_03_19_9908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8bbdd01d4448c555bf88e203c51d63b2.jpg","text":"TemporaryFile(/tmp/multipartBody3326480495579433393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822166363,"filename":"image_10022025_11_03_09_10923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d7fc0833f9f853c624b0d39193817e3.jpg","text":"TemporaryFile(/tmp/multipartBody3478576734500782170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822166363,"filename":"image_10022025_11_03_58_9909.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ab93bf7cba9d74f89cf40165cf985ac.jpg","text":"TemporaryFile(/tmp/multipartBody610861766399260188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822166363,"filename":"image_10022025_11_03_29_9908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338216353","file1":"1338216344","file0":"1338216339","file4":"1338216355","file5":"1338216357","file3":"1338216354"},"map_files_photo_id_array":[{"photo_id":"1338216357","filename":"file5"},{"photo_id":"1338216353","filename":"file2"},{"photo_id":"1338216355","filename":"file4"},{"photo_id":"1338216344","filename":"file1"},{"photo_id":"1338216339","filename":"file0"},{"photo_id":"1338216354","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338216353":["hashtag1","hashtag2"]},{"1338216344":["hashtag1","hashtag2"]},{"1338216355":["hashtag1","hashtag2"]},{"1338216357":["hashtag1","hashtag2"]},{"1338216339":["hashtag1","hashtag2"]},{"1338216354":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338216353, 1338216344, 1338216355, 1338216357, 1338216339, 1338216354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62503671646118 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:56:02.039917
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_58_9912.jpg', 0), ('/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_48_9931.jpg', 0), ('/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_38_9931.jpg', 0), ('/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_28_9908.jpg', 0), ('/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_18_9908.jpg', 0), ('/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_08_9911.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_58_9912.jpg', '/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_48_9931.jpg', '/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_38_9931.jpg', '/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_28_9908.jpg', '/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_18_9908.jpg', '/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_08_9911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_58_9912.jpg
/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_48_9931.jpg
/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_38_9931.jpg
/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_28_9908.jpg
/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_18_9908.jpg
/home/nano/Desktop/images/10022025/11/02/image_10022025_11_02_08_9911.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338216368","1338216365","1338216370","1338216367","1338216366","1338216371"],"photo_ids_order":["1338216365","1338216366","1338216367","1338216368","1338216370","1338216371"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b39dd1c985873117ded8b1c254f6759a.jpg","text":"TemporaryFile(/tmp/multipartBody7692262237607365446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822225278,"filename":"image_10022025_11_02_28_9908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/47e0a31dc3bb98d6ee02ee0caa6071fa.jpg","text":"TemporaryFile(/tmp/multipartBody766321950824436889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822225278,"filename":"image_10022025_11_02_58_9912.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c65468cfa3c8dae46a8cbb6de499785.jpg","text":"TemporaryFile(/tmp/multipartBody612869368287295509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822225278,"filename":"image_10022025_11_02_18_9908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7ac6f6b41f130d1afd0974011a058cd.jpg","text":"TemporaryFile(/tmp/multipartBody4572547706104309618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822225278,"filename":"image_10022025_11_02_38_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4df7106dddc1f2757df0bcc31655a316.jpg","text":"TemporaryFile(/tmp/multipartBody8252011605219384274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822225278,"filename":"image_10022025_11_02_48_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f54675c33dd382e129924eb6d1fddadb.jpg","text":"TemporaryFile(/tmp/multipartBody4163527938267839376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822225278,"filename":"image_10022025_11_02_08_9911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338216367","file1":"1338216366","file0":"1338216365","file4":"1338216370","file5":"1338216371","file3":"1338216368"},"map_files_photo_id_array":[{"photo_id":"1338216371","filename":"file5"},{"photo_id":"1338216367","filename":"file2"},{"photo_id":"1338216370","filename":"file4"},{"photo_id":"1338216366","filename":"file1"},{"photo_id":"1338216365","filename":"file0"},{"photo_id":"1338216368","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338216368":["hashtag1","hashtag2"]},{"1338216365":["hashtag1","hashtag2"]},{"1338216370":["hashtag1","hashtag2"]},{"1338216367":["hashtag1","hashtag2"]},{"1338216366":["hashtag1","hashtag2"]},{"1338216371":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338216368, 1338216365, 1338216370, 1338216367, 1338216366, 1338216371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10931587219238 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:57:02.482671
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_58_9907.jpg', 0), ('/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_49_9904.jpg', 0), ('/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_39_9911.jpg', 0), ('/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_29_9912.jpg', 0), ('/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_19_9911.jpg', 0), ('/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_09_10923.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_58_9907.jpg', '/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_49_9904.jpg', '/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_39_9911.jpg', '/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_29_9912.jpg', '/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_19_9911.jpg', '/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_09_10923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_58_9907.jpg
/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_49_9904.jpg
/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_39_9911.jpg
/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_29_9912.jpg
/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_19_9911.jpg
/home/nano/Desktop/images/10022025/11/01/image_10022025_11_01_09_10923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338216530","1338216524","1338216523","1338216522","1338216525","1338216528"],"photo_ids_order":["1338216522","1338216523","1338216524","1338216525","1338216528","1338216530"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ec510792538c50eafc126156061c70d.jpg","text":"TemporaryFile(/tmp/multipartBody6072450758789915855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822286697,"filename":"image_10022025_11_01_09_10923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/87ea812c382f7680430791818c15b4d5.jpg","text":"TemporaryFile(/tmp/multipartBody1335034161650644228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822286697,"filename":"image_10022025_11_01_39_9911.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d8ff5bfe4cf45e40f466cf3b98428b7.jpg","text":"TemporaryFile(/tmp/multipartBody4421960608756037612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822286697,"filename":"image_10022025_11_01_49_9904.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/203bfcfae77dcc797a50de6029d06718.jpg","text":"TemporaryFile(/tmp/multipartBody6203488256027257240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822286697,"filename":"image_10022025_11_01_58_9907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ad9e94495f78c801edd835b0c1fdee1.jpg","text":"TemporaryFile(/tmp/multipartBody3085363210541259902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822286697,"filename":"image_10022025_11_01_29_9912.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7e6a47ee97a56bb9e6c7e9e5c9af8dff.jpg","text":"TemporaryFile(/tmp/multipartBody843427235072916300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822286697,"filename":"image_10022025_11_01_19_9911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338216524","file1":"1338216523","file0":"1338216522","file4":"1338216528","file5":"1338216530","file3":"1338216525"},"map_files_photo_id_array":[{"photo_id":"1338216530","filename":"file5"},{"photo_id":"1338216524","filename":"file2"},{"photo_id":"1338216528","filename":"file4"},{"photo_id":"1338216523","filename":"file1"},{"photo_id":"1338216522","filename":"file0"},{"photo_id":"1338216525","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338216530":["hashtag1","hashtag2"]},{"1338216524":["hashtag1","hashtag2"]},{"1338216523":["hashtag1","hashtag2"]},{"1338216522":["hashtag1","hashtag2"]},{"1338216525":["hashtag1","hashtag2"]},{"1338216528":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338216530, 1338216524, 1338216523, 1338216522, 1338216525, 1338216528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2427282333374 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:58:02.353796
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_58_9913.jpg', 0), ('/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_48_9907.jpg', 0), ('/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_38_9908.jpg', 0), ('/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_28_9912.jpg', 0), ('/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_18_9902.jpg', 0), ('/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_08_9909.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_58_9913.jpg', '/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_48_9907.jpg', '/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_38_9908.jpg', '/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_28_9912.jpg', '/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_18_9902.jpg', '/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_08_9909.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_58_9913.jpg
/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_48_9907.jpg
/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_38_9908.jpg
/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_28_9912.jpg
/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_18_9902.jpg
/home/nano/Desktop/images/10022025/11/00/image_10022025_11_00_08_9909.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338216857","1338216650","1338216859","1338216858","1338216861","1338216860"],"photo_ids_order":["1338216650","1338216857","1338216858","1338216859","1338216860","1338216861"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fd2101db8fd48758a8242d09dd438efa.jpg","text":"TemporaryFile(/tmp/multipartBody2399406280803155018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822346014,"filename":"image_10022025_11_00_48_9907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/573cf990895db257db5ebc01d3eb8922.jpg","text":"TemporaryFile(/tmp/multipartBody7219132971264437586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822346014,"filename":"image_10022025_11_00_58_9913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/01a8ede729fd029221c577c98186e4d8.jpg","text":"TemporaryFile(/tmp/multipartBody775179983958526390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822346014,"filename":"image_10022025_11_00_28_9912.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3264f200ab8279d3fe3450649f8f830.jpg","text":"TemporaryFile(/tmp/multipartBody8460859471719337272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822346014,"filename":"image_10022025_11_00_38_9908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/83ab0b4760a9d721a48a12befbeba119.jpg","text":"TemporaryFile(/tmp/multipartBody9073389495471486602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822346014,"filename":"image_10022025_11_00_08_9909.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77bd71390d86f14caf74fdb381bed796.jpg","text":"TemporaryFile(/tmp/multipartBody6250830990218151849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822346014,"filename":"image_10022025_11_00_18_9902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338216858","file1":"1338216857","file0":"1338216650","file4":"1338216860","file5":"1338216861","file3":"1338216859"},"map_files_photo_id_array":[{"photo_id":"1338216861","filename":"file5"},{"photo_id":"1338216858","filename":"file2"},{"photo_id":"1338216860","filename":"file4"},{"photo_id":"1338216857","filename":"file1"},{"photo_id":"1338216650","filename":"file0"},{"photo_id":"1338216859","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338216857":["hashtag1","hashtag2"]},{"1338216650":["hashtag1","hashtag2"]},{"1338216859":["hashtag1","hashtag2"]},{"1338216858":["hashtag1","hashtag2"]},{"1338216861":["hashtag1","hashtag2"]},{"1338216860":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338216857, 1338216650, 1338216859, 1338216858, 1338216861, 1338216860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61702799797058 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 20:59:02.601770
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_59_9877.jpg', 0), ('/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_49_9768.jpg', 0), ('/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_39_10720.jpg', 0), ('/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_28_9746.jpg', 0), ('/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_18_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_09_10701.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_59_9877.jpg', '/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_49_9768.jpg', '/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_39_10720.jpg', '/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_28_9746.jpg', '/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_18_9726.jpg', '/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_09_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_59_9877.jpg
/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_49_9768.jpg
/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_39_10720.jpg
/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_28_9746.jpg
/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_18_9726.jpg
/home/nano/Desktop/images/10022025/10/59/image_10022025_10_59_09_10701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338216997","1338216999","1338216990","1338217002","1338216992","1338216995"],"photo_ids_order":["1338216990","1338216992","1338216995","1338216997","1338216999","1338217002"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/982e8ce03b0c43936bca6c7a909055c1.jpg","text":"TemporaryFile(/tmp/multipartBody7726955210412211188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822405274,"filename":"image_10022025_10_59_28_9746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a79119472d880ddf51b0b90e97eca8b8.jpg","text":"TemporaryFile(/tmp/multipartBody5996281962153992263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822405274,"filename":"image_10022025_10_59_18_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0469703368bfba6ef1a6a004d23c2ffc.jpg","text":"TemporaryFile(/tmp/multipartBody2071580176163047441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822405274,"filename":"image_10022025_10_59_59_9877.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b52404f4b08adaac584c7ee53bf7631.jpg","text":"TemporaryFile(/tmp/multipartBody1528949784467566481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822405274,"filename":"image_10022025_10_59_09_10701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07bead618b6dee4249658368b5b687ad.jpg","text":"TemporaryFile(/tmp/multipartBody4962246630804840766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822405274,"filename":"image_10022025_10_59_49_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19d49a08a506768ba6df07ceb3ef370e.jpg","text":"TemporaryFile(/tmp/multipartBody7265639025417384047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822405274,"filename":"image_10022025_10_59_39_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338216995","file1":"1338216992","file0":"1338216990","file4":"1338216999","file5":"1338217002","file3":"1338216997"},"map_files_photo_id_array":[{"photo_id":"1338217002","filename":"file5"},{"photo_id":"1338216995","filename":"file2"},{"photo_id":"1338216999","filename":"file4"},{"photo_id":"1338216992","filename":"file1"},{"photo_id":"1338216990","filename":"file0"},{"photo_id":"1338216997","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338216997":["hashtag1","hashtag2"]},{"1338216999":["hashtag1","hashtag2"]},{"1338216990":["hashtag1","hashtag2"]},{"1338217002":["hashtag1","hashtag2"]},{"1338216992":["hashtag1","hashtag2"]},{"1338216995":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338216997, 1338216999, 1338216990, 1338217002, 1338216992, 1338216995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.967695474624634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:00:02.431090
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_58_9753.jpg', 0), ('/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_48_9709.jpg', 0), ('/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_39_9793.jpg', 0), ('/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_29_10725.jpg', 0), ('/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_18_9732.jpg', 0), ('/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_08_9766.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_58_9753.jpg', '/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_48_9709.jpg', '/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_39_9793.jpg', '/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_29_10725.jpg', '/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_18_9732.jpg', '/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_08_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_58_9753.jpg
/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_48_9709.jpg
/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_39_9793.jpg
/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_29_10725.jpg
/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_18_9732.jpg
/home/nano/Desktop/images/10022025/10/58/image_10022025_10_58_08_9766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338217019","1338217016","1338217033","1338217024","1338217018","1338217017"],"photo_ids_order":["1338217016","1338217017","1338217018","1338217019","1338217024","1338217033"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2729a01ef29a9920ac963567cdda277.jpg","text":"TemporaryFile(/tmp/multipartBody3941100505605054862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822464820,"filename":"image_10022025_10_58_29_10725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ddd91a01317f19d34fe2a19558be3834.jpg","text":"TemporaryFile(/tmp/multipartBody6322065388040989368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822464820,"filename":"image_10022025_10_58_58_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78feee2adc69d11632101f4d7dd9823f.jpg","text":"TemporaryFile(/tmp/multipartBody7140588035314581716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822464820,"filename":"image_10022025_10_58_08_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c80ef4ff2ba9d13e889a58445597c4d.jpg","text":"TemporaryFile(/tmp/multipartBody6817705962021053958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822464820,"filename":"image_10022025_10_58_18_9732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/704fc541380a1e020e7c6f714a090948.jpg","text":"TemporaryFile(/tmp/multipartBody1409106950013686761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822464820,"filename":"image_10022025_10_58_39_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/484bf76b4f10e75cf5c33acc416b8bee.jpg","text":"TemporaryFile(/tmp/multipartBody8247276722772183501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822464820,"filename":"image_10022025_10_58_48_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338217018","file1":"1338217017","file0":"1338217016","file4":"1338217024","file5":"1338217033","file3":"1338217019"},"map_files_photo_id_array":[{"photo_id":"1338217033","filename":"file5"},{"photo_id":"1338217018","filename":"file2"},{"photo_id":"1338217024","filename":"file4"},{"photo_id":"1338217017","filename":"file1"},{"photo_id":"1338217016","filename":"file0"},{"photo_id":"1338217019","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338217019":["hashtag1","hashtag2"]},{"1338217016":["hashtag1","hashtag2"]},{"1338217033":["hashtag1","hashtag2"]},{"1338217024":["hashtag1","hashtag2"]},{"1338217018":["hashtag1","hashtag2"]},{"1338217017":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338217019, 1338217016, 1338217033, 1338217024, 1338217018, 1338217017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35000038146973 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:01:02.547748
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_58_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_49_10733.jpg', 0), ('/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_38_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_28_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_19_9731.jpg', 0), ('/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_09_10703.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_58_9718.jpg', '/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_49_10733.jpg', '/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_38_9719.jpg', '/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_28_9701.jpg', '/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_19_9731.jpg', '/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_09_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_58_9718.jpg
/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_49_10733.jpg
/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_38_9719.jpg
/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_28_9701.jpg
/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_19_9731.jpg
/home/nano/Desktop/images/10022025/10/57/image_10022025_10_57_09_10703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338217276","1338217309","1338217287","1338217284","1338217376","1338217283"],"photo_ids_order":["1338217276","1338217283","1338217284","1338217287","1338217309","1338217376"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bbe21b50e1f5c4457978d7ee66bac22e.jpg","text":"TemporaryFile(/tmp/multipartBody4781161535863842532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822524949,"filename":"image_10022025_10_57_58_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/452e1fb05d32785a65ace550a3454682.jpg","text":"TemporaryFile(/tmp/multipartBody4938981476637765962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822524949,"filename":"image_10022025_10_57_19_9731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/749d2d6b270f9e8be3fea0cca88fec1d.jpg","text":"TemporaryFile(/tmp/multipartBody8598691976283295274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822524949,"filename":"image_10022025_10_57_28_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d1856dcc3eb069098fe969f765a36b8.jpg","text":"TemporaryFile(/tmp/multipartBody7361943861111096190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822524949,"filename":"image_10022025_10_57_38_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1f4249449515ee1c0f915af9707b5191.jpg","text":"TemporaryFile(/tmp/multipartBody4042239671417201429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822524949,"filename":"image_10022025_10_57_09_10703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82b533a7d72948e093b0028c69d841bf.jpg","text":"TemporaryFile(/tmp/multipartBody8034522994417529756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822524949,"filename":"image_10022025_10_57_49_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338217284","file1":"1338217283","file0":"1338217276","file4":"1338217309","file5":"1338217376","file3":"1338217287"},"map_files_photo_id_array":[{"photo_id":"1338217376","filename":"file5"},{"photo_id":"1338217284","filename":"file2"},{"photo_id":"1338217309","filename":"file4"},{"photo_id":"1338217283","filename":"file1"},{"photo_id":"1338217276","filename":"file0"},{"photo_id":"1338217287","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338217276":["hashtag1","hashtag2"]},{"1338217309":["hashtag1","hashtag2"]},{"1338217287":["hashtag1","hashtag2"]},{"1338217284":["hashtag1","hashtag2"]},{"1338217376":["hashtag1","hashtag2"]},{"1338217283":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338217276, 1338217309, 1338217287, 1338217284, 1338217376, 1338217283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72126245498657 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:02:02.758147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_58_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_48_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_39_10736.jpg', 0), ('/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_28_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_18_9729.jpg', 0), ('/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_09_9708.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_58_9706.jpg', '/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_48_9721.jpg', '/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_39_10736.jpg', '/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_28_9721.jpg', '/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_18_9729.jpg', '/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_09_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_58_9706.jpg
/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_48_9721.jpg
/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_39_10736.jpg
/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_28_9721.jpg
/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_18_9729.jpg
/home/nano/Desktop/images/10022025/10/56/image_10022025_10_56_09_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338217436","1338217432","1338217440","1338217434","1338217437","1338217433"],"photo_ids_order":["1338217432","1338217433","1338217434","1338217436","1338217437","1338217440"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b39a2734b4fe8139b65720c71f618ba.jpg","text":"TemporaryFile(/tmp/multipartBody8913067896150160002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822584879,"filename":"image_10022025_10_56_28_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f08ab14ae27ab70fad90c11e3eac2352.jpg","text":"TemporaryFile(/tmp/multipartBody4889708270724433839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822584879,"filename":"image_10022025_10_56_58_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f25837fa1c4e796f3c9b74a39208637.jpg","text":"TemporaryFile(/tmp/multipartBody7175250467693179924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822584879,"filename":"image_10022025_10_56_09_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8365b0f13681e48e5161193f8ba3a9d2.jpg","text":"TemporaryFile(/tmp/multipartBody4579981811623792918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822584879,"filename":"image_10022025_10_56_39_10736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca4e1c0647b83c78e5da3159e88ef75a.jpg","text":"TemporaryFile(/tmp/multipartBody1669954968760941448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822584879,"filename":"image_10022025_10_56_18_9729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/638da7a0d4ed47ec6ec448726e07c786.jpg","text":"TemporaryFile(/tmp/multipartBody5737967471920557780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822584879,"filename":"image_10022025_10_56_48_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338217434","file1":"1338217433","file0":"1338217432","file4":"1338217437","file5":"1338217440","file3":"1338217436"},"map_files_photo_id_array":[{"photo_id":"1338217440","filename":"file5"},{"photo_id":"1338217434","filename":"file2"},{"photo_id":"1338217437","filename":"file4"},{"photo_id":"1338217433","filename":"file1"},{"photo_id":"1338217432","filename":"file0"},{"photo_id":"1338217436","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338217436":["hashtag1","hashtag2"]},{"1338217432":["hashtag1","hashtag2"]},{"1338217440":["hashtag1","hashtag2"]},{"1338217434":["hashtag1","hashtag2"]},{"1338217437":["hashtag1","hashtag2"]},{"1338217433":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338217436, 1338217432, 1338217440, 1338217434, 1338217437, 1338217433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58324980735779 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:03:02.852066
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_59_10772.jpg', 0), ('/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_48_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_38_9728.jpg', 0), ('/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_29_10698.jpg', 0), ('/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_18_9720.jpg', 0), ('/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_08_9695.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_59_10772.jpg', '/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_48_9692.jpg', '/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_38_9728.jpg', '/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_29_10698.jpg', '/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_18_9720.jpg', '/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_08_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_59_10772.jpg
/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_48_9692.jpg
/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_38_9728.jpg
/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_29_10698.jpg
/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_18_9720.jpg
/home/nano/Desktop/images/10022025/10/55/image_10022025_10_55_08_9695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338217474","1338217473","1338217476","1338217475","1338217478","1338217472"],"photo_ids_order":["1338217472","1338217473","1338217474","1338217475","1338217476","1338217478"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e7bfa1b2265ccd85fd05846262f3a833.jpg","text":"TemporaryFile(/tmp/multipartBody1541361684182733938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822645566,"filename":"image_10022025_10_55_38_9728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce3e708644dba72510b4cd13a091e6e6.jpg","text":"TemporaryFile(/tmp/multipartBody5705754442584195645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822645566,"filename":"image_10022025_10_55_48_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d8f91fddb0a0b113dcf65b740f836b3.jpg","text":"TemporaryFile(/tmp/multipartBody6956310477577682419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822645566,"filename":"image_10022025_10_55_18_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92a26e1509db7a9378b68c2d5aeb2cf4.jpg","text":"TemporaryFile(/tmp/multipartBody3438601443042176465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822645566,"filename":"image_10022025_10_55_29_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a9b17dce7dc03447ef8edf6e0acab26.jpg","text":"TemporaryFile(/tmp/multipartBody2926297294641585202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822645566,"filename":"image_10022025_10_55_08_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa4a4bd14cf21d98057dc6168b4efc09.jpg","text":"TemporaryFile(/tmp/multipartBody5872092100470433869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822645566,"filename":"image_10022025_10_55_59_10772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338217474","file1":"1338217473","file0":"1338217472","file4":"1338217476","file5":"1338217478","file3":"1338217475"},"map_files_photo_id_array":[{"photo_id":"1338217478","filename":"file5"},{"photo_id":"1338217474","filename":"file2"},{"photo_id":"1338217476","filename":"file4"},{"photo_id":"1338217473","filename":"file1"},{"photo_id":"1338217472","filename":"file0"},{"photo_id":"1338217475","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338217474":["hashtag1","hashtag2"]},{"1338217473":["hashtag1","hashtag2"]},{"1338217476":["hashtag1","hashtag2"]},{"1338217475":["hashtag1","hashtag2"]},{"1338217478":["hashtag1","hashtag2"]},{"1338217472":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338217474, 1338217473, 1338217476, 1338217475, 1338217478, 1338217472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08442687988281 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:04:03.369062
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_59_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_49_10711.jpg', 0), ('/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_38_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_28_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_19_10716.jpg', 0), ('/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_08_9724.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_59_9701.jpg', '/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_49_10711.jpg', '/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_38_9714.jpg', '/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_28_9698.jpg', '/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_19_10716.jpg', '/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_08_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_59_9701.jpg
/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_49_10711.jpg
/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_38_9714.jpg
/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_28_9698.jpg
/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_19_10716.jpg
/home/nano/Desktop/images/10022025/10/54/image_10022025_10_54_08_9724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338217514","1338217513","1338217516","1338217515","1338217518","1338217512"],"photo_ids_order":["1338217512","1338217513","1338217514","1338217515","1338217516","1338217518"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1cbb0e42253b39342fa32dd0663c6a35.jpg","text":"TemporaryFile(/tmp/multipartBody2301314246266299597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822706396,"filename":"image_10022025_10_54_38_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03c6b59322ab7df7d53cc675ab26d7f5.jpg","text":"TemporaryFile(/tmp/multipartBody3749440391023533227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822706396,"filename":"image_10022025_10_54_49_10711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1609fe48a1eb42ef16800d3fd4583bf7.jpg","text":"TemporaryFile(/tmp/multipartBody3178431068977090962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822706396,"filename":"image_10022025_10_54_19_10716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/47114e63af2a93226b15ae0a6cda6f12.jpg","text":"TemporaryFile(/tmp/multipartBody1689528672837541140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822706396,"filename":"image_10022025_10_54_28_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90f68e08e74637ee0983c604b72586d7.jpg","text":"TemporaryFile(/tmp/multipartBody7414011868585629279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822706396,"filename":"image_10022025_10_54_08_9724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9816035f1f8df5cd66a31c016f0201e7.jpg","text":"TemporaryFile(/tmp/multipartBody7539989613725742689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822706396,"filename":"image_10022025_10_54_59_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338217514","file1":"1338217513","file0":"1338217512","file4":"1338217516","file5":"1338217518","file3":"1338217515"},"map_files_photo_id_array":[{"photo_id":"1338217518","filename":"file5"},{"photo_id":"1338217514","filename":"file2"},{"photo_id":"1338217516","filename":"file4"},{"photo_id":"1338217513","filename":"file1"},{"photo_id":"1338217512","filename":"file0"},{"photo_id":"1338217515","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338217514":["hashtag1","hashtag2"]},{"1338217513":["hashtag1","hashtag2"]},{"1338217516":["hashtag1","hashtag2"]},{"1338217515":["hashtag1","hashtag2"]},{"1338217518":["hashtag1","hashtag2"]},{"1338217512":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338217514, 1338217513, 1338217516, 1338217515, 1338217518, 1338217512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99894046783447 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:05:02.326155
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_58_9712.jpg', 0), ('/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_49_9717.jpg', 0), ('/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_39_10740.jpg', 0), ('/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_28_9704.jpg', 0), ('/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_18_9731.jpg', 0), ('/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_09_10732.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_58_9712.jpg', '/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_49_9717.jpg', '/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_39_10740.jpg', '/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_28_9704.jpg', '/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_18_9731.jpg', '/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_09_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_58_9712.jpg
/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_49_9717.jpg
/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_39_10740.jpg
/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_28_9704.jpg
/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_18_9731.jpg
/home/nano/Desktop/images/10022025/10/53/image_10022025_10_53_09_10732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338217529","1338217531","1338217534","1338217528","1338217530","1338217532"],"photo_ids_order":["1338217528","1338217529","1338217530","1338217531","1338217532","1338217534"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39150f4dd8693f8247e29ca4199524a8.jpg","text":"TemporaryFile(/tmp/multipartBody2588815401873724837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822764793,"filename":"image_10022025_10_53_49_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a13b72a6766db77250666461879c49f.jpg","text":"TemporaryFile(/tmp/multipartBody6858010295912144854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822764793,"filename":"image_10022025_10_53_28_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e66a7f3510967fad941977c5082b8c48.jpg","text":"TemporaryFile(/tmp/multipartBody5331754376546531372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822764793,"filename":"image_10022025_10_53_09_10732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f03f1e60896830e7e1a2ff898867fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3694212801463963584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822764793,"filename":"image_10022025_10_53_58_9712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/53e46a234ef3b37e87fec5c262842bf8.jpg","text":"TemporaryFile(/tmp/multipartBody6358209630903904154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822764793,"filename":"image_10022025_10_53_39_10740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/85a08ee79ab0c193d0949442722f0532.jpg","text":"TemporaryFile(/tmp/multipartBody6257734578371668120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822764793,"filename":"image_10022025_10_53_18_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338217530","file1":"1338217529","file0":"1338217528","file4":"1338217532","file5":"1338217534","file3":"1338217531"},"map_files_photo_id_array":[{"photo_id":"1338217534","filename":"file5"},{"photo_id":"1338217530","filename":"file2"},{"photo_id":"1338217532","filename":"file4"},{"photo_id":"1338217529","filename":"file1"},{"photo_id":"1338217528","filename":"file0"},{"photo_id":"1338217531","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338217529":["hashtag1","hashtag2"]},{"1338217531":["hashtag1","hashtag2"]},{"1338217534":["hashtag1","hashtag2"]},{"1338217528":["hashtag1","hashtag2"]},{"1338217530":["hashtag1","hashtag2"]},{"1338217532":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338217529, 1338217531, 1338217534, 1338217528, 1338217530, 1338217532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.809051275253296 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:06:02.310124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_58_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_48_9738.jpg', 0), ('/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_38_9717.jpg', 0), ('/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_29_10716.jpg', 0), ('/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_18_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_08_9708.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_58_9726.jpg', '/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_48_9738.jpg', '/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_38_9717.jpg', '/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_29_10716.jpg', '/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_18_9713.jpg', '/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_08_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_58_9726.jpg
/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_48_9738.jpg
/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_38_9717.jpg
/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_29_10716.jpg
/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_18_9713.jpg
/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_08_9708.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.420361042022705 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:06:32.015650
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_58_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_48_9738.jpg', 0), ('/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_38_9717.jpg', 0), ('/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_29_10716.jpg', 0), ('/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_18_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_08_9708.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_58_9726.jpg', '/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_48_9738.jpg', '/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_38_9717.jpg', '/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_29_10716.jpg', '/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_18_9713.jpg', '/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_08_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_58_9726.jpg
/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_48_9738.jpg
/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_38_9717.jpg
/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_29_10716.jpg
/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_18_9713.jpg
/home/nano/Desktop/images/10022025/10/52/image_10022025_10_52_08_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338218874","1338218877","1338218712","1338218876","1338218873","1338218875"],"photo_ids_order":["1338218712","1338218873","1338218874","1338218875","1338218876","1338218877"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/812ce66efbae28c043249f4340977c81.jpg","text":"TemporaryFile(/tmp/multipartBody8492362907377193102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822854416,"filename":"image_10022025_10_52_38_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad5f1328d8c36453d941d5b3663358fe.jpg","text":"TemporaryFile(/tmp/multipartBody4141891705498400612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822854416,"filename":"image_10022025_10_52_08_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/083a87243377e4e5201b276c00302b7d.jpg","text":"TemporaryFile(/tmp/multipartBody3813211909534498171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822854416,"filename":"image_10022025_10_52_58_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a70a183c2cf0167e46db9a77f43580a9.jpg","text":"TemporaryFile(/tmp/multipartBody7823034128568036865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822854416,"filename":"image_10022025_10_52_18_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/782fd8f5734fb1826f4393c56fa4fd91.jpg","text":"TemporaryFile(/tmp/multipartBody2050225790435014382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822854416,"filename":"image_10022025_10_52_48_9738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12b3c307314725a4ac10d3e9e7ff1a3b.jpg","text":"TemporaryFile(/tmp/multipartBody7898283951941653830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822854416,"filename":"image_10022025_10_52_29_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338218874","file1":"1338218873","file0":"1338218712","file4":"1338218876","file5":"1338218877","file3":"1338218875"},"map_files_photo_id_array":[{"photo_id":"1338218877","filename":"file5"},{"photo_id":"1338218874","filename":"file2"},{"photo_id":"1338218876","filename":"file4"},{"photo_id":"1338218873","filename":"file1"},{"photo_id":"1338218712","filename":"file0"},{"photo_id":"1338218875","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338218874":["hashtag1","hashtag2"]},{"1338218877":["hashtag1","hashtag2"]},{"1338218712":["hashtag1","hashtag2"]},{"1338218876":["hashtag1","hashtag2"]},{"1338218873":["hashtag1","hashtag2"]},{"1338218875":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338218874, 1338218877, 1338218712, 1338218876, 1338218873, 1338218875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83893704414368 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:07:32.157978
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_59_9717.jpg', 0), ('/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_49_10743.jpg', 0), ('/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_38_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_28_9745.jpg', 0), ('/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_19_10699.jpg', 0), ('/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_08_9730.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_59_9717.jpg', '/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_49_10743.jpg', '/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_38_9719.jpg', '/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_28_9745.jpg', '/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_19_10699.jpg', '/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_08_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_59_9717.jpg
/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_49_10743.jpg
/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_38_9719.jpg
/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_28_9745.jpg
/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_19_10699.jpg
/home/nano/Desktop/images/10022025/10/51/image_10022025_10_51_08_9730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338218886","1338218889","1338218891","1338218885","1338218888","1338218890"],"photo_ids_order":["1338218885","1338218886","1338218888","1338218889","1338218890","1338218891"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8039abe9af86531c475d6eebe70e60a.jpg","text":"TemporaryFile(/tmp/multipartBody295479354222116131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822914643,"filename":"image_10022025_10_51_49_10743.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e34970fc88b255ee0ef9773c0dae5410.jpg","text":"TemporaryFile(/tmp/multipartBody1520019075340065061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822914643,"filename":"image_10022025_10_51_28_9745.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d5dc4b8568b88fa957dd206b734b043.jpg","text":"TemporaryFile(/tmp/multipartBody1029195402125113557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822914643,"filename":"image_10022025_10_51_08_9730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7ec50f627c3f21f043360994f4bd7e4.jpg","text":"TemporaryFile(/tmp/multipartBody6376977310573084764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822914643,"filename":"image_10022025_10_51_59_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eef0a7f1fe616aebde4f446fafb88d2b.jpg","text":"TemporaryFile(/tmp/multipartBody7613863256295577139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822914643,"filename":"image_10022025_10_51_38_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f418001a4ef3bd2c2489a98f30ecd64f.jpg","text":"TemporaryFile(/tmp/multipartBody2754106314347574276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822914643,"filename":"image_10022025_10_51_19_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338218888","file1":"1338218886","file0":"1338218885","file4":"1338218890","file5":"1338218891","file3":"1338218889"},"map_files_photo_id_array":[{"photo_id":"1338218891","filename":"file5"},{"photo_id":"1338218888","filename":"file2"},{"photo_id":"1338218890","filename":"file4"},{"photo_id":"1338218886","filename":"file1"},{"photo_id":"1338218885","filename":"file0"},{"photo_id":"1338218889","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338218886":["hashtag1","hashtag2"]},{"1338218889":["hashtag1","hashtag2"]},{"1338218891":["hashtag1","hashtag2"]},{"1338218885":["hashtag1","hashtag2"]},{"1338218888":["hashtag1","hashtag2"]},{"1338218890":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338218886, 1338218889, 1338218891, 1338218885, 1338218888, 1338218890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26001572608948 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:08:32.304147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_58_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_49_9734.jpg', 0), ('/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_39_10713.jpg', 0), ('/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_28_9724.jpg', 0), ('/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_18_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_09_10743.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_58_9713.jpg', '/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_49_9734.jpg', '/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_39_10713.jpg', '/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_28_9724.jpg', '/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_18_9716.jpg', '/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_09_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_58_9713.jpg
/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_49_9734.jpg
/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_39_10713.jpg
/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_28_9724.jpg
/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_18_9716.jpg
/home/nano/Desktop/images/10022025/10/50/image_10022025_10_50_09_10743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338218908","1338218910","1338218904","1338218907","1338218909","1338218906"],"photo_ids_order":["1338218904","1338218906","1338218907","1338218908","1338218909","1338218910"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3874d556cab87c8db810fe72a2542855.jpg","text":"TemporaryFile(/tmp/multipartBody6710646257709852622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822974815,"filename":"image_10022025_10_50_28_9724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ede86e99a5e5cf117f1f55d0b11aabe0.jpg","text":"TemporaryFile(/tmp/multipartBody5832285089220825014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822974815,"filename":"image_10022025_10_50_09_10743.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4250db49b370fa05b404d9554fba3109.jpg","text":"TemporaryFile(/tmp/multipartBody7579212669647382976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822974815,"filename":"image_10022025_10_50_58_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d026fcb22c7cbc18a7f2e677e624c0e.jpg","text":"TemporaryFile(/tmp/multipartBody165021756041861491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822974815,"filename":"image_10022025_10_50_39_10713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f8083672a47a07764459eb10bf0da28.jpg","text":"TemporaryFile(/tmp/multipartBody5797472214123683229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822974815,"filename":"image_10022025_10_50_18_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3a112a9541d7d860a1462e111a3e6fd.jpg","text":"TemporaryFile(/tmp/multipartBody5144310504032371054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739822974815,"filename":"image_10022025_10_50_49_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338218907","file1":"1338218906","file0":"1338218904","file4":"1338218909","file5":"1338218910","file3":"1338218908"},"map_files_photo_id_array":[{"photo_id":"1338218910","filename":"file5"},{"photo_id":"1338218907","filename":"file2"},{"photo_id":"1338218909","filename":"file4"},{"photo_id":"1338218906","filename":"file1"},{"photo_id":"1338218904","filename":"file0"},{"photo_id":"1338218908","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338218908":["hashtag1","hashtag2"]},{"1338218910":["hashtag1","hashtag2"]},{"1338218904":["hashtag1","hashtag2"]},{"1338218907":["hashtag1","hashtag2"]},{"1338218909":["hashtag1","hashtag2"]},{"1338218906":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338218908, 1338218910, 1338218904, 1338218907, 1338218909, 1338218906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.77857494354248 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:09:32.474009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_58_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_48_9732.jpg', 0), ('/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_38_9689.jpg', 0), ('/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_29_10793.jpg', 0), ('/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_18_9724.jpg', 0), ('/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_08_9761.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_58_9682.jpg', '/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_48_9732.jpg', '/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_38_9689.jpg', '/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_29_10793.jpg', '/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_18_9724.jpg', '/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_08_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_58_9682.jpg
/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_48_9732.jpg
/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_38_9689.jpg
/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_29_10793.jpg
/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_18_9724.jpg
/home/nano/Desktop/images/10022025/10/49/image_10022025_10_49_08_9761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338218917","1338218920","1338218919","1338218921","1338218915","1338218918"],"photo_ids_order":["1338218915","1338218917","1338218918","1338218919","1338218920","1338218921"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8506dfc507d1526d5428491498fc31f3.jpg","text":"TemporaryFile(/tmp/multipartBody9054487663603578665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823034644,"filename":"image_10022025_10_49_48_9732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ecbd10881b8052b7bf65699f4dcdf70b.jpg","text":"TemporaryFile(/tmp/multipartBody7050980832621190450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823034644,"filename":"image_10022025_10_49_18_9724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb6309d0041b723d8a1e093dff442d42.jpg","text":"TemporaryFile(/tmp/multipartBody6903457719101355098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823034644,"filename":"image_10022025_10_49_29_10793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/771fc5fe5f4b6a3e62c8a494356e59b8.jpg","text":"TemporaryFile(/tmp/multipartBody4622650290142132876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823034644,"filename":"image_10022025_10_49_08_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec03b594dea1bd85fe1f7dd54d8bf4b4.jpg","text":"TemporaryFile(/tmp/multipartBody7891847120048948817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823034644,"filename":"image_10022025_10_49_58_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/06f9b4d88001ba978151769430a58a6e.jpg","text":"TemporaryFile(/tmp/multipartBody1718014826538042076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823034644,"filename":"image_10022025_10_49_38_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338218918","file1":"1338218917","file0":"1338218915","file4":"1338218920","file5":"1338218921","file3":"1338218919"},"map_files_photo_id_array":[{"photo_id":"1338218921","filename":"file5"},{"photo_id":"1338218918","filename":"file2"},{"photo_id":"1338218920","filename":"file4"},{"photo_id":"1338218917","filename":"file1"},{"photo_id":"1338218915","filename":"file0"},{"photo_id":"1338218919","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338218917":["hashtag1","hashtag2"]},{"1338218920":["hashtag1","hashtag2"]},{"1338218919":["hashtag1","hashtag2"]},{"1338218921":["hashtag1","hashtag2"]},{"1338218915":["hashtag1","hashtag2"]},{"1338218918":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338218917, 1338218920, 1338218919, 1338218921, 1338218915, 1338218918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.577597856521606 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:10:32.609082
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_59_9783.jpg', 0), ('/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_49_10735.jpg', 0), ('/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_38_9659.jpg', 0), ('/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_28_9776.jpg', 0), ('/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_19_9770.jpg', 0), ('/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_09_10749.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_59_9783.jpg', '/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_49_10735.jpg', '/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_38_9659.jpg', '/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_28_9776.jpg', '/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_19_9770.jpg', '/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_09_10749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_59_9783.jpg
/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_49_10735.jpg
/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_38_9659.jpg
/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_28_9776.jpg
/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_19_9770.jpg
/home/nano/Desktop/images/10022025/10/48/image_10022025_10_48_09_10749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338218932","1338218926","1338218929","1338218934","1338218930","1338218933"],"photo_ids_order":["1338218926","1338218929","1338218930","1338218932","1338218933","1338218934"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08786944f112941b59d07024d529307a.jpg","text":"TemporaryFile(/tmp/multipartBody843057485260665698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823095446,"filename":"image_10022025_10_48_28_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2e725eb5b756f97b1e8ed417d9326fc.jpg","text":"TemporaryFile(/tmp/multipartBody6183738465503558213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823095446,"filename":"image_10022025_10_48_59_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bf9e16c6427f7d792054952c64f62504.jpg","text":"TemporaryFile(/tmp/multipartBody7632151255844238390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823095446,"filename":"image_10022025_10_48_49_10735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d80bafd87aaa8db7b7e430abd7543dd5.jpg","text":"TemporaryFile(/tmp/multipartBody2689033713758628628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823095446,"filename":"image_10022025_10_48_09_10749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/52b8b32aed08287e6d1e8fd43bc3046c.jpg","text":"TemporaryFile(/tmp/multipartBody4676742320061450335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823095446,"filename":"image_10022025_10_48_38_9659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1a845f9b7f8f562d6bd96ea643ff58b.jpg","text":"TemporaryFile(/tmp/multipartBody1017406619306765113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823095446,"filename":"image_10022025_10_48_19_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338218930","file1":"1338218929","file0":"1338218926","file4":"1338218933","file5":"1338218934","file3":"1338218932"},"map_files_photo_id_array":[{"photo_id":"1338218934","filename":"file5"},{"photo_id":"1338218930","filename":"file2"},{"photo_id":"1338218933","filename":"file4"},{"photo_id":"1338218929","filename":"file1"},{"photo_id":"1338218926","filename":"file0"},{"photo_id":"1338218932","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338218932":["hashtag1","hashtag2"]},{"1338218926":["hashtag1","hashtag2"]},{"1338218929":["hashtag1","hashtag2"]},{"1338218934":["hashtag1","hashtag2"]},{"1338218930":["hashtag1","hashtag2"]},{"1338218933":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338218932, 1338218926, 1338218929, 1338218934, 1338218930, 1338218933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24784708023071 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:11:32.769500
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_58_9717.jpg', 0), ('/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_48_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_39_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_29_10834.jpg', 0), ('/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_18_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_08_9815.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_58_9717.jpg', '/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_48_9706.jpg', '/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_39_9825.jpg', '/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_29_10834.jpg', '/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_18_9824.jpg', '/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_08_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_58_9717.jpg
/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_48_9706.jpg
/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_39_9825.jpg
/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_29_10834.jpg
/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_18_9824.jpg
/home/nano/Desktop/images/10022025/10/47/image_10022025_10_47_08_9815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338218941","1338218950","1338218947","1338218949","1338218943","1338218945"],"photo_ids_order":["1338218941","1338218943","1338218945","1338218947","1338218949","1338218950"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98d9c5148af505022717e986e2e5dbf4.jpg","text":"TemporaryFile(/tmp/multipartBody6409742000095992217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823156300,"filename":"image_10022025_10_47_58_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f5e50f4f7bdb96e65272010e653db16.jpg","text":"TemporaryFile(/tmp/multipartBody1741041068439897337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823156300,"filename":"image_10022025_10_47_08_9815.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a9f87c82f843986c9181c1370c257296.jpg","text":"TemporaryFile(/tmp/multipartBody7353438249802781162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823156300,"filename":"image_10022025_10_47_29_10834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e621797f0d4f038ad1e7a84ad4a3f3ee.jpg","text":"TemporaryFile(/tmp/multipartBody4684727510809749926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823156300,"filename":"image_10022025_10_47_18_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/305101ecd3b61104e3901602a97c8910.jpg","text":"TemporaryFile(/tmp/multipartBody2676603944767259920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823156300,"filename":"image_10022025_10_47_48_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/25c1664560b261d527680a42f6ad95ff.jpg","text":"TemporaryFile(/tmp/multipartBody3378073211339598606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823156300,"filename":"image_10022025_10_47_39_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338218945","file1":"1338218943","file0":"1338218941","file4":"1338218949","file5":"1338218950","file3":"1338218947"},"map_files_photo_id_array":[{"photo_id":"1338218950","filename":"file5"},{"photo_id":"1338218945","filename":"file2"},{"photo_id":"1338218949","filename":"file4"},{"photo_id":"1338218943","filename":"file1"},{"photo_id":"1338218941","filename":"file0"},{"photo_id":"1338218947","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338218941":["hashtag1","hashtag2"]},{"1338218950":["hashtag1","hashtag2"]},{"1338218947":["hashtag1","hashtag2"]},{"1338218949":["hashtag1","hashtag2"]},{"1338218943":["hashtag1","hashtag2"]},{"1338218945":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338218941, 1338218950, 1338218947, 1338218949, 1338218943, 1338218945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.731825828552246 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:12:31.911447
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_58_9828.jpg', 0), ('/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_48_9842.jpg', 0), ('/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_39_9826.jpg', 0), ('/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_29_10834.jpg', 0), ('/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_18_9827.jpg', 0), ('/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_08_9821.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_58_9828.jpg', '/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_48_9842.jpg', '/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_39_9826.jpg', '/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_29_10834.jpg', '/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_18_9827.jpg', '/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_08_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_58_9828.jpg
/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_48_9842.jpg
/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_39_9826.jpg
/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_29_10834.jpg
/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_18_9827.jpg
/home/nano/Desktop/images/10022025/10/46/image_10022025_10_46_08_9821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338219031","1338218962","1338218956","1338218959","1338218964","1338219350"],"photo_ids_order":["1338218956","1338218959","1338218962","1338218964","1338219031","1338219350"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8ddb625f2cd060571bceed99b427def.jpg","text":"TemporaryFile(/tmp/multipartBody1204405968233265607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823215675,"filename":"image_10022025_10_46_18_9827.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/322a46ee62457471b38c40a0e9c7cd16.jpg","text":"TemporaryFile(/tmp/multipartBody5794708128684793692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823215675,"filename":"image_10022025_10_46_39_9826.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6ebc274f3f10d96b2ef1350020fcd36.jpg","text":"TemporaryFile(/tmp/multipartBody4739607625752174570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823215675,"filename":"image_10022025_10_46_58_9828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81d29562632dcdd533b8f8ca93b4f693.jpg","text":"TemporaryFile(/tmp/multipartBody4184932827134061596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823215675,"filename":"image_10022025_10_46_48_9842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6d550724dd0339adf20335447b4973af.jpg","text":"TemporaryFile(/tmp/multipartBody2823121874761467291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823215675,"filename":"image_10022025_10_46_29_10834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/18055e30eb668a308f0cbee9b68ad1aa.jpg","text":"TemporaryFile(/tmp/multipartBody2587387947497268223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823215675,"filename":"image_10022025_10_46_08_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338218962","file1":"1338218959","file0":"1338218956","file4":"1338219031","file5":"1338219350","file3":"1338218964"},"map_files_photo_id_array":[{"photo_id":"1338219350","filename":"file5"},{"photo_id":"1338218962","filename":"file2"},{"photo_id":"1338219031","filename":"file4"},{"photo_id":"1338218959","filename":"file1"},{"photo_id":"1338218956","filename":"file0"},{"photo_id":"1338218964","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338219031":["hashtag1","hashtag2"]},{"1338218962":["hashtag1","hashtag2"]},{"1338218956":["hashtag1","hashtag2"]},{"1338218959":["hashtag1","hashtag2"]},{"1338218964":["hashtag1","hashtag2"]},{"1338219350":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338219031, 1338218962, 1338218956, 1338218959, 1338218964, 1338219350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.393123626708984 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:13:32.062469
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_58_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_49_9848.jpg', 0), ('/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_39_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_29_10835.jpg', 0), ('/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_18_9819.jpg', 0), ('/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_08_9867.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_58_9825.jpg', '/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_49_9848.jpg', '/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_39_9825.jpg', '/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_29_10835.jpg', '/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_18_9819.jpg', '/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_08_9867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_58_9825.jpg
/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_49_9848.jpg
/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_39_9825.jpg
/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_29_10835.jpg
/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_18_9819.jpg
/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_08_9867.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.727945566177368 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:14:02.801781
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_58_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_49_9848.jpg', 0), ('/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_39_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_29_10835.jpg', 0), ('/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_18_9819.jpg', 0), ('/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_08_9867.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_58_9825.jpg', '/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_49_9848.jpg', '/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_39_9825.jpg', '/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_29_10835.jpg', '/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_18_9819.jpg', '/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_08_9867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_58_9825.jpg
/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_49_9848.jpg
/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_39_9825.jpg
/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_29_10835.jpg
/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_18_9819.jpg
/home/nano/Desktop/images/10022025/10/45/image_10022025_10_45_08_9867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338219613","1338219607","1338219606","1338219497","1338219609","1338219608"],"photo_ids_order":["1338219497","1338219606","1338219607","1338219608","1338219609","1338219613"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6dab8ab20f0ce7a8cd38fbda04ee337e.jpg","text":"TemporaryFile(/tmp/multipartBody7886025841828065933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823305591,"filename":"image_10022025_10_45_08_9867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/505aeeae5da178daaa7cd010e5d28e85.jpg","text":"TemporaryFile(/tmp/multipartBody4642494409487570944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823305591,"filename":"image_10022025_10_45_39_9825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/10f44880c42a6194f0a33f4fce278f79.jpg","text":"TemporaryFile(/tmp/multipartBody3591090275455186829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823305591,"filename":"image_10022025_10_45_49_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a1ab0b0368dd7a5517c95f4db4a088a6.jpg","text":"TemporaryFile(/tmp/multipartBody3342183928595920800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823305591,"filename":"image_10022025_10_45_58_9825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1878417fa85d8680d24edbdcc48010ce.jpg","text":"TemporaryFile(/tmp/multipartBody4155536421466296017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823305591,"filename":"image_10022025_10_45_18_9819.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0019b571104fbd86300be56dc45e8607.jpg","text":"TemporaryFile(/tmp/multipartBody2900777441453150929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823305591,"filename":"image_10022025_10_45_29_10835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338219607","file1":"1338219606","file0":"1338219497","file4":"1338219609","file5":"1338219613","file3":"1338219608"},"map_files_photo_id_array":[{"photo_id":"1338219613","filename":"file5"},{"photo_id":"1338219607","filename":"file2"},{"photo_id":"1338219609","filename":"file4"},{"photo_id":"1338219606","filename":"file1"},{"photo_id":"1338219497","filename":"file0"},{"photo_id":"1338219608","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338219613":["hashtag1","hashtag2"]},{"1338219607":["hashtag1","hashtag2"]},{"1338219606":["hashtag1","hashtag2"]},{"1338219497":["hashtag1","hashtag2"]},{"1338219609":["hashtag1","hashtag2"]},{"1338219608":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338219613, 1338219607, 1338219606, 1338219497, 1338219609, 1338219608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27671504020691 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:15:02.880911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_58_9831.jpg', 0), ('/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_48_9829.jpg', 0), ('/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_39_9828.jpg', 0), ('/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_29_10840.jpg', 0), ('/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_18_9823.jpg', 0), ('/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_08_9826.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_58_9831.jpg', '/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_48_9829.jpg', '/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_39_9828.jpg', '/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_29_10840.jpg', '/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_18_9823.jpg', '/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_08_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_58_9831.jpg
/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_48_9829.jpg
/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_39_9828.jpg
/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_29_10840.jpg
/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_18_9823.jpg
/home/nano/Desktop/images/10022025/10/44/image_10022025_10_44_08_9826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338219832","1338219826","1338219828","1338219830","1338219824","1338219827"],"photo_ids_order":["1338219824","1338219826","1338219827","1338219828","1338219830","1338219832"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/995f6ef5cae434d7df9c4624b42a0256.jpg","text":"TemporaryFile(/tmp/multipartBody3930435387093429255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823365583,"filename":"image_10022025_10_44_08_9826.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e8441ecbefb7bdd2a9510d7d70fd819.jpg","text":"TemporaryFile(/tmp/multipartBody8352081169085871000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823365583,"filename":"image_10022025_10_44_48_9829.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/923039c023f4af05f7a2aa07780e97c9.jpg","text":"TemporaryFile(/tmp/multipartBody4541254396073890386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823365583,"filename":"image_10022025_10_44_29_10840.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b6c23a9e4bb2ed2085e2c73d4e30eca6.jpg","text":"TemporaryFile(/tmp/multipartBody621322946852621365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823365583,"filename":"image_10022025_10_44_18_9823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd3da3291aeba405282b8942537a484b.jpg","text":"TemporaryFile(/tmp/multipartBody1157787166714597150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823365583,"filename":"image_10022025_10_44_58_9831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1b92e2bf17853b373412fdd697fab29.jpg","text":"TemporaryFile(/tmp/multipartBody470441725276567224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823365583,"filename":"image_10022025_10_44_39_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338219827","file1":"1338219826","file0":"1338219824","file4":"1338219830","file5":"1338219832","file3":"1338219828"},"map_files_photo_id_array":[{"photo_id":"1338219832","filename":"file5"},{"photo_id":"1338219827","filename":"file2"},{"photo_id":"1338219830","filename":"file4"},{"photo_id":"1338219826","filename":"file1"},{"photo_id":"1338219824","filename":"file0"},{"photo_id":"1338219828","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338219832":["hashtag1","hashtag2"]},{"1338219826":["hashtag1","hashtag2"]},{"1338219828":["hashtag1","hashtag2"]},{"1338219830":["hashtag1","hashtag2"]},{"1338219824":["hashtag1","hashtag2"]},{"1338219827":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338219832, 1338219826, 1338219828, 1338219830, 1338219824, 1338219827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01284074783325 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:16:02.832802
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_58_9846.jpg', 0), ('/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_48_9829.jpg', 0), ('/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_39_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_29_10834.jpg', 0), ('/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_18_9850.jpg', 0), ('/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_08_9830.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_58_9846.jpg', '/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_48_9829.jpg', '/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_39_9824.jpg', '/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_29_10834.jpg', '/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_18_9850.jpg', '/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_08_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_58_9846.jpg
/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_48_9829.jpg
/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_39_9824.jpg
/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_29_10834.jpg
/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_18_9850.jpg
/home/nano/Desktop/images/10022025/10/43/image_10022025_10_43_08_9830.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338219852","1338219861","1338219857","1338219851","1338219853","1338219850"],"photo_ids_order":["1338219850","1338219851","1338219852","1338219853","1338219857","1338219861"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3062c03b58750e8ba573cd49e5f7c3d7.jpg","text":"TemporaryFile(/tmp/multipartBody3007595377976809843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823425126,"filename":"image_10022025_10_43_39_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ef36f93ab1825fb60b6bc3c33048aa0f.jpg","text":"TemporaryFile(/tmp/multipartBody554600496081950681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823425126,"filename":"image_10022025_10_43_08_9830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bbea0b1f759dc551fda2de1642f8faf7.jpg","text":"TemporaryFile(/tmp/multipartBody3620538433470812023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823425126,"filename":"image_10022025_10_43_18_9850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce742726753bbe67042b5c9cf95924eb.jpg","text":"TemporaryFile(/tmp/multipartBody6983864685719607910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823425126,"filename":"image_10022025_10_43_48_9829.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00cf5896c19bbf628cf587ec44bb402c.jpg","text":"TemporaryFile(/tmp/multipartBody1532676087211778568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823425126,"filename":"image_10022025_10_43_29_10834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/129a493fe2b4906206524daf68bf0161.jpg","text":"TemporaryFile(/tmp/multipartBody2032352921779730586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823425126,"filename":"image_10022025_10_43_58_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338219852","file1":"1338219851","file0":"1338219850","file4":"1338219857","file5":"1338219861","file3":"1338219853"},"map_files_photo_id_array":[{"photo_id":"1338219861","filename":"file5"},{"photo_id":"1338219852","filename":"file2"},{"photo_id":"1338219857","filename":"file4"},{"photo_id":"1338219851","filename":"file1"},{"photo_id":"1338219850","filename":"file0"},{"photo_id":"1338219853","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338219852":["hashtag1","hashtag2"]},{"1338219861":["hashtag1","hashtag2"]},{"1338219857":["hashtag1","hashtag2"]},{"1338219851":["hashtag1","hashtag2"]},{"1338219853":["hashtag1","hashtag2"]},{"1338219850":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338219852, 1338219861, 1338219857, 1338219851, 1338219853, 1338219850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.802515506744385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:17:02.971734
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_58_9823.jpg', 0), ('/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_49_9821.jpg', 0), ('/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_39_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_29_10837.jpg', 0), ('/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_18_9857.jpg', 0), ('/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_08_9838.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_58_9823.jpg', '/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_49_9821.jpg', '/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_39_9825.jpg', '/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_29_10837.jpg', '/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_18_9857.jpg', '/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_08_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_58_9823.jpg
/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_49_9821.jpg
/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_39_9825.jpg
/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_29_10837.jpg
/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_18_9857.jpg
/home/nano/Desktop/images/10022025/10/42/image_10022025_10_42_08_9838.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338219925","1338219919","1338219906","1338219896","1338219920","1338219916"],"photo_ids_order":["1338219896","1338219906","1338219916","1338219919","1338219920","1338219925"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c77ea523a75bebff89d4377179c023c.jpg","text":"TemporaryFile(/tmp/multipartBody2859521108640135024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823485717,"filename":"image_10022025_10_42_08_9838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f53c401d38fad32ed6b283f3c246f352.jpg","text":"TemporaryFile(/tmp/multipartBody6986720666182493415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823485717,"filename":"image_10022025_10_42_29_10837.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a89bdd2c11be229c3a8a4be4c1912854.jpg","text":"TemporaryFile(/tmp/multipartBody1144796455227062782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823485717,"filename":"image_10022025_10_42_49_9821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae17783888139fb3c775b77a5e0897ee.jpg","text":"TemporaryFile(/tmp/multipartBody3314506312239437136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823485717,"filename":"image_10022025_10_42_58_9823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d788330553a5ac4f176376253c8dcf99.jpg","text":"TemporaryFile(/tmp/multipartBody1082045563064707334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823485717,"filename":"image_10022025_10_42_18_9857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/02e8b3d54ce950a0fd29838011e929cd.jpg","text":"TemporaryFile(/tmp/multipartBody1330990348972140391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823485717,"filename":"image_10022025_10_42_39_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338219916","file1":"1338219906","file0":"1338219896","file4":"1338219920","file5":"1338219925","file3":"1338219919"},"map_files_photo_id_array":[{"photo_id":"1338219925","filename":"file5"},{"photo_id":"1338219916","filename":"file2"},{"photo_id":"1338219920","filename":"file4"},{"photo_id":"1338219906","filename":"file1"},{"photo_id":"1338219896","filename":"file0"},{"photo_id":"1338219919","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338219925":["hashtag1","hashtag2"]},{"1338219919":["hashtag1","hashtag2"]},{"1338219906":["hashtag1","hashtag2"]},{"1338219896":["hashtag1","hashtag2"]},{"1338219920":["hashtag1","hashtag2"]},{"1338219916":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338219925, 1338219919, 1338219906, 1338219896, 1338219920, 1338219916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.910250663757324 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:18:02.944884
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_58_9823.jpg', 0), ('/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_49_9821.jpg', 0), ('/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_39_9820.jpg', 0), ('/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_29_10835.jpg', 0), ('/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_18_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_08_9830.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_58_9823.jpg', '/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_49_9821.jpg', '/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_39_9820.jpg', '/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_29_10835.jpg', '/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_18_9825.jpg', '/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_08_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_58_9823.jpg
/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_49_9821.jpg
/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_39_9820.jpg
/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_29_10835.jpg
/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_18_9825.jpg
/home/nano/Desktop/images/10022025/10/41/image_10022025_10_41_08_9830.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338219969","1338219957","1338219971","1338219959","1338219973","1338219958"],"photo_ids_order":["1338219957","1338219958","1338219959","1338219969","1338219971","1338219973"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/41eeab7511ba96180dbdde38ae72e475.jpg","text":"TemporaryFile(/tmp/multipartBody5685828354522429589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823545561,"filename":"image_10022025_10_41_29_10835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bece64737bfb4ac2a79327872c7bd1b0.jpg","text":"TemporaryFile(/tmp/multipartBody2716095936118960404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823545561,"filename":"image_10022025_10_41_58_9823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f139fa6cb9d4b8ea3e3fbe08205ad8b9.jpg","text":"TemporaryFile(/tmp/multipartBody7598953598162133815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823545561,"filename":"image_10022025_10_41_18_9825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/514211fc6c4aba280a2cc64981669932.jpg","text":"TemporaryFile(/tmp/multipartBody7991472978487748576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823545561,"filename":"image_10022025_10_41_39_9820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0fe0f710a2a16fc5012ff473ba40a6da.jpg","text":"TemporaryFile(/tmp/multipartBody776255322770117664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823545561,"filename":"image_10022025_10_41_08_9830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3add215247211771e11d2500f82c9a5b.jpg","text":"TemporaryFile(/tmp/multipartBody3283406943810003959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823545561,"filename":"image_10022025_10_41_49_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338219959","file1":"1338219958","file0":"1338219957","file4":"1338219971","file5":"1338219973","file3":"1338219969"},"map_files_photo_id_array":[{"photo_id":"1338219973","filename":"file5"},{"photo_id":"1338219959","filename":"file2"},{"photo_id":"1338219971","filename":"file4"},{"photo_id":"1338219958","filename":"file1"},{"photo_id":"1338219957","filename":"file0"},{"photo_id":"1338219969","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338219969":["hashtag1","hashtag2"]},{"1338219957":["hashtag1","hashtag2"]},{"1338219971":["hashtag1","hashtag2"]},{"1338219959":["hashtag1","hashtag2"]},{"1338219973":["hashtag1","hashtag2"]},{"1338219958":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338219969, 1338219957, 1338219971, 1338219959, 1338219973, 1338219958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.82315754890442 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:19:02.760312
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_58_9823.jpg', 0), ('/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_49_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_39_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_29_10834.jpg', 0), ('/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_18_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_08_9843.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_58_9823.jpg', '/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_49_9824.jpg', '/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_39_9824.jpg', '/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_29_10834.jpg', '/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_18_9824.jpg', '/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_08_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_58_9823.jpg
/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_49_9824.jpg
/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_39_9824.jpg
/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_29_10834.jpg
/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_18_9824.jpg
/home/nano/Desktop/images/10022025/10/40/image_10022025_10_40_08_9843.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338220789","1338220426","1338220788","1338220692","1338220787","1338220808"],"photo_ids_order":["1338220426","1338220692","1338220787","1338220788","1338220789","1338220808"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b4b64cf8c819ff740f93dc8667d7709.jpg","text":"TemporaryFile(/tmp/multipartBody3262078034836081648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823607065,"filename":"image_10022025_10_40_18_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e0838ded8a4b785515a7ac668d248316.jpg","text":"TemporaryFile(/tmp/multipartBody4561912335921660440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823607065,"filename":"image_10022025_10_40_58_9823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/14027ca51e5ff117101e3bd127344525.jpg","text":"TemporaryFile(/tmp/multipartBody2730687583676121711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823607065,"filename":"image_10022025_10_40_29_10834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2163eee5dab6804361c0114f9f99bc85.jpg","text":"TemporaryFile(/tmp/multipartBody6911178856503752244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823607065,"filename":"image_10022025_10_40_49_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/487bf5357ebec6ca2c8ef32b009a435b.jpg","text":"TemporaryFile(/tmp/multipartBody3976048450507317802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823607065,"filename":"image_10022025_10_40_39_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/269caedc360f2c6b7d27c6e2cf955440.jpg","text":"TemporaryFile(/tmp/multipartBody542028040076974935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823607065,"filename":"image_10022025_10_40_08_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338220787","file1":"1338220692","file0":"1338220426","file4":"1338220789","file5":"1338220808","file3":"1338220788"},"map_files_photo_id_array":[{"photo_id":"1338220808","filename":"file5"},{"photo_id":"1338220787","filename":"file2"},{"photo_id":"1338220789","filename":"file4"},{"photo_id":"1338220692","filename":"file1"},{"photo_id":"1338220426","filename":"file0"},{"photo_id":"1338220788","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338220789":["hashtag1","hashtag2"]},{"1338220426":["hashtag1","hashtag2"]},{"1338220788":["hashtag1","hashtag2"]},{"1338220692":["hashtag1","hashtag2"]},{"1338220787":["hashtag1","hashtag2"]},{"1338220808":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338220789, 1338220426, 1338220788, 1338220692, 1338220787, 1338220808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84479808807373 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:20:02.466353
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_58_9827.jpg', 0), ('/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_49_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_39_10837.jpg', 0), ('/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_28_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_18_9829.jpg', 0), ('/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_08_9837.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_58_9827.jpg', '/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_49_9825.jpg', '/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_39_10837.jpg', '/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_28_9825.jpg', '/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_18_9829.jpg', '/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_08_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_58_9827.jpg
/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_49_9825.jpg
/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_39_10837.jpg
/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_28_9825.jpg
/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_18_9829.jpg
/home/nano/Desktop/images/10022025/10/39/image_10022025_10_39_08_9837.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338221113","1338221106","1338221072","1338221111","1338221074","1338221110"],"photo_ids_order":["1338221072","1338221074","1338221106","1338221110","1338221111","1338221113"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f69b4752709428d7a4a1cd1cd720a9a0.jpg","text":"TemporaryFile(/tmp/multipartBody4073288799108203097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823667265,"filename":"image_10022025_10_39_08_9837.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c773cfabf9d373f95476ff6ab7263f78.jpg","text":"TemporaryFile(/tmp/multipartBody7812137620817534451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823667265,"filename":"image_10022025_10_39_39_10837.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a72eb4791a8a163a70b43260029d8eb.jpg","text":"TemporaryFile(/tmp/multipartBody3838485023230063751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823667265,"filename":"image_10022025_10_39_58_9827.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/11767ca60aa97e62ea647cd4c95170fb.jpg","text":"TemporaryFile(/tmp/multipartBody2084015860985144664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823667265,"filename":"image_10022025_10_39_18_9829.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bdb76dabe16ed83bde2d1b5026ace826.jpg","text":"TemporaryFile(/tmp/multipartBody4041766820873872580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823667265,"filename":"image_10022025_10_39_49_9825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3b15542eb1bcca839077356498eb979.jpg","text":"TemporaryFile(/tmp/multipartBody5568275613391434665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823667265,"filename":"image_10022025_10_39_28_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338221106","file1":"1338221074","file0":"1338221072","file4":"1338221111","file5":"1338221113","file3":"1338221110"},"map_files_photo_id_array":[{"photo_id":"1338221113","filename":"file5"},{"photo_id":"1338221106","filename":"file2"},{"photo_id":"1338221111","filename":"file4"},{"photo_id":"1338221074","filename":"file1"},{"photo_id":"1338221072","filename":"file0"},{"photo_id":"1338221110","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338221113":["hashtag1","hashtag2"]},{"1338221106":["hashtag1","hashtag2"]},{"1338221072":["hashtag1","hashtag2"]},{"1338221111":["hashtag1","hashtag2"]},{"1338221074":["hashtag1","hashtag2"]},{"1338221110":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338221113, 1338221106, 1338221072, 1338221111, 1338221074, 1338221110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.68401789665222 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:21:02.582679
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_58_9829.jpg', 0), ('/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_49_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_39_10831.jpg', 0), ('/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_28_9823.jpg', 0), ('/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_18_9828.jpg', 0), ('/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_08_9833.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_58_9829.jpg', '/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_49_9824.jpg', '/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_39_10831.jpg', '/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_28_9823.jpg', '/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_18_9828.jpg', '/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_08_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_58_9829.jpg
/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_49_9824.jpg
/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_39_10831.jpg
/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_28_9823.jpg
/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_18_9828.jpg
/home/nano/Desktop/images/10022025/10/38/image_10022025_10_38_08_9833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338221122","1338221124","1338221127","1338221126","1338221129","1338221125"],"photo_ids_order":["1338221122","1338221124","1338221125","1338221126","1338221127","1338221129"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9098e0d322ff21785b72a0561fb02f2a.jpg","text":"TemporaryFile(/tmp/multipartBody2178532713946642486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823725301,"filename":"image_10022025_10_38_58_9829.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/982835f399562039ee486642009a5521.jpg","text":"TemporaryFile(/tmp/multipartBody9060959867881963555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823725301,"filename":"image_10022025_10_38_49_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/35f5c8a837f3e8e0c99e2ef930f80daa.jpg","text":"TemporaryFile(/tmp/multipartBody1131727117646633977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823725301,"filename":"image_10022025_10_38_18_9828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6490c9492f081872823bb3300bdd7dcb.jpg","text":"TemporaryFile(/tmp/multipartBody2360103077838838884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823725301,"filename":"image_10022025_10_38_28_9823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/491af9199227d4af9388b490cf638e79.jpg","text":"TemporaryFile(/tmp/multipartBody9186483690616296136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823725301,"filename":"image_10022025_10_38_08_9833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e865a03ae2f9fb39db3f0649db7d98de.jpg","text":"TemporaryFile(/tmp/multipartBody2441868280039339030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823725301,"filename":"image_10022025_10_38_39_10831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338221125","file1":"1338221124","file0":"1338221122","file4":"1338221127","file5":"1338221129","file3":"1338221126"},"map_files_photo_id_array":[{"photo_id":"1338221129","filename":"file5"},{"photo_id":"1338221125","filename":"file2"},{"photo_id":"1338221127","filename":"file4"},{"photo_id":"1338221124","filename":"file1"},{"photo_id":"1338221122","filename":"file0"},{"photo_id":"1338221126","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338221122":["hashtag1","hashtag2"]},{"1338221124":["hashtag1","hashtag2"]},{"1338221127":["hashtag1","hashtag2"]},{"1338221126":["hashtag1","hashtag2"]},{"1338221129":["hashtag1","hashtag2"]},{"1338221125":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338221122, 1338221124, 1338221127, 1338221126, 1338221129, 1338221125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11809206008911 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:22:02.678054
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_58_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_49_9826.jpg', 0), ('/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_39_10850.jpg', 0), ('/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_28_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_18_9822.jpg', 0), ('/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_08_9819.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_58_9824.jpg', '/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_49_9826.jpg', '/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_39_10850.jpg', '/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_28_9825.jpg', '/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_18_9822.jpg', '/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_08_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_58_9824.jpg
/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_49_9826.jpg
/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_39_10850.jpg
/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_28_9825.jpg
/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_18_9822.jpg
/home/nano/Desktop/images/10022025/10/37/image_10022025_10_37_08_9819.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338221140","1338221142","1338221145","1338221141","1338221143","1338221146"],"photo_ids_order":["1338221140","1338221141","1338221142","1338221143","1338221145","1338221146"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b9d712450bb6e5bff1caaf40f5b116fd.jpg","text":"TemporaryFile(/tmp/multipartBody4087672566166055477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823785801,"filename":"image_10022025_10_37_58_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/20c5f838573e82820810e8f776d940ad.jpg","text":"TemporaryFile(/tmp/multipartBody7255496298950819232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823785801,"filename":"image_10022025_10_37_39_10850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf8a566426dc6dc8c83067a556225ef7.jpg","text":"TemporaryFile(/tmp/multipartBody5713462830777703346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823785801,"filename":"image_10022025_10_37_18_9822.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/65e8e6792f705210dd147df51a7f9e81.jpg","text":"TemporaryFile(/tmp/multipartBody291175071820573209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823785801,"filename":"image_10022025_10_37_49_9826.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc554fd61d9967b895d829bb57c4bac6.jpg","text":"TemporaryFile(/tmp/multipartBody7465760536665946368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823785801,"filename":"image_10022025_10_37_28_9825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0646d40f1393d9bfb85e303a426e8c48.jpg","text":"TemporaryFile(/tmp/multipartBody2242489449078049939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823785801,"filename":"image_10022025_10_37_08_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338221142","file1":"1338221141","file0":"1338221140","file4":"1338221145","file5":"1338221146","file3":"1338221143"},"map_files_photo_id_array":[{"photo_id":"1338221146","filename":"file5"},{"photo_id":"1338221142","filename":"file2"},{"photo_id":"1338221145","filename":"file4"},{"photo_id":"1338221141","filename":"file1"},{"photo_id":"1338221140","filename":"file0"},{"photo_id":"1338221143","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338221140":["hashtag1","hashtag2"]},{"1338221142":["hashtag1","hashtag2"]},{"1338221145":["hashtag1","hashtag2"]},{"1338221141":["hashtag1","hashtag2"]},{"1338221143":["hashtag1","hashtag2"]},{"1338221146":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338221140, 1338221142, 1338221145, 1338221141, 1338221143, 1338221146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24451303482056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:23:02.909420
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_58_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_49_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_39_10831.jpg', 0), ('/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_28_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_18_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_08_9846.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_58_9824.jpg', '/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_49_9824.jpg', '/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_39_10831.jpg', '/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_28_9824.jpg', '/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_18_9824.jpg', '/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_08_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_58_9824.jpg
/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_49_9824.jpg
/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_39_10831.jpg
/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_28_9824.jpg
/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_18_9824.jpg
/home/nano/Desktop/images/10022025/10/36/image_10022025_10_36_08_9846.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338221163","1338221165","1338221159","1338221161","1338221164","1338221167"],"photo_ids_order":["1338221159","1338221161","1338221163","1338221164","1338221165","1338221167"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/127a78fee0635819c29b31dc770f5e77.jpg","text":"TemporaryFile(/tmp/multipartBody7888515987827968565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823846077,"filename":"image_10022025_10_36_39_10831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d8838f70cc72f66f04ef81081b53069a.jpg","text":"TemporaryFile(/tmp/multipartBody2018226985360733331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823846077,"filename":"image_10022025_10_36_18_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0acab26606c8db391812ed6312171431.jpg","text":"TemporaryFile(/tmp/multipartBody7020691122749065963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823846077,"filename":"image_10022025_10_36_58_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b8c4adfb3a8d8309dc893b3e09303b2.jpg","text":"TemporaryFile(/tmp/multipartBody4322189993992537163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823846077,"filename":"image_10022025_10_36_49_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/56455414c57f916a94ad6979d8b61b33.jpg","text":"TemporaryFile(/tmp/multipartBody8183575617724847119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823846077,"filename":"image_10022025_10_36_28_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a62f52235d1bad5d8bf8e856e32c0d6f.jpg","text":"TemporaryFile(/tmp/multipartBody696471377527946490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823846077,"filename":"image_10022025_10_36_08_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338221163","file1":"1338221161","file0":"1338221159","file4":"1338221165","file5":"1338221167","file3":"1338221164"},"map_files_photo_id_array":[{"photo_id":"1338221167","filename":"file5"},{"photo_id":"1338221163","filename":"file2"},{"photo_id":"1338221165","filename":"file4"},{"photo_id":"1338221161","filename":"file1"},{"photo_id":"1338221159","filename":"file0"},{"photo_id":"1338221164","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338221163":["hashtag1","hashtag2"]},{"1338221165":["hashtag1","hashtag2"]},{"1338221159":["hashtag1","hashtag2"]},{"1338221161":["hashtag1","hashtag2"]},{"1338221164":["hashtag1","hashtag2"]},{"1338221167":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338221163, 1338221165, 1338221159, 1338221161, 1338221164, 1338221167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.509395122528076 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:24:03.140312
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_58_9845.jpg', 0), ('/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_49_9829.jpg', 0), ('/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_39_10856.jpg', 0), ('/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_28_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_18_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_08_9826.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_58_9845.jpg', '/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_49_9829.jpg', '/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_39_10856.jpg', '/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_28_9825.jpg', '/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_18_9824.jpg', '/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_08_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_58_9845.jpg
/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_49_9829.jpg
/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_39_10856.jpg
/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_28_9825.jpg
/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_18_9824.jpg
/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_08_9826.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.395699977874756 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:24:32.695605
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_58_9845.jpg', 0), ('/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_49_9829.jpg', 0), ('/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_39_10856.jpg', 0), ('/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_28_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_18_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_08_9826.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_58_9845.jpg', '/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_49_9829.jpg', '/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_39_10856.jpg', '/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_28_9825.jpg', '/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_18_9824.jpg', '/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_08_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_58_9845.jpg
/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_49_9829.jpg
/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_39_10856.jpg
/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_28_9825.jpg
/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_18_9824.jpg
/home/nano/Desktop/images/10022025/10/35/image_10022025_10_35_08_9826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338221190","1338221193","1338221192","1338221191","1338221188","1338221185"],"photo_ids_order":["1338221185","1338221188","1338221190","1338221191","1338221192","1338221193"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77f7d04ee2ab50e1302521342b8c803f.jpg","text":"TemporaryFile(/tmp/multipartBody885897860997396431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823938017,"filename":"image_10022025_10_35_39_10856.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0033af6dcf4a1515c8f17f20431c2e41.jpg","text":"TemporaryFile(/tmp/multipartBody3769580290057613065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823938017,"filename":"image_10022025_10_35_08_9826.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7bbbe05578a7a9fa2d64c00a56cf69c6.jpg","text":"TemporaryFile(/tmp/multipartBody4510241704074419355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823938017,"filename":"image_10022025_10_35_18_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/efc6b6ec9ba821132c1560cd100fe211.jpg","text":"TemporaryFile(/tmp/multipartBody811038821541619775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823938017,"filename":"image_10022025_10_35_28_9825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/edb067bf31448af9c5f7df599437d593.jpg","text":"TemporaryFile(/tmp/multipartBody4175040690091629319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823938017,"filename":"image_10022025_10_35_49_9829.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/904e5783b085273d7ed26c1353b2009d.jpg","text":"TemporaryFile(/tmp/multipartBody3898490070288408226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823938017,"filename":"image_10022025_10_35_58_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338221190","file1":"1338221188","file0":"1338221185","file4":"1338221192","file5":"1338221193","file3":"1338221191"},"map_files_photo_id_array":[{"photo_id":"1338221193","filename":"file5"},{"photo_id":"1338221190","filename":"file2"},{"photo_id":"1338221192","filename":"file4"},{"photo_id":"1338221188","filename":"file1"},{"photo_id":"1338221185","filename":"file0"},{"photo_id":"1338221191","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338221190":["hashtag1","hashtag2"]},{"1338221193":["hashtag1","hashtag2"]},{"1338221192":["hashtag1","hashtag2"]},{"1338221191":["hashtag1","hashtag2"]},{"1338221188":["hashtag1","hashtag2"]},{"1338221185":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338221190, 1338221193, 1338221192, 1338221191, 1338221188, 1338221185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28472542762756 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:25:31.886339
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_58_9823.jpg', 0), ('/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_49_9847.jpg', 0), ('/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_39_10835.jpg', 0), ('/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_28_9830.jpg', 0), ('/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_18_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_08_9827.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_58_9823.jpg', '/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_49_9847.jpg', '/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_39_10835.jpg', '/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_28_9830.jpg', '/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_18_9824.jpg', '/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_08_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_58_9823.jpg
/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_49_9847.jpg
/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_39_10835.jpg
/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_28_9830.jpg
/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_18_9824.jpg
/home/nano/Desktop/images/10022025/10/34/image_10022025_10_34_08_9827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338221235","1338221217","1338221232","1338221525","1338221440","1338221245"],"photo_ids_order":["1338221217","1338221232","1338221235","1338221245","1338221440","1338221525"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/61298f205b024bbd38b3792189b0398d.jpg","text":"TemporaryFile(/tmp/multipartBody5420520987263490313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823994763,"filename":"image_10022025_10_34_39_10835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1388439b8022d659de77b696dde4b00b.jpg","text":"TemporaryFile(/tmp/multipartBody3381012510551654616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823994763,"filename":"image_10022025_10_34_58_9823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/906d67a6fadc14b089bc1796466314b5.jpg","text":"TemporaryFile(/tmp/multipartBody8213758113168468461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823994763,"filename":"image_10022025_10_34_49_9847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7afd1b4178b9208a229dec5fcda93c0.jpg","text":"TemporaryFile(/tmp/multipartBody5795802773581972250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823994763,"filename":"image_10022025_10_34_08_9827.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/30646a27b50cbf4c70275fed160ebbb3.jpg","text":"TemporaryFile(/tmp/multipartBody5337922865885966715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823994763,"filename":"image_10022025_10_34_18_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/32baf721a8735f523dd2437a2cf67888.jpg","text":"TemporaryFile(/tmp/multipartBody7199599031317723888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739823994763,"filename":"image_10022025_10_34_28_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338221235","file1":"1338221232","file0":"1338221217","file4":"1338221440","file5":"1338221525","file3":"1338221245"},"map_files_photo_id_array":[{"photo_id":"1338221525","filename":"file5"},{"photo_id":"1338221235","filename":"file2"},{"photo_id":"1338221440","filename":"file4"},{"photo_id":"1338221232","filename":"file1"},{"photo_id":"1338221217","filename":"file0"},{"photo_id":"1338221245","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338221235":["hashtag1","hashtag2"]},{"1338221217":["hashtag1","hashtag2"]},{"1338221232":["hashtag1","hashtag2"]},{"1338221525":["hashtag1","hashtag2"]},{"1338221440":["hashtag1","hashtag2"]},{"1338221245":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338221235, 1338221217, 1338221232, 1338221525, 1338221440, 1338221245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.88711905479431 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:26:32.034169
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_58_9827.jpg', 0), ('/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_49_9831.jpg', 0), ('/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_39_10832.jpg', 0), ('/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_28_9826.jpg', 0), ('/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_18_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_08_9840.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_58_9827.jpg', '/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_49_9831.jpg', '/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_39_10832.jpg', '/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_28_9826.jpg', '/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_18_9824.jpg', '/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_08_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_58_9827.jpg
/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_49_9831.jpg
/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_39_10832.jpg
/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_28_9826.jpg
/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_18_9824.jpg
/home/nano/Desktop/images/10022025/10/33/image_10022025_10_33_08_9840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338221617","1338221619","1338221615","1338221618","1338221551","1338221548"],"photo_ids_order":["1338221548","1338221551","1338221615","1338221617","1338221618","1338221619"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ccc68b560d9d94f0da9c222a392fcfb2.jpg","text":"TemporaryFile(/tmp/multipartBody7375746083747124356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824054353,"filename":"image_10022025_10_33_28_9826.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/160ce19545943f1dac2b9c459ac968c0.jpg","text":"TemporaryFile(/tmp/multipartBody3315813635423602897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824054353,"filename":"image_10022025_10_33_08_9840.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4d8ea7797e979d2ede39d29041307ba.jpg","text":"TemporaryFile(/tmp/multipartBody3136044887213685209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824054353,"filename":"image_10022025_10_33_39_10832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/62a7f4483e3d44d5ba3d454058daec07.jpg","text":"TemporaryFile(/tmp/multipartBody8190204322772686915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824054353,"filename":"image_10022025_10_33_18_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f15842e85e40631688ba07e7d74d17f7.jpg","text":"TemporaryFile(/tmp/multipartBody9216259847418795973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824054353,"filename":"image_10022025_10_33_49_9831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1f82f4b6f571a9ea2fd655e7633387d.jpg","text":"TemporaryFile(/tmp/multipartBody2645521864605079283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824054353,"filename":"image_10022025_10_33_58_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338221615","file1":"1338221551","file0":"1338221548","file4":"1338221618","file5":"1338221619","file3":"1338221617"},"map_files_photo_id_array":[{"photo_id":"1338221619","filename":"file5"},{"photo_id":"1338221615","filename":"file2"},{"photo_id":"1338221618","filename":"file4"},{"photo_id":"1338221551","filename":"file1"},{"photo_id":"1338221548","filename":"file0"},{"photo_id":"1338221617","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338221617":["hashtag1","hashtag2"]},{"1338221619":["hashtag1","hashtag2"]},{"1338221615":["hashtag1","hashtag2"]},{"1338221618":["hashtag1","hashtag2"]},{"1338221551":["hashtag1","hashtag2"]},{"1338221548":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338221617, 1338221619, 1338221615, 1338221618, 1338221551, 1338221548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.378129720687866 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:27:32.170685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_59_9820.jpg', 0), ('/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_49_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_39_10833.jpg', 0), ('/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_28_9824.jpg', 0), ('/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_18_9820.jpg', 0), ('/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_08_9840.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_59_9820.jpg', '/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_49_9825.jpg', '/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_39_10833.jpg', '/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_28_9824.jpg', '/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_18_9820.jpg', '/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_08_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_59_9820.jpg
/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_49_9825.jpg
/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_39_10833.jpg
/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_28_9824.jpg
/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_18_9820.jpg
/home/nano/Desktop/images/10022025/10/32/image_10022025_10_32_08_9840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338221685","1338221682","1338221778","1338221687","1338221689","1338221878"],"photo_ids_order":["1338221682","1338221685","1338221687","1338221689","1338221778","1338221878"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d06d32a6d967192e51e5a469548ca8ee.jpg","text":"TemporaryFile(/tmp/multipartBody2429648801161220007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824115127,"filename":"image_10022025_10_32_49_9825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00c960f70d4cb20365c51fa48e72549e.jpg","text":"TemporaryFile(/tmp/multipartBody9027275389100978675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824115127,"filename":"image_10022025_10_32_59_9820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e98a1747d4e4bd496fce7fe905b3219a.jpg","text":"TemporaryFile(/tmp/multipartBody2240596613785496344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824115127,"filename":"image_10022025_10_32_18_9820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3f19a2073381424214589397e879d39.jpg","text":"TemporaryFile(/tmp/multipartBody6212623931634577466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824115127,"filename":"image_10022025_10_32_39_10833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f9d6e24225862624c0a56c060ea37698.jpg","text":"TemporaryFile(/tmp/multipartBody8222147823564166730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824115127,"filename":"image_10022025_10_32_28_9824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af175a8b62e6b9c2680cd5c2b0491162.jpg","text":"TemporaryFile(/tmp/multipartBody810223636264142020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824115127,"filename":"image_10022025_10_32_08_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338221687","file1":"1338221685","file0":"1338221682","file4":"1338221778","file5":"1338221878","file3":"1338221689"},"map_files_photo_id_array":[{"photo_id":"1338221878","filename":"file5"},{"photo_id":"1338221687","filename":"file2"},{"photo_id":"1338221778","filename":"file4"},{"photo_id":"1338221685","filename":"file1"},{"photo_id":"1338221682","filename":"file0"},{"photo_id":"1338221689","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338221685":["hashtag1","hashtag2"]},{"1338221682":["hashtag1","hashtag2"]},{"1338221778":["hashtag1","hashtag2"]},{"1338221687":["hashtag1","hashtag2"]},{"1338221689":["hashtag1","hashtag2"]},{"1338221878":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338221685, 1338221682, 1338221778, 1338221687, 1338221689, 1338221878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74378728866577 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:28:32.336748
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_59_9822.jpg', 0), ('/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_49_10832.jpg', 0), ('/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_38_9704.jpg', 0), ('/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_28_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_18_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_09_10737.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_59_9822.jpg', '/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_49_10832.jpg', '/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_38_9704.jpg', '/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_28_9718.jpg', '/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_18_9706.jpg', '/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_09_10737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_59_9822.jpg
/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_49_10832.jpg
/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_38_9704.jpg
/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_28_9718.jpg
/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_18_9706.jpg
/home/nano/Desktop/images/10022025/10/31/image_10022025_10_31_09_10737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222051","1338222045","1338222047","1338222041","1338222049","1338222037"],"photo_ids_order":["1338222037","1338222041","1338222045","1338222047","1338222049","1338222051"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ebe62735c04057f3e89e78257da918f8.jpg","text":"TemporaryFile(/tmp/multipartBody8728185821959587010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824175601,"filename":"image_10022025_10_31_09_10737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5cd7b59c71ecceb59e204fa673dc4e05.jpg","text":"TemporaryFile(/tmp/multipartBody1782209418568716171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824175601,"filename":"image_10022025_10_31_38_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/854ef8abf1fc6413ade38403806967d3.jpg","text":"TemporaryFile(/tmp/multipartBody2754791092930258760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824175601,"filename":"image_10022025_10_31_28_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f5a0e3e5077142d6171533db0991f131.jpg","text":"TemporaryFile(/tmp/multipartBody6248241786438593179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824175601,"filename":"image_10022025_10_31_49_10832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5bfc64ccf130d8a10b840ef64fa6ff4e.jpg","text":"TemporaryFile(/tmp/multipartBody8600437403453701173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824175601,"filename":"image_10022025_10_31_18_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0096b3ad5059e55d0a1b8e79248b4eae.jpg","text":"TemporaryFile(/tmp/multipartBody3225434530311086752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824175601,"filename":"image_10022025_10_31_59_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222045","file1":"1338222041","file0":"1338222037","file4":"1338222049","file5":"1338222051","file3":"1338222047"},"map_files_photo_id_array":[{"photo_id":"1338222051","filename":"file5"},{"photo_id":"1338222045","filename":"file2"},{"photo_id":"1338222049","filename":"file4"},{"photo_id":"1338222041","filename":"file1"},{"photo_id":"1338222037","filename":"file0"},{"photo_id":"1338222047","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222051":["hashtag1","hashtag2"]},{"1338222045":["hashtag1","hashtag2"]},{"1338222047":["hashtag1","hashtag2"]},{"1338222041":["hashtag1","hashtag2"]},{"1338222049":["hashtag1","hashtag2"]},{"1338222037":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222051, 1338222045, 1338222047, 1338222041, 1338222049, 1338222037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97282290458679 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:29:32.568112
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_58_9703.jpg', 0), ('/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_48_9685.jpg', 0), ('/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_39_10718.jpg', 0), ('/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_28_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_18_9708.jpg', 0), ('/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_08_9709.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_58_9703.jpg', '/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_48_9685.jpg', '/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_39_10718.jpg', '/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_28_9713.jpg', '/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_18_9708.jpg', '/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_08_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_58_9703.jpg
/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_48_9685.jpg
/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_39_10718.jpg
/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_28_9713.jpg
/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_18_9708.jpg
/home/nano/Desktop/images/10022025/10/30/image_10022025_10_30_08_9709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222066","1338222060","1338222086","1338222068","1338222067","1338222063"],"photo_ids_order":["1338222060","1338222063","1338222066","1338222067","1338222068","1338222086"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6bb53135022e8f6298019203a6d04ddb.jpg","text":"TemporaryFile(/tmp/multipartBody5706467992477744319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824235754,"filename":"image_10022025_10_30_39_10718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a8c255dc4ea8dcf8d156034ec8a8bf5e.jpg","text":"TemporaryFile(/tmp/multipartBody7363947896593291925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824235754,"filename":"image_10022025_10_30_58_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ed3abfb21f4d7f36e7ae8e3ab887d11.jpg","text":"TemporaryFile(/tmp/multipartBody2954120602625666410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824235754,"filename":"image_10022025_10_30_08_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13bdbec95ea5eca90a6b08c4639f0380.jpg","text":"TemporaryFile(/tmp/multipartBody151239573367856686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824235754,"filename":"image_10022025_10_30_18_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d836097f8a10738838792fff2b4e0e9f.jpg","text":"TemporaryFile(/tmp/multipartBody4867990979659722011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824235754,"filename":"image_10022025_10_30_28_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da8d5de3dadd2a6c350fc7228ce61a3c.jpg","text":"TemporaryFile(/tmp/multipartBody8597535999308482066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824235754,"filename":"image_10022025_10_30_48_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222066","file1":"1338222063","file0":"1338222060","file4":"1338222068","file5":"1338222086","file3":"1338222067"},"map_files_photo_id_array":[{"photo_id":"1338222086","filename":"file5"},{"photo_id":"1338222066","filename":"file2"},{"photo_id":"1338222068","filename":"file4"},{"photo_id":"1338222063","filename":"file1"},{"photo_id":"1338222060","filename":"file0"},{"photo_id":"1338222067","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222066":["hashtag1","hashtag2"]},{"1338222060":["hashtag1","hashtag2"]},{"1338222086":["hashtag1","hashtag2"]},{"1338222068":["hashtag1","hashtag2"]},{"1338222067":["hashtag1","hashtag2"]},{"1338222063":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222066, 1338222060, 1338222086, 1338222068, 1338222067, 1338222063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02474594116211 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:30:32.710999
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_59_10712.jpg', 0), ('/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_48_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_38_9711.jpg', 0), ('/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_29_10756.jpg', 0), ('/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_18_9768.jpg', 0), ('/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_08_9723.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_59_10712.jpg', '/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_48_9695.jpg', '/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_38_9711.jpg', '/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_29_10756.jpg', '/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_18_9768.jpg', '/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_08_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_59_10712.jpg
/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_48_9695.jpg
/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_38_9711.jpg
/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_29_10756.jpg
/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_18_9768.jpg
/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_08_9723.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.9261181354522705 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:31:02.094430
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_59_10712.jpg', 0), ('/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_48_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_38_9711.jpg', 0), ('/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_29_10756.jpg', 0), ('/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_18_9768.jpg', 0), ('/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_08_9723.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_59_10712.jpg', '/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_48_9695.jpg', '/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_38_9711.jpg', '/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_29_10756.jpg', '/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_18_9768.jpg', '/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_08_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_59_10712.jpg
/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_48_9695.jpg
/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_38_9711.jpg
/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_29_10756.jpg
/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_18_9768.jpg
/home/nano/Desktop/images/10022025/10/29/image_10022025_10_29_08_9723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222243","1338222423","1338222345","1338222419","1338222421","1338222403"],"photo_ids_order":["1338222243","1338222345","1338222403","1338222419","1338222421","1338222423"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/149676394ef3d744054104ebaaa9ca75.jpg","text":"TemporaryFile(/tmp/multipartBody807526343241034622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824324970,"filename":"image_10022025_10_29_59_10712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f06ace43a3ac8802b0833cd7b91a080a.jpg","text":"TemporaryFile(/tmp/multipartBody283936483547284893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824324970,"filename":"image_10022025_10_29_08_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2e09bebf621ab3e7d1bdb6148bdc9be3.jpg","text":"TemporaryFile(/tmp/multipartBody4616159654202329324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824324970,"filename":"image_10022025_10_29_48_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e2c9e4fd130b00a11f2026dedf750ec0.jpg","text":"TemporaryFile(/tmp/multipartBody7433427489758181135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824324970,"filename":"image_10022025_10_29_29_10756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3cc8d9fdcb3e62a86cd1bd43972ee48.jpg","text":"TemporaryFile(/tmp/multipartBody2534417407604282925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824324970,"filename":"image_10022025_10_29_18_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/251390250da5a582f5b00b62f016d464.jpg","text":"TemporaryFile(/tmp/multipartBody2667640739029909784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824324970,"filename":"image_10022025_10_29_38_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222403","file1":"1338222345","file0":"1338222243","file4":"1338222421","file5":"1338222423","file3":"1338222419"},"map_files_photo_id_array":[{"photo_id":"1338222423","filename":"file5"},{"photo_id":"1338222403","filename":"file2"},{"photo_id":"1338222421","filename":"file4"},{"photo_id":"1338222345","filename":"file1"},{"photo_id":"1338222243","filename":"file0"},{"photo_id":"1338222419","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222243":["hashtag1","hashtag2"]},{"1338222423":["hashtag1","hashtag2"]},{"1338222345":["hashtag1","hashtag2"]},{"1338222419":["hashtag1","hashtag2"]},{"1338222421":["hashtag1","hashtag2"]},{"1338222403":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222243, 1338222423, 1338222345, 1338222419, 1338222421, 1338222403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07152533531189 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:32:02.310772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_58_9748.jpg', 0), ('/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_49_10719.jpg', 0), ('/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_38_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_28_9751.jpg', 0), ('/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_18_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_09_10733.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_58_9748.jpg', '/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_49_10719.jpg', '/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_38_9713.jpg', '/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_28_9751.jpg', '/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_18_9692.jpg', '/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_09_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_58_9748.jpg
/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_49_10719.jpg
/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_38_9713.jpg
/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_28_9751.jpg
/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_18_9692.jpg
/home/nano/Desktop/images/10022025/10/28/image_10022025_10_28_09_10733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222435","1338222432","1338222434","1338222437","1338222433","1338222436"],"photo_ids_order":["1338222432","1338222433","1338222434","1338222435","1338222436","1338222437"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b932e82ec93063d9d0b65737372e4ac.jpg","text":"TemporaryFile(/tmp/multipartBody3256688450550988410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824384062,"filename":"image_10022025_10_28_28_9751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/817b063e2c67a5b9bb1d9c717792332e.jpg","text":"TemporaryFile(/tmp/multipartBody9081004780020098706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824384062,"filename":"image_10022025_10_28_58_9748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ffcc9b9b46e74b790d947272e6ceeb4.jpg","text":"TemporaryFile(/tmp/multipartBody4148376074588934000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824384062,"filename":"image_10022025_10_28_38_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d6291d36b13712b72682cff89b20221.jpg","text":"TemporaryFile(/tmp/multipartBody5967534409712686257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824384062,"filename":"image_10022025_10_28_09_10733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9def6d70d3cf97a62d9304c735b33635.jpg","text":"TemporaryFile(/tmp/multipartBody7518911045382708467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824384062,"filename":"image_10022025_10_28_49_10719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/adf6d43bd61194ac8e7fde9c3eb3eb9b.jpg","text":"TemporaryFile(/tmp/multipartBody8021009022988231590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824384062,"filename":"image_10022025_10_28_18_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222434","file1":"1338222433","file0":"1338222432","file4":"1338222436","file5":"1338222437","file3":"1338222435"},"map_files_photo_id_array":[{"photo_id":"1338222437","filename":"file5"},{"photo_id":"1338222434","filename":"file2"},{"photo_id":"1338222436","filename":"file4"},{"photo_id":"1338222433","filename":"file1"},{"photo_id":"1338222432","filename":"file0"},{"photo_id":"1338222435","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222435":["hashtag1","hashtag2"]},{"1338222432":["hashtag1","hashtag2"]},{"1338222434":["hashtag1","hashtag2"]},{"1338222437":["hashtag1","hashtag2"]},{"1338222433":["hashtag1","hashtag2"]},{"1338222436":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222435, 1338222432, 1338222434, 1338222437, 1338222433, 1338222436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.84598445892334 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:33:02.654857
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_58_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_48_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_39_10719.jpg', 0), ('/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_28_9712.jpg', 0), ('/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_18_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_08_9690.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_58_9721.jpg', '/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_48_9699.jpg', '/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_39_10719.jpg', '/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_28_9712.jpg', '/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_18_9713.jpg', '/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_08_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_58_9721.jpg
/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_48_9699.jpg
/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_39_10719.jpg
/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_28_9712.jpg
/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_18_9713.jpg
/home/nano/Desktop/images/10022025/10/27/image_10022025_10_27_08_9690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222450","1338222447","1338222452","1338222449","1338222454","1338222448"],"photo_ids_order":["1338222447","1338222448","1338222449","1338222450","1338222452","1338222454"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a272db4d20d3d41bb370217acea6e7f4.jpg","text":"TemporaryFile(/tmp/multipartBody2855547171651950890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824445381,"filename":"image_10022025_10_27_28_9712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e5d140351f994bbc0a28c6f8908a348e.jpg","text":"TemporaryFile(/tmp/multipartBody6635769516447962105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824445381,"filename":"image_10022025_10_27_58_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e6f5b6e49c1a90ba0e730acfa55c883.jpg","text":"TemporaryFile(/tmp/multipartBody5593427618823547324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824445381,"filename":"image_10022025_10_27_18_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aeff59524f961e01daacc4f164e653e8.jpg","text":"TemporaryFile(/tmp/multipartBody1211219400286453416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824445381,"filename":"image_10022025_10_27_39_10719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b630f9481052568d88534489a27150a2.jpg","text":"TemporaryFile(/tmp/multipartBody2145739229865265114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824445381,"filename":"image_10022025_10_27_08_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5256edbfd67c3ad7b9dd576408bee417.jpg","text":"TemporaryFile(/tmp/multipartBody2472073027931330031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824445381,"filename":"image_10022025_10_27_48_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222449","file1":"1338222448","file0":"1338222447","file4":"1338222452","file5":"1338222454","file3":"1338222450"},"map_files_photo_id_array":[{"photo_id":"1338222454","filename":"file5"},{"photo_id":"1338222449","filename":"file2"},{"photo_id":"1338222452","filename":"file4"},{"photo_id":"1338222448","filename":"file1"},{"photo_id":"1338222447","filename":"file0"},{"photo_id":"1338222450","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222450":["hashtag1","hashtag2"]},{"1338222447":["hashtag1","hashtag2"]},{"1338222452":["hashtag1","hashtag2"]},{"1338222449":["hashtag1","hashtag2"]},{"1338222454":["hashtag1","hashtag2"]},{"1338222448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222450, 1338222447, 1338222452, 1338222449, 1338222454, 1338222448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95074200630188 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:34:03.053737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_59_10728.jpg', 0), ('/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_48_9720.jpg', 0), ('/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_38_9704.jpg', 0), ('/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_29_10729.jpg', 0), ('/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_18_9745.jpg', 0), ('/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_08_9730.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_59_10728.jpg', '/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_48_9720.jpg', '/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_38_9704.jpg', '/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_29_10729.jpg', '/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_18_9745.jpg', '/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_08_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_59_10728.jpg
/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_48_9720.jpg
/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_38_9704.jpg
/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_29_10729.jpg
/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_18_9745.jpg
/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_08_9730.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1661946773529053 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:34:32.377107
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_59_10728.jpg', 0), ('/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_48_9720.jpg', 0), ('/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_38_9704.jpg', 0), ('/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_29_10729.jpg', 0), ('/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_18_9745.jpg', 0), ('/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_08_9730.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_59_10728.jpg', '/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_48_9720.jpg', '/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_38_9704.jpg', '/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_29_10729.jpg', '/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_18_9745.jpg', '/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_08_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_59_10728.jpg
/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_48_9720.jpg
/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_38_9704.jpg
/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_29_10729.jpg
/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_18_9745.jpg
/home/nano/Desktop/images/10022025/10/26/image_10022025_10_26_08_9730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222534","1338222483","1338222511","1338222492","1338222486","1338222489"],"photo_ids_order":["1338222483","1338222486","1338222489","1338222492","1338222511","1338222534"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f3a5091e6bbe47e4a68fcaf58185595.jpg","text":"TemporaryFile(/tmp/multipartBody5638985087586265817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824534802,"filename":"image_10022025_10_26_08_9730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8582ed0458cac92c1d58fc77c15ad31b.jpg","text":"TemporaryFile(/tmp/multipartBody5079146630670940391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824534802,"filename":"image_10022025_10_26_59_10728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ae5aa7caf80aeff5d606da8a1b1ee13.jpg","text":"TemporaryFile(/tmp/multipartBody3619106776109383420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824534802,"filename":"image_10022025_10_26_18_9745.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fdd205a8323729999e497b9a348ee1b0.jpg","text":"TemporaryFile(/tmp/multipartBody7942362549463194063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824534802,"filename":"image_10022025_10_26_29_10729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d60a04eecd2b43153c81f78afffefd87.jpg","text":"TemporaryFile(/tmp/multipartBody1597142256102082841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824534802,"filename":"image_10022025_10_26_48_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3e28f51a004eacc4279aafdd1d8483c.jpg","text":"TemporaryFile(/tmp/multipartBody8137067948260250587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824534802,"filename":"image_10022025_10_26_38_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222489","file1":"1338222486","file0":"1338222483","file4":"1338222511","file5":"1338222534","file3":"1338222492"},"map_files_photo_id_array":[{"photo_id":"1338222534","filename":"file5"},{"photo_id":"1338222489","filename":"file2"},{"photo_id":"1338222511","filename":"file4"},{"photo_id":"1338222486","filename":"file1"},{"photo_id":"1338222483","filename":"file0"},{"photo_id":"1338222492","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222534":["hashtag1","hashtag2"]},{"1338222483":["hashtag1","hashtag2"]},{"1338222511":["hashtag1","hashtag2"]},{"1338222492":["hashtag1","hashtag2"]},{"1338222486":["hashtag1","hashtag2"]},{"1338222489":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222534, 1338222483, 1338222511, 1338222492, 1338222486, 1338222489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08257484436035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:35:32.527348
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_58_9743.jpg', 0), ('/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_49_10709.jpg', 0), ('/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_38_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_28_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_19_9722.jpg', 0), ('/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_09_10730.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_58_9743.jpg', '/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_49_10709.jpg', '/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_38_9705.jpg', '/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_28_9716.jpg', '/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_19_9722.jpg', '/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_09_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_58_9743.jpg
/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_49_10709.jpg
/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_38_9705.jpg
/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_28_9716.jpg
/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_19_9722.jpg
/home/nano/Desktop/images/10022025/10/25/image_10022025_10_25_09_10730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222540","1338222543","1338222551","1338222545","1338222548","1338222550"],"photo_ids_order":["1338222540","1338222543","1338222545","1338222548","1338222550","1338222551"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19d4d7e46837bd188356a98315acab6a.jpg","text":"TemporaryFile(/tmp/multipartBody7012099533521948234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824595409,"filename":"image_10022025_10_25_58_9743.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e4a242010b8c83e484ea0c4fa3ee97f8.jpg","text":"TemporaryFile(/tmp/multipartBody7986482843322168819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824595409,"filename":"image_10022025_10_25_49_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/52b855192d4f1372df86daff6d5fc354.jpg","text":"TemporaryFile(/tmp/multipartBody3223785836232431361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824595409,"filename":"image_10022025_10_25_09_10730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e18879297daee48215db43931271c4f5.jpg","text":"TemporaryFile(/tmp/multipartBody3393186206658764576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824595409,"filename":"image_10022025_10_25_38_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c66bb32023bb62d56647f538f952b978.jpg","text":"TemporaryFile(/tmp/multipartBody8989036896557982681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824595409,"filename":"image_10022025_10_25_28_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c53398c2211f8c4a2cbd232950e747f.jpg","text":"TemporaryFile(/tmp/multipartBody4891836253904358502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824595409,"filename":"image_10022025_10_25_19_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222545","file1":"1338222543","file0":"1338222540","file4":"1338222550","file5":"1338222551","file3":"1338222548"},"map_files_photo_id_array":[{"photo_id":"1338222551","filename":"file5"},{"photo_id":"1338222545","filename":"file2"},{"photo_id":"1338222550","filename":"file4"},{"photo_id":"1338222543","filename":"file1"},{"photo_id":"1338222540","filename":"file0"},{"photo_id":"1338222548","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222540":["hashtag1","hashtag2"]},{"1338222543":["hashtag1","hashtag2"]},{"1338222551":["hashtag1","hashtag2"]},{"1338222545":["hashtag1","hashtag2"]},{"1338222548":["hashtag1","hashtag2"]},{"1338222550":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222540, 1338222543, 1338222551, 1338222545, 1338222548, 1338222550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03251075744629 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:36:32.695871
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_58_9703.jpg', 0), ('/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_48_9710.jpg', 0), ('/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_39_10698.jpg', 0), ('/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_28_9702.jpg', 0), ('/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_18_9717.jpg', 0), ('/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_09_9709.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_58_9703.jpg', '/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_48_9710.jpg', '/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_39_10698.jpg', '/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_28_9702.jpg', '/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_18_9717.jpg', '/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_09_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_58_9703.jpg
/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_48_9710.jpg
/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_39_10698.jpg
/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_28_9702.jpg
/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_18_9717.jpg
/home/nano/Desktop/images/10022025/10/24/image_10022025_10_24_09_9709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222563","1338222572","1338222574","1338222568","1338222565","1338222570"],"photo_ids_order":["1338222563","1338222565","1338222568","1338222570","1338222572","1338222574"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0113d3821c0ce3eaa2855968c496e7a3.jpg","text":"TemporaryFile(/tmp/multipartBody2301540485718737224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824654898,"filename":"image_10022025_10_24_58_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cedd14dc5a941349128c5a15c6bff4b2.jpg","text":"TemporaryFile(/tmp/multipartBody7506839336743573964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824654898,"filename":"image_10022025_10_24_18_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1ed0234b803ed2add805412447cc9e6.jpg","text":"TemporaryFile(/tmp/multipartBody1747071435290136912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824654898,"filename":"image_10022025_10_24_09_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8edaae8a704157c90de869d40d3bd496.jpg","text":"TemporaryFile(/tmp/multipartBody4254810850136583331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824654898,"filename":"image_10022025_10_24_39_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64b09787cf5cc9d310267f9b965f9e31.jpg","text":"TemporaryFile(/tmp/multipartBody817323437903206863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824654898,"filename":"image_10022025_10_24_48_9710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ef52d29530d797aad43c1533379b861.jpg","text":"TemporaryFile(/tmp/multipartBody6703213525726885329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824654898,"filename":"image_10022025_10_24_28_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222568","file1":"1338222565","file0":"1338222563","file4":"1338222572","file5":"1338222574","file3":"1338222570"},"map_files_photo_id_array":[{"photo_id":"1338222574","filename":"file5"},{"photo_id":"1338222568","filename":"file2"},{"photo_id":"1338222572","filename":"file4"},{"photo_id":"1338222565","filename":"file1"},{"photo_id":"1338222563","filename":"file0"},{"photo_id":"1338222570","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222563":["hashtag1","hashtag2"]},{"1338222572":["hashtag1","hashtag2"]},{"1338222574":["hashtag1","hashtag2"]},{"1338222568":["hashtag1","hashtag2"]},{"1338222565":["hashtag1","hashtag2"]},{"1338222570":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222563, 1338222572, 1338222574, 1338222568, 1338222565, 1338222570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.303645610809326 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:37:31.909431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_59_10718.jpg', 0), ('/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_48_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_38_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_29_10721.jpg', 0), ('/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_18_9690.jpg', 0), ('/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_08_9713.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_59_10718.jpg', '/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_48_9713.jpg', '/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_38_9714.jpg', '/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_29_10721.jpg', '/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_18_9690.jpg', '/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_08_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_59_10718.jpg
/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_48_9713.jpg
/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_38_9714.jpg
/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_29_10721.jpg
/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_18_9690.jpg
/home/nano/Desktop/images/10022025/10/23/image_10022025_10_23_08_9713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222582","1338222603","1338222584","1338222595","1338222591","1338222579"],"photo_ids_order":["1338222579","1338222582","1338222584","1338222591","1338222595","1338222603"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe44522d3067508bb189d75a8e9af32c.jpg","text":"TemporaryFile(/tmp/multipartBody3322708315052585179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824714478,"filename":"image_10022025_10_23_48_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/171b2e9e808ee8332657a574c12d3cbc.jpg","text":"TemporaryFile(/tmp/multipartBody6134859039144430792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824714478,"filename":"image_10022025_10_23_08_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c37c30769951e5b70517a8ecc1d8130b.jpg","text":"TemporaryFile(/tmp/multipartBody8955221274818109081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824714478,"filename":"image_10022025_10_23_38_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a6f2e280377eefe294d1523d7d6ed768.jpg","text":"TemporaryFile(/tmp/multipartBody509403299791238878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824714478,"filename":"image_10022025_10_23_18_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ffe6a087ded09265cede0e43cde7afd1.jpg","text":"TemporaryFile(/tmp/multipartBody563000872566566982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824714478,"filename":"image_10022025_10_23_29_10721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/105e21bc33bb8bcf10182ff64aeabf14.jpg","text":"TemporaryFile(/tmp/multipartBody5631310904999346439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824714478,"filename":"image_10022025_10_23_59_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222584","file1":"1338222582","file0":"1338222579","file4":"1338222595","file5":"1338222603","file3":"1338222591"},"map_files_photo_id_array":[{"photo_id":"1338222603","filename":"file5"},{"photo_id":"1338222584","filename":"file2"},{"photo_id":"1338222595","filename":"file4"},{"photo_id":"1338222582","filename":"file1"},{"photo_id":"1338222579","filename":"file0"},{"photo_id":"1338222591","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222582":["hashtag1","hashtag2"]},{"1338222603":["hashtag1","hashtag2"]},{"1338222584":["hashtag1","hashtag2"]},{"1338222595":["hashtag1","hashtag2"]},{"1338222591":["hashtag1","hashtag2"]},{"1338222579":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222582, 1338222603, 1338222584, 1338222595, 1338222591, 1338222579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17973566055298 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:38:32.061181
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_59_10708.jpg', 0), ('/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_48_9704.jpg', 0), ('/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_38_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_28_9707.jpg', 0), ('/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_19_10729.jpg', 0), ('/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_08_9701.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_59_10708.jpg', '/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_48_9704.jpg', '/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_38_9721.jpg', '/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_28_9707.jpg', '/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_19_10729.jpg', '/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_08_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_59_10708.jpg
/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_48_9704.jpg
/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_38_9721.jpg
/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_28_9707.jpg
/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_19_10729.jpg
/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_08_9701.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.874872922897339 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:39:02.761146
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_59_10708.jpg', 0), ('/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_48_9704.jpg', 0), ('/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_38_9721.jpg', 0), ('/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_28_9707.jpg', 0), ('/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_19_10729.jpg', 0), ('/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_08_9701.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_59_10708.jpg', '/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_48_9704.jpg', '/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_38_9721.jpg', '/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_28_9707.jpg', '/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_19_10729.jpg', '/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_08_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_59_10708.jpg
/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_48_9704.jpg
/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_38_9721.jpg
/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_28_9707.jpg
/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_19_10729.jpg
/home/nano/Desktop/images/10022025/10/22/image_10022025_10_22_08_9701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222633","1338222630","1338222632","1338222635","1338222631","1338222634"],"photo_ids_order":["1338222630","1338222631","1338222632","1338222633","1338222634","1338222635"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/23b8dcc587c094cf89e3419497f8b373.jpg","text":"TemporaryFile(/tmp/multipartBody1630870248028679581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824805121,"filename":"image_10022025_10_22_28_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f4ef4bde133f730e895704f15e2fbd0.jpg","text":"TemporaryFile(/tmp/multipartBody6115501495705095441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824805121,"filename":"image_10022025_10_22_59_10708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5cd134dc9dfd6c111be9a4e20f0c11e7.jpg","text":"TemporaryFile(/tmp/multipartBody4121540749979873710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824805121,"filename":"image_10022025_10_22_38_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ea76535ce2fd4e00a9c9a34d8afbc802.jpg","text":"TemporaryFile(/tmp/multipartBody4813235967993978678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824805121,"filename":"image_10022025_10_22_08_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/188dde93e7ef0bfa306fa6fd0c56a746.jpg","text":"TemporaryFile(/tmp/multipartBody5231816255254331441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824805121,"filename":"image_10022025_10_22_48_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d7c24eaf9c701ddd35c56636be74c321.jpg","text":"TemporaryFile(/tmp/multipartBody7399008362512180854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824805121,"filename":"image_10022025_10_22_19_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222632","file1":"1338222631","file0":"1338222630","file4":"1338222634","file5":"1338222635","file3":"1338222633"},"map_files_photo_id_array":[{"photo_id":"1338222635","filename":"file5"},{"photo_id":"1338222632","filename":"file2"},{"photo_id":"1338222634","filename":"file4"},{"photo_id":"1338222631","filename":"file1"},{"photo_id":"1338222630","filename":"file0"},{"photo_id":"1338222633","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222633":["hashtag1","hashtag2"]},{"1338222630":["hashtag1","hashtag2"]},{"1338222632":["hashtag1","hashtag2"]},{"1338222635":["hashtag1","hashtag2"]},{"1338222631":["hashtag1","hashtag2"]},{"1338222634":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222633, 1338222630, 1338222632, 1338222635, 1338222631, 1338222634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57527470588684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:40:02.681267
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_58_9709.jpg', 0), ('/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_49_10706.jpg', 0), ('/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_38_9709.jpg', 0), ('/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_28_9686.jpg', 0), ('/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_19_9730.jpg', 0), ('/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_09_10690.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_58_9709.jpg', '/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_49_10706.jpg', '/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_38_9709.jpg', '/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_28_9686.jpg', '/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_19_9730.jpg', '/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_09_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_58_9709.jpg
/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_49_10706.jpg
/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_38_9709.jpg
/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_28_9686.jpg
/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_19_9730.jpg
/home/nano/Desktop/images/10022025/10/21/image_10022025_10_21_09_10690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222642","1338222636","1338222639","1338222641","1338222638","1338222640"],"photo_ids_order":["1338222636","1338222638","1338222639","1338222640","1338222641","1338222642"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0bb42b43291a6dda06738162e6c9ccbe.jpg","text":"TemporaryFile(/tmp/multipartBody3705154026746018039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824865390,"filename":"image_10022025_10_21_09_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e52a0042e7030631b084f0b82d6bbeed.jpg","text":"TemporaryFile(/tmp/multipartBody8425077642213289739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824865390,"filename":"image_10022025_10_21_58_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8fda62e58adb269f04d6c969bae25d45.jpg","text":"TemporaryFile(/tmp/multipartBody5964966481416130199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824865390,"filename":"image_10022025_10_21_38_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7e3696e4ef87f48c4fc8d03fdffc21d.jpg","text":"TemporaryFile(/tmp/multipartBody9166753887069484487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824865390,"filename":"image_10022025_10_21_19_9730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e20872089ccfadae249cd003c82106df.jpg","text":"TemporaryFile(/tmp/multipartBody4608761268460169458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824865390,"filename":"image_10022025_10_21_49_10706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c10322996eb5d0f26e2c84bcfe95afc8.jpg","text":"TemporaryFile(/tmp/multipartBody3470502429832761326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824865390,"filename":"image_10022025_10_21_28_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222639","file1":"1338222638","file0":"1338222636","file4":"1338222641","file5":"1338222642","file3":"1338222640"},"map_files_photo_id_array":[{"photo_id":"1338222642","filename":"file5"},{"photo_id":"1338222639","filename":"file2"},{"photo_id":"1338222641","filename":"file4"},{"photo_id":"1338222638","filename":"file1"},{"photo_id":"1338222636","filename":"file0"},{"photo_id":"1338222640","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222642":["hashtag1","hashtag2"]},{"1338222636":["hashtag1","hashtag2"]},{"1338222639":["hashtag1","hashtag2"]},{"1338222641":["hashtag1","hashtag2"]},{"1338222638":["hashtag1","hashtag2"]},{"1338222640":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222642, 1338222636, 1338222639, 1338222641, 1338222638, 1338222640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09914684295654 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:41:02.889067
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_58_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_48_9686.jpg', 0), ('/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_39_10711.jpg', 0), ('/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_28_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_18_9703.jpg', 0), ('/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_09_9725.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_58_9682.jpg', '/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_48_9686.jpg', '/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_39_10711.jpg', '/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_28_9699.jpg', '/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_18_9703.jpg', '/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_09_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_58_9682.jpg
/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_48_9686.jpg
/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_39_10711.jpg
/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_28_9699.jpg
/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_18_9703.jpg
/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_09_9725.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.730867862701416 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:41:32.500815
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_58_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_48_9686.jpg', 0), ('/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_39_10711.jpg', 0), ('/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_28_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_18_9703.jpg', 0), ('/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_09_9725.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_58_9682.jpg', '/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_48_9686.jpg', '/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_39_10711.jpg', '/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_28_9699.jpg', '/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_18_9703.jpg', '/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_09_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_58_9682.jpg
/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_48_9686.jpg
/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_39_10711.jpg
/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_28_9699.jpg
/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_18_9703.jpg
/home/nano/Desktop/images/10022025/10/20/image_10022025_10_20_09_9725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222654","1338222648","1338222657","1338222653","1338222649","1338222651"],"photo_ids_order":["1338222648","1338222649","1338222651","1338222653","1338222654","1338222657"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a96773cdca6c4ff99b13218461c7768.jpg","text":"TemporaryFile(/tmp/multipartBody4939051158385198466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824955432,"filename":"image_10022025_10_20_18_9703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc022dc66462fc8a26e5ea356e55f15d.jpg","text":"TemporaryFile(/tmp/multipartBody2671956124024874756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824955432,"filename":"image_10022025_10_20_58_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2bfcc217036418815da7b8fcdf77dedd.jpg","text":"TemporaryFile(/tmp/multipartBody5463163136152355379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824955432,"filename":"image_10022025_10_20_09_9725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d575e69ebe18d6bc16cc1412b0aa53f0.jpg","text":"TemporaryFile(/tmp/multipartBody8389644378513319503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824955432,"filename":"image_10022025_10_20_28_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d995da32ace0f316fcba4474cdb9db9b.jpg","text":"TemporaryFile(/tmp/multipartBody5626095444367708314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824955432,"filename":"image_10022025_10_20_48_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b463df2ed019ac494c45c15e26a6e8a.jpg","text":"TemporaryFile(/tmp/multipartBody7998751700655255243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739824955432,"filename":"image_10022025_10_20_39_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222651","file1":"1338222649","file0":"1338222648","file4":"1338222654","file5":"1338222657","file3":"1338222653"},"map_files_photo_id_array":[{"photo_id":"1338222657","filename":"file5"},{"photo_id":"1338222651","filename":"file2"},{"photo_id":"1338222654","filename":"file4"},{"photo_id":"1338222649","filename":"file1"},{"photo_id":"1338222648","filename":"file0"},{"photo_id":"1338222653","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222654":["hashtag1","hashtag2"]},{"1338222648":["hashtag1","hashtag2"]},{"1338222657":["hashtag1","hashtag2"]},{"1338222653":["hashtag1","hashtag2"]},{"1338222649":["hashtag1","hashtag2"]},{"1338222651":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222654, 1338222648, 1338222657, 1338222653, 1338222649, 1338222651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72124695777893 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:42:32.645580
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_59_10721.jpg', 0), ('/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_48_9728.jpg', 0), ('/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_38_9755.jpg', 0), ('/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_29_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_18_9723.jpg', 0), ('/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_08_9712.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_59_10721.jpg', '/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_48_9728.jpg', '/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_38_9755.jpg', '/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_29_10717.jpg', '/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_18_9723.jpg', '/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_08_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_59_10721.jpg
/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_48_9728.jpg
/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_38_9755.jpg
/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_29_10717.jpg
/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_18_9723.jpg
/home/nano/Desktop/images/10022025/10/19/image_10022025_10_19_08_9712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222887","1338222851","1338222911","1338222856","1338222859","1338222844"],"photo_ids_order":["1338222844","1338222851","1338222856","1338222859","1338222887","1338222911"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c65c7b895ce30d5276b03430ffc2a5f2.jpg","text":"TemporaryFile(/tmp/multipartBody2129367815782323694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825014982,"filename":"image_10022025_10_19_18_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1a133db7e74ed24d60fad108ef294ff6.jpg","text":"TemporaryFile(/tmp/multipartBody7812488288381884948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825014982,"filename":"image_10022025_10_19_48_9728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0dfffdbab7629e36616fac9dc4b70802.jpg","text":"TemporaryFile(/tmp/multipartBody2817816199783023527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825014982,"filename":"image_10022025_10_19_08_9712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9da228364bddea041da494c7320c2d4c.jpg","text":"TemporaryFile(/tmp/multipartBody3236228511061272574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825014982,"filename":"image_10022025_10_19_38_9755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/04e5f1153cd5ef36f71720d2a2d7d04b.jpg","text":"TemporaryFile(/tmp/multipartBody5523719909673082706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825014982,"filename":"image_10022025_10_19_29_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da0400b8687147166f0ee58337b83105.jpg","text":"TemporaryFile(/tmp/multipartBody6868634431942020912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825014982,"filename":"image_10022025_10_19_59_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222856","file1":"1338222851","file0":"1338222844","file4":"1338222887","file5":"1338222911","file3":"1338222859"},"map_files_photo_id_array":[{"photo_id":"1338222911","filename":"file5"},{"photo_id":"1338222856","filename":"file2"},{"photo_id":"1338222887","filename":"file4"},{"photo_id":"1338222851","filename":"file1"},{"photo_id":"1338222844","filename":"file0"},{"photo_id":"1338222859","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222887":["hashtag1","hashtag2"]},{"1338222851":["hashtag1","hashtag2"]},{"1338222911":["hashtag1","hashtag2"]},{"1338222856":["hashtag1","hashtag2"]},{"1338222859":["hashtag1","hashtag2"]},{"1338222844":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222887, 1338222851, 1338222911, 1338222856, 1338222859, 1338222844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0487494468689 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:43:31.785245
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_59_9711.jpg', 0), ('/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_49_10718.jpg', 0), ('/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_38_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_28_9688.jpg', 0), ('/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_19_10730.jpg', 0), ('/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_08_9719.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_59_9711.jpg', '/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_49_10718.jpg', '/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_38_9705.jpg', '/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_28_9688.jpg', '/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_19_10730.jpg', '/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_08_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_59_9711.jpg
/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_49_10718.jpg
/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_38_9705.jpg
/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_28_9688.jpg
/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_19_10730.jpg
/home/nano/Desktop/images/10022025/10/18/image_10022025_10_18_08_9719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222951","1338222945","1338222948","1338222953","1338222956","1338222943"],"photo_ids_order":["1338222943","1338222945","1338222948","1338222951","1338222953","1338222956"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a921e9cfa8d2cc61d5d2965798ffe436.jpg","text":"TemporaryFile(/tmp/multipartBody1636942015612437503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825074914,"filename":"image_10022025_10_18_28_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a83905934b2ababce049f45e8030031.jpg","text":"TemporaryFile(/tmp/multipartBody7710708216985463499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825074914,"filename":"image_10022025_10_18_49_10718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fea031959242672200e3c7661743c6a9.jpg","text":"TemporaryFile(/tmp/multipartBody2679218445523805441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825074914,"filename":"image_10022025_10_18_38_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f963239f3f14828487800fe3e9d7c040.jpg","text":"TemporaryFile(/tmp/multipartBody1756768444568403867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825074914,"filename":"image_10022025_10_18_19_10730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/72b45704eef72958758833e99dc7b6f7.jpg","text":"TemporaryFile(/tmp/multipartBody5530947431882557331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825074914,"filename":"image_10022025_10_18_08_9719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/977d4364af46f0826fd607982423f989.jpg","text":"TemporaryFile(/tmp/multipartBody7699472164426069914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825074914,"filename":"image_10022025_10_18_59_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222948","file1":"1338222945","file0":"1338222943","file4":"1338222953","file5":"1338222956","file3":"1338222951"},"map_files_photo_id_array":[{"photo_id":"1338222956","filename":"file5"},{"photo_id":"1338222948","filename":"file2"},{"photo_id":"1338222953","filename":"file4"},{"photo_id":"1338222945","filename":"file1"},{"photo_id":"1338222943","filename":"file0"},{"photo_id":"1338222951","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222951":["hashtag1","hashtag2"]},{"1338222945":["hashtag1","hashtag2"]},{"1338222948":["hashtag1","hashtag2"]},{"1338222953":["hashtag1","hashtag2"]},{"1338222956":["hashtag1","hashtag2"]},{"1338222943":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222951, 1338222945, 1338222948, 1338222953, 1338222956, 1338222943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3951141834259 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:44:31.945303
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_58_9708.jpg', 0), ('/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_49_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_39_10691.jpg', 0), ('/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_28_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_18_9712.jpg', 0), ('/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_09_10721.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_58_9708.jpg', '/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_49_9692.jpg', '/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_39_10691.jpg', '/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_28_9705.jpg', '/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_18_9712.jpg', '/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_09_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_58_9708.jpg
/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_49_9692.jpg
/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_39_10691.jpg
/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_28_9705.jpg
/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_18_9712.jpg
/home/nano/Desktop/images/10022025/10/17/image_10022025_10_17_09_10721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222971","1338222964","1338222973","1338222967","1338222975","1338222969"],"photo_ids_order":["1338222964","1338222967","1338222969","1338222971","1338222973","1338222975"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7e0de5714271393f342f0952f39cc55d.jpg","text":"TemporaryFile(/tmp/multipartBody1366534381646610747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825134609,"filename":"image_10022025_10_17_28_9705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ebfa278086e90ba3fac306595a49910.jpg","text":"TemporaryFile(/tmp/multipartBody6961565067420766777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825134609,"filename":"image_10022025_10_17_58_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/29ce0f57b7bf402fd63e5419dd3097ae.jpg","text":"TemporaryFile(/tmp/multipartBody3483929973829057836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825134609,"filename":"image_10022025_10_17_18_9712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dcfb8651aaa98b8f99b19ff2f9c66afb.jpg","text":"TemporaryFile(/tmp/multipartBody4379285173351985271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825134609,"filename":"image_10022025_10_17_49_9692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc948d6edbf24cbf84687e7a38ba0e0f.jpg","text":"TemporaryFile(/tmp/multipartBody5533682591120915371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825134609,"filename":"image_10022025_10_17_09_10721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b032f475d9a997ac72a730d1f0fa2c9f.jpg","text":"TemporaryFile(/tmp/multipartBody7813419757748257176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825134609,"filename":"image_10022025_10_17_39_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222969","file1":"1338222967","file0":"1338222964","file4":"1338222973","file5":"1338222975","file3":"1338222971"},"map_files_photo_id_array":[{"photo_id":"1338222975","filename":"file5"},{"photo_id":"1338222969","filename":"file2"},{"photo_id":"1338222973","filename":"file4"},{"photo_id":"1338222967","filename":"file1"},{"photo_id":"1338222964","filename":"file0"},{"photo_id":"1338222971","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222971":["hashtag1","hashtag2"]},{"1338222964":["hashtag1","hashtag2"]},{"1338222973":["hashtag1","hashtag2"]},{"1338222967":["hashtag1","hashtag2"]},{"1338222975":["hashtag1","hashtag2"]},{"1338222969":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222971, 1338222964, 1338222973, 1338222967, 1338222975, 1338222969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53315567970276 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:45:32.093090
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_58_9738.jpg', 0), ('/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_48_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_39_9677.jpg', 0), ('/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_29_10776.jpg', 0), ('/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_18_9724.jpg', 0), ('/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_08_9708.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_58_9738.jpg', '/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_48_9726.jpg', '/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_39_9677.jpg', '/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_29_10776.jpg', '/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_18_9724.jpg', '/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_08_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_58_9738.jpg
/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_48_9726.jpg
/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_39_9677.jpg
/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_29_10776.jpg
/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_18_9724.jpg
/home/nano/Desktop/images/10022025/10/16/image_10022025_10_16_08_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338222980","1338222991","1338222985","1338222987","1338222990","1338222984"],"photo_ids_order":["1338222980","1338222984","1338222985","1338222987","1338222990","1338222991"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8d162f85c802d4612620d9197dd6a0b.jpg","text":"TemporaryFile(/tmp/multipartBody2394183995171632964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825195821,"filename":"image_10022025_10_16_58_9738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc92bcb9076298a7c0f066742b1ffca5.jpg","text":"TemporaryFile(/tmp/multipartBody8194730393327358436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825195821,"filename":"image_10022025_10_16_08_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1014dcf53707577954f83d8b86881441.jpg","text":"TemporaryFile(/tmp/multipartBody7685252797900916601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825195821,"filename":"image_10022025_10_16_39_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d678d4c358f46a080d50923e74a721ac.jpg","text":"TemporaryFile(/tmp/multipartBody9184297703682991870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825195821,"filename":"image_10022025_10_16_29_10776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2246b5489f7cb2e4d1eda62bceafc31f.jpg","text":"TemporaryFile(/tmp/multipartBody3388233143774275657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825195821,"filename":"image_10022025_10_16_18_9724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92c602ca0f41385ede6c4a1317272dc6.jpg","text":"TemporaryFile(/tmp/multipartBody3062517496292461433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825195821,"filename":"image_10022025_10_16_48_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338222985","file1":"1338222984","file0":"1338222980","file4":"1338222990","file5":"1338222991","file3":"1338222987"},"map_files_photo_id_array":[{"photo_id":"1338222991","filename":"file5"},{"photo_id":"1338222985","filename":"file2"},{"photo_id":"1338222990","filename":"file4"},{"photo_id":"1338222984","filename":"file1"},{"photo_id":"1338222980","filename":"file0"},{"photo_id":"1338222987","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338222980":["hashtag1","hashtag2"]},{"1338222991":["hashtag1","hashtag2"]},{"1338222985":["hashtag1","hashtag2"]},{"1338222987":["hashtag1","hashtag2"]},{"1338222990":["hashtag1","hashtag2"]},{"1338222984":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338222980, 1338222991, 1338222985, 1338222987, 1338222990, 1338222984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.00665855407715 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:46:32.227860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_59_10716.jpg', 0), ('/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_48_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_38_9713.jpg', 0), ('/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_29_9677.jpg', 0), ('/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_19_10718.jpg', 0), ('/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_08_9720.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_59_10716.jpg', '/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_48_9698.jpg', '/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_38_9713.jpg', '/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_29_9677.jpg', '/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_19_10718.jpg', '/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_08_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_59_10716.jpg
/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_48_9698.jpg
/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_38_9713.jpg
/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_29_9677.jpg
/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_19_10718.jpg
/home/nano/Desktop/images/10022025/10/15/image_10022025_10_15_08_9720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338223619","1338223634","1338223613","1338223517","1338223636","1338223624"],"photo_ids_order":["1338223517","1338223613","1338223619","1338223624","1338223634","1338223636"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2dd9081f89753a8c75e85cfa6323a712.jpg","text":"TemporaryFile(/tmp/multipartBody3001280013589164896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825254431,"filename":"image_10022025_10_15_38_9713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/375bb7b0ddec09f7759b784533caeb20.jpg","text":"TemporaryFile(/tmp/multipartBody536180601779974703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825254431,"filename":"image_10022025_10_15_19_10718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7975ba7f4891254eec0ac0323b826de7.jpg","text":"TemporaryFile(/tmp/multipartBody1583680663013662078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825254431,"filename":"image_10022025_10_15_48_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ef0827811d9950266d3d4cb7b825cb8.jpg","text":"TemporaryFile(/tmp/multipartBody6490902062778338731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825254431,"filename":"image_10022025_10_15_59_10716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fdd5f3a0614c62fa318176c8fd44541a.jpg","text":"TemporaryFile(/tmp/multipartBody4232839696959229154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825254431,"filename":"image_10022025_10_15_08_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8ad7f70a0a2b1d4f323334717f405c2.jpg","text":"TemporaryFile(/tmp/multipartBody5389029127745096708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825254431,"filename":"image_10022025_10_15_29_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338223619","file1":"1338223613","file0":"1338223517","file4":"1338223634","file5":"1338223636","file3":"1338223624"},"map_files_photo_id_array":[{"photo_id":"1338223636","filename":"file5"},{"photo_id":"1338223619","filename":"file2"},{"photo_id":"1338223634","filename":"file4"},{"photo_id":"1338223613","filename":"file1"},{"photo_id":"1338223517","filename":"file0"},{"photo_id":"1338223624","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338223619":["hashtag1","hashtag2"]},{"1338223634":["hashtag1","hashtag2"]},{"1338223613":["hashtag1","hashtag2"]},{"1338223517":["hashtag1","hashtag2"]},{"1338223636":["hashtag1","hashtag2"]},{"1338223624":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338223619, 1338223634, 1338223613, 1338223517, 1338223636, 1338223624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.976001977920532 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:47:32.386691
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_58_9675.jpg', 0), ('/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_49_10728.jpg', 0), ('/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_38_9683.jpg', 0), ('/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_28_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_19_10714.jpg', 0), ('/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_08_9696.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_58_9675.jpg', '/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_49_10728.jpg', '/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_38_9683.jpg', '/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_28_9697.jpg', '/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_19_10714.jpg', '/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_08_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_58_9675.jpg
/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_49_10728.jpg
/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_38_9683.jpg
/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_28_9697.jpg
/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_19_10714.jpg
/home/nano/Desktop/images/10022025/10/14/image_10022025_10_14_08_9696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338223701","1338223691","1338223703","1338223706","1338223695","1338223698"],"photo_ids_order":["1338223691","1338223695","1338223698","1338223701","1338223703","1338223706"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b57ee066a742881006aa385745e5d484.jpg","text":"TemporaryFile(/tmp/multipartBody2605620386624459263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825315081,"filename":"image_10022025_10_14_28_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e255c48199053389d0997f8fd4e3b038.jpg","text":"TemporaryFile(/tmp/multipartBody4282965693580254455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825315081,"filename":"image_10022025_10_14_58_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/011186f5c16e9f92709443270500f778.jpg","text":"TemporaryFile(/tmp/multipartBody600970186415941911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825315081,"filename":"image_10022025_10_14_19_10714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/454c2bf880578ee791746b91645b0bb0.jpg","text":"TemporaryFile(/tmp/multipartBody1977226345197143266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825315081,"filename":"image_10022025_10_14_08_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/243e766e9d0dbb76bae042bd6dfd258c.jpg","text":"TemporaryFile(/tmp/multipartBody5503264682049723182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825315081,"filename":"image_10022025_10_14_49_10728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/933fec0da79cc0520ef35f00aac6deca.jpg","text":"TemporaryFile(/tmp/multipartBody8498439778244346252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825315081,"filename":"image_10022025_10_14_38_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338223698","file1":"1338223695","file0":"1338223691","file4":"1338223703","file5":"1338223706","file3":"1338223701"},"map_files_photo_id_array":[{"photo_id":"1338223706","filename":"file5"},{"photo_id":"1338223698","filename":"file2"},{"photo_id":"1338223703","filename":"file4"},{"photo_id":"1338223695","filename":"file1"},{"photo_id":"1338223691","filename":"file0"},{"photo_id":"1338223701","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338223701":["hashtag1","hashtag2"]},{"1338223691":["hashtag1","hashtag2"]},{"1338223703":["hashtag1","hashtag2"]},{"1338223706":["hashtag1","hashtag2"]},{"1338223695":["hashtag1","hashtag2"]},{"1338223698":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338223701, 1338223691, 1338223703, 1338223706, 1338223695, 1338223698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35707950592041 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:48:32.604297
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_58_9753.jpg', 0), ('/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_48_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_39_9845.jpg', 0), ('/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_29_10860.jpg', 0), ('/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_18_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_08_9757.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_58_9753.jpg', '/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_48_9849.jpg', '/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_39_9845.jpg', '/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_29_10860.jpg', '/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_18_9789.jpg', '/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_08_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_58_9753.jpg
/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_48_9849.jpg
/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_39_9845.jpg
/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_29_10860.jpg
/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_18_9789.jpg
/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_08_9757.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3797929286956787 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:49:03.449955
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_58_9753.jpg', 0), ('/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_48_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_39_9845.jpg', 0), ('/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_29_10860.jpg', 0), ('/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_18_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_08_9757.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_58_9753.jpg', '/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_48_9849.jpg', '/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_39_9845.jpg', '/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_29_10860.jpg', '/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_18_9789.jpg', '/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_08_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_58_9753.jpg
/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_48_9849.jpg
/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_39_9845.jpg
/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_29_10860.jpg
/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_18_9789.jpg
/home/nano/Desktop/images/10022025/10/13/image_10022025_10_13_08_9757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338223733","1338223727","1338223729","1338223726","1338223731","1338223728"],"photo_ids_order":["1338223726","1338223727","1338223728","1338223729","1338223731","1338223733"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d94cc90ea1d95fded2913d46091ea2c7.jpg","text":"TemporaryFile(/tmp/multipartBody6097920598392290978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825408171,"filename":"image_10022025_10_13_08_9757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c7e9f526d8491833c4969dbdfd5dd5e8.jpg","text":"TemporaryFile(/tmp/multipartBody3550898356544995840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825408171,"filename":"image_10022025_10_13_48_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78145e27576ee3171e6aaf9e66be2aa1.jpg","text":"TemporaryFile(/tmp/multipartBody9061773191735497433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825408171,"filename":"image_10022025_10_13_29_10860.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec1b291294e5d36d4a055aa1c392c9b3.jpg","text":"TemporaryFile(/tmp/multipartBody4229641827082544707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825408171,"filename":"image_10022025_10_13_58_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3fbbc40488672a3f5cf0903212472db3.jpg","text":"TemporaryFile(/tmp/multipartBody159591589964711131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825408171,"filename":"image_10022025_10_13_18_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5315366ce30a7f7472f7548453452c97.jpg","text":"TemporaryFile(/tmp/multipartBody6465775066898351102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825408171,"filename":"image_10022025_10_13_39_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338223728","file1":"1338223727","file0":"1338223726","file4":"1338223731","file5":"1338223733","file3":"1338223729"},"map_files_photo_id_array":[{"photo_id":"1338223733","filename":"file5"},{"photo_id":"1338223728","filename":"file2"},{"photo_id":"1338223731","filename":"file4"},{"photo_id":"1338223727","filename":"file1"},{"photo_id":"1338223726","filename":"file0"},{"photo_id":"1338223729","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338223733":["hashtag1","hashtag2"]},{"1338223727":["hashtag1","hashtag2"]},{"1338223729":["hashtag1","hashtag2"]},{"1338223726":["hashtag1","hashtag2"]},{"1338223731":["hashtag1","hashtag2"]},{"1338223728":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338223733, 1338223727, 1338223729, 1338223726, 1338223731, 1338223728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.689637422561646 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:50:02.175344
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_58_9732.jpg', 0), ('/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_49_10732.jpg', 0), ('/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_38_9689.jpg', 0), ('/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_28_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_19_9681.jpg', 0), ('/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_09_10804.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_58_9732.jpg', '/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_49_10732.jpg', '/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_38_9689.jpg', '/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_28_9687.jpg', '/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_19_9681.jpg', '/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_09_10804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_58_9732.jpg
/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_49_10732.jpg
/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_38_9689.jpg
/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_28_9687.jpg
/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_19_9681.jpg
/home/nano/Desktop/images/10022025/10/12/image_10022025_10_12_09_10804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338223745","1338223739","1338223741","1338223738","1338223743","1338223740"],"photo_ids_order":["1338223738","1338223739","1338223740","1338223741","1338223743","1338223745"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/358a99119644e7d4915c1b2c4a9ec89d.jpg","text":"TemporaryFile(/tmp/multipartBody3474496476247628944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825466274,"filename":"image_10022025_10_12_09_10804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e3de54c4e7aff4e9ee1804b44228795.jpg","text":"TemporaryFile(/tmp/multipartBody1012628521566192394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825466274,"filename":"image_10022025_10_12_49_10732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/579078ec1ccc6e2be836212291425f6d.jpg","text":"TemporaryFile(/tmp/multipartBody1220315570253565248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825466274,"filename":"image_10022025_10_12_28_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0ecd1d90e065cb1308b9673c3589b18c.jpg","text":"TemporaryFile(/tmp/multipartBody3450850737595885379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825466274,"filename":"image_10022025_10_12_58_9732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a5c714d6eb5b257ef8c63a3bb3b8a2e.jpg","text":"TemporaryFile(/tmp/multipartBody268671178678138187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825466274,"filename":"image_10022025_10_12_19_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/57eb4273d4b63cbb67038ff3846e5584.jpg","text":"TemporaryFile(/tmp/multipartBody3679412413220331013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825466274,"filename":"image_10022025_10_12_38_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338223740","file1":"1338223739","file0":"1338223738","file4":"1338223743","file5":"1338223745","file3":"1338223741"},"map_files_photo_id_array":[{"photo_id":"1338223745","filename":"file5"},{"photo_id":"1338223740","filename":"file2"},{"photo_id":"1338223743","filename":"file4"},{"photo_id":"1338223739","filename":"file1"},{"photo_id":"1338223738","filename":"file0"},{"photo_id":"1338223741","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338223745":["hashtag1","hashtag2"]},{"1338223739":["hashtag1","hashtag2"]},{"1338223741":["hashtag1","hashtag2"]},{"1338223738":["hashtag1","hashtag2"]},{"1338223743":["hashtag1","hashtag2"]},{"1338223740":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338223745, 1338223739, 1338223741, 1338223738, 1338223743, 1338223740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.920960426330566 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:51:02.470846
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_58_9791.jpg', 0), ('/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_48_9794.jpg', 0), ('/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_38_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_29_9793.jpg', 0), ('/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_19_10801.jpg', 0), ('/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_08_9785.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_58_9791.jpg', '/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_48_9794.jpg', '/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_38_9786.jpg', '/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_29_9793.jpg', '/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_19_10801.jpg', '/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_08_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_58_9791.jpg
/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_48_9794.jpg
/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_38_9786.jpg
/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_29_9793.jpg
/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_19_10801.jpg
/home/nano/Desktop/images/10022025/10/11/image_10022025_10_11_08_9785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338223760","1338223757","1338223759","1338223762","1338223755","1338223758"],"photo_ids_order":["1338223755","1338223757","1338223758","1338223759","1338223760","1338223762"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/32290ffe79395fdb1b5ac3f67cb82efa.jpg","text":"TemporaryFile(/tmp/multipartBody7155302881292471818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825525176,"filename":"image_10022025_10_11_19_10801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c70e81ab1c2c8fcad14f8c7aaf6c13d2.jpg","text":"TemporaryFile(/tmp/multipartBody5731489365546342638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825525176,"filename":"image_10022025_10_11_48_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82fed47a2a5d76c289826789729d0e48.jpg","text":"TemporaryFile(/tmp/multipartBody6447675934149871167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825525176,"filename":"image_10022025_10_11_29_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ccda83b2c822b2beeaaa53921be2053.jpg","text":"TemporaryFile(/tmp/multipartBody3759522470071478225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825525176,"filename":"image_10022025_10_11_08_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c139fd36ebb0e86130e742a31c84e31.jpg","text":"TemporaryFile(/tmp/multipartBody7931652087688644879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825525176,"filename":"image_10022025_10_11_58_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2cbfdba36e2fa62a8696726016894b05.jpg","text":"TemporaryFile(/tmp/multipartBody6957280017325612213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825525176,"filename":"image_10022025_10_11_38_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338223758","file1":"1338223757","file0":"1338223755","file4":"1338223760","file5":"1338223762","file3":"1338223759"},"map_files_photo_id_array":[{"photo_id":"1338223762","filename":"file5"},{"photo_id":"1338223758","filename":"file2"},{"photo_id":"1338223760","filename":"file4"},{"photo_id":"1338223757","filename":"file1"},{"photo_id":"1338223755","filename":"file0"},{"photo_id":"1338223759","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338223760":["hashtag1","hashtag2"]},{"1338223757":["hashtag1","hashtag2"]},{"1338223759":["hashtag1","hashtag2"]},{"1338223762":["hashtag1","hashtag2"]},{"1338223755":["hashtag1","hashtag2"]},{"1338223758":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338223760, 1338223757, 1338223759, 1338223762, 1338223755, 1338223758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04821157455444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:52:02.492904
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_58_9791.jpg', 0), ('/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_48_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_39_10801.jpg', 0), ('/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_28_9793.jpg', 0), ('/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_18_9790.jpg', 0), ('/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_08_9820.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_58_9791.jpg', '/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_48_9788.jpg', '/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_39_10801.jpg', '/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_28_9793.jpg', '/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_18_9790.jpg', '/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_08_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_58_9791.jpg
/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_48_9788.jpg
/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_39_10801.jpg
/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_28_9793.jpg
/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_18_9790.jpg
/home/nano/Desktop/images/10022025/10/10/image_10022025_10_10_08_9820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338223865","1338223862","1338223864","1338223867","1338223869","1338223863"],"photo_ids_order":["1338223862","1338223863","1338223864","1338223865","1338223867","1338223869"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/774dd2bbc640e08a199d482a7c15dba7.jpg","text":"TemporaryFile(/tmp/multipartBody4095122192651081426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825586536,"filename":"image_10022025_10_10_28_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e97adedd5982c5b8432816e454d57183.jpg","text":"TemporaryFile(/tmp/multipartBody2326624023310829894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825586536,"filename":"image_10022025_10_10_58_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0efb3f982f2e4197dd40cbbd442448e.jpg","text":"TemporaryFile(/tmp/multipartBody4271570180837589768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825586536,"filename":"image_10022025_10_10_39_10801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a3dc9aeacf38d3a44bf116e653d9ee2.jpg","text":"TemporaryFile(/tmp/multipartBody9169990654409505146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825586536,"filename":"image_10022025_10_10_18_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/acc916e22b57acaed7b645b0750815f0.jpg","text":"TemporaryFile(/tmp/multipartBody1069075629958428815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825586536,"filename":"image_10022025_10_10_08_9820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/83f9e019b9b5c016a4af8fc6eabea5b5.jpg","text":"TemporaryFile(/tmp/multipartBody8828914882855573621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825586536,"filename":"image_10022025_10_10_48_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338223864","file1":"1338223863","file0":"1338223862","file4":"1338223867","file5":"1338223869","file3":"1338223865"},"map_files_photo_id_array":[{"photo_id":"1338223869","filename":"file5"},{"photo_id":"1338223864","filename":"file2"},{"photo_id":"1338223867","filename":"file4"},{"photo_id":"1338223863","filename":"file1"},{"photo_id":"1338223862","filename":"file0"},{"photo_id":"1338223865","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338223865":["hashtag1","hashtag2"]},{"1338223862":["hashtag1","hashtag2"]},{"1338223864":["hashtag1","hashtag2"]},{"1338223867":["hashtag1","hashtag2"]},{"1338223869":["hashtag1","hashtag2"]},{"1338223863":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338223865, 1338223862, 1338223864, 1338223867, 1338223869, 1338223863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53979444503784 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:53:02.738424
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_59_9790.jpg', 0), ('/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_49_10798.jpg', 0), ('/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_38_9805.jpg', 0), ('/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_28_9792.jpg', 0), ('/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_18_9790.jpg', 0), ('/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_09_9787.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_59_9790.jpg', '/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_49_10798.jpg', '/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_38_9805.jpg', '/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_28_9792.jpg', '/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_18_9790.jpg', '/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_09_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_59_9790.jpg
/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_49_10798.jpg
/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_38_9805.jpg
/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_28_9792.jpg
/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_18_9790.jpg
/home/nano/Desktop/images/10022025/10/09/image_10022025_10_09_09_9787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338223898","1338223892","1338223880","1338223879","1338223896","1338223881"],"photo_ids_order":["1338223879","1338223880","1338223881","1338223892","1338223896","1338223898"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b36903adb5acd4ef3963743f2d0a305.jpg","text":"TemporaryFile(/tmp/multipartBody4393655634488477084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825647377,"filename":"image_10022025_10_09_09_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/09d9cf41542388ad3cebd7713b6eb384.jpg","text":"TemporaryFile(/tmp/multipartBody416816468848392912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825647377,"filename":"image_10022025_10_09_28_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/136b937fc9b1008975fa6977ead16674.jpg","text":"TemporaryFile(/tmp/multipartBody7820779861587281011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825647377,"filename":"image_10022025_10_09_49_10798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e476d478ab92cd31b7dfaf98820bcd5.jpg","text":"TemporaryFile(/tmp/multipartBody2606179116877543845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825647377,"filename":"image_10022025_10_09_59_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad0db5d0b2ab038fcdc55c967b653fd1.jpg","text":"TemporaryFile(/tmp/multipartBody7650722097965415436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825647377,"filename":"image_10022025_10_09_18_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c60c78c6f5fc5ab2819c66811d5870c.jpg","text":"TemporaryFile(/tmp/multipartBody2155821191842428238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825647377,"filename":"image_10022025_10_09_38_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338223881","file1":"1338223880","file0":"1338223879","file4":"1338223896","file5":"1338223898","file3":"1338223892"},"map_files_photo_id_array":[{"photo_id":"1338223898","filename":"file5"},{"photo_id":"1338223881","filename":"file2"},{"photo_id":"1338223896","filename":"file4"},{"photo_id":"1338223880","filename":"file1"},{"photo_id":"1338223879","filename":"file0"},{"photo_id":"1338223892","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338223898":["hashtag1","hashtag2"]},{"1338223892":["hashtag1","hashtag2"]},{"1338223880":["hashtag1","hashtag2"]},{"1338223879":["hashtag1","hashtag2"]},{"1338223896":["hashtag1","hashtag2"]},{"1338223881":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338223898, 1338223892, 1338223880, 1338223879, 1338223896, 1338223881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.152734994888306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:54:03.063039
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_59_10795.jpg', 0), ('/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_48_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_38_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_28_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_19_9793.jpg', 0), ('/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_09_10793.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_59_10795.jpg', '/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_48_9788.jpg', '/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_38_9786.jpg', '/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_28_9786.jpg', '/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_19_9793.jpg', '/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_09_10793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_59_10795.jpg
/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_48_9788.jpg
/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_38_9786.jpg
/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_28_9786.jpg
/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_19_9793.jpg
/home/nano/Desktop/images/10022025/10/08/image_10022025_10_08_09_10793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338223908","1338223928","1338223922","1338223907","1338223924","1338223926"],"photo_ids_order":["1338223907","1338223908","1338223922","1338223924","1338223926","1338223928"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64e5f5ec3f58b98f2e391993b11b6276.jpg","text":"TemporaryFile(/tmp/multipartBody4971481580436847369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825706990,"filename":"image_10022025_10_08_48_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5476eac55dab12777a50fd1181bcd925.jpg","text":"TemporaryFile(/tmp/multipartBody5098345895199238344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825706990,"filename":"image_10022025_10_08_09_10793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d2c3688eb2bd466260f6ddb7ce1d44c3.jpg","text":"TemporaryFile(/tmp/multipartBody9061484502323532501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825706990,"filename":"image_10022025_10_08_38_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a10ffe445dde8d0a80436a1cb579ba87.jpg","text":"TemporaryFile(/tmp/multipartBody3351067593441257802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825706990,"filename":"image_10022025_10_08_59_10795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/195c04b692ed7957fec94e50b5ebc0e4.jpg","text":"TemporaryFile(/tmp/multipartBody4642808129255412425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825706990,"filename":"image_10022025_10_08_28_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e871a63b5f5d284e2d4f4fd1079c8d2e.jpg","text":"TemporaryFile(/tmp/multipartBody2882192193121508439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825706990,"filename":"image_10022025_10_08_19_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338223922","file1":"1338223908","file0":"1338223907","file4":"1338223926","file5":"1338223928","file3":"1338223924"},"map_files_photo_id_array":[{"photo_id":"1338223928","filename":"file5"},{"photo_id":"1338223922","filename":"file2"},{"photo_id":"1338223926","filename":"file4"},{"photo_id":"1338223908","filename":"file1"},{"photo_id":"1338223907","filename":"file0"},{"photo_id":"1338223924","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338223908":["hashtag1","hashtag2"]},{"1338223928":["hashtag1","hashtag2"]},{"1338223922":["hashtag1","hashtag2"]},{"1338223907":["hashtag1","hashtag2"]},{"1338223924":["hashtag1","hashtag2"]},{"1338223926":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338223908, 1338223928, 1338223922, 1338223907, 1338223924, 1338223926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62124562263489 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:55:03.105871
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_58_9790.jpg', 0), ('/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_48_9791.jpg', 0), ('/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_38_9793.jpg', 0), ('/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_29_9791.jpg', 0), ('/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_19_10802.jpg', 0), ('/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_08_9793.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_58_9790.jpg', '/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_48_9791.jpg', '/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_38_9793.jpg', '/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_29_9791.jpg', '/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_19_10802.jpg', '/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_08_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_58_9790.jpg
/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_48_9791.jpg
/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_38_9793.jpg
/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_29_9791.jpg
/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_19_10802.jpg
/home/nano/Desktop/images/10022025/10/07/image_10022025_10_07_08_9793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338223985","1338224009","1338224012","1338224011","1338224014","1338224010"],"photo_ids_order":["1338223985","1338224009","1338224010","1338224011","1338224012","1338224014"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bd8ef945fd7063859ef28a918ce47ff5.jpg","text":"TemporaryFile(/tmp/multipartBody6075710252408853531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825765842,"filename":"image_10022025_10_07_58_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7d8a4d0131bed2fc28deefbc7146673.jpg","text":"TemporaryFile(/tmp/multipartBody5889072716725783715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825765842,"filename":"image_10022025_10_07_48_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1d888c72964669238828c2b331fcf84.jpg","text":"TemporaryFile(/tmp/multipartBody4518121148050306937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825765842,"filename":"image_10022025_10_07_19_10802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/876bf1acac42d3e619dbbbb8de39d6c2.jpg","text":"TemporaryFile(/tmp/multipartBody5638455838186687142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825765842,"filename":"image_10022025_10_07_29_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e8874441985add81f9bff09eec33ac4.jpg","text":"TemporaryFile(/tmp/multipartBody1757188025986414186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825765842,"filename":"image_10022025_10_07_08_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dce8b364f58be61c8b9e24302ff18e16.jpg","text":"TemporaryFile(/tmp/multipartBody7377952193854180562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825765842,"filename":"image_10022025_10_07_38_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338224010","file1":"1338224009","file0":"1338223985","file4":"1338224012","file5":"1338224014","file3":"1338224011"},"map_files_photo_id_array":[{"photo_id":"1338224014","filename":"file5"},{"photo_id":"1338224010","filename":"file2"},{"photo_id":"1338224012","filename":"file4"},{"photo_id":"1338224009","filename":"file1"},{"photo_id":"1338223985","filename":"file0"},{"photo_id":"1338224011","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338223985":["hashtag1","hashtag2"]},{"1338224009":["hashtag1","hashtag2"]},{"1338224012":["hashtag1","hashtag2"]},{"1338224011":["hashtag1","hashtag2"]},{"1338224014":["hashtag1","hashtag2"]},{"1338224010":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338223985, 1338224009, 1338224012, 1338224011, 1338224014, 1338224010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.141255617141724 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:56:03.015934
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_58_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_48_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_39_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_29_10796.jpg', 0), ('/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_18_9783.jpg', 0), ('/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_08_9798.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_58_9789.jpg', '/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_48_9785.jpg', '/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_39_9788.jpg', '/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_29_10796.jpg', '/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_18_9783.jpg', '/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_08_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_58_9789.jpg
/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_48_9785.jpg
/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_39_9788.jpg
/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_29_10796.jpg
/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_18_9783.jpg
/home/nano/Desktop/images/10022025/10/06/image_10022025_10_06_08_9798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338224246","1338224240","1338224242","1338224239","1338224241","1338224244"],"photo_ids_order":["1338224239","1338224240","1338224241","1338224242","1338224244","1338224246"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a5f3e71aa1d626d90fae70f7e319d8a9.jpg","text":"TemporaryFile(/tmp/multipartBody2689586140753956812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825826277,"filename":"image_10022025_10_06_08_9798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d88f10269be20d12fdb9dcdd1d90c68.jpg","text":"TemporaryFile(/tmp/multipartBody2713483423980688602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825826277,"filename":"image_10022025_10_06_48_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9d9b15a8b967c91321b67ea6c349376b.jpg","text":"TemporaryFile(/tmp/multipartBody6437047750041765073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825826277,"filename":"image_10022025_10_06_29_10796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/413cb44a911c13b29d87f5f520412779.jpg","text":"TemporaryFile(/tmp/multipartBody9197441259295949966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825826277,"filename":"image_10022025_10_06_58_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6a3881c94540b40ee21969c0668da875.jpg","text":"TemporaryFile(/tmp/multipartBody5838314262321083141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825826277,"filename":"image_10022025_10_06_39_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1d232fb5f63769005e2e4e4846221ebf.jpg","text":"TemporaryFile(/tmp/multipartBody872626773600482186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825826277,"filename":"image_10022025_10_06_18_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338224241","file1":"1338224240","file0":"1338224239","file4":"1338224244","file5":"1338224246","file3":"1338224242"},"map_files_photo_id_array":[{"photo_id":"1338224246","filename":"file5"},{"photo_id":"1338224241","filename":"file2"},{"photo_id":"1338224244","filename":"file4"},{"photo_id":"1338224240","filename":"file1"},{"photo_id":"1338224239","filename":"file0"},{"photo_id":"1338224242","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338224246":["hashtag1","hashtag2"]},{"1338224240":["hashtag1","hashtag2"]},{"1338224242":["hashtag1","hashtag2"]},{"1338224239":["hashtag1","hashtag2"]},{"1338224241":["hashtag1","hashtag2"]},{"1338224244":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338224246, 1338224240, 1338224242, 1338224239, 1338224241, 1338224244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12198829650879 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:57:02.473239
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_58_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_49_10798.jpg', 0), ('/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_38_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_28_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_18_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_09_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_58_9786.jpg', '/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_49_10798.jpg', '/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_38_9787.jpg', '/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_28_9785.jpg', '/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_18_9786.jpg', '/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_09_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_58_9786.jpg
/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_49_10798.jpg
/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_38_9787.jpg
/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_28_9785.jpg
/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_18_9786.jpg
/home/nano/Desktop/images/10022025/10/05/image_10022025_10_05_09_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338224324","1338224272","1338224295","1338224308","1338224271","1338224310"],"photo_ids_order":["1338224271","1338224272","1338224295","1338224308","1338224310","1338224324"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b0398450166860b4ba2194d627d7b5c.jpg","text":"TemporaryFile(/tmp/multipartBody6343519001567455320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825887796,"filename":"image_10022025_10_05_09_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5870cd1b7840116fb03667d0cae93a1.jpg","text":"TemporaryFile(/tmp/multipartBody3165791550888757058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825887796,"filename":"image_10022025_10_05_49_10798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8128a1ae15de9aad27e9e68795a6cac.jpg","text":"TemporaryFile(/tmp/multipartBody6726089435464269285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825887796,"filename":"image_10022025_10_05_38_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d570d6466c3b79a43fd9843777677035.jpg","text":"TemporaryFile(/tmp/multipartBody6758052096362093570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825887796,"filename":"image_10022025_10_05_28_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/749b3a9e9eb1d24dd6156f4c7e7633ea.jpg","text":"TemporaryFile(/tmp/multipartBody4842253425674424211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825887796,"filename":"image_10022025_10_05_58_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c94370bb829e8120510cb721f9cd564.jpg","text":"TemporaryFile(/tmp/multipartBody859658744090382390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739825887796,"filename":"image_10022025_10_05_18_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338224295","file1":"1338224272","file0":"1338224271","file4":"1338224310","file5":"1338224324","file3":"1338224308"},"map_files_photo_id_array":[{"photo_id":"1338224324","filename":"file5"},{"photo_id":"1338224295","filename":"file2"},{"photo_id":"1338224310","filename":"file4"},{"photo_id":"1338224272","filename":"file1"},{"photo_id":"1338224271","filename":"file0"},{"photo_id":"1338224308","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338224324":["hashtag1","hashtag2"]},{"1338224272":["hashtag1","hashtag2"]},{"1338224295":["hashtag1","hashtag2"]},{"1338224308":["hashtag1","hashtag2"]},{"1338224271":["hashtag1","hashtag2"]},{"1338224310":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338224324, 1338224272, 1338224295, 1338224308, 1338224271, 1338224310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02964115142822 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:58:02.523088
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_59_10796.jpg', 0), ('/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_48_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_38_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_28_9784.jpg', 0), ('/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_19_9794.jpg', 0), ('/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_09_10828.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_59_10796.jpg', '/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_48_9785.jpg', '/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_38_9789.jpg', '/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_28_9784.jpg', '/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_19_9794.jpg', '/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_09_10828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_59_10796.jpg
/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_48_9785.jpg
/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_38_9789.jpg
/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_28_9784.jpg
/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_19_9794.jpg
/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_09_10828.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5659241676330566 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 21:59:02.603930
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_59_10796.jpg', 0), ('/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_48_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_38_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_28_9784.jpg', 0), ('/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_19_9794.jpg', 0), ('/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_09_10828.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_59_10796.jpg', '/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_48_9785.jpg', '/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_38_9789.jpg', '/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_28_9784.jpg', '/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_19_9794.jpg', '/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_09_10828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_59_10796.jpg
/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_48_9785.jpg
/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_38_9789.jpg
/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_28_9784.jpg
/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_19_9794.jpg
/home/nano/Desktop/images/10022025/10/04/image_10022025_10_04_09_10828.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338224384","1338224378","1338224386","1338224388","1338224382","1338224381"],"photo_ids_order":["1338224378","1338224381","1338224382","1338224384","1338224386","1338224388"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e8bd68239a162a40c5d496deadd6dbe.jpg","text":"TemporaryFile(/tmp/multipartBody8967677537396198964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826006927,"filename":"image_10022025_10_04_28_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b6dc85249963d4f289e8382d4a3d11f9.jpg","text":"TemporaryFile(/tmp/multipartBody8534241431066988210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826006927,"filename":"image_10022025_10_04_59_10796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9af5fbe3875f424c88d0427622f6e482.jpg","text":"TemporaryFile(/tmp/multipartBody1176998740459538775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826006927,"filename":"image_10022025_10_04_19_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8f112eb738442b72a3a8af408b57ff1.jpg","text":"TemporaryFile(/tmp/multipartBody3862258105993549024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826006927,"filename":"image_10022025_10_04_09_10828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71241fd295639642506de663f60af676.jpg","text":"TemporaryFile(/tmp/multipartBody983458628676988420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826006927,"filename":"image_10022025_10_04_38_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8abc94925114a66ed0429014e5d6e0cd.jpg","text":"TemporaryFile(/tmp/multipartBody3049332285555838806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826006927,"filename":"image_10022025_10_04_48_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338224382","file1":"1338224381","file0":"1338224378","file4":"1338224386","file5":"1338224388","file3":"1338224384"},"map_files_photo_id_array":[{"photo_id":"1338224388","filename":"file5"},{"photo_id":"1338224382","filename":"file2"},{"photo_id":"1338224386","filename":"file4"},{"photo_id":"1338224381","filename":"file1"},{"photo_id":"1338224378","filename":"file0"},{"photo_id":"1338224384","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338224384":["hashtag1","hashtag2"]},{"1338224378":["hashtag1","hashtag2"]},{"1338224386":["hashtag1","hashtag2"]},{"1338224388":["hashtag1","hashtag2"]},{"1338224382":["hashtag1","hashtag2"]},{"1338224381":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338224384, 1338224378, 1338224386, 1338224388, 1338224382, 1338224381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54542875289917 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:00:02.329314
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_58_9790.jpg', 0), ('/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_48_9791.jpg', 0), ('/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_38_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_29_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_19_10798.jpg', 0), ('/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_08_9801.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_58_9790.jpg', '/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_48_9791.jpg', '/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_38_9787.jpg', '/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_29_9788.jpg', '/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_19_10798.jpg', '/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_08_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_58_9790.jpg
/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_48_9791.jpg
/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_38_9787.jpg
/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_29_9788.jpg
/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_19_10798.jpg
/home/nano/Desktop/images/10022025/10/03/image_10022025_10_03_08_9801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338225061","1338225063","1338225057","1338225060","1338225062","1338225065"],"photo_ids_order":["1338225057","1338225060","1338225061","1338225062","1338225063","1338225065"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8f9ddc6df4d35bdc89b13ff48c28e3c.jpg","text":"TemporaryFile(/tmp/multipartBody7781260545937991426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826064939,"filename":"image_10022025_10_03_38_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/406f7b06d5e45bd8b5a80db091e6ad9e.jpg","text":"TemporaryFile(/tmp/multipartBody1081143073328276411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826064939,"filename":"image_10022025_10_03_19_10798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3f9ee0cfd2685e9fda821408cd427d2.jpg","text":"TemporaryFile(/tmp/multipartBody2010973915462426421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826064939,"filename":"image_10022025_10_03_58_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7e06606f87223ac09b83d8bb6bed8303.jpg","text":"TemporaryFile(/tmp/multipartBody2574003211529902718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826064939,"filename":"image_10022025_10_03_48_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3a211e8e62e7d06fcd979144c1dc67f.jpg","text":"TemporaryFile(/tmp/multipartBody501385036699474924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826064939,"filename":"image_10022025_10_03_29_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af79729d554d43723a536324c95e7d80.jpg","text":"TemporaryFile(/tmp/multipartBody420182431751937585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826064939,"filename":"image_10022025_10_03_08_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338225061","file1":"1338225060","file0":"1338225057","file4":"1338225063","file5":"1338225065","file3":"1338225062"},"map_files_photo_id_array":[{"photo_id":"1338225065","filename":"file5"},{"photo_id":"1338225061","filename":"file2"},{"photo_id":"1338225063","filename":"file4"},{"photo_id":"1338225060","filename":"file1"},{"photo_id":"1338225057","filename":"file0"},{"photo_id":"1338225062","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338225061":["hashtag1","hashtag2"]},{"1338225063":["hashtag1","hashtag2"]},{"1338225057":["hashtag1","hashtag2"]},{"1338225060":["hashtag1","hashtag2"]},{"1338225062":["hashtag1","hashtag2"]},{"1338225065":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338225061, 1338225063, 1338225057, 1338225060, 1338225062, 1338225065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.358941078186035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:01:02.633139
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_58_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_48_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_39_9811.jpg', 0), ('/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_29_10796.jpg', 0), ('/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_18_9794.jpg', 0), ('/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_08_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_58_9787.jpg', '/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_48_9786.jpg', '/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_39_9811.jpg', '/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_29_10796.jpg', '/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_18_9794.jpg', '/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_08_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_58_9787.jpg
/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_48_9786.jpg
/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_39_9811.jpg
/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_29_10796.jpg
/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_18_9794.jpg
/home/nano/Desktop/images/10022025/10/02/image_10022025_10_02_08_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338225503","1338225506","1338225502","1338225504","1338225501","1338225500"],"photo_ids_order":["1338225500","1338225501","1338225502","1338225503","1338225504","1338225506"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3b6630bfcfba84e42802c20290067ebc.jpg","text":"TemporaryFile(/tmp/multipartBody6987518116743431160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826125718,"filename":"image_10022025_10_02_29_10796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82e8b090ba352eb75d53c52560362a1d.jpg","text":"TemporaryFile(/tmp/multipartBody8816866633508055931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826125718,"filename":"image_10022025_10_02_08_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/83fc2939eb01dbefbb1c7363e654b108.jpg","text":"TemporaryFile(/tmp/multipartBody4371481631813584350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826125718,"filename":"image_10022025_10_02_39_9811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c4b3c4ea7ffafea772c14b58241a3f8a.jpg","text":"TemporaryFile(/tmp/multipartBody7573722048092127530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826125718,"filename":"image_10022025_10_02_18_9794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/971a83ffa64a6469c9cc2b8fa0df8566.jpg","text":"TemporaryFile(/tmp/multipartBody3115721422517837313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826125718,"filename":"image_10022025_10_02_48_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c015e4b49db589225ec1005ad09f6510.jpg","text":"TemporaryFile(/tmp/multipartBody6785230909811588802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826125718,"filename":"image_10022025_10_02_58_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338225502","file1":"1338225501","file0":"1338225500","file4":"1338225504","file5":"1338225506","file3":"1338225503"},"map_files_photo_id_array":[{"photo_id":"1338225506","filename":"file5"},{"photo_id":"1338225502","filename":"file2"},{"photo_id":"1338225504","filename":"file4"},{"photo_id":"1338225501","filename":"file1"},{"photo_id":"1338225500","filename":"file0"},{"photo_id":"1338225503","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338225503":["hashtag1","hashtag2"]},{"1338225506":["hashtag1","hashtag2"]},{"1338225502":["hashtag1","hashtag2"]},{"1338225504":["hashtag1","hashtag2"]},{"1338225501":["hashtag1","hashtag2"]},{"1338225500":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338225503, 1338225506, 1338225502, 1338225504, 1338225501, 1338225500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19103527069092 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:02:02.702886
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_58_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_49_9791.jpg', 0), ('/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_39_10819.jpg', 0), ('/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_28_9811.jpg', 0), ('/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_18_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_08_9778.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_58_9785.jpg', '/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_49_9791.jpg', '/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_39_10819.jpg', '/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_28_9811.jpg', '/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_18_9788.jpg', '/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_08_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_58_9785.jpg
/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_49_9791.jpg
/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_39_10819.jpg
/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_28_9811.jpg
/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_18_9788.jpg
/home/nano/Desktop/images/10022025/10/01/image_10022025_10_01_08_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338225524","1338225523","1338225526","1338225529","1338225528","1338225525"],"photo_ids_order":["1338225523","1338225524","1338225525","1338225526","1338225528","1338225529"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f88940b8a59691090578a9609f08be63.jpg","text":"TemporaryFile(/tmp/multipartBody1308305623329103243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826187619,"filename":"image_10022025_10_01_49_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f84f263134cbcb33b5abfd2465425b11.jpg","text":"TemporaryFile(/tmp/multipartBody846575839977768713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826187619,"filename":"image_10022025_10_01_58_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e88aeec55d6830c7ea3ed3ed0911670b.jpg","text":"TemporaryFile(/tmp/multipartBody1146298945896431938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826187619,"filename":"image_10022025_10_01_28_9811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5308272efe0e1ccf63602e8a083a301a.jpg","text":"TemporaryFile(/tmp/multipartBody705575156866192335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826187619,"filename":"image_10022025_10_01_08_9778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6dc67366bab2df5633450f4f4a572fca.jpg","text":"TemporaryFile(/tmp/multipartBody5356981166868265166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826187619,"filename":"image_10022025_10_01_18_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0f459d3106213a0d72cdd6f61dd3df5.jpg","text":"TemporaryFile(/tmp/multipartBody1706858664759790525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826187619,"filename":"image_10022025_10_01_39_10819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338225525","file1":"1338225524","file0":"1338225523","file4":"1338225528","file5":"1338225529","file3":"1338225526"},"map_files_photo_id_array":[{"photo_id":"1338225529","filename":"file5"},{"photo_id":"1338225525","filename":"file2"},{"photo_id":"1338225528","filename":"file4"},{"photo_id":"1338225524","filename":"file1"},{"photo_id":"1338225523","filename":"file0"},{"photo_id":"1338225526","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338225524":["hashtag1","hashtag2"]},{"1338225523":["hashtag1","hashtag2"]},{"1338225526":["hashtag1","hashtag2"]},{"1338225529":["hashtag1","hashtag2"]},{"1338225528":["hashtag1","hashtag2"]},{"1338225525":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338225524, 1338225523, 1338225526, 1338225529, 1338225528, 1338225525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.711581230163574 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:03:02.981162
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_59_10798.jpg', 0), ('/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_48_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_38_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_28_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_19_9790.jpg', 0), ('/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_09_10798.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_59_10798.jpg', '/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_48_9786.jpg', '/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_38_9789.jpg', '/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_28_9789.jpg', '/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_19_9790.jpg', '/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_09_10798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_59_10798.jpg
/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_48_9786.jpg
/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_38_9789.jpg
/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_28_9789.jpg
/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_19_9790.jpg
/home/nano/Desktop/images/10022025/10/00/image_10022025_10_00_09_10798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338225814","1338225802","1338225811","1338225810","1338225812","1338225796"],"photo_ids_order":["1338225796","1338225802","1338225810","1338225811","1338225812","1338225814"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b7eb8c637b2d9457c775749ec8640bae.jpg","text":"TemporaryFile(/tmp/multipartBody3752065621248836979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826246113,"filename":"image_10022025_10_00_09_10798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6bf464b24d6ca9a326eaabafc0a466d.jpg","text":"TemporaryFile(/tmp/multipartBody5958280304519702427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826246113,"filename":"image_10022025_10_00_48_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3eca1da80393b794bbc8674f80f2781f.jpg","text":"TemporaryFile(/tmp/multipartBody2984284709169521217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826246113,"filename":"image_10022025_10_00_28_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c9ae8e41e0451ae72217b4a03073065.jpg","text":"TemporaryFile(/tmp/multipartBody7933961933568781744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826246113,"filename":"image_10022025_10_00_38_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/abd0911214ca59d148cea307c785b4c4.jpg","text":"TemporaryFile(/tmp/multipartBody39514950330035677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826246113,"filename":"image_10022025_10_00_19_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0042bd6611a471a8ed209575984eec42.jpg","text":"TemporaryFile(/tmp/multipartBody4149682718145961553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826246113,"filename":"image_10022025_10_00_59_10798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338225810","file1":"1338225802","file0":"1338225796","file4":"1338225812","file5":"1338225814","file3":"1338225811"},"map_files_photo_id_array":[{"photo_id":"1338225814","filename":"file5"},{"photo_id":"1338225810","filename":"file2"},{"photo_id":"1338225812","filename":"file4"},{"photo_id":"1338225802","filename":"file1"},{"photo_id":"1338225796","filename":"file0"},{"photo_id":"1338225811","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338225814":["hashtag1","hashtag2"]},{"1338225802":["hashtag1","hashtag2"]},{"1338225811":["hashtag1","hashtag2"]},{"1338225810":["hashtag1","hashtag2"]},{"1338225812":["hashtag1","hashtag2"]},{"1338225796":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338225814, 1338225802, 1338225811, 1338225810, 1338225812, 1338225796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57132387161255 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:04:03.179123
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_58_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_48_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_38_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_29_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_19_10817.jpg', 0), ('/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_08_9804.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_58_9788.jpg', '/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_48_9788.jpg', '/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_38_9788.jpg', '/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_29_9787.jpg', '/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_19_10817.jpg', '/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_08_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_58_9788.jpg
/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_48_9788.jpg
/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_38_9788.jpg
/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_29_9787.jpg
/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_19_10817.jpg
/home/nano/Desktop/images/10022025/09/59/image_10022025_09_59_08_9804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338225829","1338225823","1338225826","1338225825","1338225828","1338225824"],"photo_ids_order":["1338225823","1338225824","1338225825","1338225826","1338225828","1338225829"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b579c436e93f99d618cd129518d0b00c.jpg","text":"TemporaryFile(/tmp/multipartBody8386148369943188806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826306752,"filename":"image_10022025_09_59_08_9804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c225b0d3f324e2b71ae475591519317a.jpg","text":"TemporaryFile(/tmp/multipartBody6608163556580755576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826306752,"filename":"image_10022025_09_59_58_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d9fbc01324989b52c43f64c2cbaa174.jpg","text":"TemporaryFile(/tmp/multipartBody4433563879138409465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826306752,"filename":"image_10022025_09_59_29_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ed0fab36565d237fb08dadffd3f5b22.jpg","text":"TemporaryFile(/tmp/multipartBody1010867201384594446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826306752,"filename":"image_10022025_09_59_38_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0eeeabef76e1ea8e581586a03a6b8f14.jpg","text":"TemporaryFile(/tmp/multipartBody3724744280623607495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826306752,"filename":"image_10022025_09_59_19_10817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da1e2efee4ea95b7c26f646c37afc759.jpg","text":"TemporaryFile(/tmp/multipartBody6800935947880882268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826306752,"filename":"image_10022025_09_59_48_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338225825","file1":"1338225824","file0":"1338225823","file4":"1338225828","file5":"1338225829","file3":"1338225826"},"map_files_photo_id_array":[{"photo_id":"1338225829","filename":"file5"},{"photo_id":"1338225825","filename":"file2"},{"photo_id":"1338225828","filename":"file4"},{"photo_id":"1338225824","filename":"file1"},{"photo_id":"1338225823","filename":"file0"},{"photo_id":"1338225826","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338225829":["hashtag1","hashtag2"]},{"1338225823":["hashtag1","hashtag2"]},{"1338225826":["hashtag1","hashtag2"]},{"1338225825":["hashtag1","hashtag2"]},{"1338225828":["hashtag1","hashtag2"]},{"1338225824":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338225829, 1338225823, 1338225826, 1338225825, 1338225828, 1338225824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2287380695343 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:05:03.230476
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_58_9809.jpg', 0), ('/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_48_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_39_9790.jpg', 0), ('/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_29_10799.jpg', 0), ('/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_18_9791.jpg', 0), ('/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_08_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_58_9809.jpg', '/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_48_9787.jpg', '/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_39_9790.jpg', '/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_29_10799.jpg', '/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_18_9791.jpg', '/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_08_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_58_9809.jpg
/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_48_9787.jpg
/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_39_9790.jpg
/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_29_10799.jpg
/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_18_9791.jpg
/home/nano/Desktop/images/10022025/09/58/image_10022025_09_58_08_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338226738","1338226761","1338226737","1338226736","1338226739","1338226888"],"photo_ids_order":["1338226736","1338226737","1338226738","1338226739","1338226761","1338226888"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b8fd0259c1e835f091b295f9eae45df3.jpg","text":"TemporaryFile(/tmp/multipartBody8533107659789999070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826366655,"filename":"image_10022025_09_58_39_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0966f5daac88597b06664dea70b2e792.jpg","text":"TemporaryFile(/tmp/multipartBody7605562187716937246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826366655,"filename":"image_10022025_09_58_18_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/44c2c8112e11f500a24b37b6e85ca61d.jpg","text":"TemporaryFile(/tmp/multipartBody1152156277754011356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826366655,"filename":"image_10022025_09_58_48_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5e7fe20b56e47ea39c36d117b61eaa00.jpg","text":"TemporaryFile(/tmp/multipartBody1614965921419603638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826366655,"filename":"image_10022025_09_58_58_9809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b87567d664434552571e8669e9311009.jpg","text":"TemporaryFile(/tmp/multipartBody1278157946360795066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826366655,"filename":"image_10022025_09_58_29_10799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a450fd3be2df977adfd21af2b692141.jpg","text":"TemporaryFile(/tmp/multipartBody4735064500023814199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826366655,"filename":"image_10022025_09_58_08_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338226738","file1":"1338226737","file0":"1338226736","file4":"1338226761","file5":"1338226888","file3":"1338226739"},"map_files_photo_id_array":[{"photo_id":"1338226888","filename":"file5"},{"photo_id":"1338226738","filename":"file2"},{"photo_id":"1338226761","filename":"file4"},{"photo_id":"1338226737","filename":"file1"},{"photo_id":"1338226736","filename":"file0"},{"photo_id":"1338226739","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338226738":["hashtag1","hashtag2"]},{"1338226761":["hashtag1","hashtag2"]},{"1338226737":["hashtag1","hashtag2"]},{"1338226736":["hashtag1","hashtag2"]},{"1338226739":["hashtag1","hashtag2"]},{"1338226888":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338226738, 1338226761, 1338226737, 1338226736, 1338226739, 1338226888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.5294086933136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:06:02.302782
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_58_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_49_9809.jpg', 0), ('/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_39_10799.jpg', 0), ('/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_28_9792.jpg', 0), ('/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_18_9790.jpg', 0), ('/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_08_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_58_9788.jpg', '/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_49_9809.jpg', '/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_39_10799.jpg', '/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_28_9792.jpg', '/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_18_9790.jpg', '/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_08_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_58_9788.jpg
/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_49_9809.jpg
/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_39_10799.jpg
/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_28_9792.jpg
/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_18_9790.jpg
/home/nano/Desktop/images/10022025/09/57/image_10022025_09_57_08_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338227070","1338227265","1338227268","1338227147","1338227216","1338227023"],"photo_ids_order":["1338227023","1338227070","1338227147","1338227216","1338227265","1338227268"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/112e6dcdb5b7d0376e680c54ebb722df.jpg","text":"TemporaryFile(/tmp/multipartBody2259822412000853930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826424956,"filename":"image_10022025_09_57_49_9809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/27e14dd12d7f252d810fc909d7dc81b3.jpg","text":"TemporaryFile(/tmp/multipartBody3065823032996399069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826424956,"filename":"image_10022025_09_57_18_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fadd74d47f623cee5c4a01e97766317f.jpg","text":"TemporaryFile(/tmp/multipartBody6914271347383880640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826424956,"filename":"image_10022025_09_57_08_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6527afea89fa75fc5a30b38ff534232.jpg","text":"TemporaryFile(/tmp/multipartBody537365166220229597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826424956,"filename":"image_10022025_09_57_39_10799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ebef81f06f9cf34994c738d17fac6c48.jpg","text":"TemporaryFile(/tmp/multipartBody4439243327002349348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826424956,"filename":"image_10022025_09_57_28_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4113149e77d8161cb0e8e418cce839cd.jpg","text":"TemporaryFile(/tmp/multipartBody1718346833712420230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826424956,"filename":"image_10022025_09_57_58_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338227147","file1":"1338227070","file0":"1338227023","file4":"1338227265","file5":"1338227268","file3":"1338227216"},"map_files_photo_id_array":[{"photo_id":"1338227268","filename":"file5"},{"photo_id":"1338227147","filename":"file2"},{"photo_id":"1338227265","filename":"file4"},{"photo_id":"1338227070","filename":"file1"},{"photo_id":"1338227023","filename":"file0"},{"photo_id":"1338227216","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338227070":["hashtag1","hashtag2"]},{"1338227265":["hashtag1","hashtag2"]},{"1338227268":["hashtag1","hashtag2"]},{"1338227147":["hashtag1","hashtag2"]},{"1338227216":["hashtag1","hashtag2"]},{"1338227023":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338227070, 1338227265, 1338227268, 1338227147, 1338227216, 1338227023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12485980987549 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:07:02.569809
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_59_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_49_10799.jpg', 0), ('/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_38_9791.jpg', 0), ('/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_28_9791.jpg', 0), ('/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_18_9791.jpg', 0), ('/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_09_9791.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_59_9788.jpg', '/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_49_10799.jpg', '/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_38_9791.jpg', '/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_28_9791.jpg', '/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_18_9791.jpg', '/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_09_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_59_9788.jpg
/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_49_10799.jpg
/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_38_9791.jpg
/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_28_9791.jpg
/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_18_9791.jpg
/home/nano/Desktop/images/10022025/09/56/image_10022025_09_56_09_9791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338227283","1338227286","1338227285","1338227288","1338227282","1338227284"],"photo_ids_order":["1338227282","1338227283","1338227284","1338227285","1338227286","1338227288"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e58a47c5cbb74dc2fabb9801413c4c9.jpg","text":"TemporaryFile(/tmp/multipartBody8256478863694178425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826486152,"filename":"image_10022025_09_56_49_10799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc735eba1f0f51ff3a7ecf1b63695370.jpg","text":"TemporaryFile(/tmp/multipartBody7238550060189333611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826486152,"filename":"image_10022025_09_56_18_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ffda197cff9575da6afb45b8f9bcaa7.jpg","text":"TemporaryFile(/tmp/multipartBody1294105706947175630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826486152,"filename":"image_10022025_09_56_28_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e5dbae999e37a3b3a597e69c2d63173b.jpg","text":"TemporaryFile(/tmp/multipartBody5678785148075828955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826486152,"filename":"image_10022025_09_56_09_9791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c4ef5979a2320075005d97038b49afe4.jpg","text":"TemporaryFile(/tmp/multipartBody2381303196990265487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826486152,"filename":"image_10022025_09_56_59_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/33173da9c35b85efd97d94f30efb5c39.jpg","text":"TemporaryFile(/tmp/multipartBody5559674909598635342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826486152,"filename":"image_10022025_09_56_38_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338227284","file1":"1338227283","file0":"1338227282","file4":"1338227286","file5":"1338227288","file3":"1338227285"},"map_files_photo_id_array":[{"photo_id":"1338227288","filename":"file5"},{"photo_id":"1338227284","filename":"file2"},{"photo_id":"1338227286","filename":"file4"},{"photo_id":"1338227283","filename":"file1"},{"photo_id":"1338227282","filename":"file0"},{"photo_id":"1338227285","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338227283":["hashtag1","hashtag2"]},{"1338227286":["hashtag1","hashtag2"]},{"1338227285":["hashtag1","hashtag2"]},{"1338227288":["hashtag1","hashtag2"]},{"1338227282":["hashtag1","hashtag2"]},{"1338227284":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338227283, 1338227286, 1338227285, 1338227288, 1338227282, 1338227284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72585988044739 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:08:02.443414
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_59_10799.jpg', 0), ('/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_48_9790.jpg', 0), ('/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_38_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_29_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_19_10799.jpg', 0), ('/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_08_9796.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_59_10799.jpg', '/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_48_9790.jpg', '/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_38_9789.jpg', '/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_29_9789.jpg', '/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_19_10799.jpg', '/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_08_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_59_10799.jpg
/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_48_9790.jpg
/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_38_9789.jpg
/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_29_9789.jpg
/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_19_10799.jpg
/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_08_9796.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4832730293273926 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:08:32.181060
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_59_10799.jpg', 0), ('/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_48_9790.jpg', 0), ('/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_38_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_29_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_19_10799.jpg', 0), ('/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_08_9796.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_59_10799.jpg', '/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_48_9790.jpg', '/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_38_9789.jpg', '/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_29_9789.jpg', '/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_19_10799.jpg', '/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_08_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_59_10799.jpg
/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_48_9790.jpg
/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_38_9789.jpg
/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_29_9789.jpg
/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_19_10799.jpg
/home/nano/Desktop/images/10022025/09/55/image_10022025_09_55_08_9796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338227562","1338227564","1338227561","1338227563","1338227554","1338227536"],"photo_ids_order":["1338227536","1338227554","1338227561","1338227562","1338227563","1338227564"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/79ad252d99d9ef7bd8048b39e1887ce6.jpg","text":"TemporaryFile(/tmp/multipartBody8836949603943664774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826574871,"filename":"image_10022025_09_55_29_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fea94a2000b13e265b63c6208f98ab16.jpg","text":"TemporaryFile(/tmp/multipartBody2343752743497916868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826574871,"filename":"image_10022025_09_55_08_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98d7e35413fa2cb7a2254c070561ec8c.jpg","text":"TemporaryFile(/tmp/multipartBody3979014035212377610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826574871,"filename":"image_10022025_09_55_38_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3c9bfd62bdc6af5c84a1c9863f422447.jpg","text":"TemporaryFile(/tmp/multipartBody2964170997450731577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826574871,"filename":"image_10022025_09_55_19_10799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2727dcdee2e2efe794a91e1b017e1c4e.jpg","text":"TemporaryFile(/tmp/multipartBody6932032479240642206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826574871,"filename":"image_10022025_09_55_48_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c6f90d64b9730a2340a844389d149a67.jpg","text":"TemporaryFile(/tmp/multipartBody5572074902091043895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826574871,"filename":"image_10022025_09_55_59_10799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338227561","file1":"1338227554","file0":"1338227536","file4":"1338227563","file5":"1338227564","file3":"1338227562"},"map_files_photo_id_array":[{"photo_id":"1338227564","filename":"file5"},{"photo_id":"1338227561","filename":"file2"},{"photo_id":"1338227563","filename":"file4"},{"photo_id":"1338227554","filename":"file1"},{"photo_id":"1338227536","filename":"file0"},{"photo_id":"1338227562","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338227562":["hashtag1","hashtag2"]},{"1338227564":["hashtag1","hashtag2"]},{"1338227561":["hashtag1","hashtag2"]},{"1338227563":["hashtag1","hashtag2"]},{"1338227554":["hashtag1","hashtag2"]},{"1338227536":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338227562, 1338227564, 1338227561, 1338227563, 1338227554, 1338227536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05608105659485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:09:32.366492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_58_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_48_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_39_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_29_10799.jpg', 0), ('/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_18_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_08_9807.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_58_9789.jpg', '/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_48_9787.jpg', '/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_39_9787.jpg', '/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_29_10799.jpg', '/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_18_9787.jpg', '/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_08_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_58_9789.jpg
/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_48_9787.jpg
/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_39_9787.jpg
/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_29_10799.jpg
/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_18_9787.jpg
/home/nano/Desktop/images/10022025/09/54/image_10022025_09_54_08_9807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338227574","1338227577","1338227576","1338227569","1338227578","1338227572"],"photo_ids_order":["1338227569","1338227572","1338227574","1338227576","1338227577","1338227578"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5a3a44ae38bc3284318c5f7e6a405983.jpg","text":"TemporaryFile(/tmp/multipartBody6828257270262048474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826635466,"filename":"image_10022025_09_54_39_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c24b55022ef553bb7d14fa5e53e17b3.jpg","text":"TemporaryFile(/tmp/multipartBody5975272274662830616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826635466,"filename":"image_10022025_09_54_18_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae1734ac3b3671c7ce7e385a773aa31f.jpg","text":"TemporaryFile(/tmp/multipartBody5202253878279751548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826635466,"filename":"image_10022025_09_54_29_10799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/985cdd757c6c1c590cedca799b1a4983.jpg","text":"TemporaryFile(/tmp/multipartBody1227487634030039670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826635466,"filename":"image_10022025_09_54_58_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3905a0ef85924668a3268204b46b1976.jpg","text":"TemporaryFile(/tmp/multipartBody8927341941050732844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826635466,"filename":"image_10022025_09_54_08_9807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/01abd1935c6dcfe679fbaa609289f212.jpg","text":"TemporaryFile(/tmp/multipartBody4257676702510863701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826635466,"filename":"image_10022025_09_54_48_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338227574","file1":"1338227572","file0":"1338227569","file4":"1338227577","file5":"1338227578","file3":"1338227576"},"map_files_photo_id_array":[{"photo_id":"1338227578","filename":"file5"},{"photo_id":"1338227574","filename":"file2"},{"photo_id":"1338227577","filename":"file4"},{"photo_id":"1338227572","filename":"file1"},{"photo_id":"1338227569","filename":"file0"},{"photo_id":"1338227576","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338227574":["hashtag1","hashtag2"]},{"1338227577":["hashtag1","hashtag2"]},{"1338227576":["hashtag1","hashtag2"]},{"1338227569":["hashtag1","hashtag2"]},{"1338227578":["hashtag1","hashtag2"]},{"1338227572":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338227574, 1338227577, 1338227576, 1338227569, 1338227578, 1338227572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84541964530945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:10:32.496062
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_58_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_49_9807.jpg', 0), ('/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_39_10796.jpg', 0), ('/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_28_9809.jpg', 0), ('/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_18_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_08_9785.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_58_9788.jpg', '/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_49_9807.jpg', '/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_39_10796.jpg', '/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_28_9809.jpg', '/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_18_9787.jpg', '/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_08_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_58_9788.jpg
/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_49_9807.jpg
/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_39_10796.jpg
/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_28_9809.jpg
/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_18_9787.jpg
/home/nano/Desktop/images/10022025/09/53/image_10022025_09_53_08_9785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338227592","1338227605","1338227591","1338227585","1338227588","1338227603"],"photo_ids_order":["1338227585","1338227588","1338227591","1338227592","1338227603","1338227605"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1dd36e084aac4837f101d8236ef04b37.jpg","text":"TemporaryFile(/tmp/multipartBody4213468000197375199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826695866,"filename":"image_10022025_09_53_28_9809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b7dc6cde19838ddc3496262f7a92ad8.jpg","text":"TemporaryFile(/tmp/multipartBody312693110741351178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826695866,"filename":"image_10022025_09_53_08_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec3d92746fbac3fb2c12b72ed5ed1312.jpg","text":"TemporaryFile(/tmp/multipartBody2693957505398658456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826695866,"filename":"image_10022025_09_53_39_10796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/932f3a38d0aa6c8ff439cb1cb217f739.jpg","text":"TemporaryFile(/tmp/multipartBody3027520333048649453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826695866,"filename":"image_10022025_09_53_58_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/73687e08ae3f623cd5d450441de9304f.jpg","text":"TemporaryFile(/tmp/multipartBody1039967758677054785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826695866,"filename":"image_10022025_09_53_49_9807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d095ef6563dc108f0325c24520e09388.jpg","text":"TemporaryFile(/tmp/multipartBody6977452847816767082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826695866,"filename":"image_10022025_09_53_18_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338227591","file1":"1338227588","file0":"1338227585","file4":"1338227603","file5":"1338227605","file3":"1338227592"},"map_files_photo_id_array":[{"photo_id":"1338227605","filename":"file5"},{"photo_id":"1338227591","filename":"file2"},{"photo_id":"1338227603","filename":"file4"},{"photo_id":"1338227588","filename":"file1"},{"photo_id":"1338227585","filename":"file0"},{"photo_id":"1338227592","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338227592":["hashtag1","hashtag2"]},{"1338227605":["hashtag1","hashtag2"]},{"1338227591":["hashtag1","hashtag2"]},{"1338227585":["hashtag1","hashtag2"]},{"1338227588":["hashtag1","hashtag2"]},{"1338227603":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338227592, 1338227605, 1338227591, 1338227585, 1338227588, 1338227603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.402188777923584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:11:32.649211
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_59_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_49_10794.jpg', 0), ('/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_38_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_28_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_18_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_09_9792.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_59_9788.jpg', '/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_49_10794.jpg', '/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_38_9786.jpg', '/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_28_9787.jpg', '/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_18_9785.jpg', '/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_09_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_59_9788.jpg
/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_49_10794.jpg
/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_38_9786.jpg
/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_28_9787.jpg
/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_18_9785.jpg
/home/nano/Desktop/images/10022025/09/52/image_10022025_09_52_09_9792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338227637","1338227646","1338227645","1338227644","1338227647","1338227641"],"photo_ids_order":["1338227637","1338227641","1338227644","1338227645","1338227646","1338227647"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b6c3d4aa16680cdcf8fba78c5eee3257.jpg","text":"TemporaryFile(/tmp/multipartBody5953487865195451175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826756379,"filename":"image_10022025_09_52_59_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/417627e64ad39421e711baf44750ae6d.jpg","text":"TemporaryFile(/tmp/multipartBody755999401040424356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826756379,"filename":"image_10022025_09_52_18_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f85d84a871eb9fd9cdf80b456141e31.jpg","text":"TemporaryFile(/tmp/multipartBody1662175992767116445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826756379,"filename":"image_10022025_09_52_28_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2045092cf68086f4a57e67dd7b7775ad.jpg","text":"TemporaryFile(/tmp/multipartBody8702308170822309343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826756379,"filename":"image_10022025_09_52_38_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/794798c208bee38af1af338fc2e7bcc8.jpg","text":"TemporaryFile(/tmp/multipartBody2769590983305960687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826756379,"filename":"image_10022025_09_52_09_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1c4868d81e66e2a5b40d81cd269f6986.jpg","text":"TemporaryFile(/tmp/multipartBody6967438063564265578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826756379,"filename":"image_10022025_09_52_49_10794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338227644","file1":"1338227641","file0":"1338227637","file4":"1338227646","file5":"1338227647","file3":"1338227645"},"map_files_photo_id_array":[{"photo_id":"1338227647","filename":"file5"},{"photo_id":"1338227644","filename":"file2"},{"photo_id":"1338227646","filename":"file4"},{"photo_id":"1338227641","filename":"file1"},{"photo_id":"1338227637","filename":"file0"},{"photo_id":"1338227645","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338227637":["hashtag1","hashtag2"]},{"1338227646":["hashtag1","hashtag2"]},{"1338227645":["hashtag1","hashtag2"]},{"1338227644":["hashtag1","hashtag2"]},{"1338227647":["hashtag1","hashtag2"]},{"1338227641":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338227637, 1338227646, 1338227645, 1338227644, 1338227647, 1338227641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.949970722198486 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:12:31.792111
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_59_10795.jpg', 0), ('/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_48_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_38_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_28_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_19_10796.jpg', 0), ('/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_08_9785.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_59_10795.jpg', '/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_48_9787.jpg', '/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_38_9788.jpg', '/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_28_9788.jpg', '/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_19_10796.jpg', '/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_08_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_59_10795.jpg
/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_48_9787.jpg
/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_38_9788.jpg
/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_28_9788.jpg
/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_19_10796.jpg
/home/nano/Desktop/images/10022025/09/51/image_10022025_09_51_08_9785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338227652","1338227658","1338227660","1338227654","1338227656","1338227659"],"photo_ids_order":["1338227652","1338227654","1338227656","1338227658","1338227659","1338227660"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70d0b7ab89b54d600e87568b54323734.jpg","text":"TemporaryFile(/tmp/multipartBody1337813197397191831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826814999,"filename":"image_10022025_09_51_59_10795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e9ab014fbcb821a8e200b3e0c83bfcfd.jpg","text":"TemporaryFile(/tmp/multipartBody202726937322638911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826814999,"filename":"image_10022025_09_51_28_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6596675cb822a0bc403f3e95ccea79df.jpg","text":"TemporaryFile(/tmp/multipartBody8262710633459175012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826814999,"filename":"image_10022025_09_51_08_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6934197da29ec890a4aeb9b0588350a.jpg","text":"TemporaryFile(/tmp/multipartBody3884565641831548544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826814999,"filename":"image_10022025_09_51_48_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9051ab51a57b4f519a2402675fbf3842.jpg","text":"TemporaryFile(/tmp/multipartBody7595207949288374215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826814999,"filename":"image_10022025_09_51_38_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/50193249f391f6689490e0eafde47cdb.jpg","text":"TemporaryFile(/tmp/multipartBody3542221930258467090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826814999,"filename":"image_10022025_09_51_19_10796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338227656","file1":"1338227654","file0":"1338227652","file4":"1338227659","file5":"1338227660","file3":"1338227658"},"map_files_photo_id_array":[{"photo_id":"1338227660","filename":"file5"},{"photo_id":"1338227656","filename":"file2"},{"photo_id":"1338227659","filename":"file4"},{"photo_id":"1338227654","filename":"file1"},{"photo_id":"1338227652","filename":"file0"},{"photo_id":"1338227658","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338227652":["hashtag1","hashtag2"]},{"1338227658":["hashtag1","hashtag2"]},{"1338227660":["hashtag1","hashtag2"]},{"1338227654":["hashtag1","hashtag2"]},{"1338227656":["hashtag1","hashtag2"]},{"1338227659":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338227652, 1338227658, 1338227660, 1338227654, 1338227656, 1338227659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31227135658264 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:13:31.930195
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_58_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_48_9790.jpg', 0), ('/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_39_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_29_10800.jpg', 0), ('/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_18_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_08_9720.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_58_9788.jpg', '/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_48_9790.jpg', '/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_39_9787.jpg', '/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_29_10800.jpg', '/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_18_9788.jpg', '/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_08_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_58_9788.jpg
/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_48_9790.jpg
/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_39_9787.jpg
/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_29_10800.jpg
/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_18_9788.jpg
/home/nano/Desktop/images/10022025/09/50/image_10022025_09_50_08_9720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338227754","1338227721","1338227715","1338227718","1338227756","1338227758"],"photo_ids_order":["1338227715","1338227718","1338227721","1338227754","1338227756","1338227758"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67eef2c592302f5688cec2f092ce7958.jpg","text":"TemporaryFile(/tmp/multipartBody1989020134153743737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826874669,"filename":"image_10022025_09_50_29_10800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb81f4d65c6f0a5ae0a563125bdc6a3a.jpg","text":"TemporaryFile(/tmp/multipartBody621404744723205968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826874669,"filename":"image_10022025_09_50_39_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba587672c69343ee63bec202a6fc4019.jpg","text":"TemporaryFile(/tmp/multipartBody7082545955173872097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826874669,"filename":"image_10022025_09_50_58_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2210d873a820f49230d1b44427ccab3c.jpg","text":"TemporaryFile(/tmp/multipartBody1894374435341883244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826874669,"filename":"image_10022025_09_50_48_9790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e3defe1401efde83a1b5a00ed492344.jpg","text":"TemporaryFile(/tmp/multipartBody3350922849652753409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826874669,"filename":"image_10022025_09_50_18_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bcbc7fb5b0f2a405359638e12208f563.jpg","text":"TemporaryFile(/tmp/multipartBody161181307069842165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826874669,"filename":"image_10022025_09_50_08_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338227721","file1":"1338227718","file0":"1338227715","file4":"1338227756","file5":"1338227758","file3":"1338227754"},"map_files_photo_id_array":[{"photo_id":"1338227758","filename":"file5"},{"photo_id":"1338227721","filename":"file2"},{"photo_id":"1338227756","filename":"file4"},{"photo_id":"1338227718","filename":"file1"},{"photo_id":"1338227715","filename":"file0"},{"photo_id":"1338227754","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338227754":["hashtag1","hashtag2"]},{"1338227721":["hashtag1","hashtag2"]},{"1338227715":["hashtag1","hashtag2"]},{"1338227718":["hashtag1","hashtag2"]},{"1338227756":["hashtag1","hashtag2"]},{"1338227758":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338227754, 1338227721, 1338227715, 1338227718, 1338227756, 1338227758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14983558654785 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:14:32.066676
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_58_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_49_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_38_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_28_9667.jpg', 0), ('/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_19_10704.jpg', 0), ('/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_08_9688.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_58_9691.jpg', '/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_49_10717.jpg', '/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_38_9701.jpg', '/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_28_9667.jpg', '/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_19_10704.jpg', '/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_08_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_58_9691.jpg
/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_49_10717.jpg
/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_38_9701.jpg
/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_28_9667.jpg
/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_19_10704.jpg
/home/nano/Desktop/images/10022025/09/49/image_10022025_09_49_08_9688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338227769","1338227762","1338227771","1338227765","1338227774","1338227767"],"photo_ids_order":["1338227762","1338227765","1338227767","1338227769","1338227771","1338227774"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c32534523125597c3518c582f3fdf329.jpg","text":"TemporaryFile(/tmp/multipartBody9165770370896394095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826934953,"filename":"image_10022025_09_49_28_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e9fdb8b1bb1e9128b626f33589b74256.jpg","text":"TemporaryFile(/tmp/multipartBody1490150666025631539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826934953,"filename":"image_10022025_09_49_58_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/865e385d2348f136fcfc0c5ca9c8abdb.jpg","text":"TemporaryFile(/tmp/multipartBody5529133843620430652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826934953,"filename":"image_10022025_09_49_19_10704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3332f79efb733542d87b223c1e072e11.jpg","text":"TemporaryFile(/tmp/multipartBody2434194518193218277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826934953,"filename":"image_10022025_09_49_49_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6992f17a068c2aa33a65738d35650073.jpg","text":"TemporaryFile(/tmp/multipartBody5335398685905899431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826934953,"filename":"image_10022025_09_49_08_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/65554f80c61b09d98e7ca9dc18a4f5b1.jpg","text":"TemporaryFile(/tmp/multipartBody970135280745188355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826934953,"filename":"image_10022025_09_49_38_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338227767","file1":"1338227765","file0":"1338227762","file4":"1338227771","file5":"1338227774","file3":"1338227769"},"map_files_photo_id_array":[{"photo_id":"1338227774","filename":"file5"},{"photo_id":"1338227767","filename":"file2"},{"photo_id":"1338227771","filename":"file4"},{"photo_id":"1338227765","filename":"file1"},{"photo_id":"1338227762","filename":"file0"},{"photo_id":"1338227769","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338227769":["hashtag1","hashtag2"]},{"1338227762":["hashtag1","hashtag2"]},{"1338227771":["hashtag1","hashtag2"]},{"1338227765":["hashtag1","hashtag2"]},{"1338227774":["hashtag1","hashtag2"]},{"1338227767":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338227769, 1338227762, 1338227771, 1338227765, 1338227774, 1338227767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10969376564026 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:15:32.216317
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_58_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_49_9685.jpg', 0), ('/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_39_10753.jpg', 0), ('/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_28_9739.jpg', 0), ('/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_18_9744.jpg', 0), ('/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_09_10727.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_58_9701.jpg', '/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_49_9685.jpg', '/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_39_10753.jpg', '/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_28_9739.jpg', '/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_18_9744.jpg', '/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_09_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_58_9701.jpg
/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_49_9685.jpg
/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_39_10753.jpg
/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_28_9739.jpg
/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_18_9744.jpg
/home/nano/Desktop/images/10022025/09/48/image_10022025_09_48_09_10727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338227784","1338227778","1338227780","1338227783","1338227782","1338227776"],"photo_ids_order":["1338227776","1338227778","1338227780","1338227782","1338227783","1338227784"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1af3cfb4afbe70c57890a20bcc8a56d3.jpg","text":"TemporaryFile(/tmp/multipartBody9079664521181244791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826995978,"filename":"image_10022025_09_48_09_10727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3b254c78db2d4efa8912c1f18a92e76.jpg","text":"TemporaryFile(/tmp/multipartBody3549853057971540092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826995978,"filename":"image_10022025_09_48_49_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f4b785c75c7d2a06b1582988a073f1d.jpg","text":"TemporaryFile(/tmp/multipartBody1421700034165333999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826995978,"filename":"image_10022025_09_48_39_10753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/265355c20b9a3cbe92d47db53c8d4370.jpg","text":"TemporaryFile(/tmp/multipartBody8290559021928363830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826995978,"filename":"image_10022025_09_48_18_9744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f8814e2fc06da48837c4b3aed8a4ad6.jpg","text":"TemporaryFile(/tmp/multipartBody4508364584681697307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826995978,"filename":"image_10022025_09_48_28_9739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a421c94ca8118a78f786d38d270d5384.jpg","text":"TemporaryFile(/tmp/multipartBody4606281550688413987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739826995978,"filename":"image_10022025_09_48_58_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338227780","file1":"1338227778","file0":"1338227776","file4":"1338227783","file5":"1338227784","file3":"1338227782"},"map_files_photo_id_array":[{"photo_id":"1338227784","filename":"file5"},{"photo_id":"1338227780","filename":"file2"},{"photo_id":"1338227783","filename":"file4"},{"photo_id":"1338227778","filename":"file1"},{"photo_id":"1338227776","filename":"file0"},{"photo_id":"1338227782","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338227784":["hashtag1","hashtag2"]},{"1338227778":["hashtag1","hashtag2"]},{"1338227780":["hashtag1","hashtag2"]},{"1338227783":["hashtag1","hashtag2"]},{"1338227782":["hashtag1","hashtag2"]},{"1338227776":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338227784, 1338227778, 1338227780, 1338227783, 1338227782, 1338227776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59625601768494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:16:32.411851
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_58_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_48_9669.jpg', 0), ('/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_39_9689.jpg', 0), ('/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_29_10678.jpg', 0), ('/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_18_9715.jpg', 0), ('/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_08_9677.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_58_9705.jpg', '/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_48_9669.jpg', '/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_39_9689.jpg', '/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_29_10678.jpg', '/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_18_9715.jpg', '/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_08_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_58_9705.jpg
/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_48_9669.jpg
/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_39_9689.jpg
/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_29_10678.jpg
/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_18_9715.jpg
/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_08_9677.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5380711555480957 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:17:02.861015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_58_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_48_9669.jpg', 0), ('/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_39_9689.jpg', 0), ('/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_29_10678.jpg', 0), ('/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_18_9715.jpg', 0), ('/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_08_9677.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_58_9705.jpg', '/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_48_9669.jpg', '/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_39_9689.jpg', '/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_29_10678.jpg', '/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_18_9715.jpg', '/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_08_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_58_9705.jpg
/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_48_9669.jpg
/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_39_9689.jpg
/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_29_10678.jpg
/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_18_9715.jpg
/home/nano/Desktop/images/10022025/09/47/image_10022025_09_47_08_9677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338227800","1338227799","1338227802","1338227798","1338227797","1338227796"],"photo_ids_order":["1338227796","1338227797","1338227798","1338227799","1338227800","1338227802"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0fd4791d349cfe5fa663b7a819e505f1.jpg","text":"TemporaryFile(/tmp/multipartBody4049079671113500687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827085156,"filename":"image_10022025_09_47_18_9715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc7c4813ef18a4a5bb39a08e99fc11a6.jpg","text":"TemporaryFile(/tmp/multipartBody7370955973263199075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827085156,"filename":"image_10022025_09_47_29_10678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f179c7d6210ccc84f40ae6e8d0d5215a.jpg","text":"TemporaryFile(/tmp/multipartBody7993193087672737690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827085156,"filename":"image_10022025_09_47_08_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/af0768600168c0877697e9f7a4b96298.jpg","text":"TemporaryFile(/tmp/multipartBody7883782271422058115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827085156,"filename":"image_10022025_09_47_39_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/678b84799400b1932eb67dd349ae186b.jpg","text":"TemporaryFile(/tmp/multipartBody6582362656425607211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827085156,"filename":"image_10022025_09_47_48_9669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/592aef803588764b74c7159840d42ce5.jpg","text":"TemporaryFile(/tmp/multipartBody1850964980595546076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827085156,"filename":"image_10022025_09_47_58_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338227798","file1":"1338227797","file0":"1338227796","file4":"1338227800","file5":"1338227802","file3":"1338227799"},"map_files_photo_id_array":[{"photo_id":"1338227802","filename":"file5"},{"photo_id":"1338227798","filename":"file2"},{"photo_id":"1338227800","filename":"file4"},{"photo_id":"1338227797","filename":"file1"},{"photo_id":"1338227796","filename":"file0"},{"photo_id":"1338227799","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338227800":["hashtag1","hashtag2"]},{"1338227799":["hashtag1","hashtag2"]},{"1338227802":["hashtag1","hashtag2"]},{"1338227798":["hashtag1","hashtag2"]},{"1338227797":["hashtag1","hashtag2"]},{"1338227796":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338227800, 1338227799, 1338227802, 1338227798, 1338227797, 1338227796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5989716053009 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:18:03.062695
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_59_10689.jpg', 0), ('/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_48_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_38_9680.jpg', 0), ('/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_29_10728.jpg', 0), ('/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_18_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_08_9706.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_59_10689.jpg', '/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_48_9714.jpg', '/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_38_9680.jpg', '/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_29_10728.jpg', '/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_18_9698.jpg', '/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_08_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_59_10689.jpg
/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_48_9714.jpg
/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_38_9680.jpg
/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_29_10728.jpg
/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_18_9698.jpg
/home/nano/Desktop/images/10022025/09/46/image_10022025_09_46_08_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338228516","1338228056","1338228518","1338228373","1338228532","1338227875"],"photo_ids_order":["1338227875","1338228056","1338228373","1338228516","1338228518","1338228532"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7662db775783aa524b1c9708eb808134.jpg","text":"TemporaryFile(/tmp/multipartBody8649713166588107210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827145896,"filename":"image_10022025_09_46_29_10728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/473bf8b997c73bdadaab6158402e3faf.jpg","text":"TemporaryFile(/tmp/multipartBody7920132674831441379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827145896,"filename":"image_10022025_09_46_48_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/43ffcab9fdce5a585fa30e31596ec2fb.jpg","text":"TemporaryFile(/tmp/multipartBody4533088411016373489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827145896,"filename":"image_10022025_09_46_18_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fdf1e91e7b5c8c480d0c8f4cc9e3abfb.jpg","text":"TemporaryFile(/tmp/multipartBody3388447358289181876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827145896,"filename":"image_10022025_09_46_38_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b029c11cc55176ef2f51c0ca3878791.jpg","text":"TemporaryFile(/tmp/multipartBody902856677210398586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827145896,"filename":"image_10022025_09_46_08_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4c74cc7d4933c254a3c4494839e6462e.jpg","text":"TemporaryFile(/tmp/multipartBody2211185784723609722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827145896,"filename":"image_10022025_09_46_59_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338228373","file1":"1338228056","file0":"1338227875","file4":"1338228518","file5":"1338228532","file3":"1338228516"},"map_files_photo_id_array":[{"photo_id":"1338228532","filename":"file5"},{"photo_id":"1338228373","filename":"file2"},{"photo_id":"1338228518","filename":"file4"},{"photo_id":"1338228056","filename":"file1"},{"photo_id":"1338227875","filename":"file0"},{"photo_id":"1338228516","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338228516":["hashtag1","hashtag2"]},{"1338228056":["hashtag1","hashtag2"]},{"1338228518":["hashtag1","hashtag2"]},{"1338228373":["hashtag1","hashtag2"]},{"1338228532":["hashtag1","hashtag2"]},{"1338227875":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338228516, 1338228056, 1338228518, 1338228373, 1338228532, 1338227875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63825249671936 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:19:02.759154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_59_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_49_10693.jpg', 0), ('/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_38_9688.jpg', 0), ('/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_28_9670.jpg', 0), ('/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_19_10692.jpg', 0), ('/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_08_9773.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_59_9691.jpg', '/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_49_10693.jpg', '/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_38_9688.jpg', '/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_28_9670.jpg', '/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_19_10692.jpg', '/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_08_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_59_9691.jpg
/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_49_10693.jpg
/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_38_9688.jpg
/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_28_9670.jpg
/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_19_10692.jpg
/home/nano/Desktop/images/10022025/09/45/image_10022025_09_45_08_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338228747","1338228839","1338228746","1338228883","1338228742","1338228745"],"photo_ids_order":["1338228742","1338228745","1338228746","1338228747","1338228839","1338228883"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/439a7e2d0099ed7818e923aae3af7487.jpg","text":"TemporaryFile(/tmp/multipartBody6297253248720473969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827205645,"filename":"image_10022025_09_45_28_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/339fbcbaf2c12e5201bb9fe090d8cd10.jpg","text":"TemporaryFile(/tmp/multipartBody4322739756535064081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827205645,"filename":"image_10022025_09_45_19_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0577f5278f42c4ef352787b24337afa.jpg","text":"TemporaryFile(/tmp/multipartBody8048934647113158164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827205645,"filename":"image_10022025_09_45_38_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7cf51977854190dad81f8445ca9d7e12.jpg","text":"TemporaryFile(/tmp/multipartBody1315181995109136025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827205645,"filename":"image_10022025_09_45_08_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe9ff041e948d211d9a27f5d1855bea4.jpg","text":"TemporaryFile(/tmp/multipartBody7900732603594873493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827205645,"filename":"image_10022025_09_45_59_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a594eb71212d2fee61ce0cd70c8e2f92.jpg","text":"TemporaryFile(/tmp/multipartBody638901571145306998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827205645,"filename":"image_10022025_09_45_49_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338228746","file1":"1338228745","file0":"1338228742","file4":"1338228839","file5":"1338228883","file3":"1338228747"},"map_files_photo_id_array":[{"photo_id":"1338228883","filename":"file5"},{"photo_id":"1338228746","filename":"file2"},{"photo_id":"1338228839","filename":"file4"},{"photo_id":"1338228745","filename":"file1"},{"photo_id":"1338228742","filename":"file0"},{"photo_id":"1338228747","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338228747":["hashtag1","hashtag2"]},{"1338228839":["hashtag1","hashtag2"]},{"1338228746":["hashtag1","hashtag2"]},{"1338228883":["hashtag1","hashtag2"]},{"1338228742":["hashtag1","hashtag2"]},{"1338228745":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338228747, 1338228839, 1338228746, 1338228883, 1338228742, 1338228745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.383477210998535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:20:02.155223
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_58_9763.jpg', 0), ('/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_49_9706.jpg', 0), ('/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_39_10689.jpg', 0), ('/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_28_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_18_9710.jpg', 0), ('/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_09_10704.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_58_9763.jpg', '/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_49_9706.jpg', '/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_39_10689.jpg', '/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_28_9687.jpg', '/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_18_9710.jpg', '/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_09_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_58_9763.jpg
/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_49_9706.jpg
/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_39_10689.jpg
/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_28_9687.jpg
/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_18_9710.jpg
/home/nano/Desktop/images/10022025/09/44/image_10022025_09_44_09_10704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338229046","1338229040","1338229043","1338229042","1338229044","1338229038"],"photo_ids_order":["1338229038","1338229040","1338229042","1338229043","1338229044","1338229046"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8cca74da223e80cc2f3828efebb01525.jpg","text":"TemporaryFile(/tmp/multipartBody4699346996073588707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827264293,"filename":"image_10022025_09_44_09_10704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2bde80c1d021442e21a3493b113f366e.jpg","text":"TemporaryFile(/tmp/multipartBody3544295228146462370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827264293,"filename":"image_10022025_09_44_49_9706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f5866639f9898a223d9421bbc466c636.jpg","text":"TemporaryFile(/tmp/multipartBody857367823733010135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827264293,"filename":"image_10022025_09_44_28_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/840fb6fa50eb2f13b05078e7fa5a9467.jpg","text":"TemporaryFile(/tmp/multipartBody3169139097059460770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827264293,"filename":"image_10022025_09_44_39_10689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2cd70b4df787c72b5a04ed4b77b1debe.jpg","text":"TemporaryFile(/tmp/multipartBody1478616404698342801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827264293,"filename":"image_10022025_09_44_18_9710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40fc55141f229d8a8f2596c8b19ffef6.jpg","text":"TemporaryFile(/tmp/multipartBody2764497810685773376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827264293,"filename":"image_10022025_09_44_58_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338229042","file1":"1338229040","file0":"1338229038","file4":"1338229044","file5":"1338229046","file3":"1338229043"},"map_files_photo_id_array":[{"photo_id":"1338229046","filename":"file5"},{"photo_id":"1338229042","filename":"file2"},{"photo_id":"1338229044","filename":"file4"},{"photo_id":"1338229040","filename":"file1"},{"photo_id":"1338229038","filename":"file0"},{"photo_id":"1338229043","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338229046":["hashtag1","hashtag2"]},{"1338229040":["hashtag1","hashtag2"]},{"1338229043":["hashtag1","hashtag2"]},{"1338229042":["hashtag1","hashtag2"]},{"1338229044":["hashtag1","hashtag2"]},{"1338229038":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338229046, 1338229040, 1338229043, 1338229042, 1338229044, 1338229038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.596050262451172 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:21:02.490338
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_58_9675.jpg', 0), ('/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_48_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_39_10688.jpg', 0), ('/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_28_9681.jpg', 0), ('/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_18_9681.jpg', 0), ('/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_09_10690.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_58_9675.jpg', '/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_48_9695.jpg', '/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_39_10688.jpg', '/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_28_9681.jpg', '/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_18_9681.jpg', '/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_09_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_58_9675.jpg
/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_48_9695.jpg
/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_39_10688.jpg
/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_28_9681.jpg
/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_18_9681.jpg
/home/nano/Desktop/images/10022025/09/43/image_10022025_09_43_09_10690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338229580","1338229064","1338229445","1338229359","1338229152","1338229260"],"photo_ids_order":["1338229064","1338229152","1338229260","1338229359","1338229445","1338229580"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6bd64ab581f5719eb249c483bb83cb01.jpg","text":"TemporaryFile(/tmp/multipartBody5994152637981903848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827325560,"filename":"image_10022025_09_43_09_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc9eb9c32c832a7254f02aea6f34dfcd.jpg","text":"TemporaryFile(/tmp/multipartBody6557653714216602481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827325560,"filename":"image_10022025_09_43_58_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6f081290a312d145562da45a34db1c2.jpg","text":"TemporaryFile(/tmp/multipartBody8324897205032283333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827325560,"filename":"image_10022025_09_43_18_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2faada68e0dc695053e7e1ccb05348b3.jpg","text":"TemporaryFile(/tmp/multipartBody2911061832849183502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827325560,"filename":"image_10022025_09_43_28_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f525a34db610b851e145fe1ee18f0879.jpg","text":"TemporaryFile(/tmp/multipartBody329249079952774920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827325560,"filename":"image_10022025_09_43_48_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/27804ac62ce82592c0b927aa45d40d83.jpg","text":"TemporaryFile(/tmp/multipartBody7783127273063773074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827325560,"filename":"image_10022025_09_43_39_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338229260","file1":"1338229152","file0":"1338229064","file4":"1338229445","file5":"1338229580","file3":"1338229359"},"map_files_photo_id_array":[{"photo_id":"1338229580","filename":"file5"},{"photo_id":"1338229260","filename":"file2"},{"photo_id":"1338229445","filename":"file4"},{"photo_id":"1338229152","filename":"file1"},{"photo_id":"1338229064","filename":"file0"},{"photo_id":"1338229359","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338229580":["hashtag1","hashtag2"]},{"1338229064":["hashtag1","hashtag2"]},{"1338229445":["hashtag1","hashtag2"]},{"1338229359":["hashtag1","hashtag2"]},{"1338229152":["hashtag1","hashtag2"]},{"1338229260":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338229580, 1338229064, 1338229445, 1338229359, 1338229152, 1338229260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.491000175476074 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:22:02.735018
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_58_9688.jpg', 0), ('/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_48_9686.jpg', 0), ('/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_39_10701.jpg', 0), ('/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_28_9830.jpg', 0), ('/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_18_9820.jpg', 0), ('/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_08_9827.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_58_9688.jpg', '/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_48_9686.jpg', '/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_39_10701.jpg', '/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_28_9830.jpg', '/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_18_9820.jpg', '/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_08_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_58_9688.jpg
/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_48_9686.jpg
/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_39_10701.jpg
/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_28_9830.jpg
/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_18_9820.jpg
/home/nano/Desktop/images/10022025/09/42/image_10022025_09_42_08_9827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338229652","1338229646","1338229645","1338229648","1338229650","1338229647"],"photo_ids_order":["1338229645","1338229646","1338229647","1338229648","1338229650","1338229652"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c4bdf9bd7db538cb36695181e8f7bef.jpg","text":"TemporaryFile(/tmp/multipartBody7777072073534736358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827386083,"filename":"image_10022025_09_42_08_9827.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/48de6d9379b1e26f02dc4d273c820f09.jpg","text":"TemporaryFile(/tmp/multipartBody8488892090938485508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827386083,"filename":"image_10022025_09_42_48_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/864740a4e5287a3c0fa0acf0eab20c29.jpg","text":"TemporaryFile(/tmp/multipartBody8592981825049245346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827386083,"filename":"image_10022025_09_42_58_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ebe139d786cd170dc04036e70ed3e42.jpg","text":"TemporaryFile(/tmp/multipartBody5165768992925702058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827386083,"filename":"image_10022025_09_42_28_9830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b3dd6e4ac9e2a3f66b1fe25d71728186.jpg","text":"TemporaryFile(/tmp/multipartBody7024901927758297978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827386083,"filename":"image_10022025_09_42_18_9820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b37500434455accb607c2f5f325dac9.jpg","text":"TemporaryFile(/tmp/multipartBody2410790721450788927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827386083,"filename":"image_10022025_09_42_39_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338229647","file1":"1338229646","file0":"1338229645","file4":"1338229650","file5":"1338229652","file3":"1338229648"},"map_files_photo_id_array":[{"photo_id":"1338229652","filename":"file5"},{"photo_id":"1338229647","filename":"file2"},{"photo_id":"1338229650","filename":"file4"},{"photo_id":"1338229646","filename":"file1"},{"photo_id":"1338229645","filename":"file0"},{"photo_id":"1338229648","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338229652":["hashtag1","hashtag2"]},{"1338229646":["hashtag1","hashtag2"]},{"1338229645":["hashtag1","hashtag2"]},{"1338229648":["hashtag1","hashtag2"]},{"1338229650":["hashtag1","hashtag2"]},{"1338229647":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338229652, 1338229646, 1338229645, 1338229648, 1338229650, 1338229647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.248756408691406 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:23:02.918710
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_58_9815.jpg', 0), ('/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_49_9820.jpg', 0), ('/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_39_10865.jpg', 0), ('/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_28_9843.jpg', 0), ('/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_18_9836.jpg', 0), ('/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_08_9806.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_58_9815.jpg', '/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_49_9820.jpg', '/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_39_10865.jpg', '/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_28_9843.jpg', '/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_18_9836.jpg', '/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_08_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_58_9815.jpg
/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_49_9820.jpg
/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_39_10865.jpg
/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_28_9843.jpg
/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_18_9836.jpg
/home/nano/Desktop/images/10022025/09/41/image_10022025_09_41_08_9806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338229745","1338229739","1338229727","1338229712","1338229726","1338229785"],"photo_ids_order":["1338229712","1338229726","1338229727","1338229739","1338229745","1338229785"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0fa7c51e881cbd8cf99d87a8329a0f5d.jpg","text":"TemporaryFile(/tmp/multipartBody7376140848470879786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827445939,"filename":"image_10022025_09_41_18_9836.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f42f563bea9f20465a96a5d35f77935e.jpg","text":"TemporaryFile(/tmp/multipartBody5638111447399056226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827445939,"filename":"image_10022025_09_41_28_9843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f5be4cad89ed687b5bfc61975a058634.jpg","text":"TemporaryFile(/tmp/multipartBody6134175280984760306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827445939,"filename":"image_10022025_09_41_39_10865.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/553ce88359540ccd3140fc9d9e9e1294.jpg","text":"TemporaryFile(/tmp/multipartBody7325020827383004809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827445939,"filename":"image_10022025_09_41_58_9815.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f091b105eb936c6c8ac7a2e91d41aed8.jpg","text":"TemporaryFile(/tmp/multipartBody2434870620382757235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827445939,"filename":"image_10022025_09_41_49_9820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c0b5e75bbeb9d4cd8c2508ddf046691.jpg","text":"TemporaryFile(/tmp/multipartBody4326729097128703411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827445939,"filename":"image_10022025_09_41_08_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338229727","file1":"1338229726","file0":"1338229712","file4":"1338229745","file5":"1338229785","file3":"1338229739"},"map_files_photo_id_array":[{"photo_id":"1338229785","filename":"file5"},{"photo_id":"1338229727","filename":"file2"},{"photo_id":"1338229745","filename":"file4"},{"photo_id":"1338229726","filename":"file1"},{"photo_id":"1338229712","filename":"file0"},{"photo_id":"1338229739","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338229745":["hashtag1","hashtag2"]},{"1338229739":["hashtag1","hashtag2"]},{"1338229727":["hashtag1","hashtag2"]},{"1338229712":["hashtag1","hashtag2"]},{"1338229726":["hashtag1","hashtag2"]},{"1338229785":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338229745, 1338229739, 1338229727, 1338229712, 1338229726, 1338229785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.48780608177185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:24:03.286008
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_58_9843.jpg', 0), ('/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_49_9870.jpg', 0), ('/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_39_10825.jpg', 0), ('/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_28_9831.jpg', 0), ('/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_18_9834.jpg', 0), ('/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_08_9853.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_58_9843.jpg', '/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_49_9870.jpg', '/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_39_10825.jpg', '/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_28_9831.jpg', '/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_18_9834.jpg', '/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_08_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_58_9843.jpg
/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_49_9870.jpg
/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_39_10825.jpg
/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_28_9831.jpg
/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_18_9834.jpg
/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_08_9853.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3401987552642822 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:24:32.656630
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_58_9843.jpg', 0), ('/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_49_9870.jpg', 0), ('/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_39_10825.jpg', 0), ('/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_28_9831.jpg', 0), ('/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_18_9834.jpg', 0), ('/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_08_9853.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_58_9843.jpg', '/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_49_9870.jpg', '/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_39_10825.jpg', '/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_28_9831.jpg', '/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_18_9834.jpg', '/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_08_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_58_9843.jpg
/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_49_9870.jpg
/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_39_10825.jpg
/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_28_9831.jpg
/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_18_9834.jpg
/home/nano/Desktop/images/10022025/09/40/image_10022025_09_40_08_9853.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338230313","1338230010","1338230403","1338230123","1338230493","1338230215"],"photo_ids_order":["1338230010","1338230123","1338230215","1338230313","1338230403","1338230493"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6d091fb25bb734cb051c725a5a8d9b8.jpg","text":"TemporaryFile(/tmp/multipartBody148889305860892011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827535812,"filename":"image_10022025_09_40_28_9831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7c08ddba1635f9f658aaa8bc90320567.jpg","text":"TemporaryFile(/tmp/multipartBody8417637270884132878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827535812,"filename":"image_10022025_09_40_58_9843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a22ce3f61dd47f3cd260e2aeb0143ed1.jpg","text":"TemporaryFile(/tmp/multipartBody9188586528742763229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827535812,"filename":"image_10022025_09_40_18_9834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/033b2f643f38141144fc3025723f77ae.jpg","text":"TemporaryFile(/tmp/multipartBody7351255247434659895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827535812,"filename":"image_10022025_09_40_49_9870.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0097e253549982b7b5e92b9e920b6ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5618686138077786288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827535812,"filename":"image_10022025_09_40_08_9853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e58768e1ae4f9eb190f970eab4aed4df.jpg","text":"TemporaryFile(/tmp/multipartBody6255338609468445432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827535812,"filename":"image_10022025_09_40_39_10825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338230215","file1":"1338230123","file0":"1338230010","file4":"1338230403","file5":"1338230493","file3":"1338230313"},"map_files_photo_id_array":[{"photo_id":"1338230493","filename":"file5"},{"photo_id":"1338230215","filename":"file2"},{"photo_id":"1338230403","filename":"file4"},{"photo_id":"1338230123","filename":"file1"},{"photo_id":"1338230010","filename":"file0"},{"photo_id":"1338230313","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338230313":["hashtag1","hashtag2"]},{"1338230010":["hashtag1","hashtag2"]},{"1338230403":["hashtag1","hashtag2"]},{"1338230123":["hashtag1","hashtag2"]},{"1338230493":["hashtag1","hashtag2"]},{"1338230215":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338230313, 1338230010, 1338230403, 1338230123, 1338230493, 1338230215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76741027832031 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:25:31.800948
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_58_9850.jpg', 0), ('/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_49_9871.jpg', 0), ('/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_39_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_29_10831.jpg', 0), ('/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_18_9823.jpg', 0), ('/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_08_9849.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_58_9850.jpg', '/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_49_9871.jpg', '/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_39_9849.jpg', '/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_29_10831.jpg', '/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_18_9823.jpg', '/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_08_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_58_9850.jpg
/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_49_9871.jpg
/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_39_9849.jpg
/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_29_10831.jpg
/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_18_9823.jpg
/home/nano/Desktop/images/10022025/09/39/image_10022025_09_39_08_9849.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338230736","1338231071","1338231053","1338231070","1338230674","1338230926"],"photo_ids_order":["1338230674","1338230736","1338230926","1338231053","1338231070","1338231071"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db1dcce6c29d1007674efcf0875ed6d1.jpg","text":"TemporaryFile(/tmp/multipartBody1058486669261267128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827595255,"filename":"image_10022025_09_39_49_9871.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ec761d5a2fc5d5608abe3af80743e2da.jpg","text":"TemporaryFile(/tmp/multipartBody5618753587080305162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827595255,"filename":"image_10022025_09_39_08_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c77300fdc2a558c2ecc3cc21683de660.jpg","text":"TemporaryFile(/tmp/multipartBody2979070181446317106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827595255,"filename":"image_10022025_09_39_29_10831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39f276537acdf67ef959168dc9d8ebb9.jpg","text":"TemporaryFile(/tmp/multipartBody1421584821094314148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827595255,"filename":"image_10022025_09_39_18_9823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/29ec3b3157ec63709f51c71e33c1542a.jpg","text":"TemporaryFile(/tmp/multipartBody6485056212338945985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827595255,"filename":"image_10022025_09_39_58_9850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d133c45d7b8badb0f04146101a30c1f.jpg","text":"TemporaryFile(/tmp/multipartBody8038774518741954103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827595255,"filename":"image_10022025_09_39_39_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338230926","file1":"1338230736","file0":"1338230674","file4":"1338231070","file5":"1338231071","file3":"1338231053"},"map_files_photo_id_array":[{"photo_id":"1338231071","filename":"file5"},{"photo_id":"1338230926","filename":"file2"},{"photo_id":"1338231070","filename":"file4"},{"photo_id":"1338230736","filename":"file1"},{"photo_id":"1338230674","filename":"file0"},{"photo_id":"1338231053","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338230736":["hashtag1","hashtag2"]},{"1338231071":["hashtag1","hashtag2"]},{"1338231053":["hashtag1","hashtag2"]},{"1338231070":["hashtag1","hashtag2"]},{"1338230674":["hashtag1","hashtag2"]},{"1338230926":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338230736, 1338231071, 1338231053, 1338231070, 1338230674, 1338230926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6434440612793 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:26:31.945350
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_58_9843.jpg', 0), ('/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_48_9863.jpg', 0), ('/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_39_9838.jpg', 0), ('/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_29_10680.jpg', 0), ('/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_18_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_08_9683.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_58_9843.jpg', '/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_48_9863.jpg', '/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_39_9838.jpg', '/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_29_10680.jpg', '/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_18_9699.jpg', '/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_08_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_58_9843.jpg
/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_48_9863.jpg
/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_39_9838.jpg
/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_29_10680.jpg
/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_18_9699.jpg
/home/nano/Desktop/images/10022025/09/38/image_10022025_09_38_08_9683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338231185","1338231179","1338231188","1338231190","1338231189","1338231183"],"photo_ids_order":["1338231179","1338231183","1338231185","1338231188","1338231189","1338231190"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/00eddf04f589c42a0bc1dd0d4d07148c.jpg","text":"TemporaryFile(/tmp/multipartBody3536469477420075810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827654842,"filename":"image_10022025_09_38_39_9838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0d3f4d0e95bd807ad376c09d9a2248c3.jpg","text":"TemporaryFile(/tmp/multipartBody196124512796671912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827654842,"filename":"image_10022025_09_38_58_9843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aa29de04fa68c792a6609b258d339217.jpg","text":"TemporaryFile(/tmp/multipartBody7457392465040722555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827654842,"filename":"image_10022025_09_38_29_10680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/80c3191cfabe302b1eab0a4744df27ff.jpg","text":"TemporaryFile(/tmp/multipartBody4481946796007368573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827654842,"filename":"image_10022025_09_38_08_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a57f4ecfa9a9fe3578b8ca7e6e1d49cb.jpg","text":"TemporaryFile(/tmp/multipartBody6121552619972347287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827654842,"filename":"image_10022025_09_38_18_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e3de4365691f839c1d7946ea53f9db6.jpg","text":"TemporaryFile(/tmp/multipartBody8622078243376231660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827654842,"filename":"image_10022025_09_38_48_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338231185","file1":"1338231183","file0":"1338231179","file4":"1338231189","file5":"1338231190","file3":"1338231188"},"map_files_photo_id_array":[{"photo_id":"1338231190","filename":"file5"},{"photo_id":"1338231185","filename":"file2"},{"photo_id":"1338231189","filename":"file4"},{"photo_id":"1338231183","filename":"file1"},{"photo_id":"1338231179","filename":"file0"},{"photo_id":"1338231188","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338231185":["hashtag1","hashtag2"]},{"1338231179":["hashtag1","hashtag2"]},{"1338231188":["hashtag1","hashtag2"]},{"1338231190":["hashtag1","hashtag2"]},{"1338231189":["hashtag1","hashtag2"]},{"1338231183":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338231185, 1338231179, 1338231188, 1338231190, 1338231189, 1338231183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61274456977844 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:27:32.136160
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_59_10785.jpg', 0), ('/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_48_9877.jpg', 0), ('/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_38_9838.jpg', 0), ('/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_28_9684.jpg', 0), ('/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_19_9687.jpg', 0), ('/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_09_10709.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_59_10785.jpg', '/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_48_9877.jpg', '/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_38_9838.jpg', '/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_28_9684.jpg', '/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_19_9687.jpg', '/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_09_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_59_10785.jpg
/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_48_9877.jpg
/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_38_9838.jpg
/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_28_9684.jpg
/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_19_9687.jpg
/home/nano/Desktop/images/10022025/09/37/image_10022025_09_37_09_10709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338231203","1338231206","1338231209","1338231200","1338231195","1338231198"],"photo_ids_order":["1338231195","1338231198","1338231200","1338231203","1338231206","1338231209"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/11d76bb179cde4aa3fa455e53b54577d.jpg","text":"TemporaryFile(/tmp/multipartBody9056852731329950781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827714461,"filename":"image_10022025_09_37_28_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/079a0dd24b2c2d6baafe333beb9d5e12.jpg","text":"TemporaryFile(/tmp/multipartBody8889899763565816802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827714461,"filename":"image_10022025_09_37_19_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b555b4bfe5ba8c77a19e4da7684579ba.jpg","text":"TemporaryFile(/tmp/multipartBody2990878007510365279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827714461,"filename":"image_10022025_09_37_09_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d27b27caad67bfd90bdd95e7dfa940ff.jpg","text":"TemporaryFile(/tmp/multipartBody5964539250043433519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827714461,"filename":"image_10022025_09_37_38_9838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f297352be10b3d1e1d67d24e3825e6bf.jpg","text":"TemporaryFile(/tmp/multipartBody7821784387645868506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827714461,"filename":"image_10022025_09_37_59_10785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/444c9193bf331b0159195edc3dde5cba.jpg","text":"TemporaryFile(/tmp/multipartBody6407318104385922298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827714461,"filename":"image_10022025_09_37_48_9877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338231200","file1":"1338231198","file0":"1338231195","file4":"1338231206","file5":"1338231209","file3":"1338231203"},"map_files_photo_id_array":[{"photo_id":"1338231209","filename":"file5"},{"photo_id":"1338231200","filename":"file2"},{"photo_id":"1338231206","filename":"file4"},{"photo_id":"1338231198","filename":"file1"},{"photo_id":"1338231195","filename":"file0"},{"photo_id":"1338231203","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338231203":["hashtag1","hashtag2"]},{"1338231206":["hashtag1","hashtag2"]},{"1338231209":["hashtag1","hashtag2"]},{"1338231200":["hashtag1","hashtag2"]},{"1338231195":["hashtag1","hashtag2"]},{"1338231198":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338231203, 1338231206, 1338231209, 1338231200, 1338231195, 1338231198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.686946392059326 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:28:32.286412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_58_9662.jpg', 0), ('/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_48_9675.jpg', 0), ('/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_39_10699.jpg', 0), ('/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_28_9690.jpg', 0), ('/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_18_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_09_9833.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_58_9662.jpg', '/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_48_9675.jpg', '/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_39_10699.jpg', '/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_28_9690.jpg', '/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_18_9701.jpg', '/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_09_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_58_9662.jpg
/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_48_9675.jpg
/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_39_10699.jpg
/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_28_9690.jpg
/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_18_9701.jpg
/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_09_9833.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5874321460723877 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:29:03.159983
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_58_9662.jpg', 0), ('/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_48_9675.jpg', 0), ('/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_39_10699.jpg', 0), ('/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_28_9690.jpg', 0), ('/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_18_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_09_9833.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_58_9662.jpg', '/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_48_9675.jpg', '/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_39_10699.jpg', '/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_28_9690.jpg', '/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_18_9701.jpg', '/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_09_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_58_9662.jpg
/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_48_9675.jpg
/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_39_10699.jpg
/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_28_9690.jpg
/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_18_9701.jpg
/home/nano/Desktop/images/10022025/09/36/image_10022025_09_36_09_9833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338231275","1338231277","1338231274","1338231273","1338231249","1338231279"],"photo_ids_order":["1338231249","1338231273","1338231274","1338231275","1338231277","1338231279"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/25fe25719fb39d4bd488d8c5d88389a3.jpg","text":"TemporaryFile(/tmp/multipartBody7596822822432236089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827805657,"filename":"image_10022025_09_36_28_9690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4297f2975268b641712ad88061512f1b.jpg","text":"TemporaryFile(/tmp/multipartBody7569832029412539990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827805657,"filename":"image_10022025_09_36_18_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e900eace788d806320c1c08894fce17f.jpg","text":"TemporaryFile(/tmp/multipartBody7153524818962991783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827805657,"filename":"image_10022025_09_36_39_10699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3453e5df4674c0b5531173f1799af715.jpg","text":"TemporaryFile(/tmp/multipartBody3415010299756533165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827805657,"filename":"image_10022025_09_36_48_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/285cf373f9b45e005e961edae33e461d.jpg","text":"TemporaryFile(/tmp/multipartBody8654098943406414578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827805657,"filename":"image_10022025_09_36_58_9662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bbffa9d29089680fddffd284bbe7c25f.jpg","text":"TemporaryFile(/tmp/multipartBody4213029488046884274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827805657,"filename":"image_10022025_09_36_09_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338231274","file1":"1338231273","file0":"1338231249","file4":"1338231277","file5":"1338231279","file3":"1338231275"},"map_files_photo_id_array":[{"photo_id":"1338231279","filename":"file5"},{"photo_id":"1338231274","filename":"file2"},{"photo_id":"1338231277","filename":"file4"},{"photo_id":"1338231273","filename":"file1"},{"photo_id":"1338231249","filename":"file0"},{"photo_id":"1338231275","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338231275":["hashtag1","hashtag2"]},{"1338231277":["hashtag1","hashtag2"]},{"1338231274":["hashtag1","hashtag2"]},{"1338231273":["hashtag1","hashtag2"]},{"1338231249":["hashtag1","hashtag2"]},{"1338231279":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338231275, 1338231277, 1338231274, 1338231273, 1338231249, 1338231279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62045097351074 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:30:03.010920
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_59_10872.jpg', 0), ('/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_48_9761.jpg', 0), ('/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_38_9652.jpg', 0), ('/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_29_9740.jpg', 0), ('/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_19_10689.jpg', 0), ('/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_08_9752.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_59_10872.jpg', '/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_48_9761.jpg', '/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_38_9652.jpg', '/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_29_9740.jpg', '/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_19_10689.jpg', '/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_08_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_59_10872.jpg
/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_48_9761.jpg
/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_38_9652.jpg
/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_29_9740.jpg
/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_19_10689.jpg
/home/nano/Desktop/images/10022025/09/35/image_10022025_09_35_08_9752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338231315","1338231311","1338231308","1338231313","1338231310","1338231312"],"photo_ids_order":["1338231308","1338231310","1338231311","1338231312","1338231313","1338231315"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8e74963437cc1f130c6f1bb6d801ff0a.jpg","text":"TemporaryFile(/tmp/multipartBody9078495383895041287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827865654,"filename":"image_10022025_09_35_08_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b521ebfe83e64bac29c5a11ff0945262.jpg","text":"TemporaryFile(/tmp/multipartBody2607034724351081653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827865654,"filename":"image_10022025_09_35_38_9652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39558d3b71a37f35b9f4c111beb32dfe.jpg","text":"TemporaryFile(/tmp/multipartBody7949107870177117020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827865654,"filename":"image_10022025_09_35_59_10872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/62973e5a0380def3ee8281ccd6dc02e5.jpg","text":"TemporaryFile(/tmp/multipartBody3323451730032532257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827865654,"filename":"image_10022025_09_35_19_10689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/424f9a4c28b1025ba441fb55e11a05ef.jpg","text":"TemporaryFile(/tmp/multipartBody3720168745988585270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827865654,"filename":"image_10022025_09_35_48_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/478b9a03955f9fe5dcaeeba997777ad4.jpg","text":"TemporaryFile(/tmp/multipartBody3609087187857536767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827865654,"filename":"image_10022025_09_35_29_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338231311","file1":"1338231310","file0":"1338231308","file4":"1338231313","file5":"1338231315","file3":"1338231312"},"map_files_photo_id_array":[{"photo_id":"1338231315","filename":"file5"},{"photo_id":"1338231311","filename":"file2"},{"photo_id":"1338231313","filename":"file4"},{"photo_id":"1338231310","filename":"file1"},{"photo_id":"1338231308","filename":"file0"},{"photo_id":"1338231312","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338231315":["hashtag1","hashtag2"]},{"1338231311":["hashtag1","hashtag2"]},{"1338231308":["hashtag1","hashtag2"]},{"1338231313":["hashtag1","hashtag2"]},{"1338231310":["hashtag1","hashtag2"]},{"1338231312":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338231315, 1338231311, 1338231308, 1338231313, 1338231310, 1338231312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.655163049697876 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:31:02.204272
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_58_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_49_9818.jpg', 0), ('/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_39_10694.jpg', 0), ('/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_28_9703.jpg', 0), ('/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_18_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_09_9808.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_58_9785.jpg', '/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_49_9818.jpg', '/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_39_10694.jpg', '/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_28_9703.jpg', '/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_18_9693.jpg', '/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_09_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_58_9785.jpg
/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_49_9818.jpg
/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_39_10694.jpg
/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_28_9703.jpg
/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_18_9693.jpg
/home/nano/Desktop/images/10022025/09/34/image_10022025_09_34_09_9808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338231513","1338231512","1338231515","1338231509","1338231517","1338231514"],"photo_ids_order":["1338231509","1338231512","1338231513","1338231514","1338231515","1338231517"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2445dd9a2b806416d3b306e6cffc8843.jpg","text":"TemporaryFile(/tmp/multipartBody4897602811151492464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827926666,"filename":"image_10022025_09_34_39_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/51980cf2d33aa02982c985af2003255e.jpg","text":"TemporaryFile(/tmp/multipartBody5966825450114257265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827926666,"filename":"image_10022025_09_34_49_9818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0623edafeee1ea03b71bfa2cb5e24803.jpg","text":"TemporaryFile(/tmp/multipartBody8388094010037322550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827926666,"filename":"image_10022025_09_34_18_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0bc52c60b9500ace9b8f6ee1c0b3debd.jpg","text":"TemporaryFile(/tmp/multipartBody5835867332390012801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827926666,"filename":"image_10022025_09_34_58_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bab7fb6dfbc5ac112f7f40a37ff8677f.jpg","text":"TemporaryFile(/tmp/multipartBody6622311299514513959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827926666,"filename":"image_10022025_09_34_09_9808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1a6136ce3d5b798448d804e91461bbb7.jpg","text":"TemporaryFile(/tmp/multipartBody7125575930040126693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739827926666,"filename":"image_10022025_09_34_28_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338231513","file1":"1338231512","file0":"1338231509","file4":"1338231515","file5":"1338231517","file3":"1338231514"},"map_files_photo_id_array":[{"photo_id":"1338231517","filename":"file5"},{"photo_id":"1338231513","filename":"file2"},{"photo_id":"1338231515","filename":"file4"},{"photo_id":"1338231512","filename":"file1"},{"photo_id":"1338231509","filename":"file0"},{"photo_id":"1338231514","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338231513":["hashtag1","hashtag2"]},{"1338231512":["hashtag1","hashtag2"]},{"1338231515":["hashtag1","hashtag2"]},{"1338231509":["hashtag1","hashtag2"]},{"1338231517":["hashtag1","hashtag2"]},{"1338231514":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338231513, 1338231512, 1338231515, 1338231509, 1338231517, 1338231514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40827131271362 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:32:02.363529
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_59_10790.jpg', 0), ('/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_48_9784.jpg', 0), ('/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_38_9805.jpg', 0), ('/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_28_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_19_10794.jpg', 0), ('/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_08_9787.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_59_10790.jpg', '/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_48_9784.jpg', '/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_38_9805.jpg', '/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_28_9787.jpg', '/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_19_10794.jpg', '/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_08_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_59_10790.jpg
/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_48_9784.jpg
/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_38_9805.jpg
/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_28_9787.jpg
/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_19_10794.jpg
/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_08_9787.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.663706064224243 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:32:31.944849
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_59_10790.jpg', 0), ('/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_48_9784.jpg', 0), ('/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_38_9805.jpg', 0), ('/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_28_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_19_10794.jpg', 0), ('/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_08_9787.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_59_10790.jpg', '/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_48_9784.jpg', '/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_38_9805.jpg', '/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_28_9787.jpg', '/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_19_10794.jpg', '/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_08_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_59_10790.jpg
/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_48_9784.jpg
/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_38_9805.jpg
/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_28_9787.jpg
/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_19_10794.jpg
/home/nano/Desktop/images/10022025/09/33/image_10022025_09_33_08_9787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338231740","1338231737","1338231731","1338231733","1338231739","1338231735"],"photo_ids_order":["1338231731","1338231733","1338231735","1338231737","1338231739","1338231740"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1215c1d07e81cfbd86c11157e51f4098.jpg","text":"TemporaryFile(/tmp/multipartBody2513183233580976105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828014513,"filename":"image_10022025_09_33_08_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e097d563b0df45a2fd680727cb11e1d2.jpg","text":"TemporaryFile(/tmp/multipartBody3743434449744449656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828014513,"filename":"image_10022025_09_33_28_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15834394db531ae4004feec1d944aaeb.jpg","text":"TemporaryFile(/tmp/multipartBody5041330384382908435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828014513,"filename":"image_10022025_09_33_59_10790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/325cac6e0f6a2adb8b5db821a292d8ce.jpg","text":"TemporaryFile(/tmp/multipartBody3725087340021574838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828014513,"filename":"image_10022025_09_33_48_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7959adbd46f1088ed34bb9a652ae8be.jpg","text":"TemporaryFile(/tmp/multipartBody4067290258847478743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828014513,"filename":"image_10022025_09_33_19_10794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/207db3e2389503c9918695debe6a2c48.jpg","text":"TemporaryFile(/tmp/multipartBody5105552519163239081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828014513,"filename":"image_10022025_09_33_38_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338231735","file1":"1338231733","file0":"1338231731","file4":"1338231739","file5":"1338231740","file3":"1338231737"},"map_files_photo_id_array":[{"photo_id":"1338231740","filename":"file5"},{"photo_id":"1338231735","filename":"file2"},{"photo_id":"1338231739","filename":"file4"},{"photo_id":"1338231733","filename":"file1"},{"photo_id":"1338231731","filename":"file0"},{"photo_id":"1338231737","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338231740":["hashtag1","hashtag2"]},{"1338231737":["hashtag1","hashtag2"]},{"1338231731":["hashtag1","hashtag2"]},{"1338231733":["hashtag1","hashtag2"]},{"1338231739":["hashtag1","hashtag2"]},{"1338231735":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338231740, 1338231737, 1338231731, 1338231733, 1338231739, 1338231735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75258159637451 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:33:32.109945
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_58_9783.jpg', 0), ('/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_48_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_39_9779.jpg', 0), ('/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_29_10795.jpg', 0), ('/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_18_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_08_9776.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_58_9783.jpg', '/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_48_9785.jpg', '/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_39_9779.jpg', '/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_29_10795.jpg', '/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_18_9785.jpg', '/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_08_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_58_9783.jpg
/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_48_9785.jpg
/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_39_9779.jpg
/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_29_10795.jpg
/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_18_9785.jpg
/home/nano/Desktop/images/10022025/09/32/image_10022025_09_32_08_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338231749","1338232130","1338231863","1338231752","1338231746","1338231753"],"photo_ids_order":["1338231746","1338231749","1338231752","1338231753","1338231863","1338232130"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a244c62ca257770f7d1812025b930226.jpg","text":"TemporaryFile(/tmp/multipartBody6370472421523078868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828074674,"filename":"image_10022025_09_32_48_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7e16d2f526c6de4272bce16c960ce4af.jpg","text":"TemporaryFile(/tmp/multipartBody4995947489328969105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828074674,"filename":"image_10022025_09_32_08_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4a7e10dd9df8673488c4d21ea30df4d.jpg","text":"TemporaryFile(/tmp/multipartBody7641811377455217579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828074674,"filename":"image_10022025_09_32_18_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d0e8256117c27b5da72aedbdfd16992c.jpg","text":"TemporaryFile(/tmp/multipartBody9006772998750214509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828074674,"filename":"image_10022025_09_32_39_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b4e2b843e74083e6b9969922db48b50.jpg","text":"TemporaryFile(/tmp/multipartBody722027452919797358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828074674,"filename":"image_10022025_09_32_58_9783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15005413a94113c19ab4d33cedc324d0.jpg","text":"TemporaryFile(/tmp/multipartBody7279123629634151833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828074674,"filename":"image_10022025_09_32_29_10795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338231752","file1":"1338231749","file0":"1338231746","file4":"1338231863","file5":"1338232130","file3":"1338231753"},"map_files_photo_id_array":[{"photo_id":"1338232130","filename":"file5"},{"photo_id":"1338231752","filename":"file2"},{"photo_id":"1338231863","filename":"file4"},{"photo_id":"1338231749","filename":"file1"},{"photo_id":"1338231746","filename":"file0"},{"photo_id":"1338231753","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338231749":["hashtag1","hashtag2"]},{"1338232130":["hashtag1","hashtag2"]},{"1338231863":["hashtag1","hashtag2"]},{"1338231752":["hashtag1","hashtag2"]},{"1338231746":["hashtag1","hashtag2"]},{"1338231753":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338231749, 1338232130, 1338231863, 1338231752, 1338231746, 1338231753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.790017127990723 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:34:32.266295
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_58_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_49_9785.jpg', 0), ('/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_39_10683.jpg', 0), ('/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_28_9683.jpg', 0), ('/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_18_9675.jpg', 0), ('/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_09_10690.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_58_9785.jpg', '/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_49_9785.jpg', '/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_39_10683.jpg', '/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_28_9683.jpg', '/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_18_9675.jpg', '/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_09_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_58_9785.jpg
/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_49_9785.jpg
/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_39_10683.jpg
/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_28_9683.jpg
/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_18_9675.jpg
/home/nano/Desktop/images/10022025/09/31/image_10022025_09_31_09_10690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338232672","1338232668","1338232671","1338232752","1338232734","1338232728"],"photo_ids_order":["1338232668","1338232671","1338232672","1338232728","1338232734","1338232752"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/40b291750f8bef58e52764717803541b.jpg","text":"TemporaryFile(/tmp/multipartBody5137742626159722108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828135615,"filename":"image_10022025_09_31_39_10683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ab4e1da925823eee297ab6492be123b.jpg","text":"TemporaryFile(/tmp/multipartBody7274003734034550905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828135615,"filename":"image_10022025_09_31_58_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f185f316961f27f259c548b3e9256100.jpg","text":"TemporaryFile(/tmp/multipartBody1128979267860831259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828135615,"filename":"image_10022025_09_31_49_9785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c9c2aa6771114b90d8566169875e8fb.jpg","text":"TemporaryFile(/tmp/multipartBody4769140303261079426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828135615,"filename":"image_10022025_09_31_09_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c4c812eae6706446f0d6a5a12b9086bd.jpg","text":"TemporaryFile(/tmp/multipartBody7391320766000536922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828135615,"filename":"image_10022025_09_31_18_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/899ea3ce95c5e8d64701196a885a49b3.jpg","text":"TemporaryFile(/tmp/multipartBody6942248971341381006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828135615,"filename":"image_10022025_09_31_28_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338232672","file1":"1338232671","file0":"1338232668","file4":"1338232734","file5":"1338232752","file3":"1338232728"},"map_files_photo_id_array":[{"photo_id":"1338232752","filename":"file5"},{"photo_id":"1338232672","filename":"file2"},{"photo_id":"1338232734","filename":"file4"},{"photo_id":"1338232671","filename":"file1"},{"photo_id":"1338232668","filename":"file0"},{"photo_id":"1338232728","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338232672":["hashtag1","hashtag2"]},{"1338232668":["hashtag1","hashtag2"]},{"1338232671":["hashtag1","hashtag2"]},{"1338232752":["hashtag1","hashtag2"]},{"1338232734":["hashtag1","hashtag2"]},{"1338232728":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338232672, 1338232668, 1338232671, 1338232752, 1338232734, 1338232728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.573821783065796 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:35:32.434011
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_58_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_48_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_39_10779.jpg', 0), ('/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_28_9769.jpg', 0), ('/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_18_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_08_9810.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_58_9682.jpg', '/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_48_9698.jpg', '/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_39_10779.jpg', '/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_28_9769.jpg', '/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_18_9788.jpg', '/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_08_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_58_9682.jpg
/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_48_9698.jpg
/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_39_10779.jpg
/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_28_9769.jpg
/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_18_9788.jpg
/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_08_9810.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.852381944656372 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:36:03.022555
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_58_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_48_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_39_10779.jpg', 0), ('/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_28_9769.jpg', 0), ('/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_18_9788.jpg', 0), ('/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_08_9810.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_58_9682.jpg', '/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_48_9698.jpg', '/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_39_10779.jpg', '/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_28_9769.jpg', '/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_18_9788.jpg', '/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_08_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_58_9682.jpg
/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_48_9698.jpg
/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_39_10779.jpg
/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_28_9769.jpg
/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_18_9788.jpg
/home/nano/Desktop/images/10022025/09/30/image_10022025_09_30_08_9810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338233053","1338233056","1338233052","1338233055","1338233058","1338233054"],"photo_ids_order":["1338233052","1338233053","1338233054","1338233055","1338233056","1338233058"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f6b20ad449c1d5a965844822d8b659f.jpg","text":"TemporaryFile(/tmp/multipartBody1662792056106394439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828225620,"filename":"image_10022025_09_30_48_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d44ea00cc9507a3c395cdb2270c2f1f7.jpg","text":"TemporaryFile(/tmp/multipartBody49462679726086332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828225620,"filename":"image_10022025_09_30_18_9788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/abeafa87dfb23985fdb1235ff3a4abf8.jpg","text":"TemporaryFile(/tmp/multipartBody2414883366326761710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828225620,"filename":"image_10022025_09_30_58_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bda9d8caf446782c8de825d5833395e8.jpg","text":"TemporaryFile(/tmp/multipartBody6145661723767976007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828225620,"filename":"image_10022025_09_30_28_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/70f57cfe8875bea128855b38bc8234da.jpg","text":"TemporaryFile(/tmp/multipartBody8253913846932479557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828225620,"filename":"image_10022025_09_30_08_9810.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5667dba381d6c7cd6bf9fd0c0e387fff.jpg","text":"TemporaryFile(/tmp/multipartBody6419476246315618164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828225620,"filename":"image_10022025_09_30_39_10779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338233054","file1":"1338233053","file0":"1338233052","file4":"1338233056","file5":"1338233058","file3":"1338233055"},"map_files_photo_id_array":[{"photo_id":"1338233058","filename":"file5"},{"photo_id":"1338233054","filename":"file2"},{"photo_id":"1338233056","filename":"file4"},{"photo_id":"1338233053","filename":"file1"},{"photo_id":"1338233052","filename":"file0"},{"photo_id":"1338233055","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338233053":["hashtag1","hashtag2"]},{"1338233056":["hashtag1","hashtag2"]},{"1338233052":["hashtag1","hashtag2"]},{"1338233055":["hashtag1","hashtag2"]},{"1338233058":["hashtag1","hashtag2"]},{"1338233054":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338233053, 1338233056, 1338233052, 1338233055, 1338233058, 1338233054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6454541683197 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:37:03.272931
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_59_9770.jpg', 0), ('/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_49_10771.jpg', 0), ('/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_38_9769.jpg', 0), ('/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_28_9768.jpg', 0), ('/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_19_9769.jpg', 0), ('/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_09_10793.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_59_9770.jpg', '/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_49_10771.jpg', '/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_38_9769.jpg', '/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_28_9768.jpg', '/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_19_9769.jpg', '/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_09_10793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_59_9770.jpg
/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_49_10771.jpg
/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_38_9769.jpg
/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_28_9768.jpg
/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_19_9769.jpg
/home/nano/Desktop/images/10022025/09/29/image_10022025_09_29_09_10793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338233221","1338233224","1338233226","1338233223","1338233222","1338233228"],"photo_ids_order":["1338233221","1338233222","1338233223","1338233224","1338233226","1338233228"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0bcd7eebbc30d9c73b1ded5da8be4622.jpg","text":"TemporaryFile(/tmp/multipartBody5189594847276147939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828286636,"filename":"image_10022025_09_29_59_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7a553dbe323494b1c82148feeddcebfd.jpg","text":"TemporaryFile(/tmp/multipartBody5794504909480082354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828286636,"filename":"image_10022025_09_29_28_9768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f476399f17f26f396b2fc5a73d1c9988.jpg","text":"TemporaryFile(/tmp/multipartBody4127232806723225030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828286636,"filename":"image_10022025_09_29_19_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d79236348eee62e608f227cef2ac1c2.jpg","text":"TemporaryFile(/tmp/multipartBody4804459235334016761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828286636,"filename":"image_10022025_09_29_38_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2fe44d1b8cb5f7e2f39b35ea864fae0b.jpg","text":"TemporaryFile(/tmp/multipartBody260478843214752279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828286636,"filename":"image_10022025_09_29_49_10771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/39009150dc2df509a8ef0a6e731b0b39.jpg","text":"TemporaryFile(/tmp/multipartBody2372171168825538245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828286636,"filename":"image_10022025_09_29_09_10793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338233223","file1":"1338233222","file0":"1338233221","file4":"1338233226","file5":"1338233228","file3":"1338233224"},"map_files_photo_id_array":[{"photo_id":"1338233228","filename":"file5"},{"photo_id":"1338233223","filename":"file2"},{"photo_id":"1338233226","filename":"file4"},{"photo_id":"1338233222","filename":"file1"},{"photo_id":"1338233221","filename":"file0"},{"photo_id":"1338233224","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338233221":["hashtag1","hashtag2"]},{"1338233224":["hashtag1","hashtag2"]},{"1338233226":["hashtag1","hashtag2"]},{"1338233223":["hashtag1","hashtag2"]},{"1338233222":["hashtag1","hashtag2"]},{"1338233228":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338233221, 1338233224, 1338233226, 1338233223, 1338233222, 1338233228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55782222747803 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:38:02.215077
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_58_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_48_9769.jpg', 0), ('/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_38_9770.jpg', 0), ('/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_29_9781.jpg', 0), ('/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_19_10782.jpg', 0), ('/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_08_9769.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_58_9789.jpg', '/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_48_9769.jpg', '/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_38_9770.jpg', '/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_29_9781.jpg', '/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_19_10782.jpg', '/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_08_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_58_9789.jpg
/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_48_9769.jpg
/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_38_9770.jpg
/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_29_9781.jpg
/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_19_10782.jpg
/home/nano/Desktop/images/10022025/09/28/image_10022025_09_28_08_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338233236","1338233239","1338233238","1338233241","1338233235","1338233237"],"photo_ids_order":["1338233235","1338233236","1338233237","1338233238","1338233239","1338233241"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/984a16bac7d88d3e34c1fe47e238e997.jpg","text":"TemporaryFile(/tmp/multipartBody1305445240136139427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828345322,"filename":"image_10022025_09_28_48_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/21845bae7992150bb3cf844a54b0773b.jpg","text":"TemporaryFile(/tmp/multipartBody2672140117372982402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828345322,"filename":"image_10022025_09_28_19_10782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fd4082e8230e13328678e391c7fe1a62.jpg","text":"TemporaryFile(/tmp/multipartBody513522136219273114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828345322,"filename":"image_10022025_09_28_29_9781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f816a80c37ec27a15e9a77af15c6b88d.jpg","text":"TemporaryFile(/tmp/multipartBody6157840058272474842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828345322,"filename":"image_10022025_09_28_08_9769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bbc2c155d8d563d8fbc9919e540d83ff.jpg","text":"TemporaryFile(/tmp/multipartBody9155356842260119178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828345322,"filename":"image_10022025_09_28_58_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/477505922f162e466d227346c086f6e7.jpg","text":"TemporaryFile(/tmp/multipartBody1667405278027657481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828345322,"filename":"image_10022025_09_28_38_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338233237","file1":"1338233236","file0":"1338233235","file4":"1338233239","file5":"1338233241","file3":"1338233238"},"map_files_photo_id_array":[{"photo_id":"1338233241","filename":"file5"},{"photo_id":"1338233237","filename":"file2"},{"photo_id":"1338233239","filename":"file4"},{"photo_id":"1338233236","filename":"file1"},{"photo_id":"1338233235","filename":"file0"},{"photo_id":"1338233238","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338233236":["hashtag1","hashtag2"]},{"1338233239":["hashtag1","hashtag2"]},{"1338233238":["hashtag1","hashtag2"]},{"1338233241":["hashtag1","hashtag2"]},{"1338233235":["hashtag1","hashtag2"]},{"1338233237":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338233236, 1338233239, 1338233238, 1338233241, 1338233235, 1338233237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63652324676514 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:39:02.615939
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_58_9772.jpg', 0), ('/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_49_9771.jpg', 0), ('/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_39_10783.jpg', 0), ('/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_28_9792.jpg', 0), ('/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_18_9795.jpg', 0), ('/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_08_9782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_58_9772.jpg', '/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_49_9771.jpg', '/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_39_10783.jpg', '/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_28_9792.jpg', '/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_18_9795.jpg', '/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_08_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_58_9772.jpg
/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_49_9771.jpg
/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_39_10783.jpg
/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_28_9792.jpg
/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_18_9795.jpg
/home/nano/Desktop/images/10022025/09/27/image_10022025_09_27_08_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338233260","1338233254","1338233256","1338233253","1338233258","1338233252"],"photo_ids_order":["1338233252","1338233253","1338233254","1338233256","1338233258","1338233260"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/24c9b76c3d5b4a125ebdbfb2736faace.jpg","text":"TemporaryFile(/tmp/multipartBody6057132708948178149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828405752,"filename":"image_10022025_09_27_08_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3022b4becf81d5f09f806b6f4e64972.jpg","text":"TemporaryFile(/tmp/multipartBody3896741929966666452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828405752,"filename":"image_10022025_09_27_39_10783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/48ce072663cbd05b39f51a1a9343edc4.jpg","text":"TemporaryFile(/tmp/multipartBody2250005515999437743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828405752,"filename":"image_10022025_09_27_28_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5789f3892eaedb6ee8c44e85e1ce9a4b.jpg","text":"TemporaryFile(/tmp/multipartBody34285278799584633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828405752,"filename":"image_10022025_09_27_49_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c1433bda4eefbb547ebe4590b80df040.jpg","text":"TemporaryFile(/tmp/multipartBody7486981684141981024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828405752,"filename":"image_10022025_09_27_18_9795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/522e18bea916da661fa7b94007fb9874.jpg","text":"TemporaryFile(/tmp/multipartBody7848779546145762623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828405752,"filename":"image_10022025_09_27_58_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338233254","file1":"1338233253","file0":"1338233252","file4":"1338233258","file5":"1338233260","file3":"1338233256"},"map_files_photo_id_array":[{"photo_id":"1338233260","filename":"file5"},{"photo_id":"1338233254","filename":"file2"},{"photo_id":"1338233258","filename":"file4"},{"photo_id":"1338233253","filename":"file1"},{"photo_id":"1338233252","filename":"file0"},{"photo_id":"1338233256","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338233260":["hashtag1","hashtag2"]},{"1338233254":["hashtag1","hashtag2"]},{"1338233256":["hashtag1","hashtag2"]},{"1338233253":["hashtag1","hashtag2"]},{"1338233258":["hashtag1","hashtag2"]},{"1338233252":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338233260, 1338233254, 1338233256, 1338233253, 1338233258, 1338233252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.852187395095825 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:40:02.537940
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_59_9694.jpg', 0), ('/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_49_10710.jpg', 0), ('/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_38_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_28_9660.jpg', 0), ('/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_19_10816.jpg', 0), ('/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_08_9831.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_59_9694.jpg', '/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_49_10710.jpg', '/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_38_9698.jpg', '/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_28_9660.jpg', '/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_19_10816.jpg', '/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_08_9831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_59_9694.jpg
/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_49_10710.jpg
/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_38_9698.jpg
/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_28_9660.jpg
/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_19_10816.jpg
/home/nano/Desktop/images/10022025/09/26/image_10022025_09_26_08_9831.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338233284","1338233272","1338233269","1338233271","1338233268","1338233270"],"photo_ids_order":["1338233268","1338233269","1338233270","1338233271","1338233272","1338233284"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f9ec663dd6277159d8b674a7d7573e30.jpg","text":"TemporaryFile(/tmp/multipartBody2157529621905091177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828466044,"filename":"image_10022025_09_26_08_9831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3201254338865d957931b0843f6e144c.jpg","text":"TemporaryFile(/tmp/multipartBody2569741317909021879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828466044,"filename":"image_10022025_09_26_19_10816.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/10a7c2cf910d07fc8a2d85c1d0f5d8fe.jpg","text":"TemporaryFile(/tmp/multipartBody5268645740332872114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828466044,"filename":"image_10022025_09_26_49_10710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a3a6211fedf36e3629013e850eda6d51.jpg","text":"TemporaryFile(/tmp/multipartBody7208505826117963560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828466044,"filename":"image_10022025_09_26_28_9660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d9c380c7edde6d6ef0e224a599d22558.jpg","text":"TemporaryFile(/tmp/multipartBody8598891710891142095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828466044,"filename":"image_10022025_09_26_59_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c27377f977a8fa6252123e4723dadf77.jpg","text":"TemporaryFile(/tmp/multipartBody1514577724351277535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828466044,"filename":"image_10022025_09_26_38_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338233270","file1":"1338233269","file0":"1338233268","file4":"1338233272","file5":"1338233284","file3":"1338233271"},"map_files_photo_id_array":[{"photo_id":"1338233284","filename":"file5"},{"photo_id":"1338233270","filename":"file2"},{"photo_id":"1338233272","filename":"file4"},{"photo_id":"1338233269","filename":"file1"},{"photo_id":"1338233268","filename":"file0"},{"photo_id":"1338233271","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338233284":["hashtag1","hashtag2"]},{"1338233272":["hashtag1","hashtag2"]},{"1338233269":["hashtag1","hashtag2"]},{"1338233271":["hashtag1","hashtag2"]},{"1338233268":["hashtag1","hashtag2"]},{"1338233270":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338233284, 1338233272, 1338233269, 1338233271, 1338233268, 1338233270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74242329597473 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:41:02.775732
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_58_9815.jpg', 0), ('/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_48_9841.jpg', 0), ('/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_39_9848.jpg', 0), ('/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_29_9839.jpg', 0), ('/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_19_10704.jpg', 0), ('/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_08_9695.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_58_9815.jpg', '/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_48_9841.jpg', '/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_39_9848.jpg', '/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_29_9839.jpg', '/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_19_10704.jpg', '/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_08_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_58_9815.jpg
/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_48_9841.jpg
/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_39_9848.jpg
/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_29_9839.jpg
/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_19_10704.jpg
/home/nano/Desktop/images/10022025/09/25/image_10022025_09_25_08_9695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338233414","1338233605","1338233331","1338233604","1338233508","1338233601"],"photo_ids_order":["1338233331","1338233414","1338233508","1338233601","1338233604","1338233605"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e66de51be53677e6bf50c074fc627708.jpg","text":"TemporaryFile(/tmp/multipartBody8908138924855414085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828526174,"filename":"image_10022025_09_25_48_9841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d410eabb7a6ca6ec5b5c9cb9e6e1871.jpg","text":"TemporaryFile(/tmp/multipartBody1748238096020889008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828526174,"filename":"image_10022025_09_25_08_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6837689b47030bc8067d5d65c984f92c.jpg","text":"TemporaryFile(/tmp/multipartBody9220402045937812144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828526174,"filename":"image_10022025_09_25_58_9815.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a7165c269a3e9f247a22fa8f33bd1db1.jpg","text":"TemporaryFile(/tmp/multipartBody1313012144121188373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828526174,"filename":"image_10022025_09_25_19_10704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fae68f28419b99a09c68bdb9500d77c4.jpg","text":"TemporaryFile(/tmp/multipartBody3410399958214766991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828526174,"filename":"image_10022025_09_25_39_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/17d7bc1cf92485cded8bf51343a744c4.jpg","text":"TemporaryFile(/tmp/multipartBody8460025642588596517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828526174,"filename":"image_10022025_09_25_29_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338233508","file1":"1338233414","file0":"1338233331","file4":"1338233604","file5":"1338233605","file3":"1338233601"},"map_files_photo_id_array":[{"photo_id":"1338233605","filename":"file5"},{"photo_id":"1338233508","filename":"file2"},{"photo_id":"1338233604","filename":"file4"},{"photo_id":"1338233414","filename":"file1"},{"photo_id":"1338233331","filename":"file0"},{"photo_id":"1338233601","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338233414":["hashtag1","hashtag2"]},{"1338233605":["hashtag1","hashtag2"]},{"1338233331":["hashtag1","hashtag2"]},{"1338233604":["hashtag1","hashtag2"]},{"1338233508":["hashtag1","hashtag2"]},{"1338233601":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338233414, 1338233605, 1338233331, 1338233604, 1338233508, 1338233601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.124573707580566 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:42:02.800484
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_58_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_49_10712.jpg', 0), ('/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_38_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_28_9680.jpg', 0), ('/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_19_9820.jpg', 0), ('/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_09_10858.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_58_9691.jpg', '/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_49_10712.jpg', '/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_38_9692.jpg', '/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_28_9680.jpg', '/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_19_9820.jpg', '/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_09_10858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_58_9691.jpg
/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_49_10712.jpg
/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_38_9692.jpg
/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_28_9680.jpg
/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_19_9820.jpg
/home/nano/Desktop/images/10022025/09/24/image_10022025_09_24_09_10858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338233614","1338233617","1338233616","1338233619","1338233613","1338233615"],"photo_ids_order":["1338233613","1338233614","1338233615","1338233616","1338233617","1338233619"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f80077f14c7d84c2d79a0fa8869be5e8.jpg","text":"TemporaryFile(/tmp/multipartBody1190660004980487026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828585151,"filename":"image_10022025_09_24_49_10712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8d01386691077290ab6a9a83b9542fa7.jpg","text":"TemporaryFile(/tmp/multipartBody6768468511000929996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828585151,"filename":"image_10022025_09_24_19_9820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6b185d1769f1f96a9f7f784f386693bb.jpg","text":"TemporaryFile(/tmp/multipartBody7768263541490957171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828585151,"filename":"image_10022025_09_24_28_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df3bc7df2be8f2bf45c253470e5c0a78.jpg","text":"TemporaryFile(/tmp/multipartBody4826072270417612231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828585151,"filename":"image_10022025_09_24_09_10858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/85140e456d14b9064e1ea322f6271ff2.jpg","text":"TemporaryFile(/tmp/multipartBody8674688667924614482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828585151,"filename":"image_10022025_09_24_58_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/708783bf1cb26b7ffe25f142eae3fd0a.jpg","text":"TemporaryFile(/tmp/multipartBody7536730841711358956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828585151,"filename":"image_10022025_09_24_38_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338233615","file1":"1338233614","file0":"1338233613","file4":"1338233617","file5":"1338233619","file3":"1338233616"},"map_files_photo_id_array":[{"photo_id":"1338233619","filename":"file5"},{"photo_id":"1338233615","filename":"file2"},{"photo_id":"1338233617","filename":"file4"},{"photo_id":"1338233614","filename":"file1"},{"photo_id":"1338233613","filename":"file0"},{"photo_id":"1338233616","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338233614":["hashtag1","hashtag2"]},{"1338233617":["hashtag1","hashtag2"]},{"1338233616":["hashtag1","hashtag2"]},{"1338233619":["hashtag1","hashtag2"]},{"1338233613":["hashtag1","hashtag2"]},{"1338233615":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338233614, 1338233617, 1338233616, 1338233619, 1338233613, 1338233615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46879959106445 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:43:03.150313
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_58_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_48_9709.jpg', 0), ('/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_39_9909.jpg', 0), ('/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_29_9850.jpg', 0), ('/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_19_10880.jpg', 0), ('/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_08_9701.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_58_9714.jpg', '/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_48_9709.jpg', '/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_39_9909.jpg', '/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_29_9850.jpg', '/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_19_10880.jpg', '/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_08_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_58_9714.jpg
/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_48_9709.jpg
/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_39_9909.jpg
/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_29_9850.jpg
/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_19_10880.jpg
/home/nano/Desktop/images/10022025/09/23/image_10022025_09_23_08_9701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338233635","1338233634","1338233637","1338233639","1338233633","1338233636"],"photo_ids_order":["1338233633","1338233634","1338233635","1338233636","1338233637","1338233639"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1bb27b6d85ee2646cc2cdfa6e7f19ce6.jpg","text":"TemporaryFile(/tmp/multipartBody5475222574302489179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828645931,"filename":"image_10022025_09_23_39_9909.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19738efc254dfa639cf0043fc61ff32c.jpg","text":"TemporaryFile(/tmp/multipartBody8551900975815256871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828645931,"filename":"image_10022025_09_23_48_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/821c1448541f794d0c0eb8ecfff91f64.jpg","text":"TemporaryFile(/tmp/multipartBody5511863789678004980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828645931,"filename":"image_10022025_09_23_19_10880.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/109fafcc4bb1d96f9a7688a5ea9b6dd0.jpg","text":"TemporaryFile(/tmp/multipartBody3444641515858394345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828645931,"filename":"image_10022025_09_23_08_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1399be826adde9c8fef1633fae0a2ce.jpg","text":"TemporaryFile(/tmp/multipartBody8313072457677642787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828645931,"filename":"image_10022025_09_23_58_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6bd2a58105f000f1bdbc47339a86cff.jpg","text":"TemporaryFile(/tmp/multipartBody9002634883730138196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828645931,"filename":"image_10022025_09_23_29_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338233635","file1":"1338233634","file0":"1338233633","file4":"1338233637","file5":"1338233639","file3":"1338233636"},"map_files_photo_id_array":[{"photo_id":"1338233639","filename":"file5"},{"photo_id":"1338233635","filename":"file2"},{"photo_id":"1338233637","filename":"file4"},{"photo_id":"1338233634","filename":"file1"},{"photo_id":"1338233633","filename":"file0"},{"photo_id":"1338233636","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338233635":["hashtag1","hashtag2"]},{"1338233634":["hashtag1","hashtag2"]},{"1338233637":["hashtag1","hashtag2"]},{"1338233639":["hashtag1","hashtag2"]},{"1338233633":["hashtag1","hashtag2"]},{"1338233636":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338233635, 1338233634, 1338233637, 1338233639, 1338233633, 1338233636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.774317264556885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:44:03.375612
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_58_9675.jpg', 0), ('/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_49_9667.jpg', 0), ('/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_39_10841.jpg', 0), ('/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_28_9793.jpg', 0), ('/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_18_9700.jpg', 0), ('/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_09_9709.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_58_9675.jpg', '/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_49_9667.jpg', '/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_39_10841.jpg', '/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_28_9793.jpg', '/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_18_9700.jpg', '/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_09_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_58_9675.jpg
/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_49_9667.jpg
/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_39_10841.jpg
/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_28_9793.jpg
/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_18_9700.jpg
/home/nano/Desktop/images/10022025/09/22/image_10022025_09_22_09_9709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338233653","1338233655","1338233649","1338233646","1338233651","1338233648"],"photo_ids_order":["1338233646","1338233648","1338233649","1338233651","1338233653","1338233655"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ae4a29a4039e903866e3b036ac36b0d.jpg","text":"TemporaryFile(/tmp/multipartBody7481937517718120297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828706354,"filename":"image_10022025_09_22_18_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0abf295516c40bad67e27c47b2c8fe05.jpg","text":"TemporaryFile(/tmp/multipartBody3302301569487983143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828706354,"filename":"image_10022025_09_22_09_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e3fd4912ce3c80da4e7029d794cb8024.jpg","text":"TemporaryFile(/tmp/multipartBody8247885592457925461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828706354,"filename":"image_10022025_09_22_39_10841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e605a362669e01e554b9570b1a171764.jpg","text":"TemporaryFile(/tmp/multipartBody4902452941600875202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828706354,"filename":"image_10022025_09_22_58_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b5e5bff1811f658ab0398eb1bdf93ff.jpg","text":"TemporaryFile(/tmp/multipartBody7284532575452158229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828706354,"filename":"image_10022025_09_22_28_9793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/065e3c323aa247d3282b3fafaefe0f95.jpg","text":"TemporaryFile(/tmp/multipartBody8932924515943582795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828706354,"filename":"image_10022025_09_22_49_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338233649","file1":"1338233648","file0":"1338233646","file4":"1338233653","file5":"1338233655","file3":"1338233651"},"map_files_photo_id_array":[{"photo_id":"1338233655","filename":"file5"},{"photo_id":"1338233649","filename":"file2"},{"photo_id":"1338233653","filename":"file4"},{"photo_id":"1338233648","filename":"file1"},{"photo_id":"1338233646","filename":"file0"},{"photo_id":"1338233651","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338233653":["hashtag1","hashtag2"]},{"1338233655":["hashtag1","hashtag2"]},{"1338233649":["hashtag1","hashtag2"]},{"1338233646":["hashtag1","hashtag2"]},{"1338233651":["hashtag1","hashtag2"]},{"1338233648":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338233653, 1338233655, 1338233649, 1338233646, 1338233651, 1338233648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.194268226623535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:45:02.284879
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_59_10786.jpg', 0), ('/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_48_9720.jpg', 0), ('/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_38_9839.jpg', 0), ('/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_28_9846.jpg', 0), ('/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_19_10722.jpg', 0), ('/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_08_9803.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_59_10786.jpg', '/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_48_9720.jpg', '/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_38_9839.jpg', '/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_28_9846.jpg', '/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_19_10722.jpg', '/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_08_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_59_10786.jpg
/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_48_9720.jpg
/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_38_9839.jpg
/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_28_9846.jpg
/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_19_10722.jpg
/home/nano/Desktop/images/10022025/09/21/image_10022025_09_21_08_9803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338233668","1338233665","1338233667","1338233664","1338233663","1338233666"],"photo_ids_order":["1338233663","1338233664","1338233665","1338233666","1338233667","1338233668"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/861d7f5b50cd56c3f035e2eeb9407792.jpg","text":"TemporaryFile(/tmp/multipartBody6844871593105435407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828765060,"filename":"image_10022025_09_21_08_9803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/46221eaf6018ee26fedf114de9cffb9b.jpg","text":"TemporaryFile(/tmp/multipartBody1662971523993460334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828765060,"filename":"image_10022025_09_21_38_9839.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38f533c1966d7b215a51cbfedad053f7.jpg","text":"TemporaryFile(/tmp/multipartBody7568084880597658956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828765060,"filename":"image_10022025_09_21_19_10722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16d05f50c55e09b3903b2cafa78dbcf6.jpg","text":"TemporaryFile(/tmp/multipartBody6391744640842651628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828765060,"filename":"image_10022025_09_21_48_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8026a16660d95d547287deca103c606.jpg","text":"TemporaryFile(/tmp/multipartBody6037776786623850642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828765060,"filename":"image_10022025_09_21_59_10786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6f76311cbf3e414c983fcb0ad0bf406c.jpg","text":"TemporaryFile(/tmp/multipartBody6936818170631992749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828765060,"filename":"image_10022025_09_21_28_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338233665","file1":"1338233664","file0":"1338233663","file4":"1338233667","file5":"1338233668","file3":"1338233666"},"map_files_photo_id_array":[{"photo_id":"1338233668","filename":"file5"},{"photo_id":"1338233665","filename":"file2"},{"photo_id":"1338233667","filename":"file4"},{"photo_id":"1338233664","filename":"file1"},{"photo_id":"1338233663","filename":"file0"},{"photo_id":"1338233666","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338233668":["hashtag1","hashtag2"]},{"1338233665":["hashtag1","hashtag2"]},{"1338233667":["hashtag1","hashtag2"]},{"1338233664":["hashtag1","hashtag2"]},{"1338233663":["hashtag1","hashtag2"]},{"1338233666":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338233668, 1338233665, 1338233667, 1338233664, 1338233663, 1338233666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.42721199989319 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:46:02.424099
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_58_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_48_9843.jpg', 0), ('/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_38_9806.jpg', 0), ('/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_29_9834.jpg', 0), ('/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_19_10826.jpg', 0), ('/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_08_9844.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_58_9825.jpg', '/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_48_9843.jpg', '/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_38_9806.jpg', '/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_29_9834.jpg', '/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_19_10826.jpg', '/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_08_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_58_9825.jpg
/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_48_9843.jpg
/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_38_9806.jpg
/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_29_9834.jpg
/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_19_10826.jpg
/home/nano/Desktop/images/10022025/09/20/image_10022025_09_20_08_9844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338233941","1338233938","1338233943","1338233937","1338233936","1338233939"],"photo_ids_order":["1338233936","1338233937","1338233938","1338233939","1338233941","1338233943"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/45a7733a07c49ca01bfb312da56224c4.jpg","text":"TemporaryFile(/tmp/multipartBody3110611286925971043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828825909,"filename":"image_10022025_09_20_19_10826.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2ef7040b35c43093b34c10cbc44dd9ce.jpg","text":"TemporaryFile(/tmp/multipartBody7694495858098637125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828825909,"filename":"image_10022025_09_20_38_9806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a4e785dba50b2577a6d686d233e58801.jpg","text":"TemporaryFile(/tmp/multipartBody8826480980794007958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828825909,"filename":"image_10022025_09_20_08_9844.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b68c4d732b807bda9480be19c513f4ec.jpg","text":"TemporaryFile(/tmp/multipartBody8658218845481817815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828825909,"filename":"image_10022025_09_20_48_9843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98b91cdbdc39090fccc3ac66d674808c.jpg","text":"TemporaryFile(/tmp/multipartBody4400164489523866206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828825909,"filename":"image_10022025_09_20_58_9825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f821df8b3166e0dd2dfedfbdfb019bd5.jpg","text":"TemporaryFile(/tmp/multipartBody2100567027816611279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828825909,"filename":"image_10022025_09_20_29_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338233938","file1":"1338233937","file0":"1338233936","file4":"1338233941","file5":"1338233943","file3":"1338233939"},"map_files_photo_id_array":[{"photo_id":"1338233943","filename":"file5"},{"photo_id":"1338233938","filename":"file2"},{"photo_id":"1338233941","filename":"file4"},{"photo_id":"1338233937","filename":"file1"},{"photo_id":"1338233936","filename":"file0"},{"photo_id":"1338233939","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338233941":["hashtag1","hashtag2"]},{"1338233938":["hashtag1","hashtag2"]},{"1338233943":["hashtag1","hashtag2"]},{"1338233937":["hashtag1","hashtag2"]},{"1338233936":["hashtag1","hashtag2"]},{"1338233939":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338233941, 1338233938, 1338233943, 1338233937, 1338233936, 1338233939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21838665008545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:47:02.630680
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_58_9844.jpg', 0), ('/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_48_9847.jpg', 0), ('/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_38_9782.jpg', 0), ('/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_29_9862.jpg', 0), ('/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_19_10829.jpg', 0), ('/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_08_9818.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_58_9844.jpg', '/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_48_9847.jpg', '/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_38_9782.jpg', '/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_29_9862.jpg', '/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_19_10829.jpg', '/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_08_9818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_58_9844.jpg
/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_48_9847.jpg
/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_38_9782.jpg
/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_29_9862.jpg
/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_19_10829.jpg
/home/nano/Desktop/images/10022025/09/19/image_10022025_09_19_08_9818.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338233959","1338233953","1338233952","1338233955","1338233954","1338233951"],"photo_ids_order":["1338233951","1338233952","1338233953","1338233954","1338233955","1338233959"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a2103695b92942ba6f6bea7f5f7336a6.jpg","text":"TemporaryFile(/tmp/multipartBody8107646141408221993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828885789,"filename":"image_10022025_09_19_08_9818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/555cb60a6e9d53057a9dde39bc96fe90.jpg","text":"TemporaryFile(/tmp/multipartBody788887952779777806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828885789,"filename":"image_10022025_09_19_38_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b1537b053c0643a85af95f386f2fe20.jpg","text":"TemporaryFile(/tmp/multipartBody1149361163114192345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828885789,"filename":"image_10022025_09_19_48_9847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df69483ad0b448531a4685c0a1e2899b.jpg","text":"TemporaryFile(/tmp/multipartBody5280686394129775969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828885789,"filename":"image_10022025_09_19_19_10829.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71a09f5804d5d25f65558ab1c08f837d.jpg","text":"TemporaryFile(/tmp/multipartBody6748628402629557623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828885789,"filename":"image_10022025_09_19_29_9862.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b19d65cc07225e369311138bb80317c3.jpg","text":"TemporaryFile(/tmp/multipartBody4596268144560334727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828885789,"filename":"image_10022025_09_19_58_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338233953","file1":"1338233952","file0":"1338233951","file4":"1338233955","file5":"1338233959","file3":"1338233954"},"map_files_photo_id_array":[{"photo_id":"1338233959","filename":"file5"},{"photo_id":"1338233953","filename":"file2"},{"photo_id":"1338233955","filename":"file4"},{"photo_id":"1338233952","filename":"file1"},{"photo_id":"1338233951","filename":"file0"},{"photo_id":"1338233954","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338233959":["hashtag1","hashtag2"]},{"1338233953":["hashtag1","hashtag2"]},{"1338233952":["hashtag1","hashtag2"]},{"1338233955":["hashtag1","hashtag2"]},{"1338233954":["hashtag1","hashtag2"]},{"1338233951":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338233959, 1338233953, 1338233952, 1338233955, 1338233954, 1338233951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.073901414871216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:48:02.762268
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_58_9856.jpg', 0), ('/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_48_9673.jpg', 0), ('/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_39_9766.jpg', 0), ('/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_29_10707.jpg', 0), ('/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_18_9716.jpg', 0), ('/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_08_9716.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_58_9856.jpg', '/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_48_9673.jpg', '/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_39_9766.jpg', '/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_29_10707.jpg', '/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_18_9716.jpg', '/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_08_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_58_9856.jpg
/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_48_9673.jpg
/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_39_9766.jpg
/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_29_10707.jpg
/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_18_9716.jpg
/home/nano/Desktop/images/10022025/09/18/image_10022025_09_18_08_9716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338234445","1338234838","1338234792","1338234706","1338234842","1338234839"],"photo_ids_order":["1338234445","1338234706","1338234792","1338234838","1338234839","1338234842"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d42560222a8f2af47ed7ef038d50216f.jpg","text":"TemporaryFile(/tmp/multipartBody844824162072288182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828945945,"filename":"image_10022025_09_18_58_9856.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa78f38d828b3fe6ffcf7f06d29438e7.jpg","text":"TemporaryFile(/tmp/multipartBody3002585157089028779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828945945,"filename":"image_10022025_09_18_29_10707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/474580b901b598928821181b60e739eb.jpg","text":"TemporaryFile(/tmp/multipartBody222423816531952323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828945945,"filename":"image_10022025_09_18_39_9766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7478c59d294535a41ff23046ffc373a9.jpg","text":"TemporaryFile(/tmp/multipartBody3239064789785188973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828945945,"filename":"image_10022025_09_18_48_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/055107ef24a7dd1c3b511574cdcff668.jpg","text":"TemporaryFile(/tmp/multipartBody8050681272822053842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828945945,"filename":"image_10022025_09_18_08_9716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6b42c6c29b9178eb1a924803c615d302.jpg","text":"TemporaryFile(/tmp/multipartBody1130525211852674240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739828945945,"filename":"image_10022025_09_18_18_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338234792","file1":"1338234706","file0":"1338234445","file4":"1338234839","file5":"1338234842","file3":"1338234838"},"map_files_photo_id_array":[{"photo_id":"1338234842","filename":"file5"},{"photo_id":"1338234792","filename":"file2"},{"photo_id":"1338234839","filename":"file4"},{"photo_id":"1338234706","filename":"file1"},{"photo_id":"1338234445","filename":"file0"},{"photo_id":"1338234838","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338234445":["hashtag1","hashtag2"]},{"1338234838":["hashtag1","hashtag2"]},{"1338234792":["hashtag1","hashtag2"]},{"1338234706":["hashtag1","hashtag2"]},{"1338234842":["hashtag1","hashtag2"]},{"1338234839":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338234445, 1338234838, 1338234792, 1338234706, 1338234842, 1338234839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1740779876709 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:49:03.344740
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_59_10686.jpg', 0), ('/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_48_9726.jpg', 0), ('/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_38_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_29_9701.jpg', 0), ('/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_19_10702.jpg', 0), ('/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_08_9847.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_59_10686.jpg', '/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_48_9726.jpg', '/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_38_9701.jpg', '/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_29_9701.jpg', '/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_19_10702.jpg', '/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_08_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_59_10686.jpg
/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_48_9726.jpg
/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_38_9701.jpg
/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_29_9701.jpg
/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_19_10702.jpg
/home/nano/Desktop/images/10022025/09/17/image_10022025_09_17_08_9847.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338235071","1338235074","1338235076","1338235070","1338235073","1338235072"],"photo_ids_order":["1338235070","1338235071","1338235072","1338235073","1338235074","1338235076"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2369cc1cd6c673724ae12738e42d1dba.jpg","text":"TemporaryFile(/tmp/multipartBody8630744347591097435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829005933,"filename":"image_10022025_09_17_48_9726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ae49a9348beeb30833c355f14cbb020d.jpg","text":"TemporaryFile(/tmp/multipartBody4051995270495475658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829005933,"filename":"image_10022025_09_17_19_10702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/63bc8c36f35fa5318c735b999ef9662d.jpg","text":"TemporaryFile(/tmp/multipartBody4182871932406023998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829005933,"filename":"image_10022025_09_17_08_9847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67c0cda8187eb29c51940f08f4975450.jpg","text":"TemporaryFile(/tmp/multipartBody8046896086853691792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829005933,"filename":"image_10022025_09_17_59_10686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e64ce4c587f30fa03e685382a3e4903.jpg","text":"TemporaryFile(/tmp/multipartBody8852610102892669542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829005933,"filename":"image_10022025_09_17_29_9701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/486c9a426b1a87d135e6d3652cab8954.jpg","text":"TemporaryFile(/tmp/multipartBody7684318100347286620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829005933,"filename":"image_10022025_09_17_38_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338235072","file1":"1338235071","file0":"1338235070","file4":"1338235074","file5":"1338235076","file3":"1338235073"},"map_files_photo_id_array":[{"photo_id":"1338235076","filename":"file5"},{"photo_id":"1338235072","filename":"file2"},{"photo_id":"1338235074","filename":"file4"},{"photo_id":"1338235071","filename":"file1"},{"photo_id":"1338235070","filename":"file0"},{"photo_id":"1338235073","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338235071":["hashtag1","hashtag2"]},{"1338235074":["hashtag1","hashtag2"]},{"1338235076":["hashtag1","hashtag2"]},{"1338235070":["hashtag1","hashtag2"]},{"1338235073":["hashtag1","hashtag2"]},{"1338235072":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338235071, 1338235074, 1338235076, 1338235070, 1338235073, 1338235072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66937017440796 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:50:03.042373
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_58_9846.jpg', 0), ('/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_48_9825.jpg', 0), ('/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_39_9775.jpg', 0), ('/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_29_10711.jpg', 0), ('/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_18_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_08_9708.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_58_9846.jpg', '/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_48_9825.jpg', '/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_39_9775.jpg', '/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_29_10711.jpg', '/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_18_9697.jpg', '/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_08_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_58_9846.jpg
/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_48_9825.jpg
/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_39_9775.jpg
/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_29_10711.jpg
/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_18_9697.jpg
/home/nano/Desktop/images/10022025/09/16/image_10022025_09_16_08_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338235094","1338235088","1338235103","1338235087","1338235096","1338235099"],"photo_ids_order":["1338235087","1338235088","1338235094","1338235096","1338235099","1338235103"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5bf6667fd9a2274b70f92d531c98df34.jpg","text":"TemporaryFile(/tmp/multipartBody6660566536737681640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829065683,"filename":"image_10022025_09_16_39_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a7348ac17120b735c15cd4238e4c36fc.jpg","text":"TemporaryFile(/tmp/multipartBody8356688314584184110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829065683,"filename":"image_10022025_09_16_48_9825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/92c77c565e3b00d2881725a513152a64.jpg","text":"TemporaryFile(/tmp/multipartBody1465078473721965558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829065683,"filename":"image_10022025_09_16_08_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/263a4a6b573c7fa6ecc36bd39bc1c1ba.jpg","text":"TemporaryFile(/tmp/multipartBody8538333987187613259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829065683,"filename":"image_10022025_09_16_58_9846.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bc7aff0190882e1d904be0464103ae5d.jpg","text":"TemporaryFile(/tmp/multipartBody4372501889746789640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829065683,"filename":"image_10022025_09_16_29_10711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07f8ece8c3f4b7156f4ae1ed62d0c3ff.jpg","text":"TemporaryFile(/tmp/multipartBody8588797755483549734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829065683,"filename":"image_10022025_09_16_18_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338235094","file1":"1338235088","file0":"1338235087","file4":"1338235099","file5":"1338235103","file3":"1338235096"},"map_files_photo_id_array":[{"photo_id":"1338235103","filename":"file5"},{"photo_id":"1338235094","filename":"file2"},{"photo_id":"1338235099","filename":"file4"},{"photo_id":"1338235088","filename":"file1"},{"photo_id":"1338235087","filename":"file0"},{"photo_id":"1338235096","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338235094":["hashtag1","hashtag2"]},{"1338235088":["hashtag1","hashtag2"]},{"1338235103":["hashtag1","hashtag2"]},{"1338235087":["hashtag1","hashtag2"]},{"1338235096":["hashtag1","hashtag2"]},{"1338235099":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338235094, 1338235088, 1338235103, 1338235087, 1338235096, 1338235099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50469446182251 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:51:02.429692
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_59_10793.jpg', 0), ('/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_48_9809.jpg', 0), ('/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_38_9851.jpg', 0), ('/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_28_9809.jpg', 0), ('/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_18_9823.jpg', 0), ('/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_09_9879.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_59_10793.jpg', '/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_48_9809.jpg', '/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_38_9851.jpg', '/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_28_9809.jpg', '/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_18_9823.jpg', '/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_09_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_59_10793.jpg
/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_48_9809.jpg
/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_38_9851.jpg
/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_28_9809.jpg
/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_18_9823.jpg
/home/nano/Desktop/images/10022025/09/15/image_10022025_09_15_09_9879.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338235128","1338235130","1338235127","1338235132","1338235126","1338235129"],"photo_ids_order":["1338235126","1338235127","1338235128","1338235129","1338235130","1338235132"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1193006ae3b4d0f0b283305390843efa.jpg","text":"TemporaryFile(/tmp/multipartBody8240124902270541037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829125664,"filename":"image_10022025_09_15_38_9851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4805b166cae420022189280f411dcf4.jpg","text":"TemporaryFile(/tmp/multipartBody624960449574960458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829125664,"filename":"image_10022025_09_15_18_9823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/671515a7aa9a53aac865fafb10dbb073.jpg","text":"TemporaryFile(/tmp/multipartBody4778688760136239360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829125664,"filename":"image_10022025_09_15_48_9809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ba2b59718049e083330b859b48e73714.jpg","text":"TemporaryFile(/tmp/multipartBody8328368853818226339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829125664,"filename":"image_10022025_09_15_09_9879.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f81d6bddfae673bd40516bd9dc2c2aef.jpg","text":"TemporaryFile(/tmp/multipartBody101597324215909634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829125664,"filename":"image_10022025_09_15_59_10793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5224bfe1ccb7a305032602b9bd1aefd4.jpg","text":"TemporaryFile(/tmp/multipartBody8288939687503354974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829125664,"filename":"image_10022025_09_15_28_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338235128","file1":"1338235127","file0":"1338235126","file4":"1338235130","file5":"1338235132","file3":"1338235129"},"map_files_photo_id_array":[{"photo_id":"1338235132","filename":"file5"},{"photo_id":"1338235128","filename":"file2"},{"photo_id":"1338235130","filename":"file4"},{"photo_id":"1338235127","filename":"file1"},{"photo_id":"1338235126","filename":"file0"},{"photo_id":"1338235129","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338235128":["hashtag1","hashtag2"]},{"1338235130":["hashtag1","hashtag2"]},{"1338235127":["hashtag1","hashtag2"]},{"1338235132":["hashtag1","hashtag2"]},{"1338235126":["hashtag1","hashtag2"]},{"1338235129":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338235128, 1338235130, 1338235127, 1338235132, 1338235126, 1338235129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.603360414505005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:52:02.282690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_59_10870.jpg', 0), ('/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_48_9833.jpg', 0), ('/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_38_9862.jpg', 0), ('/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_28_9853.jpg', 0), ('/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_18_9742.jpg', 0), ('/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_09_9857.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_59_10870.jpg', '/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_48_9833.jpg', '/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_38_9862.jpg', '/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_28_9853.jpg', '/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_18_9742.jpg', '/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_09_9857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_59_10870.jpg
/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_48_9833.jpg
/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_38_9862.jpg
/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_28_9853.jpg
/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_18_9742.jpg
/home/nano/Desktop/images/10022025/09/14/image_10022025_09_14_09_9857.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338235140","1338235143","1338235145","1338235139","1338235142","1338235141"],"photo_ids_order":["1338235139","1338235140","1338235141","1338235142","1338235143","1338235145"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c4f9ef97791815a508de4e51c4cdad65.jpg","text":"TemporaryFile(/tmp/multipartBody8924667741589304469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829184696,"filename":"image_10022025_09_14_48_9833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/20bcd403f65a282e352d552eb68a9203.jpg","text":"TemporaryFile(/tmp/multipartBody8308228754660682328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829184696,"filename":"image_10022025_09_14_18_9742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f4bbe1b85d5b82897d5e344258c0412d.jpg","text":"TemporaryFile(/tmp/multipartBody6293811406308651200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829184696,"filename":"image_10022025_09_14_09_9857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/09ac1db4c5478d8ad6c1162b1cd6199b.jpg","text":"TemporaryFile(/tmp/multipartBody99812257736048144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829184696,"filename":"image_10022025_09_14_59_10870.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f1f37683ff9a94f7e24422d376914bf.jpg","text":"TemporaryFile(/tmp/multipartBody6015297071294587627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829184696,"filename":"image_10022025_09_14_28_9853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b82a6d545cbbe7bb4de22cf8534a9d73.jpg","text":"TemporaryFile(/tmp/multipartBody7565162018342948389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829184696,"filename":"image_10022025_09_14_38_9862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338235141","file1":"1338235140","file0":"1338235139","file4":"1338235143","file5":"1338235145","file3":"1338235142"},"map_files_photo_id_array":[{"photo_id":"1338235145","filename":"file5"},{"photo_id":"1338235141","filename":"file2"},{"photo_id":"1338235143","filename":"file4"},{"photo_id":"1338235140","filename":"file1"},{"photo_id":"1338235139","filename":"file0"},{"photo_id":"1338235142","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338235140":["hashtag1","hashtag2"]},{"1338235143":["hashtag1","hashtag2"]},{"1338235145":["hashtag1","hashtag2"]},{"1338235139":["hashtag1","hashtag2"]},{"1338235142":["hashtag1","hashtag2"]},{"1338235141":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338235140, 1338235143, 1338235145, 1338235139, 1338235142, 1338235141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96555256843567 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:53:02.671574
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_59_10875.jpg', 0), ('/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_48_9837.jpg', 0), ('/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_38_9864.jpg', 0), ('/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_28_9831.jpg', 0), ('/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_18_9850.jpg', 0), ('/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_09_9828.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_59_10875.jpg', '/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_48_9837.jpg', '/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_38_9864.jpg', '/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_28_9831.jpg', '/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_18_9850.jpg', '/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_09_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_59_10875.jpg
/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_48_9837.jpg
/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_38_9864.jpg
/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_28_9831.jpg
/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_18_9850.jpg
/home/nano/Desktop/images/10022025/09/13/image_10022025_09_13_09_9828.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338235161","1338235155","1338235158","1338235160","1338235154","1338235156"],"photo_ids_order":["1338235154","1338235155","1338235156","1338235158","1338235160","1338235161"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/468436b8ba878e1bbdc0c8f5d99ac48d.jpg","text":"TemporaryFile(/tmp/multipartBody176478944082797052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829245971,"filename":"image_10022025_09_13_09_9828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd20e4af64bb97af113f2b084a42d0b7.jpg","text":"TemporaryFile(/tmp/multipartBody2138060294867808915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829245971,"filename":"image_10022025_09_13_48_9837.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26283e0f4eefc4a4f1369fe8d81fec57.jpg","text":"TemporaryFile(/tmp/multipartBody2288037790614700381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829245971,"filename":"image_10022025_09_13_28_9831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86feb4ada724fdc0c246faa661bd5955.jpg","text":"TemporaryFile(/tmp/multipartBody4013786813419061741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829245971,"filename":"image_10022025_09_13_18_9850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1ef6cebb4ed35cb436f2354d1e61ae63.jpg","text":"TemporaryFile(/tmp/multipartBody339785166430076581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829245971,"filename":"image_10022025_09_13_59_10875.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/05a69ad5b192cca9b3730157d184b8c7.jpg","text":"TemporaryFile(/tmp/multipartBody3059966485805365098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829245971,"filename":"image_10022025_09_13_38_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338235156","file1":"1338235155","file0":"1338235154","file4":"1338235160","file5":"1338235161","file3":"1338235158"},"map_files_photo_id_array":[{"photo_id":"1338235161","filename":"file5"},{"photo_id":"1338235156","filename":"file2"},{"photo_id":"1338235160","filename":"file4"},{"photo_id":"1338235155","filename":"file1"},{"photo_id":"1338235154","filename":"file0"},{"photo_id":"1338235158","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338235161":["hashtag1","hashtag2"]},{"1338235155":["hashtag1","hashtag2"]},{"1338235158":["hashtag1","hashtag2"]},{"1338235160":["hashtag1","hashtag2"]},{"1338235154":["hashtag1","hashtag2"]},{"1338235156":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338235161, 1338235155, 1338235158, 1338235160, 1338235154, 1338235156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05543899536133 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:54:03.027156
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_59_9812.jpg', 0), ('/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_49_10869.jpg', 0), ('/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_38_9834.jpg', 0), ('/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_28_9833.jpg', 0), ('/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_18_9847.jpg', 0), ('/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_08_9873.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_59_9812.jpg', '/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_49_10869.jpg', '/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_38_9834.jpg', '/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_28_9833.jpg', '/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_18_9847.jpg', '/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_08_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_59_9812.jpg
/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_49_10869.jpg
/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_38_9834.jpg
/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_28_9833.jpg
/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_18_9847.jpg
/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_08_9873.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7062864303588867 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:54:32.328621
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_59_9812.jpg', 0), ('/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_49_10869.jpg', 0), ('/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_38_9834.jpg', 0), ('/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_28_9833.jpg', 0), ('/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_18_9847.jpg', 0), ('/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_08_9873.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_59_9812.jpg', '/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_49_10869.jpg', '/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_38_9834.jpg', '/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_28_9833.jpg', '/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_18_9847.jpg', '/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_08_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_59_9812.jpg
/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_49_10869.jpg
/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_38_9834.jpg
/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_28_9833.jpg
/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_18_9847.jpg
/home/nano/Desktop/images/10022025/09/12/image_10022025_09_12_08_9873.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338235386","1338235394","1338235382","1338235396","1338235363","1338235395"],"photo_ids_order":["1338235363","1338235382","1338235386","1338235394","1338235395","1338235396"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b21212e05b2bea8acaebd87a31efca21.jpg","text":"TemporaryFile(/tmp/multipartBody7102608731993865616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829335450,"filename":"image_10022025_09_12_38_9834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/035e7caa24b56d29df02acb4d259a954.jpg","text":"TemporaryFile(/tmp/multipartBody3703293606360975340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829335450,"filename":"image_10022025_09_12_28_9833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/643f4b5f3150f61e98b2b6f8eec8d580.jpg","text":"TemporaryFile(/tmp/multipartBody3882603205097385745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829335450,"filename":"image_10022025_09_12_49_10869.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7098cce7fd308703427bfe0b19fbc3bc.jpg","text":"TemporaryFile(/tmp/multipartBody1899756222310074580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829335450,"filename":"image_10022025_09_12_08_9873.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5c1c68790c4b87648c26245b39940837.jpg","text":"TemporaryFile(/tmp/multipartBody4840254248809243452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829335450,"filename":"image_10022025_09_12_59_9812.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/629d202d46661f23d1644cfb6bb03781.jpg","text":"TemporaryFile(/tmp/multipartBody5364334090834034589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829335450,"filename":"image_10022025_09_12_18_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338235386","file1":"1338235382","file0":"1338235363","file4":"1338235395","file5":"1338235396","file3":"1338235394"},"map_files_photo_id_array":[{"photo_id":"1338235396","filename":"file5"},{"photo_id":"1338235386","filename":"file2"},{"photo_id":"1338235395","filename":"file4"},{"photo_id":"1338235382","filename":"file1"},{"photo_id":"1338235363","filename":"file0"},{"photo_id":"1338235394","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338235386":["hashtag1","hashtag2"]},{"1338235394":["hashtag1","hashtag2"]},{"1338235382":["hashtag1","hashtag2"]},{"1338235396":["hashtag1","hashtag2"]},{"1338235363":["hashtag1","hashtag2"]},{"1338235395":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338235386, 1338235394, 1338235382, 1338235396, 1338235363, 1338235395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54814672470093 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:55:32.482181
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_59_9857.jpg', 0), ('/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_49_9863.jpg', 0), ('/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_39_10832.jpg', 0), ('/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_28_9823.jpg', 0), ('/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_18_9817.jpg', 0), ('/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_08_9847.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_59_9857.jpg', '/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_49_9863.jpg', '/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_39_10832.jpg', '/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_28_9823.jpg', '/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_18_9817.jpg', '/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_08_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_59_9857.jpg
/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_49_9863.jpg
/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_39_10832.jpg
/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_28_9823.jpg
/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_18_9817.jpg
/home/nano/Desktop/images/10022025/09/11/image_10022025_09_11_08_9847.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338235413","1338235407","1338235401","1338235433","1338235403","1338235405"],"photo_ids_order":["1338235401","1338235403","1338235405","1338235407","1338235413","1338235433"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/be1a0408553bd8dab8286aeac57f6471.jpg","text":"TemporaryFile(/tmp/multipartBody394010130874127111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829395383,"filename":"image_10022025_09_11_18_9817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0b49ad63f7a32a034df0c1f4bd764e6.jpg","text":"TemporaryFile(/tmp/multipartBody3720279849785117742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829395383,"filename":"image_10022025_09_11_28_9823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d2c06803dc8e7ffcad6a98b0ede30be.jpg","text":"TemporaryFile(/tmp/multipartBody806031765562345731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829395383,"filename":"image_10022025_09_11_59_9857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98640e98e0651ffacd359896d02c3885.jpg","text":"TemporaryFile(/tmp/multipartBody5065536423398601545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829395383,"filename":"image_10022025_09_11_08_9847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/76b5271f8bb173850a292c91197ce450.jpg","text":"TemporaryFile(/tmp/multipartBody8941891398625947042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829395383,"filename":"image_10022025_09_11_49_9863.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/96457acf8bd5f9307529998f58f53333.jpg","text":"TemporaryFile(/tmp/multipartBody2229885451095683690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829395383,"filename":"image_10022025_09_11_39_10832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338235405","file1":"1338235403","file0":"1338235401","file4":"1338235413","file5":"1338235433","file3":"1338235407"},"map_files_photo_id_array":[{"photo_id":"1338235433","filename":"file5"},{"photo_id":"1338235405","filename":"file2"},{"photo_id":"1338235413","filename":"file4"},{"photo_id":"1338235403","filename":"file1"},{"photo_id":"1338235401","filename":"file0"},{"photo_id":"1338235407","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338235413":["hashtag1","hashtag2"]},{"1338235407":["hashtag1","hashtag2"]},{"1338235401":["hashtag1","hashtag2"]},{"1338235433":["hashtag1","hashtag2"]},{"1338235403":["hashtag1","hashtag2"]},{"1338235405":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338235413, 1338235407, 1338235401, 1338235433, 1338235403, 1338235405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90380311012268 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:56:32.629815
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_59_9843.jpg', 0), ('/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_49_9880.jpg', 0), ('/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_39_10826.jpg', 0), ('/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_28_9834.jpg', 0), ('/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_18_9833.jpg', 0), ('/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_08_9686.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_59_9843.jpg', '/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_49_9880.jpg', '/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_39_10826.jpg', '/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_28_9834.jpg', '/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_18_9833.jpg', '/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_08_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_59_9843.jpg
/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_49_9880.jpg
/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_39_10826.jpg
/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_28_9834.jpg
/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_18_9833.jpg
/home/nano/Desktop/images/10022025/09/10/image_10022025_09_10_08_9686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338235680","1338235682","1338235691","1338235685","1338235688","1338235690"],"photo_ids_order":["1338235680","1338235682","1338235685","1338235688","1338235690","1338235691"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8f8ab3ff0f5dc3dc9234dc647ebc3ceb.jpg","text":"TemporaryFile(/tmp/multipartBody727999964563389121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829455902,"filename":"image_10022025_09_10_59_9843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f58ce692136bdfd00b767a649a63ee9.jpg","text":"TemporaryFile(/tmp/multipartBody1859622082365896631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829455902,"filename":"image_10022025_09_10_49_9880.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6dbefe06a0c72d08bb72ffc679e523f.jpg","text":"TemporaryFile(/tmp/multipartBody7416032121245539413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829455902,"filename":"image_10022025_09_10_08_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9fb1da7e3e9d63acdbb41494326c8d3e.jpg","text":"TemporaryFile(/tmp/multipartBody3117276412193795749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829455902,"filename":"image_10022025_09_10_39_10826.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d4748dafcf403fa67f25dc3064fd7297.jpg","text":"TemporaryFile(/tmp/multipartBody738272983181956205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829455902,"filename":"image_10022025_09_10_28_9834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/416c30d73d8e5cb28a51e411e6fdaaf9.jpg","text":"TemporaryFile(/tmp/multipartBody3398052264748623291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829455902,"filename":"image_10022025_09_10_18_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338235685","file1":"1338235682","file0":"1338235680","file4":"1338235690","file5":"1338235691","file3":"1338235688"},"map_files_photo_id_array":[{"photo_id":"1338235691","filename":"file5"},{"photo_id":"1338235685","filename":"file2"},{"photo_id":"1338235690","filename":"file4"},{"photo_id":"1338235682","filename":"file1"},{"photo_id":"1338235680","filename":"file0"},{"photo_id":"1338235688","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338235680":["hashtag1","hashtag2"]},{"1338235682":["hashtag1","hashtag2"]},{"1338235691":["hashtag1","hashtag2"]},{"1338235685":["hashtag1","hashtag2"]},{"1338235688":["hashtag1","hashtag2"]},{"1338235690":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338235680, 1338235682, 1338235691, 1338235685, 1338235688, 1338235690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.417744398117065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:57:32.766125
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_59_10702.jpg', 0), ('/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_48_9688.jpg', 0), ('/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_38_9668.jpg', 0), ('/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_29_10716.jpg', 0), ('/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_18_9749.jpg', 0), ('/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_08_9696.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_59_10702.jpg', '/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_48_9688.jpg', '/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_38_9668.jpg', '/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_29_10716.jpg', '/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_18_9749.jpg', '/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_08_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_59_10702.jpg
/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_48_9688.jpg
/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_38_9668.jpg
/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_29_10716.jpg
/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_18_9749.jpg
/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_08_9696.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:58:02.232629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_59_10702.jpg', 0), ('/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_48_9688.jpg', 0), ('/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_38_9668.jpg', 0), ('/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_29_10716.jpg', 0), ('/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_18_9749.jpg', 0), ('/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_08_9696.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_59_10702.jpg', '/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_48_9688.jpg', '/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_38_9668.jpg', '/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_29_10716.jpg', '/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_18_9749.jpg', '/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_08_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_59_10702.jpg
/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_48_9688.jpg
/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_38_9668.jpg
/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_29_10716.jpg
/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_18_9749.jpg
/home/nano/Desktop/images/10022025/09/09/image_10022025_09_09_08_9696.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338236004","1338236069","1338236003","1338236095","1338236077","1338236005"],"photo_ids_order":["1338236003","1338236004","1338236005","1338236069","1338236077","1338236095"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/493d3d53681907d487d5461fe924a42d.jpg","text":"TemporaryFile(/tmp/multipartBody8232270273620810653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829544625,"filename":"image_10022025_09_09_48_9688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/394ac489df287a9bcf3956075bd00d67.jpg","text":"TemporaryFile(/tmp/multipartBody9111697684215196239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829544625,"filename":"image_10022025_09_09_29_10716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ea68d24a345644b5f0102e6b1b17d04.jpg","text":"TemporaryFile(/tmp/multipartBody3426639789941788560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829544625,"filename":"image_10022025_09_09_59_10702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0904102adbec805ab895ae9f254fe940.jpg","text":"TemporaryFile(/tmp/multipartBody2798837952167982922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829544625,"filename":"image_10022025_09_09_08_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ee6be5de746f655a906b07e3fd4c9c68.jpg","text":"TemporaryFile(/tmp/multipartBody2596466263579893131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829544625,"filename":"image_10022025_09_09_18_9749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e8f01418f4cd4319f33f25f2ffc01da5.jpg","text":"TemporaryFile(/tmp/multipartBody4771146395726335705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829544625,"filename":"image_10022025_09_09_38_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338236005","file1":"1338236004","file0":"1338236003","file4":"1338236077","file5":"1338236095","file3":"1338236069"},"map_files_photo_id_array":[{"photo_id":"1338236095","filename":"file5"},{"photo_id":"1338236005","filename":"file2"},{"photo_id":"1338236077","filename":"file4"},{"photo_id":"1338236004","filename":"file1"},{"photo_id":"1338236003","filename":"file0"},{"photo_id":"1338236069","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338236004":["hashtag1","hashtag2"]},{"1338236069":["hashtag1","hashtag2"]},{"1338236003":["hashtag1","hashtag2"]},{"1338236095":["hashtag1","hashtag2"]},{"1338236077":["hashtag1","hashtag2"]},{"1338236005":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338236004, 1338236069, 1338236003, 1338236095, 1338236077, 1338236005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47108721733093 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 22:59:03.506056
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_58_9671.jpg', 0), ('/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_49_10678.jpg', 0), ('/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_38_9676.jpg', 0), ('/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_28_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_19_10731.jpg', 0), ('/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_08_9734.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_58_9671.jpg', '/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_49_10678.jpg', '/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_38_9676.jpg', '/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_28_9696.jpg', '/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_19_10731.jpg', '/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_08_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_58_9671.jpg
/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_49_10678.jpg
/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_38_9676.jpg
/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_28_9696.jpg
/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_19_10731.jpg
/home/nano/Desktop/images/10022025/09/08/image_10022025_09_08_08_9734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338236112","1338236109","1338236099","1338236103","1338236106","1338236114"],"photo_ids_order":["1338236099","1338236103","1338236106","1338236109","1338236112","1338236114"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4333d77927ac82b488463fe081c43494.jpg","text":"TemporaryFile(/tmp/multipartBody4906929058489104104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829605675,"filename":"image_10022025_09_08_19_10731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c016cbf5c767ebc98390c54790644c2f.jpg","text":"TemporaryFile(/tmp/multipartBody5688756575719213682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829605675,"filename":"image_10022025_09_08_28_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc4f6a87b088e03eacf66e1f493d15e3.jpg","text":"TemporaryFile(/tmp/multipartBody2048976314372991253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829605675,"filename":"image_10022025_09_08_58_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a9003f96c48306a4d80ed65d46963239.jpg","text":"TemporaryFile(/tmp/multipartBody9037368972162180991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829605675,"filename":"image_10022025_09_08_49_10678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe3d528724bec4189f6a26299f903b8b.jpg","text":"TemporaryFile(/tmp/multipartBody5638919835182861232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829605675,"filename":"image_10022025_09_08_38_9676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9b535f8e4bf66082159dd7e20a06c0d7.jpg","text":"TemporaryFile(/tmp/multipartBody8375249240506370607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829605675,"filename":"image_10022025_09_08_08_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338236106","file1":"1338236103","file0":"1338236099","file4":"1338236112","file5":"1338236114","file3":"1338236109"},"map_files_photo_id_array":[{"photo_id":"1338236114","filename":"file5"},{"photo_id":"1338236106","filename":"file2"},{"photo_id":"1338236112","filename":"file4"},{"photo_id":"1338236103","filename":"file1"},{"photo_id":"1338236099","filename":"file0"},{"photo_id":"1338236109","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338236112":["hashtag1","hashtag2"]},{"1338236109":["hashtag1","hashtag2"]},{"1338236099":["hashtag1","hashtag2"]},{"1338236103":["hashtag1","hashtag2"]},{"1338236106":["hashtag1","hashtag2"]},{"1338236114":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338236112, 1338236109, 1338236099, 1338236103, 1338236106, 1338236114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.828314542770386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:00:03.087951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_58_9752.jpg', 0), ('/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_48_9725.jpg', 0), ('/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_39_10802.jpg', 0), ('/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_28_9792.jpg', 0), ('/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_18_9707.jpg', 0), ('/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_08_9687.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_58_9752.jpg', '/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_48_9725.jpg', '/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_39_10802.jpg', '/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_28_9792.jpg', '/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_18_9707.jpg', '/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_08_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_58_9752.jpg
/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_48_9725.jpg
/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_39_10802.jpg
/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_28_9792.jpg
/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_18_9707.jpg
/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_08_9687.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.919252872467041 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:00:32.790245
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_58_9752.jpg', 0), ('/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_48_9725.jpg', 0), ('/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_39_10802.jpg', 0), ('/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_28_9792.jpg', 0), ('/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_18_9707.jpg', 0), ('/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_08_9687.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_58_9752.jpg', '/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_48_9725.jpg', '/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_39_10802.jpg', '/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_28_9792.jpg', '/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_18_9707.jpg', '/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_08_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_58_9752.jpg
/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_48_9725.jpg
/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_39_10802.jpg
/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_28_9792.jpg
/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_18_9707.jpg
/home/nano/Desktop/images/10022025/09/07/image_10022025_09_07_08_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338236198","1338236202","1338236204","1338236200","1338236193","1338236196"],"photo_ids_order":["1338236193","1338236196","1338236198","1338236200","1338236202","1338236204"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bcb764bfade928b31b29bbfab658ca75.jpg","text":"TemporaryFile(/tmp/multipartBody7095842992463914469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829695448,"filename":"image_10022025_09_07_39_10802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d1d546e395fca4ff552c940e5895a5be.jpg","text":"TemporaryFile(/tmp/multipartBody6521791895822207449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829695448,"filename":"image_10022025_09_07_18_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bcdc68f63b63fa29f1486cae13b096a8.jpg","text":"TemporaryFile(/tmp/multipartBody8715411159649032639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829695448,"filename":"image_10022025_09_07_08_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/77102e2c4e67698ff87db34633321ee2.jpg","text":"TemporaryFile(/tmp/multipartBody5433255323338311088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829695448,"filename":"image_10022025_09_07_28_9792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0cb4de8260ca00e55e094c977336c3a9.jpg","text":"TemporaryFile(/tmp/multipartBody2546747971606671798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829695448,"filename":"image_10022025_09_07_58_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9ad1f36b1ef455082c9a0de455685e81.jpg","text":"TemporaryFile(/tmp/multipartBody2167410007423290372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829695448,"filename":"image_10022025_09_07_48_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338236198","file1":"1338236196","file0":"1338236193","file4":"1338236202","file5":"1338236204","file3":"1338236200"},"map_files_photo_id_array":[{"photo_id":"1338236204","filename":"file5"},{"photo_id":"1338236198","filename":"file2"},{"photo_id":"1338236202","filename":"file4"},{"photo_id":"1338236196","filename":"file1"},{"photo_id":"1338236193","filename":"file0"},{"photo_id":"1338236200","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338236198":["hashtag1","hashtag2"]},{"1338236202":["hashtag1","hashtag2"]},{"1338236204":["hashtag1","hashtag2"]},{"1338236200":["hashtag1","hashtag2"]},{"1338236193":["hashtag1","hashtag2"]},{"1338236196":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338236198, 1338236202, 1338236204, 1338236200, 1338236193, 1338236196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26175785064697 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:01:31.931929
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_59_10706.jpg', 0), ('/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_48_9674.jpg', 0), ('/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_38_9698.jpg', 0), ('/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_29_10761.jpg', 0), ('/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_18_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_08_9767.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_59_10706.jpg', '/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_48_9674.jpg', '/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_38_9698.jpg', '/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_29_10761.jpg', '/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_18_9691.jpg', '/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_08_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_59_10706.jpg
/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_48_9674.jpg
/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_38_9698.jpg
/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_29_10761.jpg
/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_18_9691.jpg
/home/nano/Desktop/images/10022025/09/06/image_10022025_09_06_08_9767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338236220","1338236217","1338236210","1338236213","1338236215","1338236209"],"photo_ids_order":["1338236209","1338236210","1338236213","1338236215","1338236217","1338236220"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f597d890bc412c8df861d032303ecbd2.jpg","text":"TemporaryFile(/tmp/multipartBody3850200266137071089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829754549,"filename":"image_10022025_09_06_08_9767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6bcecc7c3ca974b9a3a607854e872a16.jpg","text":"TemporaryFile(/tmp/multipartBody3104248415532056569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829754549,"filename":"image_10022025_09_06_18_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5569b8458c06f5df682567befdb5908a.jpg","text":"TemporaryFile(/tmp/multipartBody4904234508867777557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829754549,"filename":"image_10022025_09_06_48_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07cdc646ed5c9021bf48a6db8c2b592c.jpg","text":"TemporaryFile(/tmp/multipartBody3266736811604733910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829754549,"filename":"image_10022025_09_06_38_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dc0facf4f0b3d0a5a51731bb27c9786a.jpg","text":"TemporaryFile(/tmp/multipartBody2464264937700246342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829754549,"filename":"image_10022025_09_06_29_10761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce22555a9649d3c9e1b5c103e1385bf0.jpg","text":"TemporaryFile(/tmp/multipartBody2574214548596212666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829754549,"filename":"image_10022025_09_06_59_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338236213","file1":"1338236210","file0":"1338236209","file4":"1338236217","file5":"1338236220","file3":"1338236215"},"map_files_photo_id_array":[{"photo_id":"1338236220","filename":"file5"},{"photo_id":"1338236213","filename":"file2"},{"photo_id":"1338236217","filename":"file4"},{"photo_id":"1338236210","filename":"file1"},{"photo_id":"1338236209","filename":"file0"},{"photo_id":"1338236215","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338236220":["hashtag1","hashtag2"]},{"1338236217":["hashtag1","hashtag2"]},{"1338236210":["hashtag1","hashtag2"]},{"1338236213":["hashtag1","hashtag2"]},{"1338236215":["hashtag1","hashtag2"]},{"1338236209":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338236220, 1338236217, 1338236210, 1338236213, 1338236215, 1338236209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69218969345093 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:02:32.145323
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_58_9709.jpg', 0), ('/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_49_10777.jpg', 0), ('/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_38_9746.jpg', 0), ('/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_28_9784.jpg', 0), ('/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_18_9799.jpg', 0), ('/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_09_10752.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_58_9709.jpg', '/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_49_10777.jpg', '/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_38_9746.jpg', '/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_28_9784.jpg', '/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_18_9799.jpg', '/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_09_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_58_9709.jpg
/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_49_10777.jpg
/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_38_9746.jpg
/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_28_9784.jpg
/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_18_9799.jpg
/home/nano/Desktop/images/10022025/09/05/image_10022025_09_05_09_10752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338236681","1338236782","1338236821","1338236784","1338236778","1338236748"],"photo_ids_order":["1338236681","1338236748","1338236778","1338236782","1338236784","1338236821"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d74cb51fba63148e5e0f37e4927228c.jpg","text":"TemporaryFile(/tmp/multipartBody2998400501327565318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829815198,"filename":"image_10022025_09_05_58_9709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b1d1f5c3872241fe3222c4fb968eb752.jpg","text":"TemporaryFile(/tmp/multipartBody2676732022289055727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829815198,"filename":"image_10022025_09_05_28_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/146d787ad95159a2825f32b082d50ac8.jpg","text":"TemporaryFile(/tmp/multipartBody1403893437484800403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829815198,"filename":"image_10022025_09_05_09_10752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e987a58964fe3ff019c3d3b003bc4389.jpg","text":"TemporaryFile(/tmp/multipartBody2736842330684464152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829815198,"filename":"image_10022025_09_05_18_9799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/10e14a58175f6fb7aad7819a3cec5de0.jpg","text":"TemporaryFile(/tmp/multipartBody7993815790858648375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829815198,"filename":"image_10022025_09_05_38_9746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c80e92eda55afa0d97f92eb565f39cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1598253985845172819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829815198,"filename":"image_10022025_09_05_49_10777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338236778","file1":"1338236748","file0":"1338236681","file4":"1338236784","file5":"1338236821","file3":"1338236782"},"map_files_photo_id_array":[{"photo_id":"1338236821","filename":"file5"},{"photo_id":"1338236778","filename":"file2"},{"photo_id":"1338236784","filename":"file4"},{"photo_id":"1338236748","filename":"file1"},{"photo_id":"1338236681","filename":"file0"},{"photo_id":"1338236782","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338236681":["hashtag1","hashtag2"]},{"1338236782":["hashtag1","hashtag2"]},{"1338236821":["hashtag1","hashtag2"]},{"1338236784":["hashtag1","hashtag2"]},{"1338236778":["hashtag1","hashtag2"]},{"1338236748":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338236681, 1338236782, 1338236821, 1338236784, 1338236778, 1338236748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.502076625823975 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:03:32.286468
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_58_9756.jpg', 0), ('/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_48_9762.jpg', 0), ('/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_38_9761.jpg', 0), ('/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_29_9777.jpg', 0), ('/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_19_10747.jpg', 0), ('/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_08_9779.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_58_9756.jpg', '/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_48_9762.jpg', '/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_38_9761.jpg', '/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_29_9777.jpg', '/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_19_10747.jpg', '/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_08_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_58_9756.jpg
/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_48_9762.jpg
/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_38_9761.jpg
/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_29_9777.jpg
/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_19_10747.jpg
/home/nano/Desktop/images/10022025/09/04/image_10022025_09_04_08_9779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338236858","1338236860","1338236862","1338236856","1338236850","1338236853"],"photo_ids_order":["1338236850","1338236853","1338236856","1338236858","1338236860","1338236862"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/34f937b73a9b9be10649996741632b12.jpg","text":"TemporaryFile(/tmp/multipartBody7807785994720527833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829874957,"filename":"image_10022025_09_04_29_9777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81e3370e02028a6852675bbcfb84c17b.jpg","text":"TemporaryFile(/tmp/multipartBody6601554863096843667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829874957,"filename":"image_10022025_09_04_19_10747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cd1f445aaa90bf5ba914a0921e0e56a3.jpg","text":"TemporaryFile(/tmp/multipartBody4905070963273379359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829874957,"filename":"image_10022025_09_04_08_9779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/757656bed7ab819ee994556cfad689b2.jpg","text":"TemporaryFile(/tmp/multipartBody958579372142627752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829874957,"filename":"image_10022025_09_04_38_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb6dd4fd88a995976c9f034b83ea2ae9.jpg","text":"TemporaryFile(/tmp/multipartBody5583470502697411060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829874957,"filename":"image_10022025_09_04_58_9756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bb5541f119c2ae1ab8fddbe4db86e822.jpg","text":"TemporaryFile(/tmp/multipartBody3242738883792347823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829874957,"filename":"image_10022025_09_04_48_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338236856","file1":"1338236853","file0":"1338236850","file4":"1338236860","file5":"1338236862","file3":"1338236858"},"map_files_photo_id_array":[{"photo_id":"1338236862","filename":"file5"},{"photo_id":"1338236856","filename":"file2"},{"photo_id":"1338236860","filename":"file4"},{"photo_id":"1338236853","filename":"file1"},{"photo_id":"1338236850","filename":"file0"},{"photo_id":"1338236858","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338236858":["hashtag1","hashtag2"]},{"1338236860":["hashtag1","hashtag2"]},{"1338236862":["hashtag1","hashtag2"]},{"1338236856":["hashtag1","hashtag2"]},{"1338236850":["hashtag1","hashtag2"]},{"1338236853":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338236858, 1338236860, 1338236862, 1338236856, 1338236850, 1338236853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43527364730835 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:04:32.431920
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_58_9775.jpg', 0), ('/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_49_9848.jpg', 0), ('/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_39_10774.jpg', 0), ('/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_28_9808.jpg', 0), ('/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_18_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_08_9836.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_58_9775.jpg', '/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_49_9848.jpg', '/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_39_10774.jpg', '/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_28_9808.jpg', '/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_18_9787.jpg', '/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_08_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_58_9775.jpg
/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_49_9848.jpg
/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_39_10774.jpg
/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_28_9808.jpg
/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_18_9787.jpg
/home/nano/Desktop/images/10022025/09/03/image_10022025_09_03_08_9836.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338236891","1338236885","1338236888","1338236867","1338236870","1338236893"],"photo_ids_order":["1338236867","1338236870","1338236885","1338236888","1338236891","1338236893"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ca4f579a5b1698da2562aa7b19ce618.jpg","text":"TemporaryFile(/tmp/multipartBody8619795386292323053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829935053,"filename":"image_10022025_09_03_18_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cbf72d6bf7eb1e717005d3c007c2252f.jpg","text":"TemporaryFile(/tmp/multipartBody861691037953794513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829935053,"filename":"image_10022025_09_03_39_10774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cb4383d668c003f01d54de4f1047ea5c.jpg","text":"TemporaryFile(/tmp/multipartBody5801437127902532778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829935053,"filename":"image_10022025_09_03_28_9808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/402d4f64ff34d8a4ea98b91eb5106431.jpg","text":"TemporaryFile(/tmp/multipartBody8105877132236376857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829935053,"filename":"image_10022025_09_03_58_9775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/259a1c3f66772e64829bd4be5b52c28a.jpg","text":"TemporaryFile(/tmp/multipartBody7383432137274079911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829935053,"filename":"image_10022025_09_03_49_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3889a1c2627793e9aaff77287c12cdc.jpg","text":"TemporaryFile(/tmp/multipartBody3989077328154725195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829935053,"filename":"image_10022025_09_03_08_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338236885","file1":"1338236870","file0":"1338236867","file4":"1338236891","file5":"1338236893","file3":"1338236888"},"map_files_photo_id_array":[{"photo_id":"1338236893","filename":"file5"},{"photo_id":"1338236885","filename":"file2"},{"photo_id":"1338236891","filename":"file4"},{"photo_id":"1338236870","filename":"file1"},{"photo_id":"1338236867","filename":"file0"},{"photo_id":"1338236888","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338236891":["hashtag1","hashtag2"]},{"1338236885":["hashtag1","hashtag2"]},{"1338236888":["hashtag1","hashtag2"]},{"1338236867":["hashtag1","hashtag2"]},{"1338236870":["hashtag1","hashtag2"]},{"1338236893":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338236891, 1338236885, 1338236888, 1338236867, 1338236870, 1338236893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72877836227417 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:05:32.575373
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_59_9752.jpg', 0), ('/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_49_10790.jpg', 0), ('/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_38_9771.jpg', 0), ('/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_28_9787.jpg', 0), ('/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_18_9773.jpg', 0), ('/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_09_10711.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_59_9752.jpg', '/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_49_10790.jpg', '/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_38_9771.jpg', '/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_28_9787.jpg', '/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_18_9773.jpg', '/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_09_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_59_9752.jpg
/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_49_10790.jpg
/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_38_9771.jpg
/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_28_9787.jpg
/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_18_9773.jpg
/home/nano/Desktop/images/10022025/09/02/image_10022025_09_02_09_10711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338236940","1338236934","1338236942","1338236939","1338236944","1338236937"],"photo_ids_order":["1338236934","1338236937","1338236939","1338236940","1338236942","1338236944"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b70a917ce7a5ecf379e607597dd0f707.jpg","text":"TemporaryFile(/tmp/multipartBody2571080465835888945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829998328,"filename":"image_10022025_09_02_28_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aabff44e9e9cb3bb0d982c1b53d2a52e.jpg","text":"TemporaryFile(/tmp/multipartBody7053671239411652375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829998328,"filename":"image_10022025_09_02_59_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7cd7753a46c0bc3f91d2575b123bec2a.jpg","text":"TemporaryFile(/tmp/multipartBody4066727347784211965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829998328,"filename":"image_10022025_09_02_18_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a372ca71632a849b35b27efcd07dfffd.jpg","text":"TemporaryFile(/tmp/multipartBody2836835852509422380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829998328,"filename":"image_10022025_09_02_38_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/872106781b608aa5d81f5e62704ca0ee.jpg","text":"TemporaryFile(/tmp/multipartBody375036179788509665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829998328,"filename":"image_10022025_09_02_09_10711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d078402230c3d6cc8c2e280504682931.jpg","text":"TemporaryFile(/tmp/multipartBody3829992618843188806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739829998328,"filename":"image_10022025_09_02_49_10790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338236939","file1":"1338236937","file0":"1338236934","file4":"1338236942","file5":"1338236944","file3":"1338236940"},"map_files_photo_id_array":[{"photo_id":"1338236944","filename":"file5"},{"photo_id":"1338236939","filename":"file2"},{"photo_id":"1338236942","filename":"file4"},{"photo_id":"1338236937","filename":"file1"},{"photo_id":"1338236934","filename":"file0"},{"photo_id":"1338236940","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338236940":["hashtag1","hashtag2"]},{"1338236934":["hashtag1","hashtag2"]},{"1338236942":["hashtag1","hashtag2"]},{"1338236939":["hashtag1","hashtag2"]},{"1338236944":["hashtag1","hashtag2"]},{"1338236937":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338236940, 1338236934, 1338236942, 1338236939, 1338236944, 1338236937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.877617597579956 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:06:32.709371
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_58_9734.jpg', 0), ('/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_48_9770.jpg', 0), ('/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_38_9764.jpg', 0), ('/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_29_9797.jpg', 0), ('/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_19_10762.jpg', 0), ('/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_08_9783.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_58_9734.jpg', '/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_48_9770.jpg', '/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_38_9764.jpg', '/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_29_9797.jpg', '/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_19_10762.jpg', '/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_08_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_58_9734.jpg
/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_48_9770.jpg
/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_38_9764.jpg
/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_29_9797.jpg
/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_19_10762.jpg
/home/nano/Desktop/images/10022025/09/01/image_10022025_09_01_08_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338236949","1338236960","1338236954","1338236957","1338236951","1338236962"],"photo_ids_order":["1338236949","1338236951","1338236954","1338236957","1338236960","1338236962"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ace00c89d16ebf82a249212802947ba1.jpg","text":"TemporaryFile(/tmp/multipartBody3965255845601598891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830055829,"filename":"image_10022025_09_01_58_9734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/86c8a76e7676f9ee191de3d67109792b.jpg","text":"TemporaryFile(/tmp/multipartBody6653245400067631326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830055829,"filename":"image_10022025_09_01_19_10762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81ff5db2e2fb0f65e4971b94ee129869.jpg","text":"TemporaryFile(/tmp/multipartBody3352004706825370722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830055829,"filename":"image_10022025_09_01_38_9764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f94a0aeebb913a3efd8dd92893349c0a.jpg","text":"TemporaryFile(/tmp/multipartBody1744386982185228485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830055829,"filename":"image_10022025_09_01_29_9797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a761868ddcad110b5a4d379fabc5da0.jpg","text":"TemporaryFile(/tmp/multipartBody8341556002949873937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830055829,"filename":"image_10022025_09_01_48_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c772d8b3e995ec7a353a67757975c78.jpg","text":"TemporaryFile(/tmp/multipartBody4364046203542590145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830055829,"filename":"image_10022025_09_01_08_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338236954","file1":"1338236951","file0":"1338236949","file4":"1338236960","file5":"1338236962","file3":"1338236957"},"map_files_photo_id_array":[{"photo_id":"1338236962","filename":"file5"},{"photo_id":"1338236954","filename":"file2"},{"photo_id":"1338236960","filename":"file4"},{"photo_id":"1338236951","filename":"file1"},{"photo_id":"1338236949","filename":"file0"},{"photo_id":"1338236957","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338236949":["hashtag1","hashtag2"]},{"1338236960":["hashtag1","hashtag2"]},{"1338236954":["hashtag1","hashtag2"]},{"1338236957":["hashtag1","hashtag2"]},{"1338236951":["hashtag1","hashtag2"]},{"1338236962":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338236949, 1338236960, 1338236954, 1338236957, 1338236951, 1338236962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67498850822449 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:07:31.849749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_58_9732.jpg', 0), ('/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_49_9772.jpg', 0), ('/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_39_10788.jpg', 0), ('/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_28_9743.jpg', 0), ('/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_18_9771.jpg', 0), ('/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_08_9782.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_58_9732.jpg', '/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_49_9772.jpg', '/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_39_10788.jpg', '/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_28_9743.jpg', '/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_18_9771.jpg', '/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_08_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_58_9732.jpg
/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_49_9772.jpg
/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_39_10788.jpg
/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_28_9743.jpg
/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_18_9771.jpg
/home/nano/Desktop/images/10022025/09/00/image_10022025_09_00_08_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338236972","1338236975","1338236969","1338236977","1338236974","1338236967"],"photo_ids_order":["1338236967","1338236969","1338236972","1338236974","1338236975","1338236977"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2a8f9d373b4ffaf20a2d45dd36a0562d.jpg","text":"TemporaryFile(/tmp/multipartBody4951134843220365174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830114745,"filename":"image_10022025_09_00_39_10788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e938ae33c0984e6996364aba6a5ed0d8.jpg","text":"TemporaryFile(/tmp/multipartBody2601733451103550988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830114745,"filename":"image_10022025_09_00_18_9771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/15db7615fda47e57f6cf03eaa0081143.jpg","text":"TemporaryFile(/tmp/multipartBody6358857729212189435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830114745,"filename":"image_10022025_09_00_49_9772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e431e3cc2dd15f1096a9e5263478090.jpg","text":"TemporaryFile(/tmp/multipartBody6522591303172451904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830114745,"filename":"image_10022025_09_00_08_9782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/398f2cdae471fce9d55c659221a0e8b8.jpg","text":"TemporaryFile(/tmp/multipartBody6201081329234572894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830114745,"filename":"image_10022025_09_00_28_9743.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8ba3e1038e525a9e101ae35353c8c9d1.jpg","text":"TemporaryFile(/tmp/multipartBody2819823087800900943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830114745,"filename":"image_10022025_09_00_58_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338236972","file1":"1338236969","file0":"1338236967","file4":"1338236975","file5":"1338236977","file3":"1338236974"},"map_files_photo_id_array":[{"photo_id":"1338236977","filename":"file5"},{"photo_id":"1338236972","filename":"file2"},{"photo_id":"1338236975","filename":"file4"},{"photo_id":"1338236969","filename":"file1"},{"photo_id":"1338236967","filename":"file0"},{"photo_id":"1338236974","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338236972":["hashtag1","hashtag2"]},{"1338236975":["hashtag1","hashtag2"]},{"1338236969":["hashtag1","hashtag2"]},{"1338236977":["hashtag1","hashtag2"]},{"1338236974":["hashtag1","hashtag2"]},{"1338236967":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338236972, 1338236975, 1338236969, 1338236977, 1338236974, 1338236967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09600758552551 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:08:32.000399
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_59_10696.jpg', 0), ('/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_48_9761.jpg', 0), ('/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_38_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_28_9750.jpg', 0), ('/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_19_10778.jpg', 0), ('/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_08_9704.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_59_10696.jpg', '/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_48_9761.jpg', '/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_38_9789.jpg', '/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_28_9750.jpg', '/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_19_10778.jpg', '/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_08_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_59_10696.jpg
/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_48_9761.jpg
/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_38_9789.jpg
/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_28_9750.jpg
/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_19_10778.jpg
/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_08_9704.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.75177264213562 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:09:02.773336
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_59_10696.jpg', 0), ('/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_48_9761.jpg', 0), ('/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_38_9789.jpg', 0), ('/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_28_9750.jpg', 0), ('/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_19_10778.jpg', 0), ('/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_08_9704.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_59_10696.jpg', '/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_48_9761.jpg', '/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_38_9789.jpg', '/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_28_9750.jpg', '/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_19_10778.jpg', '/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_08_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_59_10696.jpg
/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_48_9761.jpg
/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_38_9789.jpg
/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_28_9750.jpg
/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_19_10778.jpg
/home/nano/Desktop/images/10022025/08/59/image_10022025_08_59_08_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338237102","1338237095","1338237094","1338237099","1338237096","1338237098"],"photo_ids_order":["1338237094","1338237095","1338237096","1338237098","1338237099","1338237102"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/48400a2282b1f75c07d13b34a84d695d.jpg","text":"TemporaryFile(/tmp/multipartBody5068027746579261479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830205634,"filename":"image_10022025_08_59_08_9704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c99415786d1cb102dd90a8f5850d7b9b.jpg","text":"TemporaryFile(/tmp/multipartBody3408558745798161810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830205634,"filename":"image_10022025_08_59_48_9761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f0e42ee73a85b5c5f74562ce49b3eb16.jpg","text":"TemporaryFile(/tmp/multipartBody5427165232671921113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830205634,"filename":"image_10022025_08_59_59_10696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/645c3a26819e7dc9a44ae9433d85edca.jpg","text":"TemporaryFile(/tmp/multipartBody304203122988701205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830205634,"filename":"image_10022025_08_59_19_10778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3943f5abfc93da102e7c6457e16ae228.jpg","text":"TemporaryFile(/tmp/multipartBody5016751382133414860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830205634,"filename":"image_10022025_08_59_38_9789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df4c79a9c6a428af1eef05b719bd2187.jpg","text":"TemporaryFile(/tmp/multipartBody8095415049741792975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830205634,"filename":"image_10022025_08_59_28_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338237096","file1":"1338237095","file0":"1338237094","file4":"1338237099","file5":"1338237102","file3":"1338237098"},"map_files_photo_id_array":[{"photo_id":"1338237102","filename":"file5"},{"photo_id":"1338237096","filename":"file2"},{"photo_id":"1338237099","filename":"file4"},{"photo_id":"1338237095","filename":"file1"},{"photo_id":"1338237094","filename":"file0"},{"photo_id":"1338237098","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338237102":["hashtag1","hashtag2"]},{"1338237095":["hashtag1","hashtag2"]},{"1338237094":["hashtag1","hashtag2"]},{"1338237099":["hashtag1","hashtag2"]},{"1338237096":["hashtag1","hashtag2"]},{"1338237098":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338237102, 1338237095, 1338237094, 1338237099, 1338237096, 1338237098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.925970792770386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:10:02.704279
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_58_9746.jpg', 0), ('/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_48_9770.jpg', 0), ('/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_39_10814.jpg', 0), ('/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_28_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_18_9727.jpg', 0), ('/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_08_9819.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_58_9746.jpg', '/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_48_9770.jpg', '/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_39_10814.jpg', '/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_28_9786.jpg', '/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_18_9727.jpg', '/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_08_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_58_9746.jpg
/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_48_9770.jpg
/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_39_10814.jpg
/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_28_9786.jpg
/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_18_9727.jpg
/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_08_9819.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2717065811157227 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:10:32.377709
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_58_9746.jpg', 0), ('/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_48_9770.jpg', 0), ('/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_39_10814.jpg', 0), ('/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_28_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_18_9727.jpg', 0), ('/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_08_9819.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_58_9746.jpg', '/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_48_9770.jpg', '/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_39_10814.jpg', '/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_28_9786.jpg', '/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_18_9727.jpg', '/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_08_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_58_9746.jpg
/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_48_9770.jpg
/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_39_10814.jpg
/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_28_9786.jpg
/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_18_9727.jpg
/home/nano/Desktop/images/10022025/08/58/image_10022025_08_58_08_9819.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338237128","1338237125","1338237127","1338237121","1338237118","1338237123"],"photo_ids_order":["1338237118","1338237121","1338237123","1338237125","1338237127","1338237128"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58f823b2288a408ff63cf4c7b5ab33fe.jpg","text":"TemporaryFile(/tmp/multipartBody1278393124612483265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830295162,"filename":"image_10022025_08_58_08_9819.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/759d8001cf3eb882295ea591e82c7f51.jpg","text":"TemporaryFile(/tmp/multipartBody4827579946902002301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830295162,"filename":"image_10022025_08_58_28_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f613b930732c1506c612724828b42f1.jpg","text":"TemporaryFile(/tmp/multipartBody5164622121700184074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830295162,"filename":"image_10022025_08_58_18_9727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f964cc6bffda25475f5c7906ae5b892a.jpg","text":"TemporaryFile(/tmp/multipartBody6726155106780856101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830295162,"filename":"image_10022025_08_58_48_9770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/746c2be8aa6d70595bc705d80bc09154.jpg","text":"TemporaryFile(/tmp/multipartBody5082703070686050172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830295162,"filename":"image_10022025_08_58_58_9746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5f77e6f1306ba70d348865a8715f8c42.jpg","text":"TemporaryFile(/tmp/multipartBody6382759823017543203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830295162,"filename":"image_10022025_08_58_39_10814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338237123","file1":"1338237121","file0":"1338237118","file4":"1338237127","file5":"1338237128","file3":"1338237125"},"map_files_photo_id_array":[{"photo_id":"1338237128","filename":"file5"},{"photo_id":"1338237123","filename":"file2"},{"photo_id":"1338237127","filename":"file4"},{"photo_id":"1338237121","filename":"file1"},{"photo_id":"1338237118","filename":"file0"},{"photo_id":"1338237125","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338237128":["hashtag1","hashtag2"]},{"1338237125":["hashtag1","hashtag2"]},{"1338237127":["hashtag1","hashtag2"]},{"1338237121":["hashtag1","hashtag2"]},{"1338237118":["hashtag1","hashtag2"]},{"1338237123":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338237128, 1338237125, 1338237127, 1338237121, 1338237118, 1338237123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.430763721466064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:11:32.531751
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_59_9758.jpg', 0), ('/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_49_10806.jpg', 0), ('/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_38_9779.jpg', 0), ('/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_28_9735.jpg', 0), ('/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_18_9753.jpg', 0), ('/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_09_9910.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_59_9758.jpg', '/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_49_10806.jpg', '/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_38_9779.jpg', '/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_28_9735.jpg', '/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_18_9753.jpg', '/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_09_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_59_9758.jpg
/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_49_10806.jpg
/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_38_9779.jpg
/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_28_9735.jpg
/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_18_9753.jpg
/home/nano/Desktop/images/10022025/08/57/image_10022025_08_57_09_9910.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338237767","1338237763","1338237760","1338237133","1338237136","1338237491"],"photo_ids_order":["1338237133","1338237136","1338237491","1338237760","1338237763","1338237767"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/42fd64f05c045af869a729f72a558e6b.jpg","text":"TemporaryFile(/tmp/multipartBody7164374402448190071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830355148,"filename":"image_10022025_08_57_09_9910.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df2fa8ae210b50f6051ef15ff297d8da.jpg","text":"TemporaryFile(/tmp/multipartBody6787939488044735062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830355148,"filename":"image_10022025_08_57_18_9753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3281abeab2d0b707d2c69f08ca212d94.jpg","text":"TemporaryFile(/tmp/multipartBody3654420669648990476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830355148,"filename":"image_10022025_08_57_28_9735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e9a1d89f43871103b0db0ab415291204.jpg","text":"TemporaryFile(/tmp/multipartBody5950137183644834351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830355148,"filename":"image_10022025_08_57_59_9758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d19b32c1563ce0a3250388b0e3b84290.jpg","text":"TemporaryFile(/tmp/multipartBody2888821972762352516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830355148,"filename":"image_10022025_08_57_49_10806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7ace264572664d85496b36b20124922f.jpg","text":"TemporaryFile(/tmp/multipartBody7855892109207511965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830355148,"filename":"image_10022025_08_57_38_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338237491","file1":"1338237136","file0":"1338237133","file4":"1338237763","file5":"1338237767","file3":"1338237760"},"map_files_photo_id_array":[{"photo_id":"1338237767","filename":"file5"},{"photo_id":"1338237491","filename":"file2"},{"photo_id":"1338237763","filename":"file4"},{"photo_id":"1338237136","filename":"file1"},{"photo_id":"1338237133","filename":"file0"},{"photo_id":"1338237760","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338237767":["hashtag1","hashtag2"]},{"1338237763":["hashtag1","hashtag2"]},{"1338237760":["hashtag1","hashtag2"]},{"1338237133":["hashtag1","hashtag2"]},{"1338237136":["hashtag1","hashtag2"]},{"1338237491":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338237767, 1338237763, 1338237760, 1338237133, 1338237136, 1338237491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70097541809082 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:12:32.665933
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_59_10778.jpg', 0), ('/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_48_9774.jpg', 0), ('/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_38_9842.jpg', 0), ('/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_28_9784.jpg', 0), ('/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_19_10717.jpg', 0), ('/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_08_9698.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_59_10778.jpg', '/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_48_9774.jpg', '/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_38_9842.jpg', '/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_28_9784.jpg', '/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_19_10717.jpg', '/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_08_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_59_10778.jpg
/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_48_9774.jpg
/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_38_9842.jpg
/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_28_9784.jpg
/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_19_10717.jpg
/home/nano/Desktop/images/10022025/08/56/image_10022025_08_56_08_9698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338238304","1338238306","1338238263","1338238305","1338238262","1338238241"],"photo_ids_order":["1338238241","1338238262","1338238263","1338238304","1338238305","1338238306"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f576fb7e2a4cf1ec8c11f213e9a11779.jpg","text":"TemporaryFile(/tmp/multipartBody5863640582799230113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830416172,"filename":"image_10022025_08_56_28_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3633bfbeb49b6375cf83beba37741f80.jpg","text":"TemporaryFile(/tmp/multipartBody983900631597995718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830416172,"filename":"image_10022025_08_56_08_9698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/daea5ef0d48a31a2d10bbef1aabee423.jpg","text":"TemporaryFile(/tmp/multipartBody3875471652118200850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830416172,"filename":"image_10022025_08_56_38_9842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d5ef2d67973f7ccab24f09f9ba02bde.jpg","text":"TemporaryFile(/tmp/multipartBody458819694744628446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830416172,"filename":"image_10022025_08_56_19_10717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26e579202edd2d03a84452aea9b3b987.jpg","text":"TemporaryFile(/tmp/multipartBody6830064839032037190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830416172,"filename":"image_10022025_08_56_48_9774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/71ba2e617cc4f6a3e68e0b8d2977d690.jpg","text":"TemporaryFile(/tmp/multipartBody5980246312968968321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830416172,"filename":"image_10022025_08_56_59_10778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338238263","file1":"1338238262","file0":"1338238241","file4":"1338238305","file5":"1338238306","file3":"1338238304"},"map_files_photo_id_array":[{"photo_id":"1338238306","filename":"file5"},{"photo_id":"1338238263","filename":"file2"},{"photo_id":"1338238305","filename":"file4"},{"photo_id":"1338238262","filename":"file1"},{"photo_id":"1338238241","filename":"file0"},{"photo_id":"1338238304","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338238304":["hashtag1","hashtag2"]},{"1338238306":["hashtag1","hashtag2"]},{"1338238263":["hashtag1","hashtag2"]},{"1338238305":["hashtag1","hashtag2"]},{"1338238262":["hashtag1","hashtag2"]},{"1338238241":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338238304, 1338238306, 1338238263, 1338238305, 1338238262, 1338238241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39736461639404 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:13:31.806081
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_58_9746.jpg', 0), ('/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_48_9747.jpg', 0), ('/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_39_10802.jpg', 0), ('/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_28_9905.jpg', 0), ('/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_18_9780.jpg', 0), ('/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_08_9828.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_58_9746.jpg', '/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_48_9747.jpg', '/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_39_10802.jpg', '/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_28_9905.jpg', '/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_18_9780.jpg', '/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_08_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_58_9746.jpg
/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_48_9747.jpg
/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_39_10802.jpg
/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_28_9905.jpg
/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_18_9780.jpg
/home/nano/Desktop/images/10022025/08/55/image_10022025_08_55_08_9828.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338238381","1338238383","1338238377","1338238386","1338238385","1338238379"],"photo_ids_order":["1338238377","1338238379","1338238381","1338238383","1338238385","1338238386"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6f9d6910319f9fc20fe458a394b9457.jpg","text":"TemporaryFile(/tmp/multipartBody5366739201377774357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830474993,"filename":"image_10022025_08_55_39_10802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8a3ed3bd3f8b120674925e2178200b59.jpg","text":"TemporaryFile(/tmp/multipartBody5871582708371770454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830474993,"filename":"image_10022025_08_55_28_9905.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3671b32e858535a938a8f995f99715b2.jpg","text":"TemporaryFile(/tmp/multipartBody5425689859524735549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830474993,"filename":"image_10022025_08_55_58_9746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/319099b6afde9fbc646f9623e6a12873.jpg","text":"TemporaryFile(/tmp/multipartBody1886678567103220058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830474993,"filename":"image_10022025_08_55_08_9828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3d5f28fb223c3109a11d5865b5d9c29b.jpg","text":"TemporaryFile(/tmp/multipartBody629100856679665346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830474993,"filename":"image_10022025_08_55_18_9780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0f36f22d46f22cebe22859bb0f8ab970.jpg","text":"TemporaryFile(/tmp/multipartBody5917903559123948378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830474993,"filename":"image_10022025_08_55_48_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338238381","file1":"1338238379","file0":"1338238377","file4":"1338238385","file5":"1338238386","file3":"1338238383"},"map_files_photo_id_array":[{"photo_id":"1338238386","filename":"file5"},{"photo_id":"1338238381","filename":"file2"},{"photo_id":"1338238385","filename":"file4"},{"photo_id":"1338238379","filename":"file1"},{"photo_id":"1338238377","filename":"file0"},{"photo_id":"1338238383","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338238381":["hashtag1","hashtag2"]},{"1338238383":["hashtag1","hashtag2"]},{"1338238377":["hashtag1","hashtag2"]},{"1338238386":["hashtag1","hashtag2"]},{"1338238385":["hashtag1","hashtag2"]},{"1338238379":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338238381, 1338238383, 1338238377, 1338238386, 1338238385, 1338238379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38831901550293 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:14:31.948318
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_58_9732.jpg', 0), ('/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_49_10758.jpg', 0), ('/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_38_9913.jpg', 0), ('/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_28_9910.jpg', 0), ('/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_18_9732.jpg', 0), ('/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_08_9677.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_58_9732.jpg', '/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_49_10758.jpg', '/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_38_9913.jpg', '/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_28_9910.jpg', '/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_18_9732.jpg', '/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_08_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_58_9732.jpg
/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_49_10758.jpg
/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_38_9913.jpg
/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_28_9910.jpg
/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_18_9732.jpg
/home/nano/Desktop/images/10022025/08/54/image_10022025_08_54_08_9677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338238396","1338238399","1338238392","1338238395","1338238398","1338238397"],"photo_ids_order":["1338238392","1338238395","1338238396","1338238397","1338238398","1338238399"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8b2140454ddfc41e38827cede014457c.jpg","text":"TemporaryFile(/tmp/multipartBody3602770404964703452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830535331,"filename":"image_10022025_08_54_38_9913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/38223306e1d3fe97c41946f58858ba13.jpg","text":"TemporaryFile(/tmp/multipartBody3465999064427266908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830535331,"filename":"image_10022025_08_54_08_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1b30f172f8a13be3d400b284fa380be7.jpg","text":"TemporaryFile(/tmp/multipartBody8731898909173090398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830535331,"filename":"image_10022025_08_54_58_9732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b10aab9b3872dec2e75f58f68bb19dc5.jpg","text":"TemporaryFile(/tmp/multipartBody8496709178054240374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830535331,"filename":"image_10022025_08_54_49_10758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/de7368597c6d44b77fdf917369ee9375.jpg","text":"TemporaryFile(/tmp/multipartBody8490568655670298378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830535331,"filename":"image_10022025_08_54_18_9732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2c836f9e76ece02fe580a4f8ffaad6ed.jpg","text":"TemporaryFile(/tmp/multipartBody3692453773036196817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830535331,"filename":"image_10022025_08_54_28_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338238396","file1":"1338238395","file0":"1338238392","file4":"1338238398","file5":"1338238399","file3":"1338238397"},"map_files_photo_id_array":[{"photo_id":"1338238399","filename":"file5"},{"photo_id":"1338238396","filename":"file2"},{"photo_id":"1338238398","filename":"file4"},{"photo_id":"1338238395","filename":"file1"},{"photo_id":"1338238392","filename":"file0"},{"photo_id":"1338238397","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338238396":["hashtag1","hashtag2"]},{"1338238399":["hashtag1","hashtag2"]},{"1338238392":["hashtag1","hashtag2"]},{"1338238395":["hashtag1","hashtag2"]},{"1338238398":["hashtag1","hashtag2"]},{"1338238397":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338238396, 1338238399, 1338238392, 1338238395, 1338238398, 1338238397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.29601573944092 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:15:32.121663
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_59_10651.jpg', 0), ('/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_48_9581.jpg', 0), ('/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_38_10562.jpg', 0), ('/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_28_9617.jpg', 0), ('/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_18_9577.jpg', 0), ('/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_09_10582.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_59_10651.jpg', '/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_48_9581.jpg', '/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_38_10562.jpg', '/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_28_9617.jpg', '/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_18_9577.jpg', '/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_09_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_59_10651.jpg
/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_48_9581.jpg
/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_38_10562.jpg
/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_28_9617.jpg
/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_18_9577.jpg
/home/nano/Desktop/images/10022025/08/53/image_10022025_08_53_09_10582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338238412","1338238409","1338238411","1338238413","1338238407","1338238404"],"photo_ids_order":["1338238404","1338238407","1338238409","1338238411","1338238412","1338238413"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e58dde727dbc1369c8e39a049bd167c0.jpg","text":"TemporaryFile(/tmp/multipartBody6793933804297412035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830594473,"filename":"image_10022025_08_53_18_9577.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f7a6733fe053e6101f94b22e7f5a2ac.jpg","text":"TemporaryFile(/tmp/multipartBody8095261276074207180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830594473,"filename":"image_10022025_08_53_38_10562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ab91564d399b24f1cf905522a096c3d0.jpg","text":"TemporaryFile(/tmp/multipartBody4603746195541490562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830594473,"filename":"image_10022025_08_53_28_9617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9f84c51481bab211370a9e19fc347fe9.jpg","text":"TemporaryFile(/tmp/multipartBody2121407987103394089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830594473,"filename":"image_10022025_08_53_09_10582.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7221a00050746323540a45fe52394cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4140103054268335466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830594473,"filename":"image_10022025_08_53_48_9581.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4a91efcaf2663b42214e5f2c1a87edf1.jpg","text":"TemporaryFile(/tmp/multipartBody5465924527442952153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830594473,"filename":"image_10022025_08_53_59_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338238409","file1":"1338238407","file0":"1338238404","file4":"1338238412","file5":"1338238413","file3":"1338238411"},"map_files_photo_id_array":[{"photo_id":"1338238413","filename":"file5"},{"photo_id":"1338238409","filename":"file2"},{"photo_id":"1338238412","filename":"file4"},{"photo_id":"1338238407","filename":"file1"},{"photo_id":"1338238404","filename":"file0"},{"photo_id":"1338238411","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338238412":["hashtag1","hashtag2"]},{"1338238409":["hashtag1","hashtag2"]},{"1338238411":["hashtag1","hashtag2"]},{"1338238413":["hashtag1","hashtag2"]},{"1338238407":["hashtag1","hashtag2"]},{"1338238404":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338238412, 1338238409, 1338238411, 1338238413, 1338238407, 1338238404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11733031272888 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:16:32.270533
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_58_9561.jpg', 0), ('/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_49_9699.jpg', 0), ('/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_39_10873.jpg', 0), ('/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_28_9806.jpg', 0), ('/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_18_9676.jpg', 0), ('/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_08_9711.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_58_9561.jpg', '/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_49_9699.jpg', '/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_39_10873.jpg', '/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_28_9806.jpg', '/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_18_9676.jpg', '/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_08_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_58_9561.jpg
/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_49_9699.jpg
/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_39_10873.jpg
/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_28_9806.jpg
/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_18_9676.jpg
/home/nano/Desktop/images/10022025/08/52/image_10022025_08_52_08_9711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338238450","1338238447","1338238456","1338238470","1338238818","1338238548"],"photo_ids_order":["1338238447","1338238450","1338238456","1338238470","1338238548","1338238818"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6bf3d2557157bd7da9d909c85332d418.jpg","text":"TemporaryFile(/tmp/multipartBody8534871757341090519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830654787,"filename":"image_10022025_08_52_49_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad8bbc3d7ed81381abdfe8ba63515563.jpg","text":"TemporaryFile(/tmp/multipartBody7919304933428110965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830654787,"filename":"image_10022025_08_52_58_9561.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5eacb42037db789d58897ce382a3d564.jpg","text":"TemporaryFile(/tmp/multipartBody42851811948359953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830654787,"filename":"image_10022025_08_52_39_10873.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/04ea03c26618591dfaf8857c10615c9b.jpg","text":"TemporaryFile(/tmp/multipartBody4915645695638705942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830654787,"filename":"image_10022025_08_52_28_9806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/91e8a79710f418119205654e865ed8a2.jpg","text":"TemporaryFile(/tmp/multipartBody2345594606455527876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830654787,"filename":"image_10022025_08_52_08_9711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b4f558cdc6f3ff89249d4f8020fa0f9a.jpg","text":"TemporaryFile(/tmp/multipartBody7301490958759588784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830654787,"filename":"image_10022025_08_52_18_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338238456","file1":"1338238450","file0":"1338238447","file4":"1338238548","file5":"1338238818","file3":"1338238470"},"map_files_photo_id_array":[{"photo_id":"1338238818","filename":"file5"},{"photo_id":"1338238456","filename":"file2"},{"photo_id":"1338238548","filename":"file4"},{"photo_id":"1338238450","filename":"file1"},{"photo_id":"1338238447","filename":"file0"},{"photo_id":"1338238470","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338238450":["hashtag1","hashtag2"]},{"1338238447":["hashtag1","hashtag2"]},{"1338238456":["hashtag1","hashtag2"]},{"1338238470":["hashtag1","hashtag2"]},{"1338238818":["hashtag1","hashtag2"]},{"1338238548":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338238450, 1338238447, 1338238456, 1338238470, 1338238818, 1338238548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26763892173767 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:17:32.454456
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_59_10680.jpg', 0), ('/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_48_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_38_9657.jpg', 0), ('/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_29_10707.jpg', 0), ('/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_18_9670.jpg', 0), ('/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_08_9685.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_59_10680.jpg', '/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_48_9695.jpg', '/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_38_9657.jpg', '/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_29_10707.jpg', '/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_18_9670.jpg', '/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_08_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_59_10680.jpg
/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_48_9695.jpg
/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_38_9657.jpg
/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_29_10707.jpg
/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_18_9670.jpg
/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_08_9685.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1455492973327637 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:18:02.993990
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_59_10680.jpg', 0), ('/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_48_9695.jpg', 0), ('/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_38_9657.jpg', 0), ('/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_29_10707.jpg', 0), ('/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_18_9670.jpg', 0), ('/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_08_9685.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_59_10680.jpg', '/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_48_9695.jpg', '/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_38_9657.jpg', '/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_29_10707.jpg', '/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_18_9670.jpg', '/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_08_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_59_10680.jpg
/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_48_9695.jpg
/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_38_9657.jpg
/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_29_10707.jpg
/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_18_9670.jpg
/home/nano/Desktop/images/10022025/08/51/image_10022025_08_51_08_9685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338239092","1338239086","1338239089","1338239088","1338239090","1338239087"],"photo_ids_order":["1338239086","1338239087","1338239088","1338239089","1338239090","1338239092"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ad3a0a05f082ccbcbda180336c8e4076.jpg","text":"TemporaryFile(/tmp/multipartBody8490704444896665797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830745556,"filename":"image_10022025_08_51_08_9685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd8a3bfeda5ee476d80604f52eb52f73.jpg","text":"TemporaryFile(/tmp/multipartBody7158977123416231278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830745556,"filename":"image_10022025_08_51_59_10680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fa0e935f13991cb429ad430b966104ee.jpg","text":"TemporaryFile(/tmp/multipartBody6902927875515194281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830745556,"filename":"image_10022025_08_51_29_10707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/920c85c6c5d9d88d2a35816ae7aee080.jpg","text":"TemporaryFile(/tmp/multipartBody6046716125997894468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830745556,"filename":"image_10022025_08_51_38_9657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/edacb3d500d902fbfeabedc255951798.jpg","text":"TemporaryFile(/tmp/multipartBody407534936312720485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830745556,"filename":"image_10022025_08_51_18_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/16c40dd1b3dca0277c6d29e9124657b9.jpg","text":"TemporaryFile(/tmp/multipartBody7960123598360242743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830745556,"filename":"image_10022025_08_51_48_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338239088","file1":"1338239087","file0":"1338239086","file4":"1338239090","file5":"1338239092","file3":"1338239089"},"map_files_photo_id_array":[{"photo_id":"1338239092","filename":"file5"},{"photo_id":"1338239088","filename":"file2"},{"photo_id":"1338239090","filename":"file4"},{"photo_id":"1338239087","filename":"file1"},{"photo_id":"1338239086","filename":"file0"},{"photo_id":"1338239089","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338239092":["hashtag1","hashtag2"]},{"1338239086":["hashtag1","hashtag2"]},{"1338239089":["hashtag1","hashtag2"]},{"1338239088":["hashtag1","hashtag2"]},{"1338239090":["hashtag1","hashtag2"]},{"1338239087":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338239092, 1338239086, 1338239089, 1338239088, 1338239090, 1338239087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23800992965698 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:19:03.311162
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_59_10677.jpg', 0), ('/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_48_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_38_9675.jpg', 0), ('/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_29_10707.jpg', 0), ('/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_18_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_08_9722.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_59_10677.jpg', '/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_48_9696.jpg', '/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_38_9675.jpg', '/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_29_10707.jpg', '/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_18_9682.jpg', '/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_08_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_59_10677.jpg
/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_48_9696.jpg
/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_38_9675.jpg
/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_29_10707.jpg
/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_18_9682.jpg
/home/nano/Desktop/images/10022025/08/50/image_10022025_08_50_08_9722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338239102","1338239101","1338239104","1338239107","1338239103","1338239105"],"photo_ids_order":["1338239101","1338239102","1338239103","1338239104","1338239105","1338239107"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1862a4d9586430d7423c48a57dee04ef.jpg","text":"TemporaryFile(/tmp/multipartBody2611419594112357859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830805532,"filename":"image_10022025_08_50_48_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/33312c05d048d82f5ce2020692e65f77.jpg","text":"TemporaryFile(/tmp/multipartBody3671899455993198239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830805532,"filename":"image_10022025_08_50_59_10677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9cfb4a06e4857939c16355219f70b3c5.jpg","text":"TemporaryFile(/tmp/multipartBody1863113657554836193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830805532,"filename":"image_10022025_08_50_29_10707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/75ee7c7023705a78f7c98516342db8f8.jpg","text":"TemporaryFile(/tmp/multipartBody5108734903499127353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830805532,"filename":"image_10022025_08_50_08_9722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a143e57a5750797bda5ea38433073149.jpg","text":"TemporaryFile(/tmp/multipartBody7466381202958200398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830805532,"filename":"image_10022025_08_50_38_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3e284b26bd14372f29bf1bde2211c450.jpg","text":"TemporaryFile(/tmp/multipartBody7359103347053393818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830805532,"filename":"image_10022025_08_50_18_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338239103","file1":"1338239102","file0":"1338239101","file4":"1338239105","file5":"1338239107","file3":"1338239104"},"map_files_photo_id_array":[{"photo_id":"1338239107","filename":"file5"},{"photo_id":"1338239103","filename":"file2"},{"photo_id":"1338239105","filename":"file4"},{"photo_id":"1338239102","filename":"file1"},{"photo_id":"1338239101","filename":"file0"},{"photo_id":"1338239104","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338239102":["hashtag1","hashtag2"]},{"1338239101":["hashtag1","hashtag2"]},{"1338239104":["hashtag1","hashtag2"]},{"1338239107":["hashtag1","hashtag2"]},{"1338239103":["hashtag1","hashtag2"]},{"1338239105":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338239102, 1338239101, 1338239104, 1338239107, 1338239103, 1338239105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.225255966186523 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:20:02.239281
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_59_9686.jpg', 0), ('/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_49_10704.jpg', 0), ('/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_38_9680.jpg', 0), ('/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_28_9681.jpg', 0), ('/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_19_10686.jpg', 0), ('/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_08_9694.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_59_9686.jpg', '/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_49_10704.jpg', '/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_38_9680.jpg', '/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_28_9681.jpg', '/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_19_10686.jpg', '/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_08_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_59_9686.jpg
/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_49_10704.jpg
/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_38_9680.jpg
/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_28_9681.jpg
/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_19_10686.jpg
/home/nano/Desktop/images/10022025/08/49/image_10022025_08_49_08_9694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338239122","1338239125","1338239121","1338239123","1338239126","1338239120"],"photo_ids_order":["1338239120","1338239121","1338239122","1338239123","1338239125","1338239126"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98a5f91369b383e87ce174730d2241b8.jpg","text":"TemporaryFile(/tmp/multipartBody2444291167236044690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830864799,"filename":"image_10022025_08_49_38_9680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ccddc26d3c34a4fa734c143ed3c0c257.jpg","text":"TemporaryFile(/tmp/multipartBody5782466894814653319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830864799,"filename":"image_10022025_08_49_19_10686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4ed96dac843cc92a60055bb8257e7cf9.jpg","text":"TemporaryFile(/tmp/multipartBody6818899612977673601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830864799,"filename":"image_10022025_08_49_49_10704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/314ea2115f9daf1feffe2630fa22966f.jpg","text":"TemporaryFile(/tmp/multipartBody7637434007049800535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830864799,"filename":"image_10022025_08_49_28_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c30f6c3540d60561a297eadb276d6d73.jpg","text":"TemporaryFile(/tmp/multipartBody8783983187716758421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830864799,"filename":"image_10022025_08_49_08_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6fb33624fbb2c840a0ad93e1fb29e654.jpg","text":"TemporaryFile(/tmp/multipartBody7440242438455517182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830864799,"filename":"image_10022025_08_49_59_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338239122","file1":"1338239121","file0":"1338239120","file4":"1338239125","file5":"1338239126","file3":"1338239123"},"map_files_photo_id_array":[{"photo_id":"1338239126","filename":"file5"},{"photo_id":"1338239122","filename":"file2"},{"photo_id":"1338239125","filename":"file4"},{"photo_id":"1338239121","filename":"file1"},{"photo_id":"1338239120","filename":"file0"},{"photo_id":"1338239123","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338239122":["hashtag1","hashtag2"]},{"1338239125":["hashtag1","hashtag2"]},{"1338239121":["hashtag1","hashtag2"]},{"1338239123":["hashtag1","hashtag2"]},{"1338239126":["hashtag1","hashtag2"]},{"1338239120":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338239122, 1338239125, 1338239121, 1338239123, 1338239126, 1338239120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9440438747406 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:21:02.576341
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_58_9677.jpg', 0), ('/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_49_10712.jpg', 0), ('/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_38_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_28_9694.jpg', 0), ('/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_19_10684.jpg', 0), ('/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_08_9714.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_58_9677.jpg', '/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_49_10712.jpg', '/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_38_9682.jpg', '/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_28_9694.jpg', '/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_19_10684.jpg', '/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_08_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_58_9677.jpg
/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_49_10712.jpg
/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_38_9682.jpg
/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_28_9694.jpg
/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_19_10684.jpg
/home/nano/Desktop/images/10022025/08/48/image_10022025_08_48_08_9714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338239140","1338239137","1338239142","1338239139","1338239144","1338239138"],"photo_ids_order":["1338239137","1338239138","1338239139","1338239140","1338239142","1338239144"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6ac3a409afdaefeba265d46d4f31e864.jpg","text":"TemporaryFile(/tmp/multipartBody7384464102829722412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830925095,"filename":"image_10022025_08_48_28_9694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3008ae29b50a16a2dc35d473d85ec584.jpg","text":"TemporaryFile(/tmp/multipartBody7109731734965356430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830925095,"filename":"image_10022025_08_48_58_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7445c18bf978587cd1d7f6e5738c386a.jpg","text":"TemporaryFile(/tmp/multipartBody1018076342292993517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830925095,"filename":"image_10022025_08_48_19_10684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9072623b19756d3d34ee31fff34614af.jpg","text":"TemporaryFile(/tmp/multipartBody8000241101773531995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830925095,"filename":"image_10022025_08_48_38_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3778d7ecbfc595408c9f266e34d7c594.jpg","text":"TemporaryFile(/tmp/multipartBody8930920586742976041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830925095,"filename":"image_10022025_08_48_08_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fd8592d626c091219b85adb185fc1806.jpg","text":"TemporaryFile(/tmp/multipartBody8037979153116983836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830925095,"filename":"image_10022025_08_48_49_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338239139","file1":"1338239138","file0":"1338239137","file4":"1338239142","file5":"1338239144","file3":"1338239140"},"map_files_photo_id_array":[{"photo_id":"1338239144","filename":"file5"},{"photo_id":"1338239139","filename":"file2"},{"photo_id":"1338239142","filename":"file4"},{"photo_id":"1338239138","filename":"file1"},{"photo_id":"1338239137","filename":"file0"},{"photo_id":"1338239140","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338239140":["hashtag1","hashtag2"]},{"1338239137":["hashtag1","hashtag2"]},{"1338239142":["hashtag1","hashtag2"]},{"1338239139":["hashtag1","hashtag2"]},{"1338239144":["hashtag1","hashtag2"]},{"1338239138":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338239140, 1338239137, 1338239142, 1338239139, 1338239144, 1338239138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97928476333618 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:22:02.495770
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_58_9674.jpg', 0), ('/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_49_9689.jpg', 0), ('/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_39_10678.jpg', 0), ('/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_28_9686.jpg', 0), ('/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_18_9675.jpg', 0), ('/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_09_10730.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_58_9674.jpg', '/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_49_9689.jpg', '/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_39_10678.jpg', '/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_28_9686.jpg', '/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_18_9675.jpg', '/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_09_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_58_9674.jpg
/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_49_9689.jpg
/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_39_10678.jpg
/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_28_9686.jpg
/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_18_9675.jpg
/home/nano/Desktop/images/10022025/08/47/image_10022025_08_47_09_10730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338239158","1338239155","1338239154","1338239153","1338239156","1338239159"],"photo_ids_order":["1338239153","1338239154","1338239155","1338239156","1338239158","1338239159"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d3e0799b3f837da924d3cdb3c96aaa0.jpg","text":"TemporaryFile(/tmp/multipartBody6534921899364054472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830984510,"filename":"image_10022025_08_47_18_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/829d4257d7d9dabc72b2806255aea0f7.jpg","text":"TemporaryFile(/tmp/multipartBody3715531028304506532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830984510,"filename":"image_10022025_08_47_39_10678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc8fc158525d137346390e9e3f3a1988.jpg","text":"TemporaryFile(/tmp/multipartBody5417764510480438862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830984510,"filename":"image_10022025_08_47_49_9689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67e150c736cc828c27f9397ccd6229ee.jpg","text":"TemporaryFile(/tmp/multipartBody8360905763449714980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830984510,"filename":"image_10022025_08_47_58_9674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c9eeec453bdbddd5456bff2963a06555.jpg","text":"TemporaryFile(/tmp/multipartBody6360812690157479626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830984510,"filename":"image_10022025_08_47_28_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1246b336a7186030e54c05c00a9e605e.jpg","text":"TemporaryFile(/tmp/multipartBody3026438062714921070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739830984510,"filename":"image_10022025_08_47_09_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338239155","file1":"1338239154","file0":"1338239153","file4":"1338239158","file5":"1338239159","file3":"1338239156"},"map_files_photo_id_array":[{"photo_id":"1338239159","filename":"file5"},{"photo_id":"1338239155","filename":"file2"},{"photo_id":"1338239158","filename":"file4"},{"photo_id":"1338239154","filename":"file1"},{"photo_id":"1338239153","filename":"file0"},{"photo_id":"1338239156","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338239158":["hashtag1","hashtag2"]},{"1338239155":["hashtag1","hashtag2"]},{"1338239154":["hashtag1","hashtag2"]},{"1338239153":["hashtag1","hashtag2"]},{"1338239156":["hashtag1","hashtag2"]},{"1338239159":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338239158, 1338239155, 1338239154, 1338239153, 1338239156, 1338239159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09388470649719 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:23:02.778341
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_58_9811.jpg', 0), ('/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_48_9807.jpg', 0), ('/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_38_9832.jpg', 0), ('/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_29_9786.jpg', 0), ('/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_19_10795.jpg', 0), ('/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_08_9748.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_58_9811.jpg', '/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_48_9807.jpg', '/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_38_9832.jpg', '/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_29_9786.jpg', '/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_19_10795.jpg', '/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_08_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_58_9811.jpg
/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_48_9807.jpg
/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_38_9832.jpg
/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_29_9786.jpg
/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_19_10795.jpg
/home/nano/Desktop/images/10022025/08/46/image_10022025_08_46_08_9748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338239185","1338239173","1338239224","1338239190","1338239172","1338239194"],"photo_ids_order":["1338239172","1338239173","1338239185","1338239190","1338239194","1338239224"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a97a76eef46b93ff3799eeeca01340f8.jpg","text":"TemporaryFile(/tmp/multipartBody7656498671613980298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831046917,"filename":"image_10022025_08_46_38_9832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fbf881812ce08446c1f594d48c4646ab.jpg","text":"TemporaryFile(/tmp/multipartBody5024605347955201037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831046917,"filename":"image_10022025_08_46_48_9807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aafc65447b82c0c1486d2ab296f33acd.jpg","text":"TemporaryFile(/tmp/multipartBody38980507634941160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831046917,"filename":"image_10022025_08_46_08_9748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e5f706befc776c302cf487de55d4b7fd.jpg","text":"TemporaryFile(/tmp/multipartBody6706219183778936872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831046917,"filename":"image_10022025_08_46_29_9786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f3056ef7ceec6624877862e0f33d2633.jpg","text":"TemporaryFile(/tmp/multipartBody7036708688452299857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831046917,"filename":"image_10022025_08_46_58_9811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4353f2f80b6d31ac0d59a511b46cb3da.jpg","text":"TemporaryFile(/tmp/multipartBody3169904699362883059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831046917,"filename":"image_10022025_08_46_19_10795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338239185","file1":"1338239173","file0":"1338239172","file4":"1338239194","file5":"1338239224","file3":"1338239190"},"map_files_photo_id_array":[{"photo_id":"1338239224","filename":"file5"},{"photo_id":"1338239185","filename":"file2"},{"photo_id":"1338239194","filename":"file4"},{"photo_id":"1338239173","filename":"file1"},{"photo_id":"1338239172","filename":"file0"},{"photo_id":"1338239190","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338239185":["hashtag1","hashtag2"]},{"1338239173":["hashtag1","hashtag2"]},{"1338239224":["hashtag1","hashtag2"]},{"1338239190":["hashtag1","hashtag2"]},{"1338239172":["hashtag1","hashtag2"]},{"1338239194":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338239185, 1338239173, 1338239224, 1338239190, 1338239172, 1338239194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.760159492492676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:24:03.037224
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_58_10020.jpg', 0), ('/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_48_9719.jpg', 0), ('/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_39_9730.jpg', 0), ('/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_29_10692.jpg', 0), ('/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_18_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_08_9684.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_58_10020.jpg', '/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_48_9719.jpg', '/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_39_9730.jpg', '/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_29_10692.jpg', '/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_18_9691.jpg', '/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_08_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_58_10020.jpg
/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_48_9719.jpg
/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_39_9730.jpg
/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_29_10692.jpg
/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_18_9691.jpg
/home/nano/Desktop/images/10022025/08/45/image_10022025_08_45_08_9684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338239920","1338239923","1338239917","1338239919","1338239921","1338239918"],"photo_ids_order":["1338239917","1338239918","1338239919","1338239920","1338239921","1338239923"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8c54ad8df69a5455a38388dc3009423b.jpg","text":"TemporaryFile(/tmp/multipartBody4934607832553806616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831105628,"filename":"image_10022025_08_45_29_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c3bc6ac6982fbdef0385d6a60e53cd8d.jpg","text":"TemporaryFile(/tmp/multipartBody7245216761302368213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831105628,"filename":"image_10022025_08_45_08_9684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/19de2f6198b5cccfb458ae6cbb4c7cd9.jpg","text":"TemporaryFile(/tmp/multipartBody7909928999396970200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831105628,"filename":"image_10022025_08_45_58_10020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6634d56d0ad2a2d07aec72b3925f49a6.jpg","text":"TemporaryFile(/tmp/multipartBody1393798578953719283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831105628,"filename":"image_10022025_08_45_39_9730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/afce52d00e1b04a8b9cd307c1aff1f89.jpg","text":"TemporaryFile(/tmp/multipartBody3522600169870120076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831105628,"filename":"image_10022025_08_45_18_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b71713f60061b2ebc0390ce5b1394d34.jpg","text":"TemporaryFile(/tmp/multipartBody4277467527688187268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831105628,"filename":"image_10022025_08_45_48_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338239919","file1":"1338239918","file0":"1338239917","file4":"1338239921","file5":"1338239923","file3":"1338239920"},"map_files_photo_id_array":[{"photo_id":"1338239923","filename":"file5"},{"photo_id":"1338239919","filename":"file2"},{"photo_id":"1338239921","filename":"file4"},{"photo_id":"1338239918","filename":"file1"},{"photo_id":"1338239917","filename":"file0"},{"photo_id":"1338239920","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338239920":["hashtag1","hashtag2"]},{"1338239923":["hashtag1","hashtag2"]},{"1338239917":["hashtag1","hashtag2"]},{"1338239919":["hashtag1","hashtag2"]},{"1338239921":["hashtag1","hashtag2"]},{"1338239918":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338239920, 1338239923, 1338239917, 1338239919, 1338239921, 1338239918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.523905754089355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:25:03.000331
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_59_10689.jpg', 0), ('/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_48_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_38_9702.jpg', 0), ('/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_29_10692.jpg', 0), ('/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_18_9671.jpg', 0), ('/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_08_9687.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_59_10689.jpg', '/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_48_9691.jpg', '/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_38_9702.jpg', '/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_29_10692.jpg', '/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_18_9671.jpg', '/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_08_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_59_10689.jpg
/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_48_9691.jpg
/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_38_9702.jpg
/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_29_10692.jpg
/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_18_9671.jpg
/home/nano/Desktop/images/10022025/08/44/image_10022025_08_44_08_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338240193","1338240192","1338240195","1338240156","1338240126","1338240185"],"photo_ids_order":["1338240126","1338240156","1338240185","1338240192","1338240193","1338240195"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9845ff29ad93949675993cf979132ef2.jpg","text":"TemporaryFile(/tmp/multipartBody2924675964527286729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831165150,"filename":"image_10022025_08_44_18_9671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f85d6d2e4ef596ad63f1704bb745ee35.jpg","text":"TemporaryFile(/tmp/multipartBody1432836880373572152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831165150,"filename":"image_10022025_08_44_29_10692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5b7920e7226cbc2d1ade4be214c3e98e.jpg","text":"TemporaryFile(/tmp/multipartBody8567340921501228096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831165150,"filename":"image_10022025_08_44_08_9687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f8d95d6cd907af09dd97b269219b721.jpg","text":"TemporaryFile(/tmp/multipartBody6766921808235047738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831165150,"filename":"image_10022025_08_44_48_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d898a5f5da215b89f295742e3b774856.jpg","text":"TemporaryFile(/tmp/multipartBody4274334346320487967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831165150,"filename":"image_10022025_08_44_59_10689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f2f771c7ed869802a6ed2b9a323c3e15.jpg","text":"TemporaryFile(/tmp/multipartBody6176624877491895461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831165150,"filename":"image_10022025_08_44_38_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338240185","file1":"1338240156","file0":"1338240126","file4":"1338240193","file5":"1338240195","file3":"1338240192"},"map_files_photo_id_array":[{"photo_id":"1338240195","filename":"file5"},{"photo_id":"1338240185","filename":"file2"},{"photo_id":"1338240193","filename":"file4"},{"photo_id":"1338240156","filename":"file1"},{"photo_id":"1338240126","filename":"file0"},{"photo_id":"1338240192","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338240193":["hashtag1","hashtag2"]},{"1338240192":["hashtag1","hashtag2"]},{"1338240195":["hashtag1","hashtag2"]},{"1338240156":["hashtag1","hashtag2"]},{"1338240126":["hashtag1","hashtag2"]},{"1338240185":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338240193, 1338240192, 1338240195, 1338240156, 1338240126, 1338240185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.023316860198975 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:26:03.057957
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_59_10686.jpg', 0), ('/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_48_9673.jpg', 0), ('/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_38_9682.jpg', 0), ('/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_29_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_19_10689.jpg', 0), ('/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_08_9677.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_59_10686.jpg', '/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_48_9673.jpg', '/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_38_9682.jpg', '/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_29_9697.jpg', '/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_19_10689.jpg', '/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_08_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_59_10686.jpg
/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_48_9673.jpg
/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_38_9682.jpg
/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_29_9697.jpg
/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_19_10689.jpg
/home/nano/Desktop/images/10022025/08/43/image_10022025_08_43_08_9677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338240257","1338240256","1338240259","1338240261","1338240255","1338240258"],"photo_ids_order":["1338240255","1338240256","1338240257","1338240258","1338240259","1338240261"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dd02f1df12ed53519a7accb1c851eceb.jpg","text":"TemporaryFile(/tmp/multipartBody4085847734694182035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831225660,"filename":"image_10022025_08_43_38_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/91b2460c432e39cd76c991e27ed3698d.jpg","text":"TemporaryFile(/tmp/multipartBody3624743274111201380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831225660,"filename":"image_10022025_08_43_48_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/701f030a229e4a18e45d483ee32e52ca.jpg","text":"TemporaryFile(/tmp/multipartBody7819327298501938253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831225660,"filename":"image_10022025_08_43_19_10689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7b7c1a892707457d6a2c1b360d0f63e3.jpg","text":"TemporaryFile(/tmp/multipartBody7211123706895808878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831225660,"filename":"image_10022025_08_43_08_9677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bb4c58852477a234d842e5baf910679a.jpg","text":"TemporaryFile(/tmp/multipartBody2141932036754229153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831225660,"filename":"image_10022025_08_43_59_10686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a0064780139928de9044f7b802f0c477.jpg","text":"TemporaryFile(/tmp/multipartBody3601037893558471246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831225660,"filename":"image_10022025_08_43_29_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338240257","file1":"1338240256","file0":"1338240255","file4":"1338240259","file5":"1338240261","file3":"1338240258"},"map_files_photo_id_array":[{"photo_id":"1338240261","filename":"file5"},{"photo_id":"1338240257","filename":"file2"},{"photo_id":"1338240259","filename":"file4"},{"photo_id":"1338240256","filename":"file1"},{"photo_id":"1338240255","filename":"file0"},{"photo_id":"1338240258","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338240257":["hashtag1","hashtag2"]},{"1338240256":["hashtag1","hashtag2"]},{"1338240259":["hashtag1","hashtag2"]},{"1338240261":["hashtag1","hashtag2"]},{"1338240255":["hashtag1","hashtag2"]},{"1338240258":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338240257, 1338240256, 1338240259, 1338240261, 1338240255, 1338240258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.745753288269043 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:27:02.474427
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_59_9673.jpg', 0), ('/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_49_10685.jpg', 0), ('/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_38_9685.jpg', 0), ('/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_28_9667.jpg', 0), ('/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_19_10690.jpg', 0), ('/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_08_9699.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_59_9673.jpg', '/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_49_10685.jpg', '/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_38_9685.jpg', '/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_28_9667.jpg', '/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_19_10690.jpg', '/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_08_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_59_9673.jpg
/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_49_10685.jpg
/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_38_9685.jpg
/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_28_9667.jpg
/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_19_10690.jpg
/home/nano/Desktop/images/10022025/08/42/image_10022025_08_42_08_9699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338240274","1338240271","1338240270","1338240273","1338240276","1338240272"],"photo_ids_order":["1338240270","1338240271","1338240272","1338240273","1338240274","1338240276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e796137c1113ca991215c03208223de.jpg","text":"TemporaryFile(/tmp/multipartBody8660400263757043379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831284495,"filename":"image_10022025_08_42_19_10690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/325f2d21cb5491dc1797dff2707bb8a9.jpg","text":"TemporaryFile(/tmp/multipartBody72157251556670624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831284495,"filename":"image_10022025_08_42_49_10685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/689fd2dde5aefe0db41a1546e6bac082.jpg","text":"TemporaryFile(/tmp/multipartBody8634607070553126175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831284495,"filename":"image_10022025_08_42_59_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f5584b746ab75812eeaffd4f25ef40eb.jpg","text":"TemporaryFile(/tmp/multipartBody7999712311829479743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831284495,"filename":"image_10022025_08_42_28_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/35a4697a2c97097e86ee9f15e21ddd9a.jpg","text":"TemporaryFile(/tmp/multipartBody5632470112886758228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831284495,"filename":"image_10022025_08_42_08_9699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/82cee80b88429adc78f817448c7f253f.jpg","text":"TemporaryFile(/tmp/multipartBody2161947602182747363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831284495,"filename":"image_10022025_08_42_38_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338240272","file1":"1338240271","file0":"1338240270","file4":"1338240274","file5":"1338240276","file3":"1338240273"},"map_files_photo_id_array":[{"photo_id":"1338240276","filename":"file5"},{"photo_id":"1338240272","filename":"file2"},{"photo_id":"1338240274","filename":"file4"},{"photo_id":"1338240271","filename":"file1"},{"photo_id":"1338240270","filename":"file0"},{"photo_id":"1338240273","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338240274":["hashtag1","hashtag2"]},{"1338240271":["hashtag1","hashtag2"]},{"1338240270":["hashtag1","hashtag2"]},{"1338240273":["hashtag1","hashtag2"]},{"1338240276":["hashtag1","hashtag2"]},{"1338240272":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338240274, 1338240271, 1338240270, 1338240273, 1338240276, 1338240272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.350431203842163 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:28:02.350308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_58_9672.jpg', 0), ('/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_49_10698.jpg', 0), ('/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_38_9673.jpg', 0), ('/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_28_9691.jpg', 0), ('/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_19_10694.jpg', 0), ('/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_08_9681.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_58_9672.jpg', '/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_49_10698.jpg', '/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_38_9673.jpg', '/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_28_9691.jpg', '/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_19_10694.jpg', '/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_08_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_58_9672.jpg
/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_49_10698.jpg
/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_38_9673.jpg
/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_28_9691.jpg
/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_19_10694.jpg
/home/nano/Desktop/images/10022025/08/41/image_10022025_08_41_08_9681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338240289","1338240291","1338240288","1338240290","1338240293","1338240287"],"photo_ids_order":["1338240287","1338240288","1338240289","1338240290","1338240291","1338240293"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c0dd16f995f65ae3a6b7a84dd9b95ec5.jpg","text":"TemporaryFile(/tmp/multipartBody7379633117043434483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831344703,"filename":"image_10022025_08_41_38_9673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/66304b44741e68e3ccf472619dcb8ab6.jpg","text":"TemporaryFile(/tmp/multipartBody9177375136312451965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831344703,"filename":"image_10022025_08_41_19_10694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5059527ff78e8eae43bedcce9b11acad.jpg","text":"TemporaryFile(/tmp/multipartBody5332070730057741474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831344703,"filename":"image_10022025_08_41_49_10698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/359685fc35a65d3b0552ea259a183ef2.jpg","text":"TemporaryFile(/tmp/multipartBody6183545238781968643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831344703,"filename":"image_10022025_08_41_28_9691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d94ba5e5fe812b50c2dc2d60ad6e9aa0.jpg","text":"TemporaryFile(/tmp/multipartBody5311536396260678964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831344703,"filename":"image_10022025_08_41_08_9681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/aaf5bf674d1470bde7c168a0a4d4a2e0.jpg","text":"TemporaryFile(/tmp/multipartBody8691110507051128604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831344703,"filename":"image_10022025_08_41_58_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338240289","file1":"1338240288","file0":"1338240287","file4":"1338240291","file5":"1338240293","file3":"1338240290"},"map_files_photo_id_array":[{"photo_id":"1338240293","filename":"file5"},{"photo_id":"1338240289","filename":"file2"},{"photo_id":"1338240291","filename":"file4"},{"photo_id":"1338240288","filename":"file1"},{"photo_id":"1338240287","filename":"file0"},{"photo_id":"1338240290","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338240289":["hashtag1","hashtag2"]},{"1338240291":["hashtag1","hashtag2"]},{"1338240288":["hashtag1","hashtag2"]},{"1338240290":["hashtag1","hashtag2"]},{"1338240293":["hashtag1","hashtag2"]},{"1338240287":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338240289, 1338240291, 1338240288, 1338240290, 1338240293, 1338240287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.092066049575806 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:29:02.851864
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_58_9678.jpg', 0), ('/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_49_10675.jpg', 0), ('/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_38_9670.jpg', 0), ('/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_28_9654.jpg', 0), ('/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_19_10697.jpg', 0), ('/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_08_9682.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_58_9678.jpg', '/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_49_10675.jpg', '/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_38_9670.jpg', '/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_28_9654.jpg', '/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_19_10697.jpg', '/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_08_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_58_9678.jpg
/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_49_10675.jpg
/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_38_9670.jpg
/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_28_9654.jpg
/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_19_10697.jpg
/home/nano/Desktop/images/10022025/08/40/image_10022025_08_40_08_9682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338240311","1338240305","1338240307","1338240303","1338240306","1338240309"],"photo_ids_order":["1338240303","1338240305","1338240306","1338240307","1338240309","1338240311"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3db27cc671d65e80b3d0509c45bf537d.jpg","text":"TemporaryFile(/tmp/multipartBody1062382402441324716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831404976,"filename":"image_10022025_08_40_08_9682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/943f46456e8f51cec7c0b87583b7bef8.jpg","text":"TemporaryFile(/tmp/multipartBody4080687052566461176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831404976,"filename":"image_10022025_08_40_49_10675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3cb69f814d25479f94df81f1b828696f.jpg","text":"TemporaryFile(/tmp/multipartBody2935171060457701505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831404976,"filename":"image_10022025_08_40_28_9654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f161490025f9a91cf3e492d1b200ddc.jpg","text":"TemporaryFile(/tmp/multipartBody3590263724097784082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831404976,"filename":"image_10022025_08_40_58_9678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/4f6e97e9be17c45dfc51a8aa5b71a4bb.jpg","text":"TemporaryFile(/tmp/multipartBody7600776282649731394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831404976,"filename":"image_10022025_08_40_38_9670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/df1a75f3f53525762f230bca9e73d71b.jpg","text":"TemporaryFile(/tmp/multipartBody8498850844045851662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831404976,"filename":"image_10022025_08_40_19_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338240306","file1":"1338240305","file0":"1338240303","file4":"1338240309","file5":"1338240311","file3":"1338240307"},"map_files_photo_id_array":[{"photo_id":"1338240311","filename":"file5"},{"photo_id":"1338240306","filename":"file2"},{"photo_id":"1338240309","filename":"file4"},{"photo_id":"1338240305","filename":"file1"},{"photo_id":"1338240303","filename":"file0"},{"photo_id":"1338240307","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338240311":["hashtag1","hashtag2"]},{"1338240305":["hashtag1","hashtag2"]},{"1338240307":["hashtag1","hashtag2"]},{"1338240303":["hashtag1","hashtag2"]},{"1338240306":["hashtag1","hashtag2"]},{"1338240309":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338240311, 1338240305, 1338240307, 1338240303, 1338240306, 1338240309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25297498703003 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:30:02.648431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_58_9656.jpg', 0), ('/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_49_10668.jpg', 0), ('/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_38_9733.jpg', 0), ('/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_28_9705.jpg', 0), ('/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_18_9714.jpg', 0), ('/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_09_10711.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_58_9656.jpg', '/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_49_10668.jpg', '/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_38_9733.jpg', '/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_28_9705.jpg', '/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_18_9714.jpg', '/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_09_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_58_9656.jpg
/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_49_10668.jpg
/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_38_9733.jpg
/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_28_9705.jpg
/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_18_9714.jpg
/home/nano/Desktop/images/10022025/08/39/image_10022025_08_39_09_10711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338240329","1338240323","1338240325","1338240324","1338240327","1338240326"],"photo_ids_order":["1338240323","1338240324","1338240325","1338240326","1338240327","1338240329"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1403c44cdfbdda0f256650e515098cb0.jpg","text":"TemporaryFile(/tmp/multipartBody8952359378368423193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831465349,"filename":"image_10022025_08_39_09_10711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/98ce326c608071e5433300f215d0f423.jpg","text":"TemporaryFile(/tmp/multipartBody8431453771649638372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831465349,"filename":"image_10022025_08_39_58_9656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/89ef2a40086387354fc5bcfb39cba1d1.jpg","text":"TemporaryFile(/tmp/multipartBody7751366597280860171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831465349,"filename":"image_10022025_08_39_38_9733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bbabc509beb1d1c22bbae512d8a73bb8.jpg","text":"TemporaryFile(/tmp/multipartBody5738609111003217155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831465349,"filename":"image_10022025_08_39_49_10668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/501b4eb1506f372403bfc5aea359c96e.jpg","text":"TemporaryFile(/tmp/multipartBody1385865917592857362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831465349,"filename":"image_10022025_08_39_18_9714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5abe155c6add811db717e6a038ae71cb.jpg","text":"TemporaryFile(/tmp/multipartBody4988710334402531344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831465349,"filename":"image_10022025_08_39_28_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338240325","file1":"1338240324","file0":"1338240323","file4":"1338240327","file5":"1338240329","file3":"1338240326"},"map_files_photo_id_array":[{"photo_id":"1338240329","filename":"file5"},{"photo_id":"1338240325","filename":"file2"},{"photo_id":"1338240327","filename":"file4"},{"photo_id":"1338240324","filename":"file1"},{"photo_id":"1338240323","filename":"file0"},{"photo_id":"1338240326","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338240329":["hashtag1","hashtag2"]},{"1338240323":["hashtag1","hashtag2"]},{"1338240325":["hashtag1","hashtag2"]},{"1338240324":["hashtag1","hashtag2"]},{"1338240327":["hashtag1","hashtag2"]},{"1338240326":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338240329, 1338240323, 1338240325, 1338240324, 1338240327, 1338240326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82519292831421 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:31:03.014008
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_58_9741.jpg', 0), ('/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_48_9718.jpg', 0), ('/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_39_9708.jpg', 0), ('/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_29_10736.jpg', 0), ('/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_18_9679.jpg', 0), ('/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_08_9759.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_58_9741.jpg', '/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_48_9718.jpg', '/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_39_9708.jpg', '/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_29_10736.jpg', '/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_18_9679.jpg', '/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_08_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_58_9741.jpg
/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_48_9718.jpg
/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_39_9708.jpg
/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_29_10736.jpg
/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_18_9679.jpg
/home/nano/Desktop/images/10022025/08/38/image_10022025_08_38_08_9759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338240341","1338240340","1338240343","1338240342","1338240345","1338240347"],"photo_ids_order":["1338240340","1338240341","1338240342","1338240343","1338240345","1338240347"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6634c7f883006fc50abfb5c32f713253.jpg","text":"TemporaryFile(/tmp/multipartBody215527561568008157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831525383,"filename":"image_10022025_08_38_48_9718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0a5b473e5ada314b81766ab4659ba883.jpg","text":"TemporaryFile(/tmp/multipartBody8591500330137213720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831525383,"filename":"image_10022025_08_38_58_9741.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f1a755ce80819d59acf3bd3c78939e10.jpg","text":"TemporaryFile(/tmp/multipartBody1665446772826334263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831525383,"filename":"image_10022025_08_38_29_10736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fd5df9e26fd48696528a6b73f655624b.jpg","text":"TemporaryFile(/tmp/multipartBody7554106098412906369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831525383,"filename":"image_10022025_08_38_39_9708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0e37d4baa66651debd29673a121d3153.jpg","text":"TemporaryFile(/tmp/multipartBody3489018203882916259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831525383,"filename":"image_10022025_08_38_18_9679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5182762fabdc1fdfa043c2774d88ace6.jpg","text":"TemporaryFile(/tmp/multipartBody5178721379986364475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831525383,"filename":"image_10022025_08_38_08_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338240342","file1":"1338240341","file0":"1338240340","file4":"1338240345","file5":"1338240347","file3":"1338240343"},"map_files_photo_id_array":[{"photo_id":"1338240347","filename":"file5"},{"photo_id":"1338240342","filename":"file2"},{"photo_id":"1338240345","filename":"file4"},{"photo_id":"1338240341","filename":"file1"},{"photo_id":"1338240340","filename":"file0"},{"photo_id":"1338240343","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338240341":["hashtag1","hashtag2"]},{"1338240340":["hashtag1","hashtag2"]},{"1338240343":["hashtag1","hashtag2"]},{"1338240342":["hashtag1","hashtag2"]},{"1338240345":["hashtag1","hashtag2"]},{"1338240347":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338240341, 1338240340, 1338240343, 1338240342, 1338240345, 1338240347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.606332540512085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:32:02.911046
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_59_10790.jpg', 0), ('/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_48_9741.jpg', 0), ('/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_38_9773.jpg', 0), ('/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_28_9723.jpg', 0), ('/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_19_10763.jpg', 0), ('/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_08_9700.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_59_10790.jpg', '/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_48_9741.jpg', '/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_38_9773.jpg', '/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_28_9723.jpg', '/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_19_10763.jpg', '/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_08_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_59_10790.jpg
/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_48_9741.jpg
/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_38_9773.jpg
/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_28_9723.jpg
/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_19_10763.jpg
/home/nano/Desktop/images/10022025/08/37/image_10022025_08_37_08_9700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338240361","1338240358","1338240360","1338240362","1338240365","1338240359"],"photo_ids_order":["1338240358","1338240359","1338240360","1338240361","1338240362","1338240365"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c8ddf5d515076cdbda9864ed60ca840.jpg","text":"TemporaryFile(/tmp/multipartBody3966788976088276602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831585526,"filename":"image_10022025_08_37_28_9723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb5d89645a93e8e35b54aaa3a590079a.jpg","text":"TemporaryFile(/tmp/multipartBody3823879352418275607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831585526,"filename":"image_10022025_08_37_59_10790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6e087c142a8a7fd8f0bb2ac4f5663cf1.jpg","text":"TemporaryFile(/tmp/multipartBody7568088523414856464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831585526,"filename":"image_10022025_08_37_38_9773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a9b8d3ffff7d51792390a61b17edde42.jpg","text":"TemporaryFile(/tmp/multipartBody7501877588837238578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831585526,"filename":"image_10022025_08_37_19_10763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/95b85e08b0968d402b141ec9c840955a.jpg","text":"TemporaryFile(/tmp/multipartBody3907814312286770331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831585526,"filename":"image_10022025_08_37_08_9700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b28bf6999bfddbf2172a2e12f8fdbe9a.jpg","text":"TemporaryFile(/tmp/multipartBody2575685546349312351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831585526,"filename":"image_10022025_08_37_48_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338240360","file1":"1338240359","file0":"1338240358","file4":"1338240362","file5":"1338240365","file3":"1338240361"},"map_files_photo_id_array":[{"photo_id":"1338240365","filename":"file5"},{"photo_id":"1338240360","filename":"file2"},{"photo_id":"1338240362","filename":"file4"},{"photo_id":"1338240359","filename":"file1"},{"photo_id":"1338240358","filename":"file0"},{"photo_id":"1338240361","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338240361":["hashtag1","hashtag2"]},{"1338240358":["hashtag1","hashtag2"]},{"1338240360":["hashtag1","hashtag2"]},{"1338240362":["hashtag1","hashtag2"]},{"1338240365":["hashtag1","hashtag2"]},{"1338240359":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338240361, 1338240358, 1338240360, 1338240362, 1338240365, 1338240359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44549489021301 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:33:03.353719
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_58_9756.jpg', 0), ('/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_48_9707.jpg', 0), ('/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_39_10771.jpg', 0), ('/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_28_9740.jpg', 0), ('/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_18_9734.jpg', 0), ('/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_09_9754.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_58_9756.jpg', '/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_48_9707.jpg', '/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_39_10771.jpg', '/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_28_9740.jpg', '/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_18_9734.jpg', '/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_09_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_58_9756.jpg
/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_48_9707.jpg
/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_39_10771.jpg
/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_28_9740.jpg
/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_18_9734.jpg
/home/nano/Desktop/images/10022025/08/36/image_10022025_08_36_09_9754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338240376","1338240378","1338240375","1338240507","1338240377","1338240374"],"photo_ids_order":["1338240374","1338240375","1338240376","1338240377","1338240378","1338240507"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e5e490383cb1b0cbb21d5248916d2faa.jpg","text":"TemporaryFile(/tmp/multipartBody7477790712727803030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831645891,"filename":"image_10022025_08_36_39_10771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/69cea33fb79ba69ca5ab4cf5338a5252.jpg","text":"TemporaryFile(/tmp/multipartBody2735372325477037368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831645891,"filename":"image_10022025_08_36_18_9734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/428fe952d36b8cf310ba218e4f9340f0.jpg","text":"TemporaryFile(/tmp/multipartBody4447490870718800613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831645891,"filename":"image_10022025_08_36_48_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fbfeadb80d00a6d28e31be907f4250b6.jpg","text":"TemporaryFile(/tmp/multipartBody5880945764845943468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831645891,"filename":"image_10022025_08_36_09_9754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/711047e7bdf0c716c287af46afa856db.jpg","text":"TemporaryFile(/tmp/multipartBody8841917479380515920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831645891,"filename":"image_10022025_08_36_28_9740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ece3c53f226b7875bc368139483f754b.jpg","text":"TemporaryFile(/tmp/multipartBody439367621100358248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831645891,"filename":"image_10022025_08_36_58_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338240376","file1":"1338240375","file0":"1338240374","file4":"1338240378","file5":"1338240507","file3":"1338240377"},"map_files_photo_id_array":[{"photo_id":"1338240507","filename":"file5"},{"photo_id":"1338240376","filename":"file2"},{"photo_id":"1338240378","filename":"file4"},{"photo_id":"1338240375","filename":"file1"},{"photo_id":"1338240374","filename":"file0"},{"photo_id":"1338240377","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338240376":["hashtag1","hashtag2"]},{"1338240378":["hashtag1","hashtag2"]},{"1338240375":["hashtag1","hashtag2"]},{"1338240507":["hashtag1","hashtag2"]},{"1338240377":["hashtag1","hashtag2"]},{"1338240374":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338240376, 1338240378, 1338240375, 1338240507, 1338240377, 1338240374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59281945228577 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:34:02.418179
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_59_10714.jpg', 0), ('/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_48_9731.jpg', 0), ('/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_38_9731.jpg', 0), ('/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_29_9725.jpg', 0), ('/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_19_10724.jpg', 0), ('/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_08_9721.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_59_10714.jpg', '/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_48_9731.jpg', '/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_38_9731.jpg', '/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_29_9725.jpg', '/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_19_10724.jpg', '/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_08_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_59_10714.jpg
/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_48_9731.jpg
/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_38_9731.jpg
/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_29_9725.jpg
/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_19_10724.jpg
/home/nano/Desktop/images/10022025/08/35/image_10022025_08_35_08_9721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338241303","1338241147","1338241309","1338241149","1338241148","1338241307"],"photo_ids_order":["1338241147","1338241148","1338241149","1338241303","1338241307","1338241309"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a98d422ecd0a3fc20f85e8ebe4bb0660.jpg","text":"TemporaryFile(/tmp/multipartBody2162567701759431018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831704613,"filename":"image_10022025_08_35_29_9725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/78133ab54e6e883085c2b766fe98742b.jpg","text":"TemporaryFile(/tmp/multipartBody5687656334708236676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831704613,"filename":"image_10022025_08_35_59_10714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f2105af06493d288f392675e7221dc39.jpg","text":"TemporaryFile(/tmp/multipartBody6275024897011456092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831704613,"filename":"image_10022025_08_35_08_9721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/785e1b98fe9db182b6a2626b07feca17.jpg","text":"TemporaryFile(/tmp/multipartBody2218750744784744921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831704613,"filename":"image_10022025_08_35_38_9731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/10181e0962b31b9ef48e352318c90625.jpg","text":"TemporaryFile(/tmp/multipartBody8827719942370154093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831704613,"filename":"image_10022025_08_35_48_9731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c27b246b22eaa2943832f97e958325cf.jpg","text":"TemporaryFile(/tmp/multipartBody7915772325708672957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831704613,"filename":"image_10022025_08_35_19_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338241149","file1":"1338241148","file0":"1338241147","file4":"1338241307","file5":"1338241309","file3":"1338241303"},"map_files_photo_id_array":[{"photo_id":"1338241309","filename":"file5"},{"photo_id":"1338241149","filename":"file2"},{"photo_id":"1338241307","filename":"file4"},{"photo_id":"1338241148","filename":"file1"},{"photo_id":"1338241147","filename":"file0"},{"photo_id":"1338241303","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338241303":["hashtag1","hashtag2"]},{"1338241147":["hashtag1","hashtag2"]},{"1338241309":["hashtag1","hashtag2"]},{"1338241149":["hashtag1","hashtag2"]},{"1338241148":["hashtag1","hashtag2"]},{"1338241307":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338241303, 1338241147, 1338241309, 1338241149, 1338241148, 1338241307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33197236061096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:35:02.503957
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_58_9712.jpg', 0), ('/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_49_10680.jpg', 0), ('/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_38_9683.jpg', 0), ('/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_28_9694.jpg', 0), ('/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_19_10732.jpg', 0), ('/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_08_9707.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_58_9712.jpg', '/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_49_10680.jpg', '/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_38_9683.jpg', '/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_28_9694.jpg', '/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_19_10732.jpg', '/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_08_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_58_9712.jpg
/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_49_10680.jpg
/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_38_9683.jpg
/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_28_9694.jpg
/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_19_10732.jpg
/home/nano/Desktop/images/10022025/08/34/image_10022025_08_34_08_9707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338241465","1338241462","1338241497","1338241458","1338241460","1338241463"],"photo_ids_order":["1338241458","1338241460","1338241462","1338241463","1338241465","1338241497"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/31ebba283208f877165ea08428077e8b.jpg","text":"TemporaryFile(/tmp/multipartBody5338535677030726180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831766138,"filename":"image_10022025_08_34_19_10732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6bbfdf93d36610b6bb300bc750e94dea.jpg","text":"TemporaryFile(/tmp/multipartBody4655706042701250705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831766138,"filename":"image_10022025_08_34_38_9683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/664dddf4486d5256c588c2dc9c66841c.jpg","text":"TemporaryFile(/tmp/multipartBody112127503753967286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831766138,"filename":"image_10022025_08_34_08_9707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bae1f132f4b16ccad9cef727f3e6d655.jpg","text":"TemporaryFile(/tmp/multipartBody4869126689649727574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831766138,"filename":"image_10022025_08_34_58_9712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e84a890786268a2456f53d9a7d0a9f72.jpg","text":"TemporaryFile(/tmp/multipartBody1505711016187073041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831766138,"filename":"image_10022025_08_34_49_10680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db9807db4a6d9fa417c00d9cb0055ed7.jpg","text":"TemporaryFile(/tmp/multipartBody3473253003947606582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831766138,"filename":"image_10022025_08_34_28_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338241462","file1":"1338241460","file0":"1338241458","file4":"1338241465","file5":"1338241497","file3":"1338241463"},"map_files_photo_id_array":[{"photo_id":"1338241497","filename":"file5"},{"photo_id":"1338241462","filename":"file2"},{"photo_id":"1338241465","filename":"file4"},{"photo_id":"1338241460","filename":"file1"},{"photo_id":"1338241458","filename":"file0"},{"photo_id":"1338241463","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338241465":["hashtag1","hashtag2"]},{"1338241462":["hashtag1","hashtag2"]},{"1338241497":["hashtag1","hashtag2"]},{"1338241458":["hashtag1","hashtag2"]},{"1338241460":["hashtag1","hashtag2"]},{"1338241463":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338241465, 1338241462, 1338241497, 1338241458, 1338241460, 1338241463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.139689922332764 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:36:02.647314
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_58_9746.jpg', 0), ('/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_49_9696.jpg', 0), ('/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_39_10695.jpg', 0), ('/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_28_9692.jpg', 0), ('/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_18_9738.jpg', 0), ('/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_09_9738.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_58_9746.jpg', '/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_49_9696.jpg', '/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_39_10695.jpg', '/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_28_9692.jpg', '/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_18_9738.jpg', '/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_09_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_58_9746.jpg
/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_49_9696.jpg
/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_39_10695.jpg
/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_28_9692.jpg
/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_18_9738.jpg
/home/nano/Desktop/images/10022025/08/33/image_10022025_08_33_09_9738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338241717","1338241719","1338241676","1338241649","1338241721","1338241718"],"photo_ids_order":["1338241649","1338241676","1338241717","1338241718","1338241719","1338241721"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/273a3c0aa7f1cd60bbf5a32f6210c2a6.jpg","text":"TemporaryFile(/tmp/multipartBody4084268062373702195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831825488,"filename":"image_10022025_08_33_39_10695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/26ee3bc40355e1ca69a84059fe6796be.jpg","text":"TemporaryFile(/tmp/multipartBody775711778414384298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831825488,"filename":"image_10022025_08_33_18_9738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/67e83ec2a6f75aef317b5d384572ebe8.jpg","text":"TemporaryFile(/tmp/multipartBody336690893046489647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831825488,"filename":"image_10022025_08_33_49_9696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/09eff6c3ac5b99f6b408ebcfe5c2d5d2.jpg","text":"TemporaryFile(/tmp/multipartBody945764565531238708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831825488,"filename":"image_10022025_08_33_58_9746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e92b641cb7b3e33754146bbe3902d155.jpg","text":"TemporaryFile(/tmp/multipartBody7627020991014702255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831825488,"filename":"image_10022025_08_33_09_9738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fb984fc253ca07fe2bd8f43271770c48.jpg","text":"TemporaryFile(/tmp/multipartBody1944228580914442110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831825488,"filename":"image_10022025_08_33_28_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338241717","file1":"1338241676","file0":"1338241649","file4":"1338241719","file5":"1338241721","file3":"1338241718"},"map_files_photo_id_array":[{"photo_id":"1338241721","filename":"file5"},{"photo_id":"1338241717","filename":"file2"},{"photo_id":"1338241719","filename":"file4"},{"photo_id":"1338241676","filename":"file1"},{"photo_id":"1338241649","filename":"file0"},{"photo_id":"1338241718","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338241717":["hashtag1","hashtag2"]},{"1338241719":["hashtag1","hashtag2"]},{"1338241676":["hashtag1","hashtag2"]},{"1338241649":["hashtag1","hashtag2"]},{"1338241721":["hashtag1","hashtag2"]},{"1338241718":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338241717, 1338241719, 1338241676, 1338241649, 1338241721, 1338241718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.588051557540894 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:37:02.873149
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_59_10709.jpg', 0), ('/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_48_9693.jpg', 0), ('/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_38_9697.jpg', 0), ('/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_29_10862.jpg', 0), ('/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_18_9854.jpg', 0), ('/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_08_9856.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_59_10709.jpg', '/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_48_9693.jpg', '/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_38_9697.jpg', '/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_29_10862.jpg', '/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_18_9854.jpg', '/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_08_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_59_10709.jpg
/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_48_9693.jpg
/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_38_9697.jpg
/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_29_10862.jpg
/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_18_9854.jpg
/home/nano/Desktop/images/10022025/08/32/image_10022025_08_32_08_9856.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338241735","1338241734","1338241737","1338241739","1338241733","1338241742"],"photo_ids_order":["1338241733","1338241734","1338241735","1338241737","1338241739","1338241742"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca238d2e117ef43598a97dfeab688138.jpg","text":"TemporaryFile(/tmp/multipartBody5191527584055356187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831892765,"filename":"image_10022025_08_32_38_9697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f7e8543658ea410f77625acd19c528d6.jpg","text":"TemporaryFile(/tmp/multipartBody9048900070549400544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831892765,"filename":"image_10022025_08_32_48_9693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c46c7911e6a8ff89b0529db856fdd39b.jpg","text":"TemporaryFile(/tmp/multipartBody7606419733965076781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831892765,"filename":"image_10022025_08_32_29_10862.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b73d525dc4d23fc36848c1fb2df72ef1.jpg","text":"TemporaryFile(/tmp/multipartBody9009564877982813695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831892765,"filename":"image_10022025_08_32_18_9854.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1e6220df118abcc3f4438d6681057f4f.jpg","text":"TemporaryFile(/tmp/multipartBody4394137573744942565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831892765,"filename":"image_10022025_08_32_59_10709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c2cec0d76772d6259d5c61e0e9fea1dd.jpg","text":"TemporaryFile(/tmp/multipartBody7599589916785437912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831892765,"filename":"image_10022025_08_32_08_9856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338241735","file1":"1338241734","file0":"1338241733","file4":"1338241739","file5":"1338241742","file3":"1338241737"},"map_files_photo_id_array":[{"photo_id":"1338241742","filename":"file5"},{"photo_id":"1338241735","filename":"file2"},{"photo_id":"1338241739","filename":"file4"},{"photo_id":"1338241734","filename":"file1"},{"photo_id":"1338241733","filename":"file0"},{"photo_id":"1338241737","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338241735":["hashtag1","hashtag2"]},{"1338241734":["hashtag1","hashtag2"]},{"1338241737":["hashtag1","hashtag2"]},{"1338241739":["hashtag1","hashtag2"]},{"1338241733":["hashtag1","hashtag2"]},{"1338241742":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338241735, 1338241734, 1338241737, 1338241739, 1338241733, 1338241742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.102728843688965 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:38:02.893558
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_58_9852.jpg', 0), ('/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_48_9842.jpg', 0), ('/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_39_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_29_9850.jpg', 0), ('/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_19_10864.jpg', 0), ('/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_08_9898.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_58_9852.jpg', '/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_48_9842.jpg', '/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_39_9849.jpg', '/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_29_9850.jpg', '/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_19_10864.jpg', '/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_08_9898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_58_9852.jpg
/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_48_9842.jpg
/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_39_9849.jpg
/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_29_9850.jpg
/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_19_10864.jpg
/home/nano/Desktop/images/10022025/08/31/image_10022025_08_31_08_9898.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338241753","1338241752","1338241755","1338241757","1338241751","1338241754"],"photo_ids_order":["1338241751","1338241752","1338241753","1338241754","1338241755","1338241757"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d29dc176c78b1ed59d4975a31121cbc1.jpg","text":"TemporaryFile(/tmp/multipartBody7625253519984769587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831946817,"filename":"image_10022025_08_31_39_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12b499bfe8e88f37e6a3377d27cc266f.jpg","text":"TemporaryFile(/tmp/multipartBody93506805520610139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831946817,"filename":"image_10022025_08_31_48_9842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cabacae8bc888b425ec4c172956d1895.jpg","text":"TemporaryFile(/tmp/multipartBody2640327402130126685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831946817,"filename":"image_10022025_08_31_19_10864.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf25dd82d99ac65e84e3bd8b8b9684b3.jpg","text":"TemporaryFile(/tmp/multipartBody5852824223921498869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831946817,"filename":"image_10022025_08_31_08_9898.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b92192a94196ef2da2ffe6c1b28192b3.jpg","text":"TemporaryFile(/tmp/multipartBody5171822732033821204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831946817,"filename":"image_10022025_08_31_58_9852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2691fd857ffc301b90738ecf9777ba06.jpg","text":"TemporaryFile(/tmp/multipartBody2642613847535683216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739831946817,"filename":"image_10022025_08_31_29_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338241753","file1":"1338241752","file0":"1338241751","file4":"1338241755","file5":"1338241757","file3":"1338241754"},"map_files_photo_id_array":[{"photo_id":"1338241757","filename":"file5"},{"photo_id":"1338241753","filename":"file2"},{"photo_id":"1338241755","filename":"file4"},{"photo_id":"1338241752","filename":"file1"},{"photo_id":"1338241751","filename":"file0"},{"photo_id":"1338241754","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338241753":["hashtag1","hashtag2"]},{"1338241752":["hashtag1","hashtag2"]},{"1338241755":["hashtag1","hashtag2"]},{"1338241757":["hashtag1","hashtag2"]},{"1338241751":["hashtag1","hashtag2"]},{"1338241754":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338241753, 1338241752, 1338241755, 1338241757, 1338241751, 1338241754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.676997423172 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:39:03.649147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_58_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_48_9852.jpg', 0), ('/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_38_9845.jpg', 0), ('/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_29_9843.jpg', 0), ('/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_19_9850.jpg', 0), ('/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_09_10861.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_58_9849.jpg', '/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_48_9852.jpg', '/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_38_9845.jpg', '/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_29_9843.jpg', '/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_19_9850.jpg', '/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_09_10861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_58_9849.jpg
/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_48_9852.jpg
/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_38_9845.jpg
/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_29_9843.jpg
/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_19_9850.jpg
/home/nano/Desktop/images/10022025/08/30/image_10022025_08_30_09_10861.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338241777","1338241771","1338241773","1338241775","1338241769","1338241774"],"photo_ids_order":["1338241769","1338241771","1338241773","1338241774","1338241775","1338241777"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ac7c40e5d5c049aa5b98f3fb441a10fe.jpg","text":"TemporaryFile(/tmp/multipartBody7599641449297344046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832006224,"filename":"image_10022025_08_30_09_10861.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1aae013e39c88722c4088bd3ef70bdc1.jpg","text":"TemporaryFile(/tmp/multipartBody5908642385382153315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832006224,"filename":"image_10022025_08_30_48_9852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f2431a35a180186eb0c616e415b4b58.jpg","text":"TemporaryFile(/tmp/multipartBody661823516248577948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832006224,"filename":"image_10022025_08_30_38_9845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e766ca98df17f34ffe558b5196d41e64.jpg","text":"TemporaryFile(/tmp/multipartBody7517310154070243697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832006224,"filename":"image_10022025_08_30_19_9850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dacd328c808e87453766bd1e4fc21b54.jpg","text":"TemporaryFile(/tmp/multipartBody7417883808022199828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832006224,"filename":"image_10022025_08_30_58_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/133e10a2b8b6c305ebebf93f4758f532.jpg","text":"TemporaryFile(/tmp/multipartBody3587420039005700033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832006224,"filename":"image_10022025_08_30_29_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338241773","file1":"1338241771","file0":"1338241769","file4":"1338241775","file5":"1338241777","file3":"1338241774"},"map_files_photo_id_array":[{"photo_id":"1338241777","filename":"file5"},{"photo_id":"1338241773","filename":"file2"},{"photo_id":"1338241775","filename":"file4"},{"photo_id":"1338241771","filename":"file1"},{"photo_id":"1338241769","filename":"file0"},{"photo_id":"1338241774","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338241777":["hashtag1","hashtag2"]},{"1338241771":["hashtag1","hashtag2"]},{"1338241773":["hashtag1","hashtag2"]},{"1338241775":["hashtag1","hashtag2"]},{"1338241769":["hashtag1","hashtag2"]},{"1338241774":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338241777, 1338241771, 1338241773, 1338241775, 1338241769, 1338241774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23818039894104 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:40:02.232265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_58_9851.jpg', 0), ('/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_48_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_38_9848.jpg', 0), ('/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_28_9851.jpg', 0), ('/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_19_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_09_9867.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_58_9851.jpg', '/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_48_9849.jpg', '/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_38_9848.jpg', '/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_28_9851.jpg', '/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_19_9849.jpg', '/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_09_9867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_58_9851.jpg
/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_48_9849.jpg
/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_38_9848.jpg
/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_28_9851.jpg
/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_19_9849.jpg
/home/nano/Desktop/images/10022025/08/29/image_10022025_08_29_09_9867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338241791","1338241794","1338241788","1338241793","1338241790","1338241786"],"photo_ids_order":["1338241786","1338241788","1338241790","1338241791","1338241793","1338241794"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/396f2c81a6e267ba103c9dc4a8ff2f65.jpg","text":"TemporaryFile(/tmp/multipartBody5189705020399434594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832065182,"filename":"image_10022025_08_29_28_9851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3850e7eb4ce389cb1fe73d137431bb13.jpg","text":"TemporaryFile(/tmp/multipartBody4009545675958166096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832065182,"filename":"image_10022025_08_29_09_9867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6fecf41441f0e13ec29e2371e479199.jpg","text":"TemporaryFile(/tmp/multipartBody849543213861334808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832065182,"filename":"image_10022025_08_29_48_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f6dfb77777eca0b66ca42999bbf94e6.jpg","text":"TemporaryFile(/tmp/multipartBody8966445978463986140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832065182,"filename":"image_10022025_08_29_19_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5bc9437cd7af8765b28cd649b6bf6a67.jpg","text":"TemporaryFile(/tmp/multipartBody4398582874941768332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832065182,"filename":"image_10022025_08_29_38_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7df389a45d59766659618a0804f2363e.jpg","text":"TemporaryFile(/tmp/multipartBody5170714876891216663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832065182,"filename":"image_10022025_08_29_58_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338241790","file1":"1338241788","file0":"1338241786","file4":"1338241793","file5":"1338241794","file3":"1338241791"},"map_files_photo_id_array":[{"photo_id":"1338241794","filename":"file5"},{"photo_id":"1338241790","filename":"file2"},{"photo_id":"1338241793","filename":"file4"},{"photo_id":"1338241788","filename":"file1"},{"photo_id":"1338241786","filename":"file0"},{"photo_id":"1338241791","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338241791":["hashtag1","hashtag2"]},{"1338241794":["hashtag1","hashtag2"]},{"1338241788":["hashtag1","hashtag2"]},{"1338241793":["hashtag1","hashtag2"]},{"1338241790":["hashtag1","hashtag2"]},{"1338241786":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338241791, 1338241794, 1338241788, 1338241793, 1338241790, 1338241786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46423316001892 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:41:02.512864
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_59_10861.jpg', 0), ('/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_48_9853.jpg', 0), ('/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_38_9848.jpg', 0), ('/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_28_9850.jpg', 0), ('/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_18_9851.jpg', 0), ('/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_09_9853.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_59_10861.jpg', '/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_48_9853.jpg', '/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_38_9848.jpg', '/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_28_9850.jpg', '/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_18_9851.jpg', '/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_09_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_59_10861.jpg
/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_48_9853.jpg
/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_38_9848.jpg
/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_28_9850.jpg
/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_18_9851.jpg
/home/nano/Desktop/images/10022025/08/28/image_10022025_08_28_09_9853.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338242088","1338242090","1338242010","1338241880","1338241979","1338241817"],"photo_ids_order":["1338241817","1338241880","1338241979","1338242010","1338242088","1338242090"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ce2a019d400cda5db1e9bf23dfb42f74.jpg","text":"TemporaryFile(/tmp/multipartBody2534399679861159510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832125020,"filename":"image_10022025_08_28_18_9851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f9ed9bdc02c2f6c43832f0f24870ce9f.jpg","text":"TemporaryFile(/tmp/multipartBody366006722568967726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832125020,"filename":"image_10022025_08_28_09_9853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0b88ad6599c9a183f742d5297c200643.jpg","text":"TemporaryFile(/tmp/multipartBody3414415617573115207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832125020,"filename":"image_10022025_08_28_28_9850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1bbd0f8095fa195e91dba040e9f6d3a7.jpg","text":"TemporaryFile(/tmp/multipartBody4620856136284036111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832125020,"filename":"image_10022025_08_28_48_9853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/64ab72ff34a9b21f44acc1830475c9b1.jpg","text":"TemporaryFile(/tmp/multipartBody5298549393432894019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832125020,"filename":"image_10022025_08_28_38_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/85bd407309ccb30565017b28f16bcdd2.jpg","text":"TemporaryFile(/tmp/multipartBody7072174534396760751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832125020,"filename":"image_10022025_08_28_59_10861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338241979","file1":"1338241880","file0":"1338241817","file4":"1338242088","file5":"1338242090","file3":"1338242010"},"map_files_photo_id_array":[{"photo_id":"1338242090","filename":"file5"},{"photo_id":"1338241979","filename":"file2"},{"photo_id":"1338242088","filename":"file4"},{"photo_id":"1338241880","filename":"file1"},{"photo_id":"1338241817","filename":"file0"},{"photo_id":"1338242010","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338242088":["hashtag1","hashtag2"]},{"1338242090":["hashtag1","hashtag2"]},{"1338242010":["hashtag1","hashtag2"]},{"1338241880":["hashtag1","hashtag2"]},{"1338241979":["hashtag1","hashtag2"]},{"1338241817":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338242088, 1338242090, 1338242010, 1338241880, 1338241979, 1338241817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.785478353500366 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:42:02.534655
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_59_9847.jpg', 0), ('/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_49_10859.jpg', 0), ('/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_38_9853.jpg', 0), ('/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_28_9842.jpg', 0), ('/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_18_9851.jpg', 0), ('/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_08_9846.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_59_9847.jpg', '/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_49_10859.jpg', '/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_38_9853.jpg', '/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_28_9842.jpg', '/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_18_9851.jpg', '/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_08_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_59_9847.jpg
/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_49_10859.jpg
/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_38_9853.jpg
/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_28_9842.jpg
/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_18_9851.jpg
/home/nano/Desktop/images/10022025/08/27/image_10022025_08_27_08_9846.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338242137","1338242142","1338242136","1338242135","1338242138","1338242140"],"photo_ids_order":["1338242135","1338242136","1338242137","1338242138","1338242140","1338242142"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/13b90c61ceaf8ff2ade129998181b346.jpg","text":"TemporaryFile(/tmp/multipartBody1384731802988924905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832187455,"filename":"image_10022025_08_27_38_9853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/1495d34ea3e97350276335229c196dee.jpg","text":"TemporaryFile(/tmp/multipartBody8550769649702044993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832187455,"filename":"image_10022025_08_27_08_9846.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d79a9bb1ca7b3415ea322d5346963287.jpg","text":"TemporaryFile(/tmp/multipartBody4004426951668310264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832187455,"filename":"image_10022025_08_27_49_10859.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7d076d23b65abad8f84e0be91c5b10ac.jpg","text":"TemporaryFile(/tmp/multipartBody8112545458627367114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832187455,"filename":"image_10022025_08_27_59_9847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cdec3d7f0a645c531fd78092917c3447.jpg","text":"TemporaryFile(/tmp/multipartBody5541640022320667377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832187455,"filename":"image_10022025_08_27_28_9842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f9205d2bd6a5f144fa339cf95492c37.jpg","text":"TemporaryFile(/tmp/multipartBody563479617417820640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832187455,"filename":"image_10022025_08_27_18_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338242137","file1":"1338242136","file0":"1338242135","file4":"1338242140","file5":"1338242142","file3":"1338242138"},"map_files_photo_id_array":[{"photo_id":"1338242142","filename":"file5"},{"photo_id":"1338242137","filename":"file2"},{"photo_id":"1338242140","filename":"file4"},{"photo_id":"1338242136","filename":"file1"},{"photo_id":"1338242135","filename":"file0"},{"photo_id":"1338242138","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338242137":["hashtag1","hashtag2"]},{"1338242142":["hashtag1","hashtag2"]},{"1338242136":["hashtag1","hashtag2"]},{"1338242135":["hashtag1","hashtag2"]},{"1338242138":["hashtag1","hashtag2"]},{"1338242140":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338242137, 1338242142, 1338242136, 1338242135, 1338242138, 1338242140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6046724319458 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:43:02.738577
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_59_9850.jpg', 0), ('/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_49_10859.jpg', 0), ('/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_38_9851.jpg', 0), ('/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_28_9867.jpg', 0), ('/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_18_9853.jpg', 0), ('/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_08_9841.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_59_9850.jpg', '/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_49_10859.jpg', '/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_38_9851.jpg', '/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_28_9867.jpg', '/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_18_9853.jpg', '/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_08_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_59_9850.jpg
/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_49_10859.jpg
/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_38_9851.jpg
/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_28_9867.jpg
/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_18_9853.jpg
/home/nano/Desktop/images/10022025/08/26/image_10022025_08_26_08_9841.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338242151","1338242154","1338242153","1338242156","1338242158","1338242152"],"photo_ids_order":["1338242151","1338242152","1338242153","1338242154","1338242156","1338242158"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/b0063c1f784fa72a0d632f81bf0db324.jpg","text":"TemporaryFile(/tmp/multipartBody9027020533179230543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832245386,"filename":"image_10022025_08_26_59_9850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2fa4510e48af217f4740a93dd126eb6a.jpg","text":"TemporaryFile(/tmp/multipartBody107233203357062660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832245386,"filename":"image_10022025_08_26_28_9867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c16bd95fd3a03f061b43e13decb98886.jpg","text":"TemporaryFile(/tmp/multipartBody817905061158617587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832245386,"filename":"image_10022025_08_26_38_9851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/540513e15f06ce25ab0133002d1f4988.jpg","text":"TemporaryFile(/tmp/multipartBody4987647397719043856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832245386,"filename":"image_10022025_08_26_18_9853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fe0a38f1f5e351ecf0290fed76fd9c4d.jpg","text":"TemporaryFile(/tmp/multipartBody5603905494238939186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832245386,"filename":"image_10022025_08_26_08_9841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a9c54c754537d41b05d8505f1e1c8c91.jpg","text":"TemporaryFile(/tmp/multipartBody6430878278136386063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832245386,"filename":"image_10022025_08_26_49_10859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338242153","file1":"1338242152","file0":"1338242151","file4":"1338242156","file5":"1338242158","file3":"1338242154"},"map_files_photo_id_array":[{"photo_id":"1338242158","filename":"file5"},{"photo_id":"1338242153","filename":"file2"},{"photo_id":"1338242156","filename":"file4"},{"photo_id":"1338242152","filename":"file1"},{"photo_id":"1338242151","filename":"file0"},{"photo_id":"1338242154","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338242151":["hashtag1","hashtag2"]},{"1338242154":["hashtag1","hashtag2"]},{"1338242153":["hashtag1","hashtag2"]},{"1338242156":["hashtag1","hashtag2"]},{"1338242158":["hashtag1","hashtag2"]},{"1338242152":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338242151, 1338242154, 1338242153, 1338242156, 1338242158, 1338242152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09385013580322 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:44:03.022336
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_58_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_49_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_39_10857.jpg', 0), ('/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_28_9847.jpg', 0), ('/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_18_9852.jpg', 0), ('/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_08_9835.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_58_9849.jpg', '/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_49_9849.jpg', '/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_39_10857.jpg', '/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_28_9847.jpg', '/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_18_9852.jpg', '/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_08_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_58_9849.jpg
/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_49_9849.jpg
/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_39_10857.jpg
/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_28_9847.jpg
/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_18_9852.jpg
/home/nano/Desktop/images/10022025/08/25/image_10022025_08_25_08_9835.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338242169","1338242172","1338242166","1338242174","1338242170","1338242167"],"photo_ids_order":["1338242166","1338242167","1338242169","1338242170","1338242172","1338242174"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/128db9a129ca067045525682b3a38448.jpg","text":"TemporaryFile(/tmp/multipartBody1052993323745172836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832305827,"filename":"image_10022025_08_25_39_10857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7f5c6c3df5f1d2f3a6a066c527e7acf6.jpg","text":"TemporaryFile(/tmp/multipartBody7055010743917362033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832305827,"filename":"image_10022025_08_25_18_9852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6614c5fc6ed809f23d27dde64cfb23d.jpg","text":"TemporaryFile(/tmp/multipartBody6064317109386017136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832305827,"filename":"image_10022025_08_25_58_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bca0f80b5dad10f6451e2830288e210e.jpg","text":"TemporaryFile(/tmp/multipartBody5138890749727887694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832305827,"filename":"image_10022025_08_25_08_9835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/43ec0f83b8b2af961777b0e941a0a83d.jpg","text":"TemporaryFile(/tmp/multipartBody3608318155742079550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832305827,"filename":"image_10022025_08_25_28_9847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/346be11eade1e6516e2272cba58bf1bf.jpg","text":"TemporaryFile(/tmp/multipartBody9097583091123575348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832305827,"filename":"image_10022025_08_25_49_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338242169","file1":"1338242167","file0":"1338242166","file4":"1338242172","file5":"1338242174","file3":"1338242170"},"map_files_photo_id_array":[{"photo_id":"1338242174","filename":"file5"},{"photo_id":"1338242169","filename":"file2"},{"photo_id":"1338242172","filename":"file4"},{"photo_id":"1338242167","filename":"file1"},{"photo_id":"1338242166","filename":"file0"},{"photo_id":"1338242170","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338242169":["hashtag1","hashtag2"]},{"1338242172":["hashtag1","hashtag2"]},{"1338242166":["hashtag1","hashtag2"]},{"1338242174":["hashtag1","hashtag2"]},{"1338242170":["hashtag1","hashtag2"]},{"1338242167":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338242169, 1338242172, 1338242166, 1338242174, 1338242170, 1338242167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91863775253296 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:45:03.145822
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_58_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_49_9848.jpg', 0), ('/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_39_9850.jpg', 0), ('/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_29_10856.jpg', 0), ('/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_18_9852.jpg', 0), ('/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_08_9849.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_58_9849.jpg', '/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_49_9848.jpg', '/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_39_9850.jpg', '/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_29_10856.jpg', '/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_18_9852.jpg', '/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_08_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_58_9849.jpg
/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_49_9848.jpg
/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_39_9850.jpg
/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_29_10856.jpg
/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_18_9852.jpg
/home/nano/Desktop/images/10022025/08/24/image_10022025_08_24_08_9849.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338242187","1338242181","1338242184","1338242186","1338242183","1338242182"],"photo_ids_order":["1338242181","1338242182","1338242183","1338242184","1338242186","1338242187"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ecc39a97ef90c59035f04ab041dac2a3.jpg","text":"TemporaryFile(/tmp/multipartBody7921457670687680104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832366101,"filename":"image_10022025_08_24_08_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5d1e2511175be690cc240aea63a66039.jpg","text":"TemporaryFile(/tmp/multipartBody2645009369655414960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832366101,"filename":"image_10022025_08_24_58_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/90b035010fb8feb79db77ddbdfa6766e.jpg","text":"TemporaryFile(/tmp/multipartBody6296062851541432491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832366101,"filename":"image_10022025_08_24_29_10856.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0fbdbf0e587f362c2efe6427af9383dc.jpg","text":"TemporaryFile(/tmp/multipartBody5509477437960902922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832366101,"filename":"image_10022025_08_24_18_9852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fdda39534aba39268baaf81c77c88238.jpg","text":"TemporaryFile(/tmp/multipartBody5935428319153367955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832366101,"filename":"image_10022025_08_24_39_9850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/da1739d1f1d3d6cd1d174f42e9a4843d.jpg","text":"TemporaryFile(/tmp/multipartBody4345569957147646923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832366101,"filename":"image_10022025_08_24_49_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338242183","file1":"1338242182","file0":"1338242181","file4":"1338242186","file5":"1338242187","file3":"1338242184"},"map_files_photo_id_array":[{"photo_id":"1338242187","filename":"file5"},{"photo_id":"1338242183","filename":"file2"},{"photo_id":"1338242186","filename":"file4"},{"photo_id":"1338242182","filename":"file1"},{"photo_id":"1338242181","filename":"file0"},{"photo_id":"1338242184","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338242187":["hashtag1","hashtag2"]},{"1338242181":["hashtag1","hashtag2"]},{"1338242184":["hashtag1","hashtag2"]},{"1338242186":["hashtag1","hashtag2"]},{"1338242183":["hashtag1","hashtag2"]},{"1338242182":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338242187, 1338242181, 1338242184, 1338242186, 1338242183, 1338242182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11770749092102 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:46:02.210525
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_58_9846.jpg', 0), ('/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_48_9853.jpg', 0), ('/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_39_9846.jpg', 0), ('/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_29_10858.jpg', 0), ('/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_18_9851.jpg', 0), ('/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_08_9872.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_58_9846.jpg', '/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_48_9853.jpg', '/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_39_9846.jpg', '/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_29_10858.jpg', '/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_18_9851.jpg', '/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_08_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_58_9846.jpg
/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_48_9853.jpg
/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_39_9846.jpg
/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_29_10858.jpg
/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_18_9851.jpg
/home/nano/Desktop/images/10022025/08/23/image_10022025_08_23_08_9872.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338242433","1338242432","1338242435","1338242318","1338242405","1338242437"],"photo_ids_order":["1338242318","1338242405","1338242432","1338242433","1338242435","1338242437"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/58f343a965849de8b9d49e918c254f68.jpg","text":"TemporaryFile(/tmp/multipartBody8696580975689355281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832424906,"filename":"image_10022025_08_23_29_10858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c391a8eb7d1aec578c9039fec3b80279.jpg","text":"TemporaryFile(/tmp/multipartBody6676290613968232443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832424906,"filename":"image_10022025_08_23_39_9846.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a56c197bcf67ecb99ad63a68438bb8c6.jpg","text":"TemporaryFile(/tmp/multipartBody7361180180052365932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832424906,"filename":"image_10022025_08_23_18_9851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9e2ef4a2c4a177f280a0d14d02dd8a0f.jpg","text":"TemporaryFile(/tmp/multipartBody182434912858997124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832424906,"filename":"image_10022025_08_23_58_9846.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/88f93726c0939bd1ef7b8497c3eba0af.jpg","text":"TemporaryFile(/tmp/multipartBody190427927881366117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832424906,"filename":"image_10022025_08_23_48_9853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d5a9fdc0ed99be95cb3b86997fd45036.jpg","text":"TemporaryFile(/tmp/multipartBody8279251192735862487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832424906,"filename":"image_10022025_08_23_08_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338242432","file1":"1338242405","file0":"1338242318","file4":"1338242435","file5":"1338242437","file3":"1338242433"},"map_files_photo_id_array":[{"photo_id":"1338242437","filename":"file5"},{"photo_id":"1338242432","filename":"file2"},{"photo_id":"1338242435","filename":"file4"},{"photo_id":"1338242405","filename":"file1"},{"photo_id":"1338242318","filename":"file0"},{"photo_id":"1338242433","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338242433":["hashtag1","hashtag2"]},{"1338242432":["hashtag1","hashtag2"]},{"1338242435":["hashtag1","hashtag2"]},{"1338242318":["hashtag1","hashtag2"]},{"1338242405":["hashtag1","hashtag2"]},{"1338242437":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338242433, 1338242432, 1338242435, 1338242318, 1338242405, 1338242437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15796756744385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:47:02.338149
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_58_9850.jpg', 0), ('/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_48_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_38_9870.jpg', 0), ('/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_29_9851.jpg', 0), ('/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_19_9852.jpg', 0), ('/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_09_10850.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_58_9850.jpg', '/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_48_9849.jpg', '/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_38_9870.jpg', '/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_29_9851.jpg', '/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_19_9852.jpg', '/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_09_10850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_58_9850.jpg
/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_48_9849.jpg
/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_38_9870.jpg
/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_29_9851.jpg
/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_19_9852.jpg
/home/nano/Desktop/images/10022025/08/22/image_10022025_08_22_09_10850.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338242559","1338242445","1338242444","1338242447","1338242443","1338242446"],"photo_ids_order":["1338242443","1338242444","1338242445","1338242446","1338242447","1338242559"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/12ffce0376d7ad42f90fb3199ee3a4f8.jpg","text":"TemporaryFile(/tmp/multipartBody1509825412725532810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832486142,"filename":"image_10022025_08_22_09_10850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/37ae439d86279c7234b7df2f171f0fe2.jpg","text":"TemporaryFile(/tmp/multipartBody7040630722411963551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832486142,"filename":"image_10022025_08_22_38_9870.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db53aa67175db4f4ffd020d54bb7766f.jpg","text":"TemporaryFile(/tmp/multipartBody2230240722250596363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832486142,"filename":"image_10022025_08_22_48_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/abf13e13654d83caa84e9a2f5039f10f.jpg","text":"TemporaryFile(/tmp/multipartBody4624221509885071921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832486142,"filename":"image_10022025_08_22_19_9852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/dda04226c44ae4133b5edab51170e0e5.jpg","text":"TemporaryFile(/tmp/multipartBody8947839069968089468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832486142,"filename":"image_10022025_08_22_58_9850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2f4e4868a33dd5d5fc0e4d2bb1ce60db.jpg","text":"TemporaryFile(/tmp/multipartBody4436728013781153964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832486142,"filename":"image_10022025_08_22_29_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338242445","file1":"1338242444","file0":"1338242443","file4":"1338242447","file5":"1338242559","file3":"1338242446"},"map_files_photo_id_array":[{"photo_id":"1338242559","filename":"file5"},{"photo_id":"1338242445","filename":"file2"},{"photo_id":"1338242447","filename":"file4"},{"photo_id":"1338242444","filename":"file1"},{"photo_id":"1338242443","filename":"file0"},{"photo_id":"1338242446","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338242559":["hashtag1","hashtag2"]},{"1338242445":["hashtag1","hashtag2"]},{"1338242444":["hashtag1","hashtag2"]},{"1338242447":["hashtag1","hashtag2"]},{"1338242443":["hashtag1","hashtag2"]},{"1338242446":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338242559, 1338242445, 1338242444, 1338242447, 1338242443, 1338242446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18974542617798 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:48:02.386375
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_58_9843.jpg', 0), ('/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_48_9852.jpg', 0), ('/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_38_9848.jpg', 0), ('/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_28_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_19_9852.jpg', 0), ('/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_09_10863.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_58_9843.jpg', '/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_48_9852.jpg', '/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_38_9848.jpg', '/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_28_9849.jpg', '/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_19_9852.jpg', '/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_09_10863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_58_9843.jpg
/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_48_9852.jpg
/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_38_9848.jpg
/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_28_9849.jpg
/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_19_9852.jpg
/home/nano/Desktop/images/10022025/08/21/image_10022025_08_21_09_10863.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338243177","1338243210","1338243155","1338243157","1338243244","1338243154"],"photo_ids_order":["1338243154","1338243155","1338243157","1338243177","1338243210","1338243244"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6c62bcc947ae6aff18bffca93dfdd1e1.jpg","text":"TemporaryFile(/tmp/multipartBody5164941297526289469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832545061,"filename":"image_10022025_08_21_28_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/08b45fb4f131bf6164e69ee3e2f733c1.jpg","text":"TemporaryFile(/tmp/multipartBody4595684671502518271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832545061,"filename":"image_10022025_08_21_19_9852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c221563f99d60b635ab433415e52e34f.jpg","text":"TemporaryFile(/tmp/multipartBody8198716399247383410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832545061,"filename":"image_10022025_08_21_48_9852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9af238cf9246340b7872f5ee94c7438b.jpg","text":"TemporaryFile(/tmp/multipartBody2637117756837941649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832545061,"filename":"image_10022025_08_21_38_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c8a4a7d19a4553bf48a3d93dd2241dc7.jpg","text":"TemporaryFile(/tmp/multipartBody8648146017352313926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832545061,"filename":"image_10022025_08_21_09_10863.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9cdde3dcfdcb57111d69dc80d7161769.jpg","text":"TemporaryFile(/tmp/multipartBody5097669811300910948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832545061,"filename":"image_10022025_08_21_58_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338243157","file1":"1338243155","file0":"1338243154","file4":"1338243210","file5":"1338243244","file3":"1338243177"},"map_files_photo_id_array":[{"photo_id":"1338243244","filename":"file5"},{"photo_id":"1338243157","filename":"file2"},{"photo_id":"1338243210","filename":"file4"},{"photo_id":"1338243155","filename":"file1"},{"photo_id":"1338243154","filename":"file0"},{"photo_id":"1338243177","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338243177":["hashtag1","hashtag2"]},{"1338243210":["hashtag1","hashtag2"]},{"1338243155":["hashtag1","hashtag2"]},{"1338243157":["hashtag1","hashtag2"]},{"1338243244":["hashtag1","hashtag2"]},{"1338243154":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338243177, 1338243210, 1338243155, 1338243157, 1338243244, 1338243154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40654134750366 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:49:02.942152
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_58_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_48_9851.jpg', 0), ('/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_38_9872.jpg', 0), ('/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_28_9868.jpg', 0), ('/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_18_9871.jpg', 0), ('/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_09_9852.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_58_9849.jpg', '/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_48_9851.jpg', '/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_38_9872.jpg', '/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_28_9868.jpg', '/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_18_9871.jpg', '/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_09_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_58_9849.jpg
/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_48_9851.jpg
/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_38_9872.jpg
/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_28_9868.jpg
/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_18_9871.jpg
/home/nano/Desktop/images/10022025/08/20/image_10022025_08_20_09_9852.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338243261","1338243263","1338243260","1338243262","1338243265","1338243259"],"photo_ids_order":["1338243259","1338243260","1338243261","1338243262","1338243263","1338243265"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e6e505b242331b811c638ce1769e232e.jpg","text":"TemporaryFile(/tmp/multipartBody4968137466250745666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832606020,"filename":"image_10022025_08_20_38_9872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/96c19505e48db7f99f56254c0d746071.jpg","text":"TemporaryFile(/tmp/multipartBody5611753671734690995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832606020,"filename":"image_10022025_08_20_18_9871.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/110bc47451947c4892a9d1f3e85b5487.jpg","text":"TemporaryFile(/tmp/multipartBody7553978594534060237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832606020,"filename":"image_10022025_08_20_48_9851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d825db92a0757f2cdc08b7056824ac19.jpg","text":"TemporaryFile(/tmp/multipartBody5538727031108299147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832606020,"filename":"image_10022025_08_20_28_9868.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/83f22c38078f3b881a5c122f0bf13bd3.jpg","text":"TemporaryFile(/tmp/multipartBody106283253935571122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832606020,"filename":"image_10022025_08_20_09_9852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/db4d072b28bc4d97a35be1ef143ba799.jpg","text":"TemporaryFile(/tmp/multipartBody4340005933942788762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832606020,"filename":"image_10022025_08_20_58_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338243261","file1":"1338243260","file0":"1338243259","file4":"1338243263","file5":"1338243265","file3":"1338243262"},"map_files_photo_id_array":[{"photo_id":"1338243265","filename":"file5"},{"photo_id":"1338243261","filename":"file2"},{"photo_id":"1338243263","filename":"file4"},{"photo_id":"1338243260","filename":"file1"},{"photo_id":"1338243259","filename":"file0"},{"photo_id":"1338243262","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338243261":["hashtag1","hashtag2"]},{"1338243263":["hashtag1","hashtag2"]},{"1338243260":["hashtag1","hashtag2"]},{"1338243262":["hashtag1","hashtag2"]},{"1338243265":["hashtag1","hashtag2"]},{"1338243259":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338243261, 1338243263, 1338243260, 1338243262, 1338243265, 1338243259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52143383026123 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:50:02.587666
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_59_10860.jpg', 0), ('/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_48_9851.jpg', 0), ('/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_38_9848.jpg', 0), ('/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_28_9850.jpg', 0), ('/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_18_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_09_9848.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_59_10860.jpg', '/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_48_9851.jpg', '/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_38_9848.jpg', '/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_28_9850.jpg', '/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_18_9849.jpg', '/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_09_9848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_59_10860.jpg
/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_48_9851.jpg
/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_38_9848.jpg
/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_28_9850.jpg
/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_18_9849.jpg
/home/nano/Desktop/images/10022025/08/19/image_10022025_08_19_09_9848.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338243273","1338243276","1338243287","1338243274","1338243277","1338243279"],"photo_ids_order":["1338243273","1338243274","1338243276","1338243277","1338243279","1338243287"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bfaa349a2bc7fbe9045e53e71c49ae19.jpg","text":"TemporaryFile(/tmp/multipartBody3181796022816531888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832665591,"filename":"image_10022025_08_19_59_10860.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/54ad5e848173705543d4c745f203c652.jpg","text":"TemporaryFile(/tmp/multipartBody1324086749907835199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832665591,"filename":"image_10022025_08_19_38_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e57eee6151fc573d3e2fcc51a8bee784.jpg","text":"TemporaryFile(/tmp/multipartBody4071775566231396432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832665591,"filename":"image_10022025_08_19_09_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/ca6219dea69ec0bc311350afdb0232a7.jpg","text":"TemporaryFile(/tmp/multipartBody404900482796409034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832665591,"filename":"image_10022025_08_19_48_9851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/acd88aa486f1de2770a5c4037a0bdbab.jpg","text":"TemporaryFile(/tmp/multipartBody3390498845543389516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832665591,"filename":"image_10022025_08_19_28_9850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/367905358abce8fe59df22bca57845f9.jpg","text":"TemporaryFile(/tmp/multipartBody4583151935924400868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832665591,"filename":"image_10022025_08_19_18_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338243276","file1":"1338243274","file0":"1338243273","file4":"1338243279","file5":"1338243287","file3":"1338243277"},"map_files_photo_id_array":[{"photo_id":"1338243287","filename":"file5"},{"photo_id":"1338243276","filename":"file2"},{"photo_id":"1338243279","filename":"file4"},{"photo_id":"1338243274","filename":"file1"},{"photo_id":"1338243273","filename":"file0"},{"photo_id":"1338243277","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338243273":["hashtag1","hashtag2"]},{"1338243276":["hashtag1","hashtag2"]},{"1338243287":["hashtag1","hashtag2"]},{"1338243274":["hashtag1","hashtag2"]},{"1338243277":["hashtag1","hashtag2"]},{"1338243279":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338243273, 1338243276, 1338243287, 1338243274, 1338243277, 1338243279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38115572929382 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:51:02.967102
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_59_9852.jpg', 0), ('/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_49_10861.jpg', 0), ('/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_38_9850.jpg', 0), ('/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_28_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_18_9850.jpg', 0), ('/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_08_9841.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_59_9852.jpg', '/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_49_10861.jpg', '/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_38_9850.jpg', '/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_28_9849.jpg', '/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_18_9850.jpg', '/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_08_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_59_9852.jpg
/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_49_10861.jpg
/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_38_9850.jpg
/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_28_9849.jpg
/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_18_9850.jpg
/home/nano/Desktop/images/10022025/08/18/image_10022025_08_18_08_9841.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338243486","1338243488","1338243485","1338243490","1338243481","1338243483"],"photo_ids_order":["1338243481","1338243483","1338243485","1338243486","1338243488","1338243490"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/bcea81e6b9cca7a03953208127cff500.jpg","text":"TemporaryFile(/tmp/multipartBody7463628609219321011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832725174,"filename":"image_10022025_08_18_28_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/5ea222a9620874c292a813fa17b57cf3.jpg","text":"TemporaryFile(/tmp/multipartBody4109144403440958920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832725174,"filename":"image_10022025_08_18_18_9850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/81d7dd3351cfb55d52699056762771d3.jpg","text":"TemporaryFile(/tmp/multipartBody4215316893718131570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832725174,"filename":"image_10022025_08_18_38_9850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf809d4e60b63b9e498e48857bf6a7b2.jpg","text":"TemporaryFile(/tmp/multipartBody5799617981865256120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832725174,"filename":"image_10022025_08_18_08_9841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/429126bf7be3c2b2b4e6421fefc3d2d5.jpg","text":"TemporaryFile(/tmp/multipartBody5765557392668760868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832725174,"filename":"image_10022025_08_18_59_9852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7997caa5d31912c26c2698e4cdaf6fee.jpg","text":"TemporaryFile(/tmp/multipartBody7310917440732673780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832725174,"filename":"image_10022025_08_18_49_10861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338243485","file1":"1338243483","file0":"1338243481","file4":"1338243488","file5":"1338243490","file3":"1338243486"},"map_files_photo_id_array":[{"photo_id":"1338243490","filename":"file5"},{"photo_id":"1338243485","filename":"file2"},{"photo_id":"1338243488","filename":"file4"},{"photo_id":"1338243483","filename":"file1"},{"photo_id":"1338243481","filename":"file0"},{"photo_id":"1338243486","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338243486":["hashtag1","hashtag2"]},{"1338243488":["hashtag1","hashtag2"]},{"1338243485":["hashtag1","hashtag2"]},{"1338243490":["hashtag1","hashtag2"]},{"1338243481":["hashtag1","hashtag2"]},{"1338243483":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338243486, 1338243488, 1338243485, 1338243490, 1338243481, 1338243483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.159371852874756 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:52:03.021695
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_59_9853.jpg', 0), ('/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_49_9852.jpg', 0), ('/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_39_10860.jpg', 0), ('/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_28_9853.jpg', 0), ('/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_18_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_08_9853.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_59_9853.jpg', '/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_49_9852.jpg', '/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_39_10860.jpg', '/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_28_9853.jpg', '/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_18_9849.jpg', '/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_08_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_59_9853.jpg
/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_49_9852.jpg
/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_39_10860.jpg
/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_28_9853.jpg
/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_18_9849.jpg
/home/nano/Desktop/images/10022025/08/17/image_10022025_08_17_08_9853.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338243501","1338243500","1338243499","1338243503","1338243505","1338243498"],"photo_ids_order":["1338243498","1338243499","1338243500","1338243501","1338243503","1338243505"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/e42ea00eec32ae78627ff3c554d7b783.jpg","text":"TemporaryFile(/tmp/multipartBody2572384864353886404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832786114,"filename":"image_10022025_08_17_28_9853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/6343c2210032d1a498b393e841d6d3e6.jpg","text":"TemporaryFile(/tmp/multipartBody1721433538940702961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832786114,"filename":"image_10022025_08_17_39_10860.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/07139de21af58803ddf54b0a89e86b71.jpg","text":"TemporaryFile(/tmp/multipartBody8262419708458503620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832786114,"filename":"image_10022025_08_17_49_9852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/fc15942bde2f253be68628434693c438.jpg","text":"TemporaryFile(/tmp/multipartBody3843364766208560516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832786114,"filename":"image_10022025_08_17_18_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/2b4f600c280fe2fc2d00e0216d2dd94d.jpg","text":"TemporaryFile(/tmp/multipartBody9055013307210909101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832786114,"filename":"image_10022025_08_17_08_9853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/8357f5acee8f050df9ddd3f99e9d7692.jpg","text":"TemporaryFile(/tmp/multipartBody7100108488180177379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832786114,"filename":"image_10022025_08_17_59_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338243500","file1":"1338243499","file0":"1338243498","file4":"1338243503","file5":"1338243505","file3":"1338243501"},"map_files_photo_id_array":[{"photo_id":"1338243505","filename":"file5"},{"photo_id":"1338243500","filename":"file2"},{"photo_id":"1338243503","filename":"file4"},{"photo_id":"1338243499","filename":"file1"},{"photo_id":"1338243498","filename":"file0"},{"photo_id":"1338243501","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338243501":["hashtag1","hashtag2"]},{"1338243500":["hashtag1","hashtag2"]},{"1338243499":["hashtag1","hashtag2"]},{"1338243503":["hashtag1","hashtag2"]},{"1338243505":["hashtag1","hashtag2"]},{"1338243498":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338243501, 1338243500, 1338243499, 1338243503, 1338243505, 1338243498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56964111328125 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:53:02.413800
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_58_9850.jpg', 0), ('/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_49_9848.jpg', 0), ('/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_39_9842.jpg', 0), ('/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_29_10859.jpg', 0), ('/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_18_9848.jpg', 0), ('/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_08_9835.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_58_9850.jpg', '/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_49_9848.jpg', '/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_39_9842.jpg', '/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_29_10859.jpg', '/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_18_9848.jpg', '/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_08_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_58_9850.jpg
/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_49_9848.jpg
/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_39_9842.jpg
/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_29_10859.jpg
/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_18_9848.jpg
/home/nano/Desktop/images/10022025/08/16/image_10022025_08_16_08_9835.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338243564","1338243566","1338243563","1338243562","1338243529","1338243561"],"photo_ids_order":["1338243529","1338243561","1338243562","1338243563","1338243564","1338243566"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/738295574a348859dacd0b8f9d5edc15.jpg","text":"TemporaryFile(/tmp/multipartBody2524207112185553553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832846095,"filename":"image_10022025_08_16_18_9848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/c711b14988706efb9523ac67a3c046d5.jpg","text":"TemporaryFile(/tmp/multipartBody2211553319925226691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832846095,"filename":"image_10022025_08_16_08_9835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0c18b917330033c420b040c7b749375e.jpg","text":"TemporaryFile(/tmp/multipartBody5925727375378266182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832846095,"filename":"image_10022025_08_16_29_10859.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d6e57dc7c23bb1340ab89a5371d7a61c.jpg","text":"TemporaryFile(/tmp/multipartBody7615046721747590482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832846095,"filename":"image_10022025_08_16_39_9842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f6474072edb563cb82843df040201c2b.jpg","text":"TemporaryFile(/tmp/multipartBody6537073108634123638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832846095,"filename":"image_10022025_08_16_58_9850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/844df4e68afb6d562af216944332db2c.jpg","text":"TemporaryFile(/tmp/multipartBody4865847130068359395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832846095,"filename":"image_10022025_08_16_49_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338243562","file1":"1338243561","file0":"1338243529","file4":"1338243564","file5":"1338243566","file3":"1338243563"},"map_files_photo_id_array":[{"photo_id":"1338243566","filename":"file5"},{"photo_id":"1338243562","filename":"file2"},{"photo_id":"1338243564","filename":"file4"},{"photo_id":"1338243561","filename":"file1"},{"photo_id":"1338243529","filename":"file0"},{"photo_id":"1338243563","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338243564":["hashtag1","hashtag2"]},{"1338243566":["hashtag1","hashtag2"]},{"1338243563":["hashtag1","hashtag2"]},{"1338243562":["hashtag1","hashtag2"]},{"1338243529":["hashtag1","hashtag2"]},{"1338243561":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338243564, 1338243566, 1338243563, 1338243562, 1338243529, 1338243561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.127509117126465 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:54:02.777500
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_58_9851.jpg', 0), ('/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_48_9844.jpg', 0), ('/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_39_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_29_10861.jpg', 0), ('/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_18_9854.jpg', 0), ('/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_08_9858.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_58_9851.jpg', '/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_48_9844.jpg', '/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_39_9849.jpg', '/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_29_10861.jpg', '/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_18_9854.jpg', '/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_08_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_58_9851.jpg
/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_48_9844.jpg
/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_39_9849.jpg
/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_29_10861.jpg
/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_18_9854.jpg
/home/nano/Desktop/images/10022025/08/15/image_10022025_08_15_08_9858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338243579","1338243578","1338243577","1338243580","1338243582","1338243576"],"photo_ids_order":["1338243576","1338243577","1338243578","1338243579","1338243580","1338243582"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3a1c6ca89a769b540acb436649ddcccf.jpg","text":"TemporaryFile(/tmp/multipartBody7951659522309680773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832905591,"filename":"image_10022025_08_15_29_10861.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c4af191d8ae13d0c89d0abdf6cf9f1b.jpg","text":"TemporaryFile(/tmp/multipartBody7977515987970849518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832905591,"filename":"image_10022025_08_15_39_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/0919f1fcf5d38515824c22a623c52f53.jpg","text":"TemporaryFile(/tmp/multipartBody737123793734311211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832905591,"filename":"image_10022025_08_15_48_9844.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/759cc8bd35f6974646d670026dc522d9.jpg","text":"TemporaryFile(/tmp/multipartBody8465900980574643441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832905591,"filename":"image_10022025_08_15_18_9854.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/799f08468f4837314895814f1d892335.jpg","text":"TemporaryFile(/tmp/multipartBody7544384225759826960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832905591,"filename":"image_10022025_08_15_08_9858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/eacfec883ccfce01c4e2d22b0e918110.jpg","text":"TemporaryFile(/tmp/multipartBody7100387173571854770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832905591,"filename":"image_10022025_08_15_58_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338243578","file1":"1338243577","file0":"1338243576","file4":"1338243580","file5":"1338243582","file3":"1338243579"},"map_files_photo_id_array":[{"photo_id":"1338243582","filename":"file5"},{"photo_id":"1338243578","filename":"file2"},{"photo_id":"1338243580","filename":"file4"},{"photo_id":"1338243577","filename":"file1"},{"photo_id":"1338243576","filename":"file0"},{"photo_id":"1338243579","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338243579":["hashtag1","hashtag2"]},{"1338243578":["hashtag1","hashtag2"]},{"1338243577":["hashtag1","hashtag2"]},{"1338243580":["hashtag1","hashtag2"]},{"1338243582":["hashtag1","hashtag2"]},{"1338243576":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338243579, 1338243578, 1338243577, 1338243580, 1338243582, 1338243576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36992406845093 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:55:02.678680
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_58_9845.jpg', 0), ('/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_48_9847.jpg', 0), ('/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_39_9873.jpg', 0), ('/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_29_9874.jpg', 0), ('/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_19_10865.jpg', 0), ('/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_08_9842.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_58_9845.jpg', '/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_48_9847.jpg', '/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_39_9873.jpg', '/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_29_9874.jpg', '/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_19_10865.jpg', '/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_08_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_58_9845.jpg
/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_48_9847.jpg
/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_39_9873.jpg
/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_29_9874.jpg
/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_19_10865.jpg
/home/nano/Desktop/images/10022025/08/14/image_10022025_08_14_08_9842.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338243591","1338243593","1338243595","1338243592","1338243594","1338243597"],"photo_ids_order":["1338243591","1338243592","1338243593","1338243594","1338243595","1338243597"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/708daa54a09b1e7452f4f5b5737c0a61.jpg","text":"TemporaryFile(/tmp/multipartBody6094819097112231608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832965537,"filename":"image_10022025_08_14_58_9845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/857f234d1a9a9f472fbd9e311dd09d2a.jpg","text":"TemporaryFile(/tmp/multipartBody3831934370699433233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832965537,"filename":"image_10022025_08_14_39_9873.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3ffd798c6b6d236e3efc242cf2dd7d55.jpg","text":"TemporaryFile(/tmp/multipartBody8935312270377634791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832965537,"filename":"image_10022025_08_14_19_10865.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f47aabbf51adcd797b121e002771bb4c.jpg","text":"TemporaryFile(/tmp/multipartBody8151097442245005920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832965537,"filename":"image_10022025_08_14_48_9847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/3f825d08409035645b0fbeecee874d43.jpg","text":"TemporaryFile(/tmp/multipartBody1551584413038295131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832965537,"filename":"image_10022025_08_14_29_9874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c6d5bfb56701b68d2626858d4f6c7ab.jpg","text":"TemporaryFile(/tmp/multipartBody7500886422083672610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739832965537,"filename":"image_10022025_08_14_08_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338243593","file1":"1338243592","file0":"1338243591","file4":"1338243595","file5":"1338243597","file3":"1338243594"},"map_files_photo_id_array":[{"photo_id":"1338243597","filename":"file5"},{"photo_id":"1338243593","filename":"file2"},{"photo_id":"1338243595","filename":"file4"},{"photo_id":"1338243592","filename":"file1"},{"photo_id":"1338243591","filename":"file0"},{"photo_id":"1338243594","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338243591":["hashtag1","hashtag2"]},{"1338243593":["hashtag1","hashtag2"]},{"1338243595":["hashtag1","hashtag2"]},{"1338243592":["hashtag1","hashtag2"]},{"1338243594":["hashtag1","hashtag2"]},{"1338243597":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338243591, 1338243593, 1338243595, 1338243592, 1338243594, 1338243597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75252628326416 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:56:02.572732
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_58_9851.jpg', 0), ('/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_48_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_38_9849.jpg', 0), ('/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_29_9863.jpg', 0), ('/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_19_9872.jpg', 0), ('/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_09_10864.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_58_9851.jpg', '/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_48_9849.jpg', '/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_38_9849.jpg', '/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_29_9863.jpg', '/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_19_9872.jpg', '/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_09_10864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_58_9851.jpg
/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_48_9849.jpg
/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_38_9849.jpg
/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_29_9863.jpg
/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_19_9872.jpg
/home/nano/Desktop/images/10022025/08/13/image_10022025_08_13_09_10864.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338243615","1338243609","1338243611","1338243608","1338243613","1338243610"],"photo_ids_order":["1338243608","1338243609","1338243610","1338243611","1338243613","1338243615"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/a45c3edbe58a1d11d139ffd59eae2bb8.jpg","text":"TemporaryFile(/tmp/multipartBody6026795874582576816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739833025375,"filename":"image_10022025_08_13_09_10864.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d22c1cda632d725e49ff84da37541427.jpg","text":"TemporaryFile(/tmp/multipartBody3306107113111795733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739833025375,"filename":"image_10022025_08_13_48_9849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/faf16ba7a2a7527601394eb6e5776d63.jpg","text":"TemporaryFile(/tmp/multipartBody7054644486119513860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739833025375,"filename":"image_10022025_08_13_29_9863.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/33291591e22980e904402c33cdd7f7ed.jpg","text":"TemporaryFile(/tmp/multipartBody5138206551885869087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739833025375,"filename":"image_10022025_08_13_58_9851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/140072870c7950fbf9d5cf40a02bed11.jpg","text":"TemporaryFile(/tmp/multipartBody332540209052230480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739833025375,"filename":"image_10022025_08_13_19_9872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/7bd21ef0d5ae94ce30ab5d02943bddfc.jpg","text":"TemporaryFile(/tmp/multipartBody8252355049886628348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739833025375,"filename":"image_10022025_08_13_38_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338243610","file1":"1338243609","file0":"1338243608","file4":"1338243613","file5":"1338243615","file3":"1338243611"},"map_files_photo_id_array":[{"photo_id":"1338243615","filename":"file5"},{"photo_id":"1338243610","filename":"file2"},{"photo_id":"1338243613","filename":"file4"},{"photo_id":"1338243609","filename":"file1"},{"photo_id":"1338243608","filename":"file0"},{"photo_id":"1338243611","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338243615":["hashtag1","hashtag2"]},{"1338243609":["hashtag1","hashtag2"]},{"1338243611":["hashtag1","hashtag2"]},{"1338243608":["hashtag1","hashtag2"]},{"1338243613":["hashtag1","hashtag2"]},{"1338243610":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338243615, 1338243609, 1338243611, 1338243608, 1338243613, 1338243610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78272581100464 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 0 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-02-17 23:57:02.681163
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31012025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
  port_id : 20382406
  datou_current_id : 2569844
in upload_from_sqlite, uploading in 20382406
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250217 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250128 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250129 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250130 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250131 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250201 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250202 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250203 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250204 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250205 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250206 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250207 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250208 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250209 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (0, 0)   AND day_taken_at = 20250210 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_58_9843.jpg', 0), ('/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_48_9847.jpg', 0), ('/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_38_9847.jpg', 0), ('/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_28_9847.jpg', 0), ('/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_19_9857.jpg', 0), ('/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_09_9854.jpg', 0)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_58_9843.jpg', '/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_48_9847.jpg', '/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_38_9847.jpg', '/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_28_9847.jpg', '/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_19_9857.jpg', '/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_09_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2569844&datou=0
/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_58_9843.jpg
/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_48_9847.jpg
/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_38_9847.jpg
/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_28_9847.jpg
/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_19_9857.jpg
/home/nano/Desktop/images/10022025/08/12/image_10022025_08_12_09_9854.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338243630","1338243636","1338243632","1338243631","1338243634","1338243628"],"photo_ids_order":["1338243628","1338243630","1338243631","1338243632","1338243634","1338243636"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/192408293da7c5f14b0fbc33b09f881a.jpg","text":"TemporaryFile(/tmp/multipartBody13907010702038980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739833085460,"filename":"image_10022025_08_12_48_9847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/d3edbb683aab27673066dab32f63f15c.jpg","text":"TemporaryFile(/tmp/multipartBody995831486802723733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739833085460,"filename":"image_10022025_08_12_09_9854.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/f8422afc0151fce048bf3ede1845d0c8.jpg","text":"TemporaryFile(/tmp/multipartBody2730940632655624573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739833085460,"filename":"image_10022025_08_12_28_9847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/9c197fab96252051e3a1a0b197c122e9.jpg","text":"TemporaryFile(/tmp/multipartBody458802040777560106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739833085460,"filename":"image_10022025_08_12_38_9847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/03b279cc72f195dc262e306d63af953d.jpg","text":"TemporaryFile(/tmp/multipartBody2680749208356160504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739833085460,"filename":"image_10022025_08_12_19_9857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/17/cf5b2e0f11f0f061c43626f3ce6423fa.jpg","text":"TemporaryFile(/tmp/multipartBody3385259963885992898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1739833085460,"filename":"image_10022025_08_12_58_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338243631","file1":"1338243630","file0":"1338243628","file4":"1338243634","file5":"1338243636","file3":"1338243632"},"map_files_photo_id_array":[{"photo_id":"1338243636","filename":"file5"},{"photo_id":"1338243631","filename":"file2"},{"photo_id":"1338243634","filename":"file4"},{"photo_id":"1338243630","filename":"file1"},{"photo_id":"1338243628","filename":"file0"},{"photo_id":"1338243632","filename":"file3"}],"portfolio_id":20382406,"hashtag_by_photo_ids":[{"1338243630":["hashtag1","hashtag2"]},{"1338243636":["hashtag1","hashtag2"]},{"1338243632":["hashtag1","hashtag2"]},{"1338243631":["hashtag1","hashtag2"]},{"1338243634":["hashtag1","hashtag2"]},{"1338243628":["hashtag1","hashtag2"]}],"comms":"Portfolio 20382406 used, photo_id : ArrayBuffer(1338243630, 1338243636, 1338243632, 1338243631, 1338243634, 1338243628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18376278877258 secondes ---
